JP2000076107A - Data base management system - Google Patents

Data base management system

Info

Publication number
JP2000076107A
JP2000076107A JP10241616A JP24161698A JP2000076107A JP 2000076107 A JP2000076107 A JP 2000076107A JP 10241616 A JP10241616 A JP 10241616A JP 24161698 A JP24161698 A JP 24161698A JP 2000076107 A JP2000076107 A JP 2000076107A
Authority
JP
Japan
Prior art keywords
data
database
search
read
unit
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
Application number
JP10241616A
Other languages
Japanese (ja)
Inventor
Kazuyuki Okumura
一幸 奥村
Yukinobu Sakurada
幸伸 桜田
Takeshi Naka
剛 中
Hiroko Yokota
裕子 横田
Masayuki Hasegawa
正幸 長谷川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10241616A priority Critical patent/JP2000076107A/en
Publication of JP2000076107A publication Critical patent/JP2000076107A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten write/read time to a data base(DB) as much as possible and to read the latest write data with respect to a data base management system. SOLUTION: A DB system for receiving the write/read requests of data generated from plural request sources at all times and writing or reading them is provided with the two sets of the DBs 100 for respectively storing the same data, a DB management means 101 for managing the write/read state of the respective DBs, a write/read means 102 for referring to the DB management means when the write/read request to the DB is generated and executing write/ read to an optional free DB, an updating contents storage means 103 for tentatively storing updating contents in the case of updating the data stored in one DB and a stored data matching means 104 for executing the same updating processing to the stored data of the other DB as well, based on the already stored updating contents after updating to one DB is ended.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータベース管理方
式に関し、特に伝送システム内から収集されたデータを
データベースに書込んだ後、適宜検索・参照するデータ
ベース管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database management system, and more particularly, to a database management system in which data collected from a transmission system is written to a database and then searched and referred to as appropriate.

【0002】[0002]

【従来の技術】図10は本発明の対象となる伝送装置監
視システムを例示する図であり、図11は従来あるログ
管理装置を例示する図であり、図12は図11における
データベースの検索機能を例示する図である。
2. Description of the Related Art FIG. 10 is a diagram illustrating a transmission device monitoring system to which the present invention is applied, FIG. 11 is a diagram illustrating a conventional log management device, and FIG. 12 is a database search function in FIG. FIG.

【0003】図10において、当該伝送装置監視システ
ムの対象となる伝送システム1には、複数の伝送装置2
が設置されている。各伝送装置2に、収容する伝送路ま
たは構成装置の増減設、運転/休止の切替、障害の発生
/回復、輻輳の発生/回復等の事態〔以後イベントと総
称する〕が発生すると、その都度発生イベントの状態を
解説するイベントデータ(I)が、発生元の伝送装置2
において生成され、送出される。
In FIG. 10, a transmission system 1 to be monitored by the transmission device monitoring system includes a plurality of transmission devices 2.
Is installed. Whenever a situation (hereinafter, collectively referred to as an event) occurs in each of the transmission devices 2 such as increase / decrease of the number of transmission paths or constituent devices to be accommodated, switching of operation / pause, occurrence / recovery of a failure, occurrence / recovery of congestion, Event data (I) describing the state of the generated event is transmitted to the transmission device 2 of the generation source.
Is generated and sent.

【0004】ログ管理装置3は、各伝送装置2から送出
されたイベントデータ(I)を収集し、監視装置4に伝
達すると共に、内蔵するデータベース(DB)に、ログ
データ(L)として書込む。
[0004] The log management device 3 collects event data (I) sent from each transmission device 2, transmits it to the monitoring device 4, and writes it as log data (L) in a built-in database (DB). .

【0005】なお本発明は、データベース(DB)の管
理であるので、伝送装置2から送出されたイベントデー
タ(I)を監視装置4に伝達する機能に就いては説明を
省略する。またログデータ(L)も総てイベントデータ
(I)と称することにより、説明を単純化する。
Since the present invention manages a database (DB), a description of the function of transmitting the event data (I) sent from the transmission device 2 to the monitoring device 4 will be omitted. Further, the log data (L) is also referred to as event data (I), so that the description is simplified.

【0006】監視装置4は、ログ管理装置3から伝達さ
れたイベントデータ(I)を分析し、各伝送装置2の運
転状態を把握し、所要の対策を指示する。なお監視装置
4は、ログ管理装置3内のデータベース(DB)に書込
まれているイベントデータ(I)を読出して分析するこ
とにより、伝送システム1の運用状態を把握すると共
に、格納済のイベントデータ(I)に所要のデータを挿
入することにより、分類・検索の便宜を図る。
The monitoring device 4 analyzes the event data (I) transmitted from the log management device 3, grasps the operation state of each transmission device 2, and instructs necessary countermeasures. The monitoring device 4 reads out and analyzes the event data (I) written in the database (DB) in the log management device 3 to grasp the operation state of the transmission system 1 and to store the stored event. By inserting required data into the data (I), classification and search are facilitated.

【0007】従来あるログ管理装置3は、図11に示さ
れる如く、通知受付部31、制御受付部32、制御通知
部33およびデータベース(DB)34から構成され
る。通知受付部31は、各伝送装置2から送出されるイ
ベントデータ(I)を受付けると、制御通知部33に伝
達し、データベース(DB)34への書込を依頼する。
As shown in FIG. 11, the conventional log management device 3 includes a notification receiving unit 31, a control receiving unit 32, a control notifying unit 33, and a database (DB) 34. When receiving the event data (I) sent from each transmission device 2, the notification receiving unit 31 transmits the event data (I) to the control notifying unit 33 and requests writing to the database (DB).

【0008】制御通知部33は、通知受付部31からの
依頼に基づき、伝達されたイベントデータ(I)を、デ
ータベース(DB)34に書込む。制御受付部32は、
監視装置4から、データベース(DB)34に記憶済の
データ(D)の読出要求、或いはデータベース(DB)
34へ所要のデータ(D)の書込要求を受け付けると、
受付けた読出要求または書込要求を制御通知部33に伝
達し、データベース(DB)34からの読出、或いはデ
ータベース(DB)34への書込を依頼する。
[0008] The control notification unit 33 writes the transmitted event data (I) to a database (DB) 34 based on a request from the notification reception unit 31. The control receiving unit 32
A request from the monitoring device 4 to read out data (D) stored in the database (DB) 34 or the database (DB)
Upon receiving a request to write the required data (D) to
The received read request or write request is transmitted to the control notification unit 33, and a request is made to read from the database (DB) 34 or write to the database (DB) 34.

【0009】制御通知部33は、制御受付部32からの
依頼に基づき、所要のデータ(D)を読出して制御受付
部32に返送し、また所要の書データ(D)をデータベ
ース(DB)34に書込む。
The control notifying unit 33 reads out required data (D) and returns it to the control receiving unit 32 based on a request from the control receiving unit 32, and transmits required document data (D) to a database (DB) 34. Write to.

【0010】なお監視装置4は、ログ管理装置3に所要
のデータ(D)の読出を依頼する場合に、所要の検索条
件を提示し、同検索条件を満足するデータ(D)の読出
を依頼する場合が少なくない。
When requesting the log management device 3 to read the required data (D), the monitoring device 4 presents the required search conditions and requests the log management device 3 to read the data (D) satisfying the search conditions. There are many cases.

【0011】かかる検索条件付の読出要求を受付けた制
御受付部32は、検索条件付の読出要求を制御通知部3
3に伝達し、また制御通知部33は、伝達された検索条
件付の読出要求をデータベース(DB)34に伝達す
る。
The control receiving unit 32, which has received the read request with the search condition, sends the read request with the search condition to the control notifying unit 3.
3, and the control notifying unit 33 transmits the read request with the search condition to the database (DB) 34.

【0012】データベース(DB)34は、図12に示
される如く、DB検索部341およびDB記憶部342
から構成されており、DB記憶部342は、制御通知部
33から書込要求されたデータ(D)を実際に記憶する
ものであり、またDB検索部341は、制御通知部33
から伝達された検索条件を分析し、検索条件を満足する
データ(D)をDB記憶部342から読出すものであ
る。
As shown in FIG. 12, a database (DB) 34 includes a DB search unit 341 and a DB storage unit 342.
The DB storage unit 342 actually stores the data (D) requested to be written by the control notification unit 33, and the DB search unit 341 stores the data (D).
Is analyzed, and data (D) satisfying the search condition is read out from the DB storage unit 342.

【0013】なお図12においては、DB記憶部342
に記憶中のデータ(D)は、それぞれ三種類の属性
(M)〔個々の属性(M)を(M1 )、(M2 )、(M
3 )と称する〕から構成される四つのイベントデータ
(I1 )、(I2 )、(I3 )、(I4 )とし、また監
視装置4から制御受付部32および制御通知部33を介
してデータベース(DB)34に伝達された読出要求に
付与されている検索条件が、対象属性(M)が(M1
と(M2 )とであり、また属性(M1 )および(M2
の具備条件〔以後検索キー(K)と称する〕が、属性
(M1 )が「0」であり、且つ属性(M2 )が「0」で
ある〔以後かかる検索キー(K)を(M1 =「0」)×
(M2 =「0」)と称する〕こととする。〔但し「0」
は十進数であることを示す。〕 データベース(DB)34は、制御通知部33から伝達
された検索条件付き読出要求を、DB検索部341に伝
達する。
In FIG. 12, the DB storage unit 342
Data (D) stored in each of the three types of attributes (M) [each attribute (M) is represented by (M 1 ), (M 2 ), (M
3 )], the four event data (I 1 ), (I 2 ), (I 3 ), and (I 4 ). The search condition given to the read request transmitted to the database (DB) 34 is that the target attribute (M) is (M 1 ).
And (M 2 ), and attributes (M 1 ) and (M 2 )
Is satisfied (hereinafter referred to as a search key (K)), the attribute (M 1 ) is “0” and the attribute (M 2 ) is “0”. 1 = “0”) ×
(M 2 = "0")]. [However, "0"
Indicates a decimal number. The database (DB) 34 transmits the read request with search condition transmitted from the control notification unit 33 to the DB search unit 341.

【0014】DB検索部341は、受信した検索条件を
分析し、対象属性(M)が(M1 )および(M2 )であ
り、検索キー(K)が(M1 =「0」)×(M2
「0」)であると認識すると、DB記憶部342に書込
済のイベントデータ(I1 )乃至(I4 )を順次読出
し、先ず検索キー(K)の第一項(M1 =「0」)に該
当するイベントデータ(I)を検索し、イベントデータ
(I1 )および(I2 )が該当すると判定すると、次に
イベントデータ(I1 )および(I2 )を順次読出し、
検索キー(K)の第二項(M2 =「0」)に該当するイ
ベントデータ(I)を検索し、イベントデータ(I1
のみが該当すると判定すると、イベントデータ(I1
を、制御通知部33から伝達された検索条件付読出要求
の読出データとして返送する。
The DB search unit 341 analyzes the received search conditions, finds that the target attributes (M) are (M 1 ) and (M 2 ), and the search key (K) is (M 1 = "0") × (M 2 =
When the event data is recognized as “0”), the written event data (I 1 ) to (I 4 ) are sequentially read from the DB storage unit 342, and the first term (M 1 = “0”) of the search key (K) is first read. )), And when it is determined that the event data (I 1 ) and (I 2 ) correspond, the event data (I 1 ) and (I 2 ) are sequentially read out,
The event data (I) corresponding to the second term (M 2 = “0”) of the search key (K) is searched, and the event data (I 1 )
When it is determined that only the event data is applicable, the event data (I 1 )
Is returned as the read data of the read request with search condition transmitted from the control notifying unit 33.

【0015】制御通知部33は、データベース(DB)
34から返送されたイベントデータ(I1 )を、監視装
置4から伝達された検索条件付読出依頼の読出データと
して返送する。
The control notifying unit 33 includes a database (DB)
The event data (I 1 ) returned from 34 is returned as read data of the read request with search condition transmitted from the monitoring device 4.

【0016】[0016]

【発明が解決しようとする課題】以上の説明から明らか
な如く、従来あるログ管理装置3においては、それぞれ
一組の制御通知部33およびデータベース(DB)34
を具備していた為、伝送装置2からのイベントデータ
(I)の書込依頼、或いは監視装置4からの所要のデー
タ(D)の読出依頼または書込依頼が、複数並行して到
着した場合に、書込依頼または読出依頼を待行列に連結
し、一依頼宛順番に処理することとなり、多数の書込依
頼または読出依頼が同時期に殺到すると待時間が増大
し、迅速に処理出来ぬ問題があった。
As apparent from the above description, in the conventional log management apparatus 3, a set of a control notification unit 33 and a database (DB) 34 are provided.
When a plurality of request for writing event data (I) from the transmission device 2 or a request for reading or writing required data (D) from the monitoring device 4 arrives in parallel, In addition, a write request or a read request is linked to a queue and processed in the order of one request. If a large number of write requests or read requests are rushed at the same time, the waiting time increases, and it cannot be processed quickly. There was a problem.

【0017】また従来あるログ管理装置3においては、
監視装置4から検索条件付読出依頼を受付けた場合に、
データベース(DB)34内のDB検索部341が検索
対象とする属性(M)に基づき、逐一DB記憶部342
に書込済のデータを検索していた為、検索対象属性
(M)が増加するに伴い、検索所要時間が増大すること
となり、迅速に処理出来ぬ問題があった。
In the conventional log management device 3,
When a read request with a search condition is received from the monitoring device 4,
Based on the attribute (M) to be searched by the DB search unit 341 in the database (DB) 34, the DB storage unit 342
Since the data that has already been written is searched for, the required search time increases as the number of search target attributes (M) increases.

【0018】更に従来あるログ管理装置3においては、
データベース(DB)34に書込済のデータの読出依頼
を受付け、所要の読出処理を実行中に、イベントデータ
(I)の書込依頼が到着すると、イベントデータ(I)
の書込処理は先着の読出処理を終了させた後に実行開始
する為、直前に処理された読出データには後着のイベン
トデータ(I)が含まれぬこととなり、データベース
(DB)34内の最新の書込データが反映されぬ問題が
あった。
Further, in the conventional log management device 3,
When a read request for the written data is received in the database (DB) 34 and a write request for the event data (I) arrives during the required read processing, the event data (I)
Is started after the first-arrival reading process is completed, the immediately preceding read data does not include the second-arrival event data (I). There was a problem that the latest write data was not reflected.

【0019】本発明は、データベースに対する書込読出
時間を極力短縮し、且つ最新の書込データを読出すこと
を可能とすることを目的とする。
An object of the present invention is to shorten the time for writing and reading data to and from a database as much as possible and to read the latest write data.

【0020】[0020]

【課題を解決するための手段】図1は本発明の原理図で
あり、図1(a) は本発明(請求項1乃至3)の原理を示
し、また図1(b) は本発明(請求項4および5)の原理
を示す。
FIG. 1 shows the principle of the present invention. FIG. 1 (a) shows the principle of the present invention (claims 1 to 3), and FIG. 1 (b) shows the present invention ( The principle of claims 4 and 5) will be described.

【0021】先ず図1(a) には、複数の要求源から随時
生起するデータの書込・読出要求を受付け、データベー
スに当該データを書込みまたは読出すデータベースシス
テムが示される。
First, FIG. 1A shows a database system which accepts data write / read requests that occur as needed from a plurality of request sources and writes or reads the data in a database.

【0022】100は、本発明(請求項1乃至3)によ
り前記データベースシステムに二組設けられたデータベ
ースである。101は、本発明(請求項1乃至3)によ
り前記データベースシステムに設けられたデータベース
管理手段である。
Reference numeral 100 denotes two databases provided in the database system according to the present invention (claims 1 to 3). Reference numeral 101 denotes a database management unit provided in the database system according to the present invention (claims 1 to 3).

【0023】102は、本発明(請求項1乃至3)によ
り前記データベースシステムに設けられた書込・読出手
段である。103は、本発明(請求項1乃至3)により
前記データベースシステムに設けられた更新内容記憶手
段である。
Reference numeral 102 denotes a writing / reading means provided in the database system according to the present invention (claims 1 to 3). Reference numeral 103 denotes an update content storage unit provided in the database system according to the present invention (claims 1 to 3).

【0024】104は、本発明(請求項1乃至3)によ
り前記データベースシステムに設けられた記憶データ一
致化手段である。各データベース100は、それぞれ同
一のデータを記憶する。
Reference numeral 104 denotes storage data matching means provided in the database system according to the present invention (claims 1 to 3). Each database 100 stores the same data.

【0025】データベース管理手段101は、各データ
ベース100の書込・読出状態を管理する。書込・読出
手段102は、データベース100に対する書込・読出
要求が生起した場合に、データベース管理手段101を
参照し、任意の空きデータベース100に書込・読出を
実行する。
The database management means 101 manages the writing / reading state of each database 100. When a write / read request to the database 100 occurs, the writing / reading unit 102 refers to the database managing unit 101 and executes writing / reading to an arbitrary empty database 100.

【0026】更新内容記憶手段103は、一方のデータ
ベース100の記憶するデータを更新した場合に、該更
新内容を一時記憶する。記憶データ一致化手段104
は、前述の一方のデータベース100に対する更新が終
了した後、更新内容記憶手段103に記憶済の更新内容
に基づき、他方のデータベース100の記憶データに対
して一方のデータベース100の記憶データに対して実
行したと同一の更新処理を実行する。〔以上、本発明
(請求項1)関連。〕 なお書込・読出手段102は、一方のデータベース10
0からデータを読出した後、更新内容記憶手段103に
記憶中の更新内容を読出し、一方のデータベース100
から読出したデータと、更新内容記憶手段103から読
出した更新内容とを対比して、最新の更新内容を含む読
出データを合成することが考慮される。〔本発明(請求
項2)関連。〕 また各データベース100をデータ種類別に分割して管
理し、且つ書込・読出手段102に複数のスレッドを設
けることにより、前述の種類別の書込・読出を並行して
実行可能とすることが考慮される。〔本発明(請求項
3)関連。〕 次に図1(b) には、要求源から生起するデータの検索要
求を受付け、データベースから該当するデータを読出す
データベースシステムが示される。
When the data stored in one of the databases 100 is updated, the update content storage means 103 temporarily stores the update content. Storage data matching means 104
Is executed on the data stored in the other database 100 on the data stored in the other database 100 based on the update content stored in the update content storage unit 103 after the update on the one database 100 is completed. Execute the same update processing as [The above is related to the present invention (claim 1). The writing / reading means 102 is connected to one of the databases 10
After reading the data from 0, the update content stored in the update content storage means 103 is read, and one database 100 is read.
It is considered that the data read out of the update content and the update content read out from the update content storage unit 103 are compared to synthesize read data including the latest update content. [Related to the present invention (claim 2). Further, by dividing and managing each database 100 by data type and providing a plurality of threads in the writing / reading means 102, it is possible to execute the above-described writing / reading by type in parallel. Be considered. [Related to the present invention (claim 3). Next, FIG. 1B shows a database system that receives a data search request generated from a request source and reads out the corresponding data from a database.

【0027】200は、本発明(請求項4および5)に
より前記データベースシステムに設けられたデータベー
スである。201は、本発明(請求項4および5)によ
り前記データベースシステムに設けられた検索条件登録
手段である。
Reference numeral 200 denotes a database provided in the database system according to the present invention (claims 4 and 5). Reference numeral 201 denotes a search condition registration unit provided in the database system according to the present invention (claims 4 and 5).

【0028】202は、本発明(請求項4および5)に
より前記データベースシステムに設けられた検索手段で
ある。データベース200は、複数の属性を具備するデ
ータを記憶する。
Reference numeral 202 denotes search means provided in the database system according to the present invention (claims 4 and 5). The database 200 stores data having a plurality of attributes.

【0029】検索条件登録手段201には、データベー
ス200に記憶中のデータの中から、各属性が所要の条
件を満足するデータを検索する検索条件を予め登録して
置く。
The search condition registration means 201 pre-registers search conditions for searching for data in which each attribute satisfies a required condition from data stored in the database 200.

【0030】検索手段202は、データベース200に
データを書込む際に、検索条件登録手段201に登録済
の検索条件の中から、当該データが満足する検索条件を
識別する情報を付加して置き、検索条件登録手段201
に登録済の検索条件付の検索要求が生起した場合に、デ
ータベース200に記憶中の各データに付加されている
検索条件識別情報を参照することにより、検索要求に付
加されている検索条件を満足するデータを検出する。
〔以上、本発明(請求項4)関連。〕 なお検索条件登録手段201は、未登録の検索条件付の
検索要求が生起した場合に、該未登録の検索条件を保持
して置くと共に、検索条件登録手段201に登録済の各
検索条件の使用頻度と、保持中の各未登録検索条件の使
用頻度とを検索条件毎に計数し、後刻各登録済検索条件
と各未登録検索条件の使用頻度を比較し、使用頻度の多
い順に所定数の検索条件のみを、新たに登録変更する。
When writing data to the database 200, the search means 202 adds information for identifying a search condition that satisfies the data from the search conditions registered in the search condition registration means 201. Search condition registration means 201
When a search request with a search condition registered in the database 200 occurs, the search condition added to each data stored in the database 200 is referred to satisfy the search condition added to the search request. Data to be detected.
[The above is related to the present invention (claim 4). When a search request with an unregistered search condition is generated, the search condition registration unit 201 holds the unregistered search condition, and stores the search condition registered in the search condition registration unit 201. The frequency of use and the frequency of use of each unregistered search condition being held are counted for each search condition, and the frequency of use of each registered search condition and each unregistered search condition are compared later. Only the search condition is newly registered and changed.

【0031】また検索手段202は、検索条件登録手段
201に登録変更された検索条件に基づき、データベー
ス200に記憶中の各データに付加されている検索条件
識別情報を更新することが考慮される。〔以上、本発明
(請求項5)関連。〕 従って、本発明(請求項1乃至3)によれば、それぞれ
同一の記憶データを記憶する二組のデータベースに対し
て並行してデータの書込・読出が実行可能となると共
に、読出データには常に最新の更新内容を織込むことが
可能となり、更に複数種類のデータに対する書込・読出
要求を一組のデータベースに対して並行して実行可能と
なり、また本発明(請求項4および5)によれば、検索
要求条件を満足するデータを、迅速に検出可能となり、
当該データベースシステムの利便性が大幅に向上する。
The search means 202 considers updating the search condition identification information added to each data stored in the database 200 based on the search conditions registered and changed in the search condition registration means 201. [The above is related to the present invention (claim 5). Therefore, according to the present invention (claims 1 to 3), data can be written / read in parallel to two sets of databases each storing the same storage data, and the read data can be read / written. Can always incorporate the latest updated contents, furthermore, it is possible to execute write / read requests for a plurality of types of data in parallel to a set of databases, and the present invention (claims 4 and 5) According to this, data that satisfies the search requirements can be quickly detected,
The convenience of the database system is greatly improved.

【0032】[0032]

【発明の実施の形態】以下、本発明の実施形態を図面に
より説明する。図2は本発明の実施形態によるログ管理
装置を示す図であり、図3は本発明(請求項1)の実施
形態による信号シーケンスを示す図であり、図4は図3
における各種フラグの設定状況を例示する図であり、図
5は本発明(請求項2)の実施形態による信号シーケン
スを示す図であり、図6は図5における各種フラグの設
定状況を例示する図であり、図7は本発明(請求項3)
の実施形態によるデータ書込・読出状況を示す図であ
り、図8は本発明(請求項4および5)の実施形態によ
るデータ検索状況を示す図(その一)であり、図9は本
発明(請求項4および5)の実施形態によるデータ検索
状況を示す図(その二)である。なお、全図を通じて同
一符号は同一対象物を示す。また対象とする伝送装置監
視システムは図10に示される通りとする。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a diagram showing a log management device according to an embodiment of the present invention, FIG. 3 is a diagram showing a signal sequence according to an embodiment of the present invention (claim 1), and FIG.
FIG. 5 is a diagram illustrating a setting status of various flags in FIG. 5, FIG. 5 is a diagram illustrating a signal sequence according to the embodiment of the present invention (claim 2), and FIG. 6 is a diagram illustrating a setting status of various flags in FIG. FIG. 7 shows the present invention (claim 3).
FIG. 8 is a diagram showing a data write / read status according to the embodiment of the present invention, FIG. 8 is a diagram (No. 1) showing a data search status according to the embodiment of the present invention (claims 4 and 5), and FIG. It is FIG. (2) which shows the data search situation by embodiment of (claim 4 and 5). The same reference numerals indicate the same objects throughout the drawings. The target transmission device monitoring system is as shown in FIG.

【0033】図2に示されるログ管理装置3は、通知受
付部31、制御受付部32、二組の制御通知部33〔個
々の制御通知部を331 、332 と称する、以下同
様〕、二組のデータベース(DB)34、DBアクセス
管理部35、差分バッファ36および検索キーファイル
37から構成されている。
The log management apparatus 3 shown in FIG. 2, the notification receiving unit 31, the control receiving unit 32, two sets of control notification unit 33 [refer to individual control notification unit 33 1, 33 2, hereinafter the same], It comprises two sets of databases (DB) 34, a DB access management unit 35, a difference buffer 36, and a search key file 37.

【0034】通知受付部31は、伝送システム1内の各
伝送装置2から送出されるイベントデータ(I)を受信
し、制御通知部332 または制御通知部331 へデータ
ベース(DB)341 または342 への書込を依頼す
る。
The notification reception unit 31 receives the event data (I) sent from the transmission device 2 in the transmission system 1, to control the notification unit 33 2, or control notification unit 33 first database (DB) 34 1 or requests writing to 34 2.

【0035】制御受付部32は、監視装置4から送出さ
れるデータベース(DB)341 または342 に書込済
のデータ(D)〔即ちイベントデータ(I)〕の読出要
求(QR )、または所要のデータ(D)〔イベントデー
タ(I)以外の諸情報〕の書込要求(QW )を受信し、
制御通知部331 または制御通知部332 へデータベー
ス(DB)341 または342 への読出・書込を依頼す
る。
The control receiving unit 32, the read request for the database to be transmitted from the monitoring device 4 (DB) 34 1 or 34 2 to the write completion of the data (D) [i.e. event data (I)] (Q R), Or, a write request (Q W ) of required data (D) [information other than event data (I)] is received,
To control notification unit 33 1 or the control notification unit 33 2 to request the reading and writing to the database (DB) 34 1 or 34 2.

【0036】各制御通知部33は、通知受付部31から
イベントデータ(I)の書込依頼、または制御受付部3
2からデータ(D)の書込・読出依頼を受信すると、D
Bアクセス管理部35に両データベース(DB)34の
使用状況を確認した後、データベース(DB)341
たは342 に、依頼されたイベントデータ(I)の書
込、またはデータ(D)の書込・読出を実行する。
Each of the control notifying units 33 requests the writing of the event data (I) from the notification receiving unit 31 or the control receiving unit 3.
2 receives a request to write / read data (D) from
After confirming the usage of both database (DB) 34 to the B access management unit 35, writing of the data base (DB) 34 1 or 34 2, requested the writing of event data (I) or data, (D) Execute read / write.

【0037】なおイベントデータ(I)またはデータ
(D)を書込んだ場合には、同じイベントデータ(I)
またはデータ(D)を、差分バッファ36へも書込む。
また各制御通知部33は、両データベース(DB)34
が未使用状態にある場合には、データベース(DB)3
1 を優先的に使用するものとする。
When the event data (I) or data (D) is written, the same event data (I)
Alternatively, the data (D) is also written to the difference buffer 36.
In addition, each control notification unit 33 includes both databases (DB) 34
Is in an unused state, the database (DB) 3
41 1 shall be used preferentially.

【0038】DBアクセス管理部35は、両データベー
ス(DB)34の書込状態および読出状態を管理し、ま
た一方のデータベース(DB)341 または342 のみ
に書込まれ、差分バッファ36に書込まれているデータ
(D)を、未だ書込まれていない他方のデータベース
(DB)342 または341 に書込むことにより、両デ
ータベース(DB)34に書込まれているイベントデー
タ(I)またはデータ(D)を同一とする。
The DB access management unit 35 manages the write state and reading state of the two databases (DB) 34, also written in only one database (DB) 34 1 or 34 2, write the delta buffer 36 the are written-flop with data (D), the other not written yet written database (DB) by writing 34 2 or 34 written to 1, the event data being written to both databases (DB) 34 (I) Alternatively, the data (D) is the same.

【0039】更に検索キーファイル37は、監視装置4
からデータベース(DB)34に書込済のイベントデー
タ(I)またはデータ(D)を読出す際の検索条件〔以
後検索キー(K)と称する〕を保有し、保管済検索キー
(K)によるイベントデータ(I)またはデータ(D)
の読出時間の短縮化を図る。
Further, the search key file 37 is stored in the monitoring device 4
Holds the search condition (hereinafter referred to as the search key (K)) for reading the event data (I) or data (D) already written in the database (DB) 34 from the storage key (K). Event data (I) or data (D)
Read time is reduced.

【0040】また通知受付部31内には、使用状況フラ
グ(f332 )を内蔵する使用状況フラグ検査部(BF
C)311、機能選択問合せ部(FSA)312および
書込依頼部(IWR)313が設けられ、また制御受付
部32内には、使用状況フラグ(f332 )を内蔵する使
用状況フラグ検査部(BFC)321、機能選択問合せ
部(FSA)322、読出書込依頼部(RWR)323
および読出結果通知部(RDS)324が設けられ、ま
た各制御通知部33内には、それぞれDBアクセスフラ
グ検査部(DFC)331、バッファ書込読出部(BW
R)332、DB書込読出部(DWR)333、データ
合成部(DCM)334が設けられ、またDBアクセス
管理部35内には、DB書込フラグ(fW1)、
(fW2)、DB読出フラグ(fR1)、(fR2)、バッフ
ァ読出部(DDR)351、DB差分書込部(DDW)
352、使用状況フラグ解除部(BFR)353および
検索キーファイル管理部(KFM)354が設けられて
いる。
In the notification receiving section 31, a use state flag check section (BF) incorporating a use state flag (f 332 ) is provided.
C) 311, a function selection inquiry section (FSA) 312 and a write request section (IWR) 313 are provided, and a use state flag check section (a use state flag (f 332 ) built in the control reception section 32) BFC) 321, function selection inquiry section (FSA) 322, read / write request section (RWR) 323
And a read result notifying unit (RDS) 324 are provided. Each control notifying unit 33 includes a DB access flag checking unit (DFC) 331 and a buffer writing / reading unit (BW).
R) 332, a DB writing / reading unit (DWR) 333, and a data synthesizing unit (DCM) 334, and a DB writing flag (f W1 ) in the DB access management unit 35;
(F W2 ), DB read flag (f R1 ), (f R2 ), buffer read unit (DDR) 351, DB difference write unit (DDW)
352, a use status flag release unit (BFR) 353, and a search key file management unit (KFM) 354 are provided.

【0041】使用状況フラグ検査部(BFC)311の
内蔵する使用状況フラグ(f332 )は、制御通知部33
1 が未使用状態にある場合には論理“0”に設定される
が、使用状態にある場合には論理“1”に設定される。
The use status flag (f 332 ) included in the use status flag check unit (BFC) 311 is stored in the control notification unit 33.
When 1 is in the unused state, it is set to logic “0”, but when it is in use, it is set to logic “1”.

【0042】また使用状況フラグ検査部(BFC)32
1の内蔵する使用状況フラグ(f33 1 )は、制御通知部
332 が未使用状態にある場合には論理“0”に設定さ
れるが、使用状態にある場合には論理“1”に設定され
る。
The use status flag check unit (BFC) 32
1 built-in usage flags (f 33 1) is control notification unit 33 2 is set to a logic "0" when it is in an unused state, a logic "1" if is in use Is set.

【0043】またDBアクセス管理部35の内蔵するD
B書込フラグ(fW1)は、データベース(DB)341
が未書込状態にある場合には論理“0”に設定される
が、書込状態にある場合には論理“1”に設定され、ま
たDB書込フラグ(fW2)は、データベース(DB)3
2 が未書込状態にある場合には論理“0”に設定され
るが、書込状態にある場合には論理“1”に設定され、
またDB読出フラグ(f R1)は、データベース(DB)
341 が未読出状態にある場合には論理“0”に設定さ
れるが、読出状態にある場合には論理“1”に設定さ
れ、またDB読出フラグ(fR2)は、データベース(D
B)342 が未読出状態にある場合には論理“0”に設
定されるが、読出状態にある場合には論理“1”に設定
される。
The D built in the DB access management unit 35
B write flag (fW1) Is a database (DB) 341
Is set to logic "0" when is in the unwritten state
Is set to logic "1" when in the write state,
DB write flag (fW2) Is the database (DB) 3
4TwoIs set to logical "0" when
However, when it is in the write state, it is set to logic "1",
In addition, the DB read flag (f R1) Is a database (DB)
341Is set to logical "0" when
However, when it is in the read state, it is set to logic "1".
And the DB read flag (fR2) Is the database (D
B) 34TwoIs set to logic "0" when
Set to logic "1" when in read state
Is done.

【0044】最初に、本発明(請求項1および2)の実
施形態を、図2乃至図6および図8を用いて説明する。
データベース(DB)34は、図1(a) におけるデータ
ベース100、並びに図1(b) におけるデータベース2
00の役割を果たし、また通知受付部31内の使用状況
フラグ検査部(BFC)311および機能選択問合せ部
(FSA)312、制御受付部32内の使用状況フラグ
検査部(BFC)321および機能選択問合せ部(FS
A)322、各制御通知部33内のDBアクセスフラグ
検査部(DFC)331およびDBアクセス管理部35
内のDB書込フラグ(fW1)、(fW2)、DB読出フラ
グ(fR1)、(fR2)および使用状況フラグ解除部(B
FR)353が図1(a) におけるデータベース管理手段
101の役割を果たし、また通知受付部31内の書込依
頼部(IWR)313、制御受付部32内の読出書込依
頼部(RWR)323、各制御通知部33内のDB書込
読出部(DWR)333およびデータ合成部(DCM)
334が図1(a) における書込・読出手段102の役割
を果たし、また各制御通知部33のバッファ書込読出部
(BWR)332および差分バッファ36が図1(a) に
おける更新内容記憶手段103の役割を果たし、またD
Bアクセス管理部35内のバッファ読出部(DDR)3
51が図1(a)における更新内容記憶手段103の役割
を果たし、またDBアクセス管理部35内のバッファ読
出部(DDR)351およびDB差分書込部(DDW)
352が図1(a) における書込データ一致化手段104
の役割を果たす。
First, an embodiment of the present invention (claims 1 and 2) will be described with reference to FIG. 2 to FIG. 6 and FIG.
The database (DB) 34 includes a database 100 in FIG. 1A and a database 2 in FIG.
00, and a use status check unit (BFC) 311 and a function selection inquiry unit (FSA) 312 in the notification reception unit 31, a use status check unit (BFC) 321 and a function selection in the control reception unit 32 Inquiry section (FS
A) 322, DB access flag checker (DFC) 331 and DB access manager 35 in each control notifier 33
DB write flags (f W1 ), (f W2 ), DB read flags (f R1 ), (f R2 ), and use status flag release section (B)
1 (a), a write request unit (IWR) 313 in the notification receiving unit 31, and a read / write request unit (RWR) 323 in the control receiving unit 32. , DB writing / reading unit (DWR) 333 and data synthesizing unit (DCM) in each control notifying unit 33
334 plays the role of the writing / reading means 102 in FIG. 1A, and the buffer writing / reading section (BWR) 332 of each control notifying section 33 and the difference buffer 36 serve as the update content storage means in FIG. Plays the role of 103 and D
Buffer reading unit (DDR) 3 in B access management unit 35
Reference numeral 51 plays a role of the update content storage means 103 in FIG. 1A, and a buffer reading unit (DDR) 351 and a DB difference writing unit (DDW) in the DB access management unit 35.
352 is the write data matching means 104 in FIG.
Plays a role.

【0045】最初に、本発明(請求項1)の実施形態に
よるイベントデータ(I)の収集処理過程を、図2乃至
図4および図10を用いて説明する。図2乃至図4およ
び図10において、伝送装置2からイベントデータ
(I)が全く送出されておらず、また監視装置4から所
要の読出要求または書込要求が生起していない状態で
は、ログ管理装置3内の二組の制御通知部33は何れも
未使用状態にあり、通知受付部31内の使用状況フラグ
検査部(BFC)311が内蔵する使用状況フラグ(f
332 )、並びに制御受付部32内の使用状況フラグ検査
部(BFC)321が内蔵する使用状況フラグ
(f331 )は何れも論理“0”に設定されており、また
二組のデータベース(DB)34は何れも書込または読
出状態になく、DBアクセス管理部35が内蔵するデー
タベース(DB)341に対応するDB書込フラグ(f
W1)およびDB読出フラグ(fR1)、並びにデータベー
ス(DB)342 に対応するDB書込フラグ(fW2)お
よびDB読出フラグ(fR2)も総て論理“0”に設定さ
れている。
First, the process of collecting event data (I) according to the embodiment of the present invention (claim 1) will be described with reference to FIGS. 2 to 4 and FIG. In FIGS. 2 to 4 and 10, when no event data (I) is transmitted from the transmission device 2 and a required read or write request is not generated from the monitoring device 4, log management is performed. The two control notification units 33 in the device 3 are both in the unused state, and the usage flag (f) built in the usage flag checking unit (BFC) 311 in the notification receiving unit 31
332 ) and the usage flag (f 331 ) incorporated in the usage flag checking unit (BFC) 321 in the control reception unit 32 are both set to logic “0”, and two sets of databases (DB) Reference numeral 34 denotes a DB write flag (f) corresponding to a database (DB) 34 1 incorporated in the DB access management unit 35, which is not in a write or read state.
W1) and DB read flag (f R1), and a database (DB) 34 2 the corresponding DB write flag (f W2) and DB read flag (f R2) is also set to all logic "0".

【0046】かかる状態で、伝送装置2からイベントデ
ータ(I)が送出されると、伝送システム1内の伝送路
を経由して、ログ管理装置3に伝達される。ログ管理装
置3においては、通知受付部31が、伝送装置2から送
出されたイベントデータ(I)を受信すると、使用状況
フラグ検査部(BFC)311が、内蔵する使用状況フ
ラグ(f332 )を参照し、論理“0”に設定されている
ことを検出すると〔図4(a) 参照〕、制御通知部332
が未使用状態にあることを確認した後、使用状況フラグ
(f332 )を論理“1”に設定変更し、制御通知部33
2 を使用状態に設定変更する〔図4(b) 参照〕。
In this state, when the event data (I) is transmitted from the transmission device 2, the event data (I) is transmitted to the log management device 3 via the transmission path in the transmission system 1. In the log management device 3, when the notification receiving unit 31 receives the event data (I) transmitted from the transmission device 2, the usage flag checking unit (BFC) 311 checks the built-in usage flag (f 332 ). Referring to FIG. 4A, when it is determined that the logic is set to "0" (see FIG. 4A), the control notification unit 33 2
Is confirmed to be in the unused state, the use status flag (f 332 ) is set to logic “1”, and the control notification unit 33 is set.
Change the setting of 2 to the use state (see FIG. 4 (b)).

【0047】続いて書込依頼部(IWR)313が、受
信したイベントデータ(I)を制御通知部332 に伝達
し、データベースへの書込を依頼する。制御通知部33
2 は、通知受付部31からイベントデータ(I)の書込
依頼を受信すると、DBアクセスフラグ検査部(DF
C)3312 が、DBアクセス管理部35内のDB書込
フラグ(fW1)および(fW2)、DB読出フラグ
(fR1)および(fR2)を参照し、DB書込フラグ(f
W1)およびDB読出フラグ(fR1)が共に論理“0”に
設定されていることから、データベース(DB)341
が未使用状態にあることを確認すると〔図4(c) 参
照〕、イベントデータ(I)をデータベース(DB)3
1 に書込むことに決定し、DB書込フラグ(fW1)を
論理“1”に設定変更し、データベース(DB)341
を書込状態に設定変更する〔図4(d) 参照〕。
[0047] Then the writing request unit (IWR) 313 is to transmit the event data (I) that has received the control notification unit 33 2, and requests the writing to the database. Control notification unit 33
2 receives the request to write the event data (I) from the notification accepting unit 31, and receives the DB access flag checking unit (DF
C) 331 2 refers to the DB write flags (f W1 ) and (f W2 ) and the DB read flags (f R1 ) and (f R2 ) in the DB access management unit 35, and
W1 ) and the DB read flag (f R1 ) are both set to logic "0", so that the database (DB) 34 1
Is confirmed to be unused (see FIG. 4C), the event data (I) is stored in the database (DB) 3.
4 1 , the DB write flag (f W1 ) is changed to a logical “1”, and the database (DB) 34 1 is written.
Is changed to the write state (see FIG. 4D).

【0048】次にバッファ書込読出部(BWR)332
2 が、イベントデータ(I)を差分バッファ36に書込
む。次にDB書込読出部(DWR)3332 が、イベン
トデータ(I)をデータベース(DB)341 に書込
む。
Next, a buffer write / read unit (BWR) 332
2 writes the event data (I) into the difference buffer 36. Next, the DB write / read unit (DWR) 333 2 writes the event data (I) into the database (DB) 34 1 .

【0049】イベントデータ(I)のデータベース(D
B)341 への書込が終了すると、DBアクセスフラグ
検査部(DFC)3312 が、DBアクセス管理部35
内のDB書込フラグ(fW1)を、論理“1”から論理
“0”に設定変更し、データベース(DB)341 を未
書込状態に設定変更する〔図4(e) 〕。
The event data (I) database (D
B) When the writing to 34 1 is completed, the DB access flag checking unit (DFC) 331 2 causes the DB access management unit 35
The DB write flag of the internal (f W1), and configuration changes to a logic "0" from logic "1", sets change the database (DB) 34 1 to unwritten state [FIG. 4 (e)].

【0050】DBアクセス管理部35は、DB書込フラ
グ(fW1)の設定変更状況を監視することにより、一方
のデータベース(DB)341 に対する書込完了を識別
すると、バッファ読出部(DDR)351が、差分バッ
ファ36に書込済のイベントデータ(I)を読出す。
The DB access control unit 35, by monitoring the setting change status of the DB write flag (f W1), upon identifying a write completion for one database (DB) 34 1, a buffer read unit (DDR) 351 reads the event data (I) already written in the difference buffer 36.

【0051】次にDB差分書込部(DDW)352が、
バッファ読出部(DDR)351の読出したイベントデ
ータ(I)を、他方のデータベース(DB)342 に書
込む為に、DB書込フラグ(fW2)およびDB読出フラ
グ(fR2)が共に論理“0”に設定されていることを確
認した後〔図4(e) 参照〕、DB書込フラグ(fW2)を
論理“0”から論理“1”に設定変更し、データベース
(DB)342 を書込状態に設定変更した後〔図4(f)
参照〕、イベントデータ(I)をデータベース(DB)
342 に書込んだ後、DB書込フラグ(fW2)を論理
“1”から論理“0”に設定変更し、データベース(D
B)342 を未書込状態に設定変更する〔図4(g) 参
照〕。
Next, the DB difference writing unit (DDW) 352
Buffer read portion (DDR) 351 of the read event data (I), for writing to the other database (DB) 34 2, DB write flag (f W2) and DB read flag (f R2) are both logical After confirming that it is set to “0” (see FIG. 4E), the DB write flag (f W2 ) is changed from logic “0” to logic “1”, and the database (DB) 34 is changed. After changing the setting to 2 in the writing state [Fig. 4 (f)
Reference], and the event data (I) is stored in a database (DB).
34 2 After writing in, and setting change DB write flag (f W2) from the logic "1" to a logic "0", the database (D
B) 34 2 Setting changes to non-written state [see FIG. 4 (g)].

【0052】DBアクセス管理部35は、DB書込フラ
グ(fW2)の設定変更状況を監視することにより、他方
のデータベース(DB)342 に対する同一イベントデ
ータ(I)の書込完了を識別すると、使用状況フラグ解
除部(BFR)353が、通知受付部31内の使用状況
フラグ検査部(BFC)311が内蔵する使用状況フラ
グ(f332 )を、論理“1”から論理“0”に設定変更
し、制御通知部332を未使用状態に設定変更する〔図
4(h) 参照〕。またDBアクセス管理部35は、差分バ
ッファ36に記憶中の書込データ(DW )を抹消する。
[0052] DB access management unit 35, by monitoring the setting change status of the DB write flag (f W2), upon identifying a write completion of the other database (DB) the same event data for the 34 2 (I) The use flag release unit (BFR) 353 sets the use flag (f 332 ) included in the use flag inspection unit (BFC) 311 in the notification reception unit 31 from logic “1” to logic “0”. change, changing the setting control notification unit 33 2 in the unused state [see FIG. 4 (h)]. Further, the DB access management unit 35 deletes the write data (D W ) stored in the difference buffer 36.

【0053】以上の説明から明らかな如く、本発明(請
求項1)の実施形態によれば、伝送装置2からイベント
データ(I)が送出されると、ログ管理装置3内の制御
通知部332 がDBアクセス管理部35の内蔵するDB
書込フラグ(fW1)、(fW2)およびDB読出フラグ
(fR1)、(fR2)を参照することにより、データベー
ス(DB)341 および342 の書込・読出状態を確認
した後、未使用状態にある一方のデータベース(DB)
341 にイベントデータ(I)を書込むと共に、差分バ
ッファ36にもイベントデータ(I)を一時記憶し、デ
ータベース(DB)341 への書込処理が完了次第、D
Bアクセス管理部35が差分バッファ36に記憶中のイ
ベントデータ(I)を、他方のデータベース(DB)3
2 へも書込むことにより、両データベース(DB)3
4に対して常に同一のデータ(D)が記憶されることと
なる。
As is apparent from the above description, according to the embodiment of the present invention (claim 1), when the event data (I) is transmitted from the transmission device 2, the control notification unit 33 in the log management device 3 2 is a DB built in the DB access management unit 35
Write flag (f W1), (f W2 ) and DB read flag (f R1), (f R2 ) by reference to the, after confirming the write-read state of the database (DB) 34 1 and 34 2 , One database in unused state (DB)
34 with writing event data (I) to 1, even temporarily stores event data (I) to the delta buffer 36, as soon as the writing process to the database (DB) 34 1 is completed, D
The B access management unit 35 stores the event data (I) stored in the difference buffer 36 into the other database (DB) 3
4 by writing also to 2, both databases (DB) 3
4, the same data (D) is always stored.

【0054】次に、本発明(請求項2)の実施形態によ
るデータベースに書込済のデータ(D)の読出処理過程
を、図2、図5、図6および図10を用いて説明する。
図2、図5、図6および図10において、伝送装置2か
らイベントデータ(I)が全く送出されておらず、また
監視装置4から所要の読出要求または書込要求が生起し
ていない状態では、前述と同様に、ログ管理装置3内の
二組の制御通知部33は何れも未使用状態にあり、また
二組のデータベース(DB)34は何れも書込または読
出状態になく、従ってログ管理装置3内の使用状況フラ
グ(f33 2 )、(f331 )、DB書込フラグ(fW1)、
(fW2)およびDB読出フラグ(fR1)、(fR2)は総
て論理“0”に設定されている。
Next, a process of reading data (D) already written in the database according to the embodiment of the present invention (claim 2) will be described with reference to FIGS. 2, 5, 6 and 10.
2, 5, 6, and 10, in a state where no event data (I) is transmitted from the transmission device 2 and a required read request or write request is not generated from the monitoring device 4. As described above, the two sets of control notifying units 33 in the log management device 3 are both in the unused state, and the two sets of databases (DB) 34 are not in the writing or reading state. usage flag of the management apparatus 3 (f 33 2), ( f 331), DB write flag (f W1),
(F W2 ) and the DB read flags (f R1 ) and (f R2 ) are all set to logic “0”.

【0055】かかる状態で、監視装置4から或るデータ
(D)の書込要求(QW )〔以後、書込要求の対象とな
るデータ(D)を書込データ(DW )と称し、書込デー
タ(DW )を伴う書込要求(QW )を、書込要求〔QW
(DW )〕と称する。〕が送出されると、ログ管理装置
3に伝達される。
In this state, a write request (Q W ) of a certain data (D) from the monitoring device 4 [hereinafter, the data (D) targeted for the write request is referred to as write data (D W ), The write request (Q W ) accompanied by the write data (D W ) is sent to the write request [Q W
(D W )]. Is transmitted to the log management device 3.

【0056】ログ管理装置3においては、制御受付部3
2が、監視装置4から送出された書込要求〔Q
W (DW )〕を受信すると、使用状況フラグ検査部(B
FC)321が、内蔵する使用状況フラグ(f331 )を
参照し、論理“0”に設定されていることを検出すると
〔図6(a) 参照〕、制御通知部331 が未使用状態にあ
ることを確認した後、使用状況フラグ(f331 )を論理
“1”に設定変更し、制御通知部331 を使用状態に設
定変更する〔図6(b) 参照〕。〔なお現状では、制御通
知部332 も未使用状態にあるので、通知受付部31内
の使用状況フラグ(f33 2 )も論理“0”に設定されて
いる。〕 続いて読出書込依頼部(RWR)323が、受信した書
込要求〔QW (DW )〕を制御通知部331 に伝達し、
データベースへの書込を依頼する。
In the log management device 3, the control receiving unit 3
2 is the write request [Q
W (D W )], the usage status check unit (B
FC) 321 refers to the use state flag (f 331) that incorporates, when it detects that it is set to a logic "0" [refer to FIG. 6 (a)], the control notification unit 33 1 is unused state after confirming that the usage flag (f 331) and configuration changes to a logic "1", changing the setting control notification unit 33 1 in use [refer to FIG. 6 (b)]. [Note At present, the control notification section 33 2 is also in an unused state, usage flag in notification reception unit 31 (f 33 2) are also set to logic "0". ] Then read write request unit (RWR) 323 is transmitted the received write request [Q W a (D W)] to control notification unit 33 1,
Request writing to the database.

【0057】制御通知部331 は、制御受付部32から
書込要求〔QW (DW )〕を受信すると、DBアクセス
フラグ検査部(DFC)3311 が、DBアクセス管理
部35内のDB書込フラグ(fW1)および(fW2)、D
B読出フラグ(fR1)および(fR2)を参照し、DB書
込フラグ(fW1)およびDB読出フラグ(fR1)が共に
論理“0”に設定されていることから、データベース
(DB)341 が未使用状態にあることを確認すると
〔図6(c) 参照〕、書込データ(DW )をデータベース
(DB)341 に書込むことに決定し、DB書込フラグ
(fW1)を論理“1”に設定変更し、データベース(D
B)341 を書込状態に設定変更する〔図6(d) 参
照〕。
[0057] control notification unit 33 1 receives the write request [Q W (D W)] to control reception unit 32, the DB access flag checking unit (DFC) 331 1 is, DB in the DB access management unit 35 Write flags (f W1 ) and (f W2 ), D
Referring to B read flags (f R1 ) and (f R2 ), since both DB write flag (f W1 ) and DB read flag (f R1 ) are set to logic “0”, database (DB) 34 1 determines that the writing confirms that it is in the unused state [refer to FIG. 6 (c)], the write data (D W) in the database (DB) 34 1, DB write flag (f W1 ) Is changed to logic “1” and the database (D
B) 34 1 changes the setting to the write state [see FIG. 6 (d)].

【0058】次にバッファ書込読出部(BWR)332
1 が、書込データ(DW )を差分バッファ36に書込
む。次にDB書込読出部(DWR)3331 が、書込デ
ータ(DW )をデータベース(DB)341 に書込む。
Next, a buffer write / read unit (BWR) 332
1 writes the write data (D W ) into the difference buffer 36. Next, the DB write / read unit (DWR) 333 1 writes the write data (D W ) into the database (DB) 34 1 .

【0059】書込データ(DW )がデータベース(D
B)341 に書込まれるのと並行して、新たに監視装置
4から、データベース(DB)34に記憶中のデータ
(D)の読出要求(QR )が送出されると、ログ管理装
置3に伝達される。〔以後読出対象となるデータ(D)
を、読出データ(DR )と称する。〕 ログ管理装置3においては、制御受付部32が、監視装
置4から送出された、読出要求(QR )を受信すると、
使用状況フラグ検査部(BFC)321が、内蔵する使
用状況フラグ(f331 )を参照し、論理“1”に設定さ
れていることを検出すると、制御通知部331 が使用中
状態にあることを認識する〔図6(b) 参照〕。
The write data (D W ) is stored in the database (D
B) In parallel with the writing to the 34 1 , when the monitoring device 4 newly sends a read request (Q R ) of the data (D) stored in the database (DB) 34, the log management device 3 is transmitted. [Data to be read thereafter (D)
Is referred to as read data (D R ). In the log management device 3, when the control receiving unit 32 receives the read request (Q R ) sent from the monitoring device 4,
Use state flag checking unit (BFC) 321 refers to the built-use state flag (f 331), when it detects that it is set to a logic "1", the control notification unit 33 1 is in the state during use (See FIG. 6 (b)).

【0060】制御通知部331 の使用中が認識される
と、機能選択問合せ部(FSA)322が、通知受付部
31内の機能選択問合せ部(FSA)312に、使用状
況フラグ検査部(BFC)311の内蔵する使用状況フ
ラグ(f332 )の設定状態を問合せ、論理“0”に設定
中と認識すると、制御通知部332 が未使用状態にある
ことを確認し〔図6(e) 参照〕、制御通知部332 を使
用して読出要求(QR )を実行することに決定し、機能
選択問合せ部(FSA)312を介して使用状況フラグ
検査部(BFC)311内の使用状況フラグ(f331
を論理“1”に設定変更を依頼し、制御通知部332
使用状態に設定変更する〔図6(f) 参照〕。
[0060] When in use of the control notification section 33 1 is recognized, the function selection inquiry unit (FSA) 322 is the function selection inquiry unit (FSA) 312 within the notification reception unit 31, the usage flag checking unit (BFC ) 311 queries the setting state of the use state flags (f 332) for built-in, recognizes and being set to a logic "0", control notification unit 33 2 confirms that it is in an unused state [FIG. 6 (e) ], the usage control notification section 33 2 by using the decided to perform a read request (Q R), function selection inquiry unit (FSA) 312 through the use state flag checking unit (BFC) 311 Flag ( f331 )
The requesting configuration changes to a logic "1", changing the setting control notification unit 33 2 in use [see FIG. 6 (f)].

【0061】続いて制御受付部32内の読出書込依頼部
(RWR)323が、受信した読出要求(QR )を制御
通知部332 に伝達し、データベースからの読出を依頼
する。
[0061] Then the read write request unit of the control reception section 32 (RWR) 323 is transmitted the received read request (Q R) in the control notification unit 33 2, a request for reading from the database.

【0062】制御通知部332 は、制御受付部32から
読出要求(QR )を受信すると、DBアクセスフラグ検
査部(DFC)3312 が、DBアクセス管理部35内
のDB書込フラグ(fW1)および(fW2)、DB読出フ
ラグ(fR1)および(fR2)を参照し、DB書込フラグ
(fW1)が論理“1”に設定されていることから、デー
タベース(DB)341 は使用状態にあるが、DB書込
フラグ(fW2)およびDB読出フラグ(fR2)は共に論
理“0”に設定されていることから、データベース(D
B)342 が未使用状態あることを認識すると〔図6
(d) 参照〕、データベース(DB)342 から読出すこ
とに決定し、DB読出フラグ(fR2)を論理“1”に設
定変更し、データベース(DB)342 を読出状態に設
定変更する〔図6(g) 参照〕。
[0062] control notification unit 33 2 receives the read request (Q R) from the control receiving unit 32, the DB access flag checking unit (DFC) 331 2 is, DB write flag in the DB access control unit 35 (f With reference to ( W1 ) and ( fW2 ) and the DB read flags ( fR1 ) and ( fR2 ), since the DB write flag ( fW1 ) is set to logic "1", the database (DB) 34 1 is in use, but since both the DB write flag (f W2 ) and the DB read flag (f R2 ) are set to logic “0”, the database (D
B) When 34 2 recognizes that the unused state [FIG. 6
see (d)], determined in the database (DB) 34 2 be read from, and setting change DB read flag (f R2) to a logic "1", sets change the database (DB) 34 2 to the read state [See FIG. 6 (g)].

【0063】次にDB書込読出部(DWR)333
2 が、データベース(DB)342 から所要のデータ
(D342 )を読出す。一方、制御通知部331 内のDB
書込読出部(DWR)3331 が、書込データ(DW
をデータベース(DB)341 に書込み終わると、DB
アクセスフラグ検査部(DFC)3311 が、DBアク
セス管理部35内のDB書込フラグ(fW1)を、論理
“1”から論理“0”に設定変更し、データベース(D
B)34 1 を未書込状態に設定変更する〔図6(h) 参
照〕。
Next, a DB write / read unit (DWR) 333
TwoIs a database (DB) 34TwoRequired data from
(D342) Is read. On the other hand, the control notification unit 331DB inside
Write / read unit (DWR) 3331Is the write data (DW)
Database (DB) 341After writing to the DB
Access flag checker (DFC) 3311But DB access
DB write flag (fW1), Logical
The setting is changed from “1” to logic “0” and the database (D
B) 34 1To the unwritten state (see Fig. 6 (h)
See).

【0064】他方、制御通知部332 内のDB書込読出
部(DWR)3332 が、データベース(DB)342
から所要のデータ(D342 )を読出し終わると、DBア
クセスフラグ検査部(DFC)3312 が、DBアクセ
ス管理部35内のDB読出フラグ(fR2)を、論理
“1”から論理“0”に設定変更し、データベース(D
B)342 を未読出状態に設定変更する〔図6(i) 参
照〕。
[0064] On the other hand, DB write and read portions of the control notification section 33 in 2 (DWR) 333 2 is a database (DB) 34 2
After reading the required data (D 342 ) from the DB access flag checking unit (DFC) 331 2 , the DB read flag (f R2 ) in the DB access management unit 35 changes the DB read flag (f R2 ) from logic “1” to logic “0”. To the database (D
B) 34 2 changes the setting to the state leaving unread [see FIG. 6 (i)].

【0065】次にバッファ書込読出部(BWR)332
2 が、差分バッファ36を参照し、何等かのデータ(D
36)〔現時点では書込要求〔QW (DW )〕による書込
データ(DW )〕が記憶中であることを認識すると、記
憶中の書込データ(DW )を読出す。
Next, a buffer write / read unit (BWR) 332
2 refers to the difference buffer 36 and finds some data (D
36 ) When recognizing that the write data (D W ) by the write request [Q W (D W )] is currently being stored, the stored write data (D W ) is read.

【0066】次にデータ合成部(DCM)3342 は、
DB書込読出部(DWR)3332がデータベース(D
B)342 から読出したデータ(D342 )と、バッファ
書込読出部(BWR)3322 が差分バッファ36から
読出した書込データ(DW )とを対比し、書込データ
(DW )が読出要求(QR )の対象となるか否か、且つ
データベース(DB)342 からの読出データ
(D342 )に織込まれているか否かを分析し、読出要求
(QR )の対象であり、且つ読出データ(D342 )に織
込まれていないことを認識すると、読出データ
(D342 )に書込データ(DW )を合成することによ
り、書込要求〔QW (DW )〕による最新の書込データ
(DW)を含む、読出要求(QR )に対応した読出デー
タ(DR )を編集し、制御受付部32に返送する。
Next, the data synthesizing unit (DCM) 334 2
The DB write / read unit (DWR) 333 2 stores the database (D
B) from 34 2 and the read data (D 342), a buffer write and read unit (BWR) 332 2 is compared with the read out write data from the delta buffer 36 (D W), write data (D W) There whether the target of the read request (Q R), and the target database (DB) 34 analyzes whether or not woven into the read data (D 342) from 2, read request (Q R) , And recognizes that it is not included in the read data (D 342 ), by combining the read data (D 342 ) with the write data (D W ), the write request [Q W (D W )], And edits the read data (D R ) corresponding to the read request (Q R ), including the latest write data (D W ), and returns it to the control accepting unit 32.

【0067】制御受付部32においては、制御通知部3
2 から読出要求(QR )に対する読出データ(DR
が返送されると、制御通知部332 を読出要求(QR
の実行から解放することとし、機能選択問合せ部(FS
A)322が、機能選択問合せ部(FSA)312を介
して使用状況フラグ検査部(BFC)311内の使用状
況フラグ(f332 )を論理“1”から論理“0”に設定
変更を依頼し、制御通知部332 を未使用状態に設定変
更する〔図6(j) 参照〕。
In the control receiving section 32, the control notifying section 3
3 2 read request from the read data to the (Q R) (D R)
When There is returned, control notification unit 33 2 read request (Q R)
From the execution of the function selection inquiry section (FS
A) 322 requests the setting change of the usage status flag (f 332 ) in the usage status checking unit (BFC) 311 from the logic “1” to the logic “0” via the function selection inquiry unit (FSA) 312. the control notification unit 33 2 sets changed to an unused state [see FIG. 6 (j)].

【0068】次に読出結果通知部(RDS)324が、
制御通知部332 から返送された読出データ(DR
を、読出要求(QR )元の監視装置4に返送する。一
方、DBアクセス管理部35は、DB書込フラグ
(fW1)の設定変更状況を監視することにより、一方の
データベース(DB)341 に対する書込完了を識別す
ると、バッファ読出部(DDR)351が、差分バッフ
ァ36に記憶中のデータ(D36)〔現時点では書込要求
〔QW (DW )〕による書込データ(DW )〕を読出
す。
Next, the read result notifying unit (RDS) 324
Read data sent back from the control notification unit 33 2 (D R)
Is returned to the monitoring device 4 that has issued the read request (Q R ). On the other hand, the DB access management unit 35 monitors the setting change status of the DB write flag (f W1 ), and identifies the completion of writing to the one database (DB) 341. Reads the data (D 36 ) currently stored in the difference buffer 36 (the write data (D W ) based on the write request [Q W (D W )] at this time).

【0069】次にDB差分書込部(DDW)352が、
バッファ読出部(DDR)351の読出した書込データ
(DW )を、他方のデータベース(DB)342 に書込
む為に、DB書込フラグ(fW2)およびDB読出フラグ
(fR2)が共に論理“0”に設定されていることを確認
した後〔図6(i) 参照〕、DB書込フラグ(fW2)を論
理“0”から論理“1”に設定変更し、データベース
(DB)342 を書込状態に設定変更した後〔図6(k)
参照〕、書込データ(DW )をデータベース(DB)3
2 に書込んだ後、DB書込フラグ(fW2)を論理
“1”から論理“0”に設定変更し、データベース(D
B)342 を未書込状態に設定変更する〔図6(l) 参
照〕。
Next, the DB difference writing unit (DDW) 352
Buffer read portion (DDR) 351 of the read write data (D W), for writing to the other database (DB) 34 2, DB write flag (f W2) and DB read flag (f R2) is After confirming that both are set to logic "0" (see FIG. 6 (i)), the DB write flag (f W2 ) is changed from logic "0" to logic "1", and the database (DB) is changed. ) 34 2 after setting change to the write state [FIG. 6 (k)
And write data (D W ) to database (DB) 3
4 2 After writing in, and setting change DB write flag (f W2) from the logic "1" to a logic "0", the database (D
B) 34 2 Setting changes to non-written state [see FIG. 6 (l)].

【0070】DBアクセス管理部35は、DB書込フラ
グ(fW2)の設定変更状況を監視することにより、他方
のデータベース(DB)342 に対する同一書込データ
(D W )の書込完了を識別すると、制御通知部331
書込要求〔QW (DW )〕の実行から解放することと
し、使用状況フラグ解除部(BFR)353が、制御受
付部32内の使用状況フラグ検査部(BFC)321が
内蔵する使用状況フラグ(f331 )を、論理“1”から
論理“0”に設定変更し、制御通知部331 を未使用状
態に設定変更する〔図6(m) 参照〕。
The DB access management unit 35 provides a DB write flag.
(FW2) By monitoring the setting change status
Database (DB) 34TwoSame write data for
(D WWhen the writing completion is identified, the control notification unit 331To
Write request [QW(DW)]
Then, the usage status flag release unit (BFR) 353 receives the control
The usage flag inspection unit (BFC) 321 in the attachment unit 32
Built-in usage flag (f331) From the logic "1"
The setting is changed to logic “0”, and the control1Unused status
Change the setting to the state (see FIG. 6 (m)).

【0071】以上の説明から明らかな如く、本発明(請
求項2)の実施形態によれば、監視装置4から書込デー
タ(DW )の書込要求(QW )が送出され、ログ管理装
置3内の制御通知部331 が未使用状態にある一方のデ
ータベース(DB)341 に書込データ(DW )を書込
むと共に、差分バッファ36にも書込データ(DW )を
一時記憶している最中に、監視装置4から新たに読出デ
ータ(DR )の読出要求(QR )が送出されると、ログ
管理装置3内の未使用状態にある制御通知部332 が、
未使用状態にある他方のデータベース(DB)342
ら所要のデータ(D342 )を読出すと共に、差分バッフ
ァ36に記憶中のデータ(D36)も読出し、データベー
ス(DB)342 から読出したデータ(D342 )と差分
バッファ36から読出したデータ(D36)とを分析・合
成することにより、読出要求(Q R )に対して最新の記
憶データ(DR )を返送可能となる。
As is clear from the above description, the present invention (contract
According to the embodiment of item 2), the monitoring device 4
(DW) Write request (QW) Is sent out and the log management
Control notification unit 33 in the device 31Is unused.
Database (DB) 341Write data (DWWrite)
In addition, the write data (DW)
During the temporary storage, a new read data is read from the monitoring device 4.
Data (DR) Read request (QR) Is sent, the log
The control notification unit 33 in the unused state in the management device 3TwoBut,
The other database (DB) 34 in an unused stateTwoOr
Required data (D342) And the difference buffer
Data (D36) Also reads out the database
(DB) 34TwoData (D342) And diff
Data read from the buffer 36 (D36Analysis)
The read request (Q R)
Memory data (DR) Can be returned.

【0072】次に、本発明(請求項3)の実施形態によ
るデータベースの書込・読出方式を、図2、図7および
図10を用いて説明する。各伝送装置2から送出される
イベントデータ(I)は、複数種類に分類されており、
各伝送装置2から複数種類のイベントデータ(I)が送
出される場合がある。
Next, a database writing / reading method according to an embodiment of the present invention (claim 3) will be described with reference to FIGS. The event data (I) transmitted from each transmission device 2 is classified into a plurality of types.
A plurality of types of event data (I) may be transmitted from each transmission device 2.

【0073】図7に示されるログ管理装置3において
は、各データベース(DB)34は、イベントデータ
(I)を種類毎に分割して記憶している。以後データベ
ース(DB)34の分割された個々の部分を、部分デー
タベース(SDB)343と称する。
In the log management device 3 shown in FIG. 7, each database (DB) 34 stores event data (I) divided for each type. Hereinafter, each divided part of the database (DB) 34 is referred to as a partial database (SDB) 343.

【0074】また各制御通知部33内に設けられている
DB書込読出部(DWR)333には、複数のスレッド
が設けられている。図2、図7および図10において、
監視装置4から複数種類のイベントデータ(I)に対す
る読出要求(QR )が送出された場合、ログ管理装置3
は、前述と同様の過程により、制御受付部32が送出さ
れた読出要求(QR )を受付け、一方の制御通知部33
1 を選定し、受付けた読出要求(QR )を伝達すると、
制御通知部331 が、読出可能な一方のデータベース
(DB)341 を選定すると共に、伝達された読出要求
(QR )を分析し、複数種類のイベントデータ(I)の
読出要求と認識すると、読出要求(QR )をイベントデ
ータ(I)の種類毎に分割し、DB書込読出部(DW
R)3331 内に設けられている各スレッドに、分割さ
れた各読出要求(QR )を伝達する。
A plurality of threads are provided in a DB write / read unit (DWR) 333 provided in each control notification unit 33. 2, 7, and 10,
When a read request (Q R ) for a plurality of types of event data (I) is sent from the monitoring device 4, the log management device 3
In the same manner as described above, the control reception unit 32 receives the read request (Q R ) sent out, and the control notification unit 33
When 1 is selected and the received read request (Q R ) is transmitted,
Control notification unit 33 1, as well as selecting the readable one database (DB) 34 1, analyzes the transmitted read request (Q R), recognizes the read request of a plurality of types of event data (I) , The read request (Q R ) is divided for each type of event data (I), and the DB write / read unit (DW
Each thread is provided in the R) 333 1, and transmits each of the divided read request was the (Q R).

【0075】各スレッドは、選定されたデータベース
(DB)341 内に設けられている、それぞれ伝達され
た読出要求(QR )の対象とする種類のイベントデータ
(I)を記憶する部分データベース(SDB)343か
ら、所要のイベントデータ(I)を読出す。
Each thread is provided in a selected database (DB) 34 1 and stores a partial database (I) for storing the type of event data (I) targeted by the transmitted read request (Q R ). The required event data (I) is read from the SDB) 343.

【0076】なお各スレッドは、それぞれ異なる種類の
イベントデータ(I)の読出要求(QR )を受信してい
る為、同一データベース(DB)341 内の、それぞれ
異なる部分データベース(SDB)343からイベント
データ(I)を読出すこととなり、各スレッドはそれぞ
れ担当する読出処理を、並行して実行することとなる。
[0076] Note that each thread, because it has received different types of events read request for data (I) and (Q R), in the same database (DB) 34 1, from different parts database (SDB) 343 respectively The event data (I) is read out, and each thread executes the reading process in charge in parallel.

【0077】次に、或る監視装置4から或る種類のイベ
ントデータ(I)の読出要求(QR)が送出され、ログ
管理装置3内の制御受付部32が読出要求(QR )を受
信し、制御通知部331 を当該読出要求(QR )を実行
すべく選出し、またDB書込読出部(DWR)3331
内の或るスレッドが当該読出要求(QR )を実行する為
に選出され、選出されたデータベース(DB)341
読出要求(QR )の対象となる種類のイベントデータ
(I)を記憶する部分データベース(SDB)343か
ら、所要のイベントデータ(I)の読出処理を実行中と
する。
Next, a read request (Q R ) for a certain type of event data (I) is sent from a certain monitoring device 4, and the control reception unit 32 in the log management device 3 sends the read request (Q R ). receives a control notification unit 33 1 elect to execute the read request (Q R), also DB write and read unit (DWR) 333 1
Certain threads of the inner is chosen in order to execute the read request (Q R), elected database (DB) 34 1 of the read request subject to the type of event data (I) the storage of the (Q R) It is assumed that the process of reading required event data (I) from the partial database (SDB) 343 to be performed is being executed.

【0078】かかる状態で、他の監視装置4から或る種
類のイベントデータ(I)の読出要求(QR )が送出さ
れると、制御受付部32が読出要求(QR )を受信し、
当該読出要求(QR )を実行する制御通知部33の選定
を試みる。
In this state, when a read request (Q R ) of a certain type of event data (I) is sent from another monitoring device 4, the control receiving unit 32 receives the read request (Q R ),
Attempt to select the control notification unit 33 that executes the read request (Q R ).

【0079】このとき、制御通知部331 は使用中であ
り、制御通知部332 が未使用であるので、本発明(請
求項1)の実施形態および本発明(請求項2)の実施形
態におけるログ管理装置3においては制御通知部332
が選出されることとなるが、本発明(請求項3)の実施
形態における制御受付部32は、制御通知部331 で実
行中の読出要求(QR )の対象イベントデータ(I)の
種類を、例えば内蔵するイベントデータ種類フラグ等に
より認識可能であり、制御受付部32が制御通知部33
1 で実行中の読出要求(QR )の対象イベントデータ
(I)の種類と、新たに受信した読出要求(QR )の対
象イベントデータ(I)の種類とを対比し、両者が異な
る種類と判明した場合には、新たな読出要求(QR )に
対して制御通知部331 内の他のスレッドを使用し、同
一データベース(DB)341 の、読出要求(QR )の
対象イベントデータ(I)の種類に対応する他の部分デ
ータベース(SDB)343から所望種類のイベントデ
ータ(I)を読出可能と判断し、制御通知部331 に新
たな読出要求(QR )を伝達する。
[0079] At this time, control notification unit 33 1 is in use, the control notification section 33 2 is unused, the embodiment of the present invention embodiments and the present invention (Claim 1) (claim 2) In the log management device 3 in the control notification unit 33 2
Although the can but be elected, control reception unit 32 in the embodiment of the present invention (Claim 3), the type of target event data (I) of the read request running control notification unit 33 1 (Q R) Can be recognized by, for example, a built-in event data type flag or the like.
The type of the target event data (I) of the read request (Q R ) being executed in step 1 is compared with the type of the target event data (I) of the newly received read request (Q R ), and both types are different. It found when uses other threads in control notification unit 33 1 for a new read request (Q R), the same database (DB) 34 1, target event of the read request (Q R) and Judging from other parts database (SDB) 343 corresponding to the type of data (I) and can read a desired type of the event data (I), to transmit the new read request (Q R) in the control notification section 33 1 .

【0080】制御通知部331 は、新たに伝達された読
出要求(QR )に、DB書込読出部(DWR)3331
の未使用スレッドを割当て、データベース(DB)34
1 の、読出要求(QR )に対応する種類のイベントデー
タ(I)を記憶する部分データベース(SDB)343
から所望のイベントデータ(I)の読出処理を実行させ
る。
[0080] control notification unit 33 1, the newly transmitted the read request (Q R), DB write and read unit (DWR) 333 1
Of unused threads in the database (DB) 34
1 , a partial database (SDB) 343 for storing event data (I) of the type corresponding to the read request (Q R )
To read out desired event data (I).

【0081】なお制御受付部32が新旧読出要求
(QR )の対象とするイベントデータ(I)の種類を対
比した結果、両者が同一種類と判明した場合には、制御
通知部33 1 が読出中のデータベース(DB)34
1 の、新たな読出要求(QR )の対象となる部分データ
ベース(SDB)343が、既に制御通知部331 内の
スレッドから読出中で、新たな読出要求(QR )が実行
出来ぬと判断し、他方の制御通知部332 を新たな読出
要求(QR )を実行する為に選出し、読出要求(QR
を伝達する。
The control accepting unit 32 sends a new and old read request.
(QR) Is the type of event data (I)
As a result of comparison, if both are found to be of the same type,
Notification unit 33 1(DB) 34 being read by
1New read request (QR) Target partial data
The base (SDB) 343 has already been1Inside
While reading from the thread, a new read request (QR) Run
It is determined that it cannot be performed, and the other control notification unit 33TwoA new read
Request (QR) To execute the read request (QR)
To communicate.

【0082】以上の説明から明らかな如く、本発明(請
求項3)の実施形態によれば、制御通知部33内のDB
書込読出部(DWR)333に複数のスレッドを設け、
且つデータベース(DB)34をイベントデータ(I)
種類毎の部分データベース(SDB)343に分割する
ことにより、一台の制御通知部33およびデータベース
(DB)34によりイベントデータ(I)の種類の異な
る複数の書込・読出要求を、並行して実行させることが
可能となる。
As is apparent from the above description, according to the embodiment of the present invention (claim 3), the DB in the control notifying section 33
A plurality of threads are provided in the write / read unit (DWR) 333,
In addition, the database (DB) 34 stores the event data (I)
By dividing into a partial database (SDB) 343 for each type, a plurality of write / read requests of different types of event data (I) can be performed in parallel by one control notification unit 33 and database (DB) 34. It can be executed.

【0083】次に、本発明(請求項4および5)の実施
形態によるデータベースの書込・読出方式を、図2、図
8乃至図10を用いて説明する。図2において、データ
ベース(DB)34は、図1(b) におけるデータベース
200の役割を果たし、また検索キーファイル37は、
図1(b) における検索条件登録手段201の役割を果た
し、更にDBアクセス管理部35内に設けられている検
索キーファイル管理部(KFM)354は、図1(b) に
おける検索手段202の役割を果たす。
Next, a database writing / reading method according to an embodiment of the present invention (claims 4 and 5) will be described with reference to FIGS. 2, 8 to 10. 2, a database (DB) 34 plays the role of the database 200 in FIG. 1B, and a search key file 37
1B plays a role of the search condition registration unit 201, and a search key file management unit (KFM) 354 provided in the DB access management unit 35 functions as the search unit 202 in FIG. 1B. Fulfill.

【0084】データベース(DB)34に記憶されるイ
ベントデータ(I)は、複数〔図8においては三個)の
属性(M)〔個々の属性を(M1 )、(M2 )等と称す
る〕を具備しており、各属性(M)はそれぞれ「0」以
上の値を有するものとする。
The event data (I) stored in the database (DB) 34 includes a plurality of (three in FIG. 8) attributes (M) [each attribute is referred to as (M 1 ), (M 2 ), etc. And each attribute (M) has a value of “0” or more.

【0085】また検索キーファイル37には、データベ
ース(DB)34内のイベントデータ(I)を検索する
為の検索キー(K)を所定種類〔図8においては8種
類〕登録されると共に、各検索キー(K)〔個々の検索
キーを(K1 )、(K2 )等と称する。〕の使用回数を
計測する計数値(C)を蓄積可能としている。
In the search key file 37, a predetermined type (eight types in FIG. 8) of search keys (K) for searching the event data (I) in the database (DB) 34 is registered. Search key (K) [Each search key is referred to as (K 1 ), (K 2 ), or the like. ] Can be accumulated.

【0086】更に検索キーファイル37に登録済の所定
種類〔図8においては4種類〕の検索キー(K1 )乃至
(K4 )に対応して、それぞれ検索ビット(B)〔個々
の検索ビットを(B1 )乃至(B4 )と称する〕が定め
られている。
Further, search bits (B) [individual search bits] corresponding to predetermined types (four types in FIG. 8) of search keys (K 1 ) to (K 4 ) registered in the search key file 37, respectively. Are referred to as (B 1 ) to (B 4 )].

【0087】図2、図8乃至図10において、伝送装置
監視システムの運用に先立ち、ログ管理装置3の検索キ
ーファイル37には、二種類の検索キー(K1 )および
(K 2 )が登録されており、残る六種類の検索キー(K
3 )乃至(K8 )は未登録である。
In FIG. 2, FIG. 8 to FIG.
Prior to the operation of the monitoring system, the search key of the log management device 3
The file 37 contains two types of search keys (K1)and
(K Two) Is registered, and the remaining six search keys (K
Three) Through (K8) Is unregistered.

【0088】なお検索キー(K1 )は、属性(M1 )が
「0」、且つ属性(M2 )が「0」〔(M1 =「0」)
×(M2 =「0」)〕であり、また検索キー(K2
は、属性(M1 )が「0」、且つ属性(M3 )が「0」
〔(M1 =「0」)×(M3 =「0」)〕である。
The search key (K 1 ) has an attribute (M 1 ) of “0” and an attribute (M 2 ) of “0” [(M 1 = "0")
× (M 2 = "0")] and the search key (K 2 )
Indicates that the attribute (M 1 ) is “0” and the attribute (M 3 ) is “0”
[(M 1 = "0") × (M 3 = "0")].

【0089】また運用前においては、各検索キー(K)
の計数値(C)は、何れも「0」に設定されている〔図
8(a) 、第一段階、参照〕。かかる伝送装置監視システ
ムの運用が開始され、伝送装置2から、イベントデータ
(I1 )および(I2 )が送出されると、ログ管理装置
3は、前述と同様の過程により、イベントデータ
(I1 )および(I2 )を通知受付部31により受付
け、何れかの制御通知部(例えば331 )およびDBア
クセス管理部35により、データベース(DB)341
および342 への書込を実行するが、本発明(請求項
4、5)の実施形態においては、DBアクセス管理部3
5内に設けられている検索キーファイル管理部(KF
M)354が、書込対象イベントデータ(I 1 )および
(I2 )の属性(M)を分析した後、検索キーファイル
37を参照し、登録済の検索キー(K)に対する各イベ
ントデータ(I1 )および(I2 )の満足状態を判定
し、判定結果を示す検索ビット(B)を付加する。
Before operation, each search key (K)
Are set to “0” in FIG.
8 (a), first stage, see]. Such a transmission device monitoring system
Operation of the system is started, and event data is transmitted from the transmission device 2.
(I1) And (I)Two) Is sent, the log management device
3 is the event data by the same process as described above.
(I1) And (I)Two) Received by the notification receiving unit 31
If any of the control notification units (for example, 331) And DB
Database (DB) 34 by the access management unit 351
And 34TwoIs executed, the present invention (claim
In the fourth and fifth embodiments, the DB access management unit 3
5, a search key file management unit (KF
M) 354 is the event data to be written (I 1)and
(ITwo) After analyzing the attribute (M), search key file
37, each event for the registered search key (K)
Data (I1) And (I)TwoJudge satisfaction)
Then, a search bit (B) indicating the determination result is added.

【0090】検索キーファイル管理部(KFM)354
は、先ずイベントデータ(I1 )を分析の結果、属性
(M1 =「0」)、(M2 =「0」)、(M3
「0」)を具備しており、検索キーファイル37に登録
済の検索キー〔K1 =(M1 =「0」)×(M2
「0」)〕と、検索キー〔K2 =(M1 =「0」)×
(M3 =「0」)〕とを満足すると判定すると、検索キ
ー(K1 )に対応する検索ビット(B 1 )と、検索キー
(K2 )に対応する検索ビット(B2 )とを、それぞれ
満足状態〔例えば論理“1”〕に設定し、その他の検索
キー(K3 )および(K4 )は未登録であり満足状態が
判定不能の為、対応する検索ビット(B3 )および(B
4 )をそれぞれ不満足状態〔例えば論理“0”〕に設定
し、イベントデータ(I 1 )に付加する。
Search key file management unit (KFM) 354
Is the event data (I1) Analysis of the attributes
(M1= "0"), (MTwo= "0"), (MThree=
"0") and registered in the search key file 37
Search key [K1= (M1= "0") x (MTwo=
"0")] and the search key [KTwo= (M1= “0”) ×
(MThree= “0”)], the search key
ー (K1) Corresponding to the search bit (B 1) And search key
(KTwo) Corresponding to the search bit (BTwo) And
Satisfaction status (eg, logic "1") is set, and other searches are performed
Key (KThree) And (KFour) Is unregistered and satisfied
Since it cannot be determined, the corresponding search bit (BThree) And (B)
Four) Is set to an unsatisfied state (eg, logic “0”)
And the event data (I 1).

【0091】続いて検索キーファイル管理部(KFM)
354は、イベントデータ(I2 )を分析の結果、属性
(M1 =「0」)、(M2 =「1」)、(M3
「0」)を具備しており、検索キーファイル37に登録
済の検索キー〔K1 =(M1 =「0」)×(M2
「0」)〕は満足しないが、検索キー〔K2 =(M1
「0」)×(M3 =「0」)〕は満足すると判定する
と、検索キー(K1 )に対応する検索ビット(B1 )を
不満足状態〔即ち論理“0”〕に設定し、検索キー(K
2 )に対応する検索ビット(B2 )を満足状態〔即ち論
理“1”〕に設定し、その他の検索キー(K3 )および
(K4 )は未登録故、検索キー(K1 )と同様に、対応
する検索ビット(B3 )および(B4 )をそれぞれ不満
足状態〔即ち論理“0”〕に設定し、イベントデータ
(I2 )に付加する。
Subsequently, a search key file management unit (KFM)
Reference numeral 354 denotes a result of analysis of the event data (I 2 ), the attributes (M 1 = "0"), (M 2 = "1"), (M 3 =
“0”), and the search key [K 1 = (M 1 = "0") × (M 2 =
“0”)] is not satisfied, but the search key [K 2 = (M 1 =
If it is determined that “0”) × (M 3 = "0")] is satisfied, the search bit (B 1 ) corresponding to the search key (K 1 ) is set to an unsatisfied state (ie, logic “0”), and the search is performed. Key (K
Search bits corresponding to 2) (B 2) is set to satisfy conditions [i.e. logic "1"], other search key (K 3) and (K 4) is therefore not registered, the search key (K 1) Similarly, the corresponding search bits (B 3 ) and (B 4 ) are respectively set to the unsatisfied state (ie, logic “0”) and added to the event data (I 2 ).

【0092】制御通知部331 およびDBアクセス管理
部35は、検索ビット(B1 )乃至(B4 )を付加済の
イベントデータ(I1 )および(I2 )を、データベー
ス(DB)341 および342 に書込む〔図8(a) 、第
一段階、参照〕。
[0092] control notification unit 33 1 and the DB access control unit 35 searches the bit (B 1) to the (B 4) an additional pre event data (I 1) and (I 2), a database (DB) 34 1 and 34 2 writes in [FIG. 8 (a), the first stage, see FIGS.

【0093】一方監視装置4から、ログ管理装置3内の
データベース(DB)34に記憶済のイベントデータ
(I)に対し、検索キーファイル37に登録済の検索キ
ー(K 1 )を用いた検索要求が生起すると、ログ管理装
置3は、前述と同様の過程により、検索要求を制御受付
部32により受付け、何れかの制御通知部(例えば33
1 )およびDBアクセス管理部35により、データベー
ス(DB)341 および342 からの読出を実行する
が、本発明(請求項4、5)の実施形態においては、D
Bアクセス管理部35内の検索キーファイル管理部(K
FM)354が、今回実行する検索要求の検索条件を分
析し、検索キー(K1 )であることを識別すると、デー
タベース(DB)34に記憶済のイベントデータ(I)
に付加されている検索ビット(B1 )乃至(B4 )の
内、検索キー(K1 )に対応する検索ビット(B1 )が
論理“1”に設定済のイベントデータ(I)が検索キー
(K1 )を満足することを認識し、制御通知部331
のDB書込読出部(DWR)3331 へ検索ビット(B
1 =“1”)によるイベントデータ(I)の検索を指示
すると共に、検索キーファイル37の、検索キー
(K1 )に対応する計数値(C1)に「1」を加算す
る。
On the other hand, from the monitoring device 4,
Event data stored in database (DB) 34
In response to (I), the search key registered in the search key file 37
ー (K 1When a search request using
The device 3 controls and receives the search request in the same process as described above.
Received by the control unit 32, and any control notification unit (for example, 33
1) And the DB access management unit 35
(DB) 341And 34TwoExecute reading from
However, in the embodiment of the present invention (claims 4 and 5), D
Search key file management unit (K in the B access management unit 35
FM) 354 identifies the search condition of the search request to be executed this time.
And search key (K1), The data
Event data (I) stored in the database (DB) 34
Search bit (B1) Through (B)Four)of
Within the search key (K1) Corresponding to the search bit (B1)But
Event data (I) set to logic "1" is the search key
(K1), The control notifying unit 331Inside
DB writing and reading unit (DWR) 3331Search bit (B
1= “1”) to instruct retrieval of event data (I)
And the search key of the search key file 37
(K1) Corresponding to the count value (C1Add “1” to)
You.

【0094】DB書込読出部(DWR)3331 は、前
述と同様の過程により、読出対象データベース(DB)
〔例えば341 〕を選定した後、検索キーファイル管理
部(KFM)354からの指示に基づき、検索ビット
(B1 =“1”)によるイベントデータ(I)の検索を
実行し、検索ビット(B1 =“1”)を付加されるイベ
ントデータ(I1 )を検出する。
[0094] DB write and read unit (DWR) 333 1 is by a process similar to that described above, the read subject data base (DB)
After selecting [for example, 34 1 ], based on an instruction from the search key file management unit (KFM) 354, a search of the event data (I) by the search bit (B 1 = “1”) is executed, and the search bit ( Event data (I 1 ) to which B 1 = “1”) is added is detected.

【0095】制御通知部331 は、検出したイベントデ
ータ(I1 )を、制御受付部32を介して検索要求元の
監視装置4に返送する。続いて監視装置4から、ログ管
理装置3内のデータベース(DB)34に記憶済のイベ
ントデータ(I)に対し、検索キーファイル37に登録
済の検索キー(K2 )を用いた検索要求が生起すると、
ログ管理装置3においては、前述と同様の過程により、
DBアクセス管理部35内の検索キーファイル管理部
(KFM)354が、今回実行する検索要求の検索条件
を分析し、検索キー(K2 )であることを識別すると、
データベース(DB)34に記憶済のイベントデータ
(I)に付加されている検索ビット(B1 )乃至
(B4 )の内、検索キー(K2 )に対応する検索ビット
(B2 )が論理“1”に設定済のイベントデータ(I)
が検索キー(K2 )を満足することを認識し、制御通知
部331 内のDB書込読出部(DWR)3331 へ検索
ビット(B2 =“1”)によるイベントデータ(I)の
検索を指示すると共に、検索キーファイル37の、検索
キー(K2 )に対応する計数値(C2 )に「1」を加算
する。
[0095] control notification unit 33 1, the detected event data (I 1), and returns through the control reception unit 32 to the search request source of the monitoring device 4. Subsequently, a search request using the search key (K 2 ) registered in the search key file 37 is issued from the monitoring device 4 to the event data (I) stored in the database (DB) 34 in the log management device 3. When it occurs,
In the log management device 3, by the same process as described above,
When the search key file management unit (KFM) 354 in the DB access management unit 35 analyzes the search condition of the search request to be executed this time, and identifies that the search request is the search key (K 2 ),
Of database (DB) 34 that are added to it are searched bits already stored in the event data (I) (B 1) to (B 4), the search bit corresponding to the search key (K 2) (B 2) is a logical Event data (I) already set to "1"
There recognizes that satisfies the search key (K 2), DB write and read portions of the control notification section 33 in one of (DWR) 333 1 to search bit event data by (B 2 = "1") (I) At the same time as instructing the search, “1” is added to the count value (C 2 ) of the search key file 37 corresponding to the search key (K 2 ).

【0096】DB書込読出部(DWR)3331 は、前
述と同様の過程により、読出対象データベース(DB)
〔例えば341 〕を選定した後、検索キーファイル管理
部(KFM)354からの指示に基づき、検索ビット
(B2 =“1”)によるイベントデータ(I)の検索を
実行し、検索ビット(B2 =“1”)を付加されるイベ
ントデータ(I1 )および(I2 )を検出する。
[0096] DB write and read unit (DWR) 333 1 is by a process similar to that described above, the read subject data base (DB)
After selecting [for example, 34 1 ], based on an instruction from the search key file management unit (KFM) 354, a search of the event data (I) by the search bit (B 2 = “1”) is executed, and the search bit ( Event data (I 1 ) and (I 2 ) to which B 2 = “1” is added are detected.

【0097】制御通知部331 は、検出したイベントデ
ータ(I1 )および(I2 )を、制御受付部32を介し
て検索要求元の監視装置4に返送する。以下同様に、監
視装置4から検索キー(K1 )または(K2 )を用いた
検索要求が生起する度に、検索キーファイル37の検索
キー(K1 )または(K2 )の計数値(C1 )または
(C2 )に「1」が加算される。
[0097] control notification unit 33 1 sends back the detected event data (I 1) and (I 2), via a control reception unit 32 to the search request source of the monitoring device 4. Hereinafter Similarly, the count value of each time a search request is to occur using the search key from the monitor 4 (K 1) or (K 2), the search of the search key file 37 keys (K 1) or (K 2) ( “1” is added to C 1 ) or (C 2 ).

【0098】なお監視装置4から、検索キーファイル3
7に登録済の検索キー(K1 )および(K2 )以外の検
索キー(K)〔例えば(M1 =「0」)〕を用いた検索
要求が生起した場合には、DBアクセス管理部35内の
検索キーファイル管理部(KFM)354が、今回実行
する検索要求の検索条件を分析し、検索キーファイル3
7に未登録の検索キー(K)であることを識別すると、
制御通知部331 内のDB書込読出部(DWR)333
1 へ、従来あるログ管理装置3と同様の検索〔図12参
照〕を指示すると共に、検索キーファイル37の、未登
録検索キーファイル371に、未登録検索キー(KN1
として登録すると共に、登録した未登録検索キー
(KN1)に対応する計数値(CN1=「0」)に「1」を
加算する。
The monitoring device 4 sends the search key file 3
7, when a search request using a search key (K) [eg, (M 1 = "0")] other than the search key (K 1 ) and (K 2 ) is generated, the DB access management unit The search key file management unit (KFM) 354 in the server 35 analyzes the search conditions of the search request to be executed this time, and searches the search key file 3
When it is identified that the search key (K) is not registered in 7,
DB write and read portions of the control notification section 33 in 1 (DWR) 333
1 , the same search as that of the conventional log management apparatus 3 (see FIG. 12) is instructed, and the unregistered search key (K N1 ) is stored in the unregistered search key file 371 of the search key file 37.
And adds “1” to the count value (C N1 = “0”) corresponding to the registered unregistered search key (K N1 ).

【0099】DB書込読出部(DWR)3331 は、前
述と同様の過程により、読出対象データベース(DB)
〔例えば341 〕を選定した後、検索キーファイル管理
部(KFM)354からの指示に基づき、データベース
(DB)341 に対して未登録検索キー〔KN1=(M1
=「0」)〕によるイベントデータ(I)の検索を要求
し、未登録検索キー(KN1)を満足するイベントデータ
(I1 )および(I2)を受信する。
[0099] DB write and read unit (DWR) 333 1 is by a process similar to that described above, the read subject data base (DB)
After selecting the [eg 34 1], based on an instruction from the search key file management unit (KFM) 354, a database (DB) 34 unregistered search key for 1 [K N1 = (M 1
= “0”)], and receives event data (I 1 ) and (I 2 ) satisfying the unregistered search key (K N1 ).

【0100】制御通知部331 は、検出したイベントデ
ータ(I1 )および(I2 )を、制御受付部32を介し
て検索要求元の監視装置4に返送する。以下同様に、未
登録検索キー(KN2)〔=(M1 ≧「2」)〕、
(KN3)〔=(M2 =「0」〕、(KN4)〔=(M2
「1」)〕、(KN5)〔=(M3 ≦「3」)〕、
(KN6)〔=(M3 =「0」)〕を用いたイベントデー
タ(I)の検索要求が、新たに監視装置4から生起する
度に、検索キーファイル37内の未登録検索キーファイ
ル371に順次登録されると共に、対応する計数値(C
N2=「0」)乃至(CN2=「0」)に「1」が加算され
る。
[0100] control notification unit 33 1 sends back the detected event data (I 1) and (I 2), via a control reception unit 32 to the search request source of the monitoring device 4. Similarly, an unregistered search key (K N2 ) [= (M 1 ≧ “2”)],
(K N3 ) [= (M 2 = "0"], (K N4 ) [= (M 2
“1”)], (K N5 ) [= (M 3 ≦ “3”)],
Every time a new search request for event data (I) using (K N6 ) [= (M 3 = "0")] is newly generated from the monitoring device 4, an unregistered search key file in the search key file 37 371 are sequentially registered and the corresponding count value (C
N2 = "0") to (C N2 = "0") to "1" is added.

【0101】また、未登録検索キーファイル371に登
録済の未登録検索キー(KN )と同一の検索キー(K)
を用いた検索要求が、監視装置4から生起した場合に
は、検索キーファイル管理部(KFM)354は、前述
と同様に、制御通知部331 内のDB書込読出部(DW
R)3331 へ、従来あるログ管理装置3と同様の検索
〔図12参照〕を指示するが、未登録検索キーファイル
371の、該当する未登録検索キー(KN )に対応する
計数値(CN )に「1」を加算する。〔図8(b)、第二
段階〕 なお検索キーファイル管理部(KFM)354は、検索
キーファイル37に登録済の各検索キー(K1 )および
(K2 )の計数値(C1 )および(C2 )と、未登録検
索キーファイル371に登録済の未登録検索キー
(KN )の数、および各未登録検索キー(KN )に対応
する計数値(CN )とを監視しており、検索キーファイ
ル37に登録済の検索キー(K)の数と、未登録検索キ
ーファイル371に登録済の未登録検索キー(KN )の
数との合計が、予め定められた数〔例えば「8」個〕に
達したことを検出した場合、または各計数値(C1 )、
(C2 )および(CN1)乃至(CN6)の最大値が、予め
定められた限界値〔例えば「10」に達したことを検出
した場合には、検索キーファイル37に登録済の検索キ
ー(K1 )および(K2 )と、未登録検索キーファイル
371に登録済の未登録検索キー(KN1)乃至(KN6
とを、計数値(C)または(CN )の降順に配列し、先
頭から「4」番目迄の検索キー(K)または未登録検索
キー(KN )を、新たな検索キー(K1 )乃至(K4
として検索キーファイル37に登録し、「5」番目乃至
「8」番目の検索キー(K)または未登録検索キー(K
N )を検索キーファイル37および未登録検索キーファ
イル371から抹消し、更に各検索キー(K1 )乃至
(K4 )の計数値(C1 )乃至(C4 )を総て「0」に
更新する。
The same search key (K) as the unregistered search key (K N ) registered in the unregistered search key file 371
Search request with is when arising from the monitoring device 4, the search key file management unit (KFM) 354, similar to the above, DB write and read portions of the control notification section 33 in 1 (DW
R) 333 1, and instructs the search similar to the log management device 3 in the conventional [see FIG. 12], the unregistered search key file 371, the corresponding count value corresponding to the registered search key (K N) ( Add “1” to C N ). [FIG. 8B, Second Stage] The search key file management unit (KFM) 354 calculates the count value (C 1 ) of each of the search keys (K 1 ) and (K 2 ) registered in the search key file 37. And (C 2 ), the number of unregistered search keys (K N ) registered in the unregistered search key file 371, and the count value (C N ) corresponding to each unregistered search key (K N ) The total of the number of search keys (K) registered in the search key file 37 and the number of unregistered search keys (K N ) registered in the unregistered search key file 371 is predetermined. Number (for example, “8”), or when each count value (C 1 )
When it is detected that the maximum value of (C 2 ) and (C N1 ) to (C N6 ) has reached a predetermined limit value [for example, “10”, the search registered in the search key file 37 is performed. The keys (K 1 ) and (K 2 ) and the unregistered search keys (K N1 ) to (K N6 ) registered in the unregistered search key file 371
Are arranged in descending order of the count value (C) or (C N ), and the search keys (K) or unregistered search keys (K N ) up to the “4” th from the beginning are replaced with new search keys (K 1) ) To (K 4 )
And registered in the search key file 37 as the “5” th to “8” th search keys (K) or unregistered search keys (K
Cancel the N) from the search key file 37 and unregistered search key file 371, further count (C 1) to each search key (K 1) to (K 4) a (C 4) to all "0" Update.

【0102】図8(b) に示される各検索キー(K1 )、
(K2 )および未登録検索キー(K N1)乃至(KN6)に
それぞれ対応する計数値(C1 )、(C2 )および(C
N1)乃至(CN6)によれば、検索キー(K1 )〔計数値
(C1 =「10」)〕、未登録検索キー(KN2)〔計数
値(CN2=「6」)〕、未登録検索キー(KN3)〔計数
値(CN3=「5」)〕および未登録検索キー(KN6
〔計数値(CN2=「3」)〕が、新たな検索キー
(K1 )乃至(K4 )として登録され、検索キー
(K2)〔計数値(C2 =「2」)〕、未登録検索キー
(KN1)〔計数値(CN1=「1」)〕、未登録検索キー
(KN4)〔計数値(CN4=「1」)〕および未登録検索
キー(KN5)〔計数値(CN5=「1」)〕が抹消される
こととなる。〔図9(c)、第三段階〕 続いて検索キーファイル管理部(KFM)354は、デ
ータベース(DB)341 および342 に記憶済の各イ
ベントデータ(I)に付加されている検索ビット
(B1 )乃至(B4 )を、検索キーファイル37に新た
に登録済の検索キー(K1 )乃至(K4 )を対象として
更新する。
Each search key (K) shown in FIG.1),
(KTwo) And unregistered search key (K N1) Through (KN6)
Each corresponding count value (C1), (CTwo) And (C
N1) Through (CN6), The search key (K1) [Count value
(C1= “10”)], an unregistered search key (KN2) [Count
Value (CN2= “6”)], an unregistered search key (KN3) [Count
Value (CN3= “5”)] and an unregistered search key (KN6)
[Count value (CN2= “3”)] is the new search key
(K1) Through (KFour) Registered as a search key
(KTwo) [Count value (CTwo= “2”)], unregistered search key
(KN1) [Count value (CN1= "1")], unregistered search key
(KN4) [Count value (CN4= "1")] and unregistered search
Key (KN5) [Count value (CN5= "1")] is deleted
It will be. [FIG. 9 (c), third stage] Subsequently, the search key file management unit (KFM) 354
Database (DB) 341And 34TwoEach of the
Search bit added to vent data (I)
(B1) Through (B)Four) Is added to the search key file 37.
Search key (K1) Through (KFour)
Update.

【0103】例えばデータベース(DB)34に、イベ
ントデータ(I1 )および(I2 )のみが記憶済とする
と、イベントデータ(I1 )は、検索キー(K1 )、
(K2)および(K3 )を満足し、検索キー(K4 )を
満足しないことから、イベントデータ(I1 )に付加さ
れている検索ビット(B1 =“1”)、(B2
“1”)、(B3 =“0”)および(B4 =“0”)
を、検索ビット(B1 =“1”)、(B2 =“1”)、
(B3 =“1”)および(B4 =“0”)に設定変更
し、またイベントデータ(I2 )は、検索キー(K2
および(K3 )を満足し、検索キー(K1 )および(K
4 )を満足しないことから、イベントデータ(I2 )に
付加されている検索ビット(B1 =“0”)、(B2
“1”)、(B3 =“0”)および(B4 =“0”)
を、検索ビット(B1 =“0”)、(B2 =“1”)、
(B3 =“1”)および(B4 =“0”)に設定変更す
る。
[0103] for example a database (DB) 34, the event data (I 1) and (I 2) only to the already stored event data (I 1), the search key (K 1),
Since (K 2 ) and (K 3 ) are satisfied and the search key (K 4 ) is not satisfied, the search bits (B 1 = "1") added to the event data (I 1 ), (B 2 =
"1"), (B 3 = "0") and (B 4 = "0")
With search bits (B 1 = “1”), (B 2 = “1”),
The settings are changed to (B 3 = "1") and (B 4 = "0"), and the event data (I 2 ) is changed to the search key (K 2 ).
And (K 3 ) are satisfied, and the search keys (K 1 ) and (K
4 ), the search bits (B 1 = "0") and (B 2 = 0) added to the event data (I 2 ) are not satisfied.
"1"), (B 3 = "0") and (B 4 = "0")
With search bits (B 1 = "0"), (B 2 = "1"),
Change the setting to (B 3 = “1”) and (B 4 = “0”).

【0104】以後、監視装置4から生起する各検索要求
に対し、検索キーファイル管理部(KFM)354は新
たな検索キーファイル37を参照し、登録済の検索キー
(K 1 )乃至(K4 )を用いた検索要求は、検索ビット
(B1 )乃至(B4 )による検索をDB書込読出部(D
WR)333に指示すると共に、計数値(C1 )乃至
(C4 )に加算し、未登録の検索キー(K)を用いた検
索要求は、データベース(DB)34による検索を指示
すると共に、未登録検索キーファイル371に未登録検
索キー(KN )として登録すると共に計数値(CN )に
加算する。
Thereafter, each search request generated from the monitoring device 4
In response, the search key file management unit (KFM) 354
The registered search key is referred to the server search key file 37.
(K 1) Through (KFourThe search request using
(B1) Through (B)Four) To the DB write / read unit (D
WR) 333 and the count value (C1) Through
(CFour) And search using an unregistered search key (K).
The search request instructs a search by the database (DB) 34
At the same time, the unregistered search key file
Search key (KN) And count value (CN)
to add.

【0105】やがて、検索キーファイル37に登録済の
検索キー(K)と、未登録検索キーファイル371に登
録済の未登録検索キー(KN )との合計値が所定数〔前
例では「8」個〕を越えた場合、または各検索キー
(K)の計数値(C)、または未登録検索キー(KN
の計数値(CN )が所定値〔前例では「10」〕を越え
た場合に、各検索キー(K)または未登録検索キー(K
N )の計数値(C)または(CN )を比較し、計数値
(C)または(CN )の多い検索キー(K)または未登
録検索キー(KN )により検索キーファイル37を登録
変更する。
Eventually, the total value of the search key (K) registered in the search key file 37 and the unregistered search key (K N ) registered in the unregistered search key file 371 becomes a predetermined number [8 in the previous example. ”], Or the count value (C) of each search key (K), or an unregistered search key (K N )
When the count value (C N ) of the search key exceeds a predetermined value (“10” in the previous example), each search key (K) or unregistered search key (K
Compared N) of the count value of the (C) or (C N), registers the search key file 37 by the count value (C) or (C N) with many search key (K) or unregistered search key (K N) change.

【0106】以上の説明から明らかな如く、本発明(請
求項4、5)の実施形態によれば、監視装置4から生起
するイベントデータ(I)の検索要求に用いられる検索
キー(K)の内、使用頻度の多い所定数〔前例では
「4」キー〕を検索キーファイル37に登録し、データ
ベース(DB)34に記憶される各イベントデータ
(I)に、登録済検索キー(K)を満足するか否かを示
す検索ビット(B1 )乃至(B 4 )を付加し、登録済検
索キー(K)を指定した検索要求が生起した場合には、
各イベントデータ(I)に付加されている該当検索キー
(K)に対応する検索ビット(B)により検索すること
により、一回の検索により満足するイベントデータ
(I)を検出可能となり、検索時間を短縮可能となる。
As is clear from the above description, the present invention (contract
According to the embodiment of the claims 4 and 5),
Used for search request of event data (I) to be performed
Of the key (K), a predetermined number frequently used (in the previous example,
"4" key] is registered in the search key file 37, and the data
Each event data stored in the base (DB) 34
(I) shows whether the registered search key (K) is satisfied or not.
Search bit (B1) Through (B) Four) Is added and the registered inspection
When a search request specifying the search key (K) occurs,
Relevant search key added to each event data (I)
Searching by search bit (B) corresponding to (K)
Event data that can be satisfied by a single search
(I) can be detected, and the search time can be reduced.

【0107】なお、図2乃至図9はあく迄本発明の一実
施形態に過ぎず、例えば本発明の対象とするイベントデ
ータ(I)、具備属性(M)、検索キー(K)は例示さ
れるものに限定されることは無く、他に幾多の変形が考
慮されるが、何れの場合にも本発明の効果は変わらな
い。また本発明の対象とするログ管理装置3の構成は図
2に示されるものに限定されることは無く、例えば本発
明(請求項4および5)の実施形態によるログ管理装置
3は、一組の制御通知部およびデータベース(DB)を
具備する等、他に幾多の変形が考慮されるが、何れの場
合にも本発明の効果は変わらない。更に本発明の対象と
するデータベースシステムは、図10に示される伝送装
置監視システムに限定されぬことは言う迄もない。
FIGS. 2 to 9 are only one embodiment of the present invention, and for example, the event data (I), the possession attribute (M), and the search key (K) which are the objects of the present invention are exemplified. However, the present invention is not limited to this, and many other modifications are considered, but the effect of the present invention does not change in any case. The configuration of the log management device 3 to which the present invention is applied is not limited to the configuration shown in FIG. 2. For example, the log management device 3 according to the embodiment of the present invention (claims 4 and 5) Many other modifications are considered, such as including a control notification unit and a database (DB), but the effect of the present invention does not change in any case. Further, it goes without saying that the database system to which the present invention is applied is not limited to the transmission device monitoring system shown in FIG.

【0108】[0108]

【発明の効果】以上、本発明(請求項1乃至3)によれ
ば、それぞれ同一の記憶データを記憶する二組のデータ
ベースに対して並行してデータの書込・読出が実行可能
となると共に、読出データには常に最新の更新内容を織
込むことが可能となり、更に複数種類のデータに対する
書込・読出要求を一組のデータベースに対して並行して
実行可能となり、また本発明(請求項4および5)によ
れば、検索要求条件を満足するデータを、迅速に検出可
能となり、当該データベースシステムの利便性が大幅に
向上する。
As described above, according to the present invention (claims 1 to 3), data can be written / read in parallel to two sets of databases each storing the same storage data. The read data can always incorporate the latest update contents, and write / read requests for a plurality of types of data can be executed in parallel to a set of databases. According to (5) and (5), data that satisfies the search request condition can be quickly detected, and the convenience of the database system is greatly improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の原理図FIG. 1 is a principle diagram of the present invention.

【図2】 本発明の実施形態によるログ管理装置FIG. 2 is a log management device according to an embodiment of the present invention.

【図3】 本発明(請求項1)の実施形態による信号シ
ーケンス
FIG. 3 is a signal sequence according to an embodiment of the present invention (claim 1);

【図4】 図3における各種フラグの設定状況FIG. 4 shows the setting status of various flags in FIG.

【図5】 本発明(請求項2)の実施形態による信号シ
ーケンス
FIG. 5 is a signal sequence according to an embodiment of the present invention (claim 2);

【図6】 図5における各種フラグの設定状況FIG. 6 shows the setting status of various flags in FIG.

【図7】 本発明(請求項3)の実施形態によるデータ
書込・読出状況
FIG. 7 shows a data write / read situation according to an embodiment of the present invention (claim 3).

【図8】 本発明(請求項4および5)の実施形態によ
るデータ検索状況(その一)
FIG. 8 shows a data retrieval situation (part 1) according to the embodiment of the present invention (claims 4 and 5).

【図9】 本発明(請求項4および5)の実施形態によ
るデータ検索状況(その二)
FIG. 9 is a data retrieval status (part 2) according to the embodiment of the present invention (claims 4 and 5);

【図10】 本発明の対象となる伝送装置監視システムFIG. 10 is a transmission device monitoring system according to the present invention.

【図11】 従来あるログ管理装置FIG. 11 shows a conventional log management device.

【図12】 図11におけるデータベースの検索機能FIG. 12 is a database search function in FIG. 11;

【符号の説明】[Explanation of symbols]

1 伝送システム 2 伝送装置 3 ログ管理装置 4 監視装置 31 通知受付部 32 制御受付部 33 制御通知部 34、100、200 データベース(DB) 35 DBアクセス管理部 36 差分バッファ 37 検索キーファイル 101 データベース管理手段 102 書込・読出手段 103 更新内容記憶手段 104 記憶データ一致化手段 201 検索条件登録手段 202 検索手段 311、321 使用状況フラグ検査部(BFC) 312、322 機能選択問合せ部(FSA) 313 書込依頼部(IWR) 323 読出書込依頼部(RWR) 324 読出結果通知部(RDS) 331 DBアクセスフラグ検査部(DFC) 332 バッファ書込読出部(BWR) 333 DB書込読出部(DWR) 334 データ合成部(DCM) 341 DB検索部 342 DB記憶部 343 部分データベース(SDB) 351 バッファ読出部(DDR) 352 DB差分書込部(DDW) 353 使用状況フラグ解除部(BFR) 354 検索キーファイル管理部(KFM) 371 未登録検索キーファイル REFERENCE SIGNS LIST 1 transmission system 2 transmission device 3 log management device 4 monitoring device 31 notification reception unit 32 control reception unit 33 control notification unit 34, 100, 200 database (DB) 35 DB access management unit 36 difference buffer 37 search key file 101 database management unit 102 Writing / reading means 103 Update contents storage means 104 Storage data matching means 201 Search condition registration means 202 Search means 311, 321 Usage status check section (BFC) 312, 322 Function selection inquiry section (FSA) 313 Write request Section (IWR) 323 read / write request section (RWR) 324 read result notification section (RDS) 331 DB access flag check section (DFC) 332 buffer write / read section (BWR) 333 DB write / read section (DWR) 334 data Synthesizer (DCM) 341 DB Search unit 342 DB storage unit 343 Partial database (SDB) 351 Buffer reading unit (DDR) 352 DB difference writing unit (DDW) 353 Usage status flag release unit (BFR) 354 Search key file management unit (KFM) 371 Unregistered search Key file

フロントページの続き (72)発明者 中 剛 石川県金沢市広岡3丁目1番1号 富士通 北陸通信システム株式会社内 (72)発明者 横田 裕子 石川県金沢市広岡3丁目1番1号 富士通 北陸通信システム株式会社内 (72)発明者 長谷川 正幸 石川県金沢市広岡3丁目1番1号 富士通 北陸通信システム株式会社内 Fターム(参考) 5B075 KK04 PP23 PR08 QR01 QS06 QT06 5B082 AA00 CA05 CA18 DC09 DE04 EA05 FA11 FA16 GA04 GA14 GB02 GB06 HA08 Continuation of the front page (72) Inventor Tsuyoshi Naka 3-1-1 Hirooka, Kanazawa-shi, Ishikawa Prefecture Inside Fujitsu Hokuriku Communication System Co., Ltd. (72) Yuko Yokota 3-1-1 Hirooka, Kanazawa-shi, Ishikawa Fujitsu Hokuriku Communication In System Co., Ltd. (72) Inventor Masayuki Hasegawa 3-1-1 Hirooka, Kanazawa City, Ishikawa Prefecture F-term in Fujitsu Hokuriku Communication System Co., Ltd. 5B075 KK04 PP23 PR08 QR01 QS06 QT06 5B082 AA00 CA05 CA18 DC09 DE04 EA05 FA11 FA16 GA04 GA14 GB02 GB06 HA08

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の要求源から随時生起するデータの
書込・読出要求を受付け、データベースに当該データを
書込みまたは読出すデータベースシステムにおいて、 それぞれ同一のデータを記憶する二組のデータベース
と、 前記各データベースの書込・読出状態を管理するデータ
ベース管理手段と、 前記データベースに対する書込・読出要求が生起した場
合に、前記データベース管理手段を参照し、任意の空き
データベースに書込・読出を実行する書込・読出手段
と、 一方のデータベースの記憶するデータを更新した場合
に、該更新内容を一時記憶する更新内容記憶手段と、 前記一方のデータベースに対する更新が終了した後、前
記更新内容記憶手段に記憶済の更新内容に基づき、他方
のデータベースの記憶データに対して前記一方のデータ
ベースの記憶データに対して実行したと同一の更新処理
を実行する記憶データ一致化手段とを設けることを特徴
とするデータベース管理方式。
1. A database system for receiving write / read requests for data generated as needed from a plurality of request sources and writing or reading the data to / from a database, comprising: two sets of databases each storing the same data; Database management means for managing the writing / reading state of each database; and when a writing / reading request for the database is generated, referring to the database management means to execute writing / reading on any free database. Writing / reading means; update data storage means for temporarily storing the update content when data stored in one database is updated; and updating content storage means after the update to the one database is completed. Based on the stored update content, the one data is stored in the other database. Database management system, characterized by providing the stored data match means that performs the same update processing as performed on the base of the stored data.
【請求項2】 前記書込・読出手段は、一方の前記デー
タベースからデータを読出した後、前記更新内容記憶手
段に記憶中の更新内容を読出し、前記一方のデータベー
スから読出したデータと、前記更新内容記憶手段から読
出した前記更新内容とを対比して、最新の更新内容を含
む読出データを合成することを特徴とする請求項1記載
のデータベース管理方式。
2. The read / write unit reads data from one of the databases and then reads update contents stored in the update content storage unit, and reads the data read from the one database and the update data. 2. The database management system according to claim 1, wherein read data including the latest update content is synthesized by comparing the update content read from the content storage means.
【請求項3】 前記各データベースをデータ種類別に分
割して管理し、且つ前記書込・読出手段に複数のスレッ
ドを設けることにより、前記種類別の書込・読出を並行
して実行可能とすることを特徴とする請求項1記載のデ
ータベース管理方式。
3. The database is divided and managed for each data type, and a plurality of threads are provided in the writing / reading means so that writing / reading for each type can be executed in parallel. 2. The database management system according to claim 1, wherein:
【請求項4】 要求源から生起するデータの検索要求を
受付け、データベースから該当するデータを読出すデー
タベースシステムにおいて、 複数の属性を具備するデータを記憶するデータベース
と、 前記データベースに記憶中のデータの中から、前記各属
性が所要の条件を満足するデータを検索する検索条件を
予め登録して置く検索条件登録手段と、 前記データベースに前記データを書込む際に、前記検索
条件登録手段に登録済の検索条件の中から、当該データ
が満足する検索条件を識別する情報を付加し、前記検索
条件登録手段に登録済の検索条件付の検索要求が生起し
た場合に、前記データベースに記憶中の各データに付加
されている検索条件識別情報を参照することにより、前
記検索要求に付加されている検索条件を満足するデータ
を検出する検索手段とを設けることを特徴とするデータ
ベース管理方式。
4. A database system for receiving a data search request generated from a request source and reading the corresponding data from a database, comprising: a database storing data having a plurality of attributes; Search condition registering means for preliminarily registering a search condition for searching for data in which each attribute satisfies a required condition, and when the data is written in the database, the search condition is registered in the search condition registering means. From among the search conditions, information for identifying a search condition that satisfies the data is added, and when a search request with a search condition registered in the search condition registration unit occurs, each search condition stored in the database is added. By referring to the search condition identification information added to the data, data satisfying the search condition added to the search request can be obtained. A database management system comprising: a search unit for detecting.
【請求項5】 前記検索条件登録手段は、未登録の検索
条件付の検索要求が生起した場合に、該未登録の検索条
件を保持して置くと共に、前記検索条件登録手段に登録
済の各検索条件の使用頻度と、保持中の各未登録検索条
件の使用頻度とを前記検索条件毎に計数し、後刻前記各
登録済検索条件と前記各未登録検索条件の使用頻度を比
較し、使用頻度の多い順に所定数の検索条件のみを、新
たに登録変更し、 前記検索手段は、前記検索条件登録手段に登録変更され
た検索条件に基づき、前記データベースに記憶中の各デ
ータに付加されている前記検索条件識別情報を更新する
ことを特徴とする請求項4記載のデータベース管理方
式。
5. The search condition registering means, when a search request with an unregistered search condition occurs, stores the unregistered search condition, and stores each of the registered search conditions in the search condition registering means. The frequency of use of the search condition and the frequency of use of each unregistered search condition being held are counted for each of the search conditions, and the frequency of use of each of the registered search conditions and each of the unregistered search conditions is compared later. Only a predetermined number of search conditions are newly registered and changed in descending order of frequency, and the search means is added to each data stored in the database based on the search conditions registered and changed in the search condition registration means. 5. The database management system according to claim 4, wherein said search condition identification information is updated.
JP10241616A 1998-08-27 1998-08-27 Data base management system Withdrawn JP2000076107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10241616A JP2000076107A (en) 1998-08-27 1998-08-27 Data base management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10241616A JP2000076107A (en) 1998-08-27 1998-08-27 Data base management system

Publications (1)

Publication Number Publication Date
JP2000076107A true JP2000076107A (en) 2000-03-14

Family

ID=17076985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10241616A Withdrawn JP2000076107A (en) 1998-08-27 1998-08-27 Data base management system

Country Status (1)

Country Link
JP (1) JP2000076107A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8140503B2 (en) 2007-10-18 2012-03-20 Nec Corporation Information processing apparatus having process units operable in parallel
JP2012168722A (en) * 2011-02-14 2012-09-06 Toshiba Corp Arbitration device, storage device, information processor and program
JP6266181B1 (en) * 2017-01-27 2018-01-24 三菱電機株式会社 Search device, monitoring system, monitoring method, and search program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8140503B2 (en) 2007-10-18 2012-03-20 Nec Corporation Information processing apparatus having process units operable in parallel
JP2012168722A (en) * 2011-02-14 2012-09-06 Toshiba Corp Arbitration device, storage device, information processor and program
JP6266181B1 (en) * 2017-01-27 2018-01-24 三菱電機株式会社 Search device, monitoring system, monitoring method, and search program
WO2018138857A1 (en) * 2017-01-27 2018-08-02 三菱電機株式会社 Retrieval device, monitoring device, monitoring method, and retrieval program

Similar Documents

Publication Publication Date Title
JP2656708B2 (en) Method and apparatus for a combined data processing system
CN1517885B (en) Method and system for updating central cache by atomicity
US5920873A (en) Data management control system for file and database
CN104412241B (en) Memory for main storage database tightens mechanism
US6088693A (en) Data management system for file and database management
US6058389A (en) Apparatus and method for message queuing in a database system
US7111001B2 (en) Event driven transaction state management with single cache for persistent framework
EP0389242B1 (en) Data base processing system using multiprocessor system
US20080263106A1 (en) Database queuing and distributed computing
US6971102B2 (en) Computer system, memory management method, storage medium and program transmission apparatus
CN101617297B (en) Virtualization support in a multiprocessor storage area network
CN1510567A (en) Method and apparatus for machine-processed loading locking instruction by recording board
CN101438275B (en) Work item event procession
US20130085988A1 (en) Recording medium, node, and distributed database system
US7509461B1 (en) Method and apparatus for intelligent buffer cache pre-emption
US6799172B2 (en) Method and system for removal of resource manager affinity during restart in a transaction processing system
US20170337197A1 (en) Rule management system and method
JP2000076107A (en) Data base management system
JP2001282599A (en) Method and device for managing data and recording medium with data management program stored therein
CN114205354B (en) Event management system, event management method, server, and storage medium
US7089265B1 (en) Database management system for implementing independent database actions in response to events of interest
US7814095B2 (en) Optimizing the navigation of one-to-one and one-to-many relationships using query batching in named transactions
JPH09258975A (en) Method for supporting constitution generation of application program
US8166018B2 (en) Browsing a list of data items
JP2843748B2 (en) Exclusive control method

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: 20051101