JP6558928B2 - Management system, management apparatus, management method, and program - Google Patents
Management system, management apparatus, management method, and program Download PDFInfo
- Publication number
- JP6558928B2 JP6558928B2 JP2015070166A JP2015070166A JP6558928B2 JP 6558928 B2 JP6558928 B2 JP 6558928B2 JP 2015070166 A JP2015070166 A JP 2015070166A JP 2015070166 A JP2015070166 A JP 2015070166A JP 6558928 B2 JP6558928 B2 JP 6558928B2
- Authority
- JP
- Japan
- Prior art keywords
- search
- data
- unit
- condition
- attribute information
- 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.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims description 96
- 230000008034 disappearance Effects 0.000 claims description 5
- 230000008033 biological extinction Effects 0.000 claims 4
- 238000000034 method Methods 0.000 description 32
- 238000012545 processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、管理システム、管理装置、管理方法、及びプログラムに関する。 The present invention relates to a management system, a management apparatus, a management method, and a program.
ネットワークを介してユーザ端末と通信し、ユーザ端末のWebブラウザで電子メールをやり取り可能なメールサービスが提供されている。このメールサービスにおいて、電子メールは例えば大容量のHDD(Hard Disk Drive)で構成されたオブジェクトストレージに記憶される。
こうしたメールサービスにおいて、ユーザ宛の電子メールから、宛先、送信元、及び文字列などの各種検索条件に合致する電子メールを検索する場合に、高速に検索するための検索用データとしてのインデックスを作成する技術がある。
There is provided a mail service that communicates with a user terminal via a network and can exchange electronic mail with a Web browser of the user terminal. In this mail service, e-mail is stored in an object storage composed of, for example, a large capacity HDD (Hard Disk Drive).
In such a mail service, when searching for e-mail that matches various search conditions such as destination, sender, and character string from e-mail addressed to the user, an index is created as search data for high-speed search There is technology to do.
この技術に関連して、大容量のテキストデータから、任意の文字列である検索条件に対応するデータを素早く検索するためのインデックスを作成しておき、インデックスに基づいてデータ検索を行う方法が存在する(例えば、特許文献1参照)。
インデックスを用いて検索を行う場合には、インデックスをRAM(Random Access Memory)に展開する。そのため、メールサービスを提供する全ユーザのインデックスを記憶可能なようにRAMの容量を設計する必要がある。
In connection with this technology, there is a method to create an index for quickly searching data corresponding to a search condition that is an arbitrary character string from a large amount of text data, and to perform data search based on the index (For example, refer to Patent Document 1).
When performing a search using an index, the index is developed in a RAM (Random Access Memory). Therefore, it is necessary to design the capacity of the RAM so that the indexes of all users who provide the mail service can be stored.
しかしながら、RAMはHDDと比較して高価であるため、ユーザの増加に伴ってRAMの容量を増加させなければならないため、コストが増加するという問題点があった。 However, since the RAM is more expensive than the HDD, the capacity of the RAM has to be increased as the number of users increases, resulting in a problem that the cost increases.
本発明は、このような事情に鑑みてなされたもので、その目的は、検索用データを展開するために必要なメモリの容量を抑制した管理システム、管理装置、管理方法、及びプログラムを提供することにある。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a management system, a management device, a management method, and a program that suppress the memory capacity necessary for developing search data. There is.
上述した課題を解決するために、本発明の一態様は、複数の属性情報の各々に対応する検索対象データから検索条件に合致する条件合致データの検索で用いられる検索用データを管理する管理システムであって、前記複数の属性情報の各々に対応する前記検索用データが記憶された第1記憶部と、前記条件合致データを検索する際に、前記第1記憶部に記憶された前記検索用データが展開される第2記憶部と、特定の属性情報に対応する前記検索対象データから前記条件合致データを検索する可能性が発生した場合に、前記特定の属性情報に対応する前記検索用データを前記第1記憶部から前記第2記憶部に展開させる展開要求を前記第2記憶部に通知するとともに、前記条件合致データを検索する可能性が消滅した場合に、前記第2記憶部に展開された前記検索用データを前記第1記憶部に退避させる退避要求を前記第2記憶部に通知する管理部とを有することを特徴とする。 In order to solve the above-described problem, an aspect of the present invention provides a management system that manages search data used in searching for condition-matching data that matches a search condition from search target data corresponding to each of a plurality of attribute information. A first storage unit storing the search data corresponding to each of the plurality of attribute information, and the search storage stored in the first storage unit when searching for the condition matching data. The search data corresponding to the specific attribute information when there is a possibility of searching the condition matching data from the second storage unit in which the data is expanded and the search target data corresponding to the specific attribute information It notifies the deployment request to deploy from the first storage unit into the second storage unit to the second storage unit, if the possibility of searching the condition matching data is extinguished, the second storage unit And having a management unit for notifying the saving retracting the expanded the search data to the first storage unit required in the second storage unit.
また、本発明の一態様は、上記の管理システムにおいて、前記検索用データが前記第2記憶部に展開されていない場合に、新たなデータを記憶する第3記憶部をさらに有し、前記第2記憶部は、前記検索対象データに前記新たなデータを追加する場合に、前記第2記憶部に展開された前記検索用データを、前記新たなデータを反映させた検索用データに更新する更新部を有し、前記第3記憶部は、前記検索用データが前記第2記憶部に展開される場合に、一時的に記憶していた前記新たなデータを前記更新部に出力し、前記更新部は、前記第2記憶部に展開された前記検索用データを、前記第3記憶部から出力された前記新たなデータを反映させた前記検索用データに更新する。 Another embodiment of the present invention, in the management system, when the search data has not been developed in the second storage unit further includes a third storage unit for storing the new shelf data, wherein the second storage unit, when adding the new data to the search target data, the search data developed in the second storage unit, updates the search data that reflects the new data An update unit ; and when the search data is expanded in the second storage unit, the third storage unit outputs the new data temporarily stored to the update unit, and The update unit updates the search data expanded in the second storage unit to the search data reflecting the new data output from the third storage unit.
また、本発明の一態様は、上記の管理システムにおいて、前記属性情報は、ユーザを一意的に識別する識別情報であり、前記検索対象データは、前記識別情報に示されるユーザ宛の電子メールであり、前記新たなデータは、前記識別情報に示されるユーザ宛の新着電子メールであり、前記検索用データは、前記検索条件に合致する電子メールを検索するためのインデックスデータであり、前記条件合致データを検索する可能性は、前記ユーザが前記電子メールを検索可能な状態となった際に発生するとともに、当該検索可能な状態から前記ユーザが前記電子メールを検索不可能な状態になった際に消滅することを特徴とする。 According to another aspect of the present invention, in the management system, the attribute information is identification information for uniquely identifying a user, and the search target data is an email addressed to the user indicated in the identification information. The new data is a new e-mail addressed to the user indicated by the identification information; the search data is index data for searching for an e-mail that matches the search condition; The possibility of searching for data occurs when the user becomes searchable for the e-mail, and when the user is unable to search the e-mail from the searchable state. It is characterized by disappearing.
また、本発明の一態様は、上記の管理システムにおいて、前記管理部は、前記属性情報と当該属性情報に対応する前記検索用データが前記第2記憶部に展開されているか否かを示す情報とを用いて、前記検索用データを管理することを特徴とする。 Further, according to one aspect of the present invention, in the management system, the management unit is information indicating whether or not the attribute information and the search data corresponding to the attribute information are expanded in the second storage unit. The search data is managed using the above.
上述した課題を解決するために、本発明の一態様は、検索対象データから検索条件に合致する条件合致データの検索で用いられる検索用データを管理する管理装置であって、複数の属性情報の各々に対応して設けられた検索対象データのうち、特定の属性情報に対応する検索対象データから、前記条件合致データを検索する可能性が発生したか否かを判定する検索発生判定部と、前記検索発生判定部により前記条件合致データを検索する可能性が発生したと判定された場合に、前記複数の属性情報の各々に対応した前記検索用データが記憶された第1記憶装置から、前記特定の属性情報に対応する検索用データを検索装置に展開させる展開要求を前記検索装置に通知する展開通知部と、前記条件合致データを検索する可能性が消滅したか否かを判定する検索消滅判定部と、前記検索消滅判定部により前記条件合致データを検索する可能性が消滅したと判定された場合に、前記検索装置に展開された前記検索用データを前記第1記憶装置に退避させる退避要求を前記検索装置に通知する退避通知部とを有することを特徴とする。 In order to solve the above-described problem, one aspect of the present invention is a management device that manages search data used in searching for condition-matching data that matches a search condition from search target data, and includes a plurality of attribute information. A search occurrence determination unit that determines whether or not there is a possibility of searching for the condition-matching data from the search target data corresponding to specific attribute information among the search target data provided corresponding to each; When the search occurrence determination unit determines that there is a possibility of searching for the condition matching data, from the first storage device storing the search data corresponding to each of the plurality of attribute information, a deployment notification unit for notifying the deployment request to expand the search for data corresponding to the specific attribute information retrieval device to said search device, whether the possibility of retrieving the condition matching data is extinguished And determining search stop determining unit, the search extinguished when the possibility of retrieving the condition matching data by the determination unit is determined to have disappeared, the search the first storage device the search data developed devices And an evacuation notification unit for notifying the retrieval device of an evacuation request to be evacuated .
上述した課題を解決するために、本発明の一態様は、検索対象データから検索条件に合致する条件合致データの検索で用いられる検索用データを管理する管理装置における管理方法であって、前記管理装置の検索発生判定部が、複数の属性情報の各々に対応して設けられた検索対象データのうち、特定の属性情報に対応する検索対象データから、前記条件合致データを検索する可能性が発生したか否かを判定する検索発生判定ステップと、前記管理装置の展開通知部が、前記検索発生判定ステップにより前記条件合致データを検索する可能性が発生したと判定された場合に、前記複数の属性情報の各々に対応した前記検索用データが記憶された第1記憶装置から、前記特定の属性情報に対応する検索用データを検索装置に展開させる展開要求を前記検索装置に通知する展開通知ステップと、前記管理装置の検索消滅判定部が、前記条件合致データを検索する可能性が消滅したか否かを判定する検索消滅判定ステップと、前記管理装置の退避通知部が、前記検索消滅判定ステップにより前記条件合致データを検索する可能性が消滅したと判定された場合に、前記検索装置に展開された前記検索用データを前記第1記憶装置に退避させる退避要求を前記検索装置に通知する退避通知ステップとを有することを特徴とする。 In order to solve the above-described problem, one aspect of the present invention is a management method in a management apparatus that manages search data used in a search for condition-matching data that matches a search condition from search target data, the management There is a possibility that the search occurrence determination unit of the device searches the condition matching data from the search target data corresponding to specific attribute information among the search target data provided corresponding to each of the plurality of attribute information and whether the search occurrence determination step of determining whether or not, development notifying unit of the management device, when the search occurrence determination possibility steps by searching the condition matching data is determined to have occurred, the plurality of from the first memory device the search data, each corresponding to the attribute information is stored, deployed required to deploy the search data corresponding to the specific attribute information retrieval device And deployment notification step of notifying the search device, the search stop determining section of the management apparatus, a search stop determining step of determining whether the possibility of searching the condition matching data has disappeared, saving of the management device notification unit, when the possibility of retrieving the condition matching data by the search stop determining step is determined to have disappeared, retracting the retrieval data developed in the search device in the first storage device retracted An evacuation notification step of notifying the search device of the request .
上述した課題を解決するために、本発明の一態様は、検索対象データから検索条件に合致する条件合致データの検索で用いられる検索用データを管理する管理装置のコンピュータに、前記管理装置の検索発生判定部が、複数の属性情報の各々に対応して設けられた検索対象データのうち、特定の属性情報に対応する検索対象データから、前記条件合致データを検索する可能性が発生したか否かを判定する検索発生判定ステップと、前記管理装置の展開通知部が、前記検索発生判定ステップにより前記条件合致データを検索する可能性が発生したと判定された場合に、前記複数の属性情報の各々に対応した前記検索用データが記憶された第1記憶装置から、前記特定の属性情報に対応する検索用データを検索装置に展開させる展開要求を前記検索装置に通知する展開通知ステップと、前記管理装置の検索消滅判定部が、前記条件合致データを検索する可能性が消滅したか否かを判定する検索消滅判定ステップと、前記管理装置の退避通知部が、前記検索消滅判定ステップにより前記条件合致データを検索する可能性が消滅したと判定された場合に、前記検索装置に展開された前記検索用データを前記第1記憶装置に退避させる退避要求を前記検索装置に通知する退避通知ステップとを実行させるためのプログラム。 In order to solve the above-described problem, an aspect of the present invention provides a search for the management apparatus in a computer of a management apparatus that manages search data used in searching for condition-matching data that matches a search condition from search target data . Whether the occurrence determination unit has a possibility of searching for the condition matching data from the search target data corresponding to the specific attribute information among the search target data provided corresponding to each of the plurality of attribute information a search occurrence determination step of determining whether the deployment notification unit of the management device, when the possibility of searching the condition matching data by the searching generation determining step is determined to have occurred, the plurality of attribute information from the first memory device the search data corresponding to each stored, the test deployment request to expand the search for data corresponding to the specific attribute information retrieval device And deployment notification step of notifying the device, the search stop determining unit of the management device, the condition and the search stop determining step of determining whether the possibility of searching for matching data has been extinguished, save notification unit of the management device However, if it is determined in the search disappearance determination step that the possibility of searching for the condition matching data has disappeared, a save request for saving the search data developed in the search device to the first storage device is issued. A program for executing an evacuation notification step of notifying the search device .
以上説明したように、この発明によれば、検索用データを展開するために必要なメモリの容量を抑制した管理システム、管理装置、管理方法、及びプログラムを提供できる。 As described above, according to the present invention, it is possible to provide a management system, a management device, a management method, and a program in which the memory capacity necessary for developing search data is suppressed.
図1は、本発明の実施形態に係る管理システム100を含む概略構成を示す図である。
この管理システム100は、ネットワークを介してユーザ端末と通信し、ユーザ端末のWebブラウザで電子メール(以下、「メール」という)をやり取り可能なメールサービスを提供するシステムに適用される管理システムである。
具体的に管理システム100は、検索対象データから検索条件に合致する条件合致データの検索で用いられる検索用データを管理する管理システムである。本実施形態において、検索対象データは、ユーザ宛の受信済みのメールであり、検索条件は、メールの宛先、送信元に一致する、という条件や、ある文字列などを含む、などの条件である。また、検索用データは、後述するインデックスである。
FIG. 1 is a diagram showing a schematic configuration including a management system 100 according to an embodiment of the present invention.
The management system 100 is a management system applied to a system that provides a mail service that communicates with a user terminal via a network and can exchange electronic mail (hereinafter referred to as “mail”) with a Web browser of the user terminal. .
Specifically, the management system 100 is a management system that manages search data used in searching for condition-matching data that matches a search condition from search target data. In the present embodiment, the search target data is a received mail addressed to the user, and the search condition is a condition such as a condition that it matches a mail destination or a transmission source, or a character string or the like. . The search data is an index described later.
次に管理システム100の各構成について説明する。管理システム100は、管理装置10、一時記憶装置20(第3記憶部)、検索装置30(第2記憶部)、インデックス記憶装置40(第1記憶部)を含んで構成される。また、ユーザ端末50と、管理装置10及び検索装置30は、LANやインターネットなどのネットワークで接続される。
管理装置10は、ユーザ認証部11、通知部12、及び管理DB(データベース)13を含んで構成される。ユーザ認証部11は、メールサービスを利用するユーザを認証する。通知部12は、一時記憶装置20、及び検索装置30に後述する各種通知などを送信する。
Next, each configuration of the management system 100 will be described. The management system 100 includes a
The
このように構成される管理装置10は、特定の属性情報(後述)に対応する電子メールから検索条件に合致する条件合致データを検索する可能性が発生した場合に、特定の属性情報に対応するインデックスをインデックス記憶装置40から検索装置30に展開(記憶)させる。
また、管理装置10は、条件合致データを検索する可能性が消滅した場合に、検索装置30に展開されたインデックスをインデックス記憶装置40に退避させる。なお、「退避」とは、検索装置30に展開されたインデックスをインデックス記憶装置40に記憶するとともに、検索装置30に展開されたインデックスを消去することをいう。一般的には、インデックスの消去とともに、インデックスが記憶されていた記憶領域を解放する処理も行われる。
The
In addition, when the possibility of searching for condition matching data disappears, the
本実施形態において、属性情報はユーザを一意的に識別する識別情報であり、具体的にはユーザIDである。従って、特定の属性情報とは、特定のユーザのユーザIDであり、本実施形態では、管理装置10にログインしたユーザのユーザIDである。従って、検索対象データは、ログインしたユーザ宛のメールである。
さらに、本実施形態において、メールから検索条件に合致する条件合致データを検索する可能性は、ユーザがログインした際に発生し、ユーザがログアウトした際に消滅する。
In the present embodiment, the attribute information is identification information for uniquely identifying a user, and specifically a user ID. Therefore, the specific attribute information is a user ID of a specific user, and in this embodiment, is a user ID of a user who has logged into the
Further, in the present embodiment, the possibility of searching for condition matching data that matches the search condition from an e-mail occurs when the user logs in and disappears when the user logs out.
次に、インデックス記憶装置40について説明する。インデックス記憶装置40は、大容量のHDD(Hard Disk Drive)42を含んで構成され、当該HDD42には、ユーザ宛のメールごとにインデックス41−1、41−2、…41−mが記憶されている。このように、インデックス記憶装置40は、検索対象データの各々に対応するインデックスが記憶されている。
なお、以下の説明において、インデックス41−1、41−2、…41−mに共通の説明をする場合には、単にインデックス41と表現する。また、図1では、インデックス記憶装置40を1つのみ示しているが、一般的には複数のインデックス記憶装置40が設けられる。
また、上述したように、インデックス41は、ユーザがログインするとログインしたユーザに対応するインデックス41のみ検索装置30に展開される。そして、ユーザがログアウトすると、検索装置30に展開されていたインデックス41は、インデックス記憶装置40に退避される。
Next, the
In the following description, when a description common to the indexes 41-1, 41-2,... 41 -m is given, it is simply expressed as an
Further, as described above, when the user logs in, the
次に、検索装置30について説明する。検索装置30は、条件合致データを検索する際に、インデックス記憶装置40に記憶されたインデックス41が展開される。この検索装置30は、更新部31、検索部32、展開退避部35、及びRAM(Random Access Memory)33を含んで構成される。
RAM33は、インデックス記憶装置40に記憶されたインデックス41が、図に示されるようにアクティブインデックス34−1、…、34−nとして展開される。名称が「インデックス」から「アクティブインデックス」に変化するが、区別するための便宜的なものであり、展開されるデータ内容は同じである。なお、以下の説明において、アクティブインデックス34−1、…、34−nに共通の説明をする場合には、単にアクティブインデックス34と表現する。また、図1では、検索装置30を1つのみ示しているが、一般的には複数の検索装置30が設けられる。
図1の場合、ユーザAがログインしているため、ユーザAのアクティブインデックス34−1がRAM33に展開されている。このように、ログインしているユーザに対応するインデックス41のみがアクティブインデックス34としてRAM33に展開される。
Next, the
In the RAM 33, the
In the case of FIG. 1, since the user A is logged in, the active index 34-1 of the user A is expanded in the RAM 33. Thus, only the
次に、展開退避部35について説明する。展開退避部35は、管理装置10からの通知に従って、インデックス記憶装置40に記憶されたインデックス41を、アクティブインデックス34としてRAM33に展開したり、RAM33に展開されたアクティブインデックス34をインデックス記憶装置40に退避させる。
また、展開退避部35は、アクティブインデックス34をインデックス記憶装置40に退避させると、アクティブインデックス34が記憶されていたRAM33の領域を解放する。従って、RAM33には、ログインしているユーザのアクティブインデックス34のみが展開されていることとなる。
Next, the expansion / retraction unit 35 will be described. The expansion saving unit 35 expands the
When the active index 34 is saved in the
次に、検索部32について説明する。検索部32は、ログインしているユーザのユーザ端末50から、受信済みのメールを検索するための検索条件が示された検索要求を受信した場合に、アクティブインデックス34を用いて検索を実行し、その検索結果を示す検索結果通知をユーザ端末50に送信する。
次の更新部31の説明に先立ち、まず一時記憶装置20について説明する。一時記憶装置20は、アクティブインデックス34が検索装置30に展開されていない場合に、新着メールを一時的に記憶するもので、メール受信部21、メール出力部22、及びキュー23を含んで構成される。
Next, the search unit 32 will be described. When the search unit 32 receives a search request indicating a search condition for searching for received mail from the
Prior to the description of the next updating unit 31, the
メール受信部21は、メールサービスのユーザ宛の新着メールを受信する。そして、メール受信部21は、新着メールの宛先のユーザがログインしている場合には、メール出力部22に新着メールを出力する。一方、新着メールの宛先のユーザがログインしていない場合には、メール受信部21は、新着メールをキュー23に記憶する。
キュー23は、ログインしていないユーザIDごとに動的に用意され、新着メールを記憶するためのキューである。
The mail receiving unit 21 receives new mail addressed to the user of the mail service. Then, the mail receiving unit 21 outputs the new mail to the mail output unit 22 when the user of the new mail destination is logged in. On the other hand, when the user of the new mail destination is not logged in, the mail receiving unit 21 stores the new mail in the queue 23.
The queue 23 is a queue that is dynamically prepared for each user ID that has not logged in and stores new mail.
メール出力部22は、メール受信部21が出力した新着メールや、キュー23に記憶された新着メールを更新部31に出力する。メール出力部22は、メール受信部21が出力した新着メールは、そのまま更新部31に出力する。一方、キュー23に記憶された新着メールは、管理装置10の通知部12によりユーザがログインしたことを示すログイン通知を受信した場合に、ログイン通知に示されるユーザIDに対応するキュー23が記憶している新着メールを更新部31に出力する。上述したように、ユーザがログインすると、そのユーザIDに対応するアクティブインデックス34が展開される。従って、メール出力部22は、アクティブインデックス34が検索装置30に展開される場合に、一時的に記憶していた新着メールを更新部31に出力するようになっている。
次に、更新部31について説明する。更新部31は、一時記憶装置20から出力された新着メールを取得する。そして、更新部31は、受信済みのメールに新たなデータとして新着メールを追加する場合に、RAM33に展開されたアクティブインデックス34を、新着メールを反映させたアクティブインデックス34に更新する。更新部31により更新されたアクティブインデックス34がインデックス記憶装置40に退避されると、更新されたインデックス41に上書きされる。
The mail output unit 22 outputs the new mail output by the mail receiving unit 21 and the new mail stored in the queue 23 to the update unit 31. The mail output unit 22 outputs the new mail output from the mail receiving unit 21 to the update unit 31 as it is. On the other hand, the new mail stored in the queue 23 is stored in the queue 23 corresponding to the user ID indicated in the login notification when the notification unit 12 of the
Next, the update unit 31 will be described. The update unit 31 acquires a new mail output from the
このように、更新部31は、RAM33に展開されたアクティブインデックス34を更新するが、上述したようにRAM33に展開されるアクティブインデックス34はログインしているユーザに対応するアクティブインデックス34である。
従って、ユーザがログインしていない場合には、アクティブインデックス34が更新されることはない。これは、ログインしていないユーザは検索を行わないため、ログインしていないユーザに対応するアクティブインデックス34が更新されなくても、運用上は問題ないためである。また、更新部31は、検索装置30内に構成されているが、検索装置30とは別の装置として構成するようにしてもよい。
Thus, the update unit 31 updates the active index 34 expanded in the RAM 33. As described above, the active index 34 expanded in the RAM 33 is the active index 34 corresponding to the logged-in user.
Accordingly, when the user is not logged in, the active index 34 is not updated. This is because a user who is not logged in does not perform a search, and there is no operational problem even if the active index 34 corresponding to the user who is not logged in is not updated. In addition, the update unit 31 is configured in the
図2は、管理DB13とインデックスのデータ構造を示す図である。図2(A)は、管理DB13のデータ構造を示す図である。管理DB13は、「ユーザID」、「展開/退避」、及び「割当先」で構成される。
このうち、「ユーザID」は上述したようにユーザを一意的に識別する識別情報である。管理DB13は、この「ユーザID」に対応して「展開/退避」、及び「割当先」が設けられたデータベースである。
FIG. 2 is a diagram showing the data structure of the
Among these, “user ID” is identification information for uniquely identifying a user as described above. The
「展開/退避」は、「ユーザID」に対応するインデックス41がアクティブインデックス34として検索装置30に展開されている場合には、「展開」を示し、「ユーザID」に対応するインデックス41がアクティブインデックス34として検索装置30に展開されていない場合には、「退避」を示す。
「割当先」は、「ユーザID」に対応するインデックス41を展開したり、検索する検索装置30を示す。本実施形態では、「サーバA」などのように固定的に検索装置30が割り当てられているが、検索装置30のリソースや稼働状況などを鑑みて動的に割り当てるようにしてもよい。
“Expand / Save” indicates “expand” when the
The “assignment destination” indicates the
この管理DB13を参照して、管理装置10は各種通知先などを認識することができる。具体的には、「ユーザID」が「ユーザB」のユーザがログインした場合には、「サーバB」の展開退避部35にインデックス41の展開を要求する展開要求を送信したり、メール出力部22に、新着メールの出力先が「サーバB」であることを示すログイン通知を送信できる。
With reference to the
図2(B)(C)は、インデックス41(アクティブインデックス34)のデータ構造を示す図である。インデックス41は、図2(B)に示されるメールデータ50及び転置インデックス51で構成される。
このうち、メールデータ50は、「メールID」、「送信元」、「日時」、及び「文面」で構成される。「メールID」は、受信済みのメールを一意的に識別する識別情報である。図2(B)の場合、「0001」と「0002」の2つのメールIDが示されている。
「送信元」はメールの送信元を示す情報であり、例えばメールアドレスである。図2(B)の場合、「X」と「Y」の2つのメールアドレスが示されている。「日時」は、メールの送信日時を示しyyyymmddhhmm形式で記憶される。図2(B)の場合、「メールID」が「0001」のメールは、「2015年1月1日0時0分」に送信され、「メールID」が「0002」のメールは、「2015年1月2日14時3分」に送信されたことが示されている。
2B and 2C are diagrams showing the data structure of the index 41 (active index 34). The
Among these, the
“Sender” is information indicating the sender of mail, for example, a mail address. In the case of FIG. 2B, two mail addresses “X” and “Y” are shown. “Date and time” indicates the date and time of mail transmission and is stored in the yyyymmddhhmm format. In the case of FIG. 2B, a mail with “0001” as the “mail ID” is transmitted at “0:00 on January 1, 2015”, and a mail with “0002” as the “mail ID” is “2015”. "January 2, 14: 3" is shown.
「文面」は、メール本文である。図2(B)の場合、「メールID」が「0001」の文面が、「東京において電信の特許を…」であることを示している。「メールID」が「0002」の文面が、「豊洲から有楽町に電話して…」であることを示している。
また、図2(C)に示される転置インデックス51は、「単語」及び「メールID」で構成される。「単語」はメールの「文面」から取得されるもので、新たな単語が取得されるたびに追加される。「メールID」は、対応する「単語」を含む「文面」をもつメールの「メールID」である。
例えば、「メールID」が「0001」の「文面」には、「電信」、「東京」、「特許」が含まれるため、単語「電信」、「東京」、「特許」の各々に対応して「0001」が記憶されている。同様に、「メールID」が「0002」の「文面」には、「豊洲」、「有楽町」、「電話」が含まれるため、単語「豊洲」、「有楽町」、「電話」の各々に対応して「0002」が記憶されている。
この転置インデックス51により、例えば「「電信」を含む」、という検索条件の場合には、検索部32は、転置インデックス51により条件に合致する条件合致データの「メールID」として「0001」を検索でき、この「0001」からメールを検索することができる。検索されたメールは、ユーザに検索結果として通知される。なお、上述したインデックス41は、検索用データの一例であり、検索に用いられるデータであれば、他のデータ構造をもつインデックスであってもよい。
The “text” is the mail text. In the case of FIG. 2B, the text whose “mail ID” is “0001” indicates that “Telegraph patent in Tokyo ...”. The text of “Mail ID” “0002” indicates that “Call Yurakucho from Toyosu ...”.
Also, the transposed
For example, “text” with “mail ID” “0001” includes “telegraph”, “Tokyo”, and “patent”, and therefore corresponds to each of the words “telegraph”, “Tokyo”, and “patent”. “0001” is stored. Similarly, “text” with “Mail ID” “0002” includes “Toyosu”, “Yurakucho”, “Telephone”, so it corresponds to each of the words “Toyosu”, “Yurakucho”, “Telephone”. Then, “0002” is stored.
For example, in the case of the search condition “includes“ telegraph ”” by the
図3は、更新部31における更新方法を示す図である。まず、図2(B)(C)に示したインデックス41が、アクティブインデックス34として検索装置30に展開されているものとする。
この状態で、更新部31が新着メール52を取得すると、「文面」から「単語」を抽出する。この新着メール52の「メールID」は「0876」であり、送信元は「z」であり、「日時」は「2015年11月5日21時13分」であり、「文面」が「豊洲から有楽町に電報を…」である。
この例の場合、「文面」から「豊洲」、「有楽町」、「電報」が「単語」として抽出されたとする。抽出された「単語」のうち、「豊洲」、「有楽町」は転置インデックス51の「単語」に既にあり、「電報」は新規の「単語」である。
従って、更新部31は、転置インデックス53に示されるように、「豊洲」、「有楽町」に新着メールの「メールID」である「0876」を追加し、新たに「単語」として「電報」を追加し、その「電報」に対応して、「0876」を追加することで、転置インデックス53を更新する。
FIG. 3 is a diagram illustrating an updating method in the updating unit 31. First, it is assumed that the
In this state, when the update unit 31 acquires the
In this example, it is assumed that “Toyosu”, “Yurakucho”, and “Telegram” are extracted as “words” from “text”. Among the extracted “words”, “Toyosu” and “Yurakucho” are already in “word” of the transposed
Accordingly, the update unit 31 adds “0876” which is the “mail ID” of the new mail to “Toyosu” and “Yurakucho” as indicated by the transposed
図4は、ユーザ端末50、管理装置10、一時記憶装置20、検索装置30、及びインデックス記憶装置40での処理を示すシーケンス図である。
まず、ユーザ端末50は、管理装置10にログイン要求を送信する(ステップS1)。管理装置10は、ユーザ認証部11によりユーザ認証を行う(ステップS2)。ここでは認証に成功したものとする。管理装置10は、認証が成功すると、一時記憶装置20にログイン通知を送信する(ステップS3)とともに、検索装置30に展開要求を送信する(ステップS4)。
ログイン通知には、ログインしたユーザのユーザIDと、新着メールの出力先を示す情報が含まれる。また、展開要求には、ログインしたユーザのユーザIDが含まれる。
FIG. 4 is a sequence diagram illustrating processing in the
First, the
The login notification includes the user ID of the logged-in user and information indicating the output destination of new mail. Further, the expansion request includes the user ID of the logged-in user.
展開要求を受信した検索装置30は、インデックス要求をインデックス装置40に送信する(ステップS5)。インデックス要求を受信したインデックス記憶装置40は、検索装置30にインデックス通知を送信する(ステップS6)。このインデックス通知により、インデックス41が検索装置30に送信される。インデックス通知を受信した検索装置30は、受信したインデックス41をアクティブインデックス34としてRAM33に展開する(ステップS7)。
一方、管理装置10からログイン通知を受信した一時記憶装置20は、検索装置30にメールを出力する(ステップS8)。メールを取得した検索装置30は、アクティブインデックス34を更新する更新処理を行う(ステップS9)。
The
On the other hand, the
次に、検索装置30は、ユーザ端末50からメールを検索するための検索条件が示された検索要求を受信すると(ステップS10)、検索処理を行い(ステップS11)、検索結果を示す検索結果通知をユーザ端末50に送信する(ステップS12)。
そして、ユーザ端末50は、管理装置10にログアウト要求を送信する(ステップS13)。ログアウト要求を受信した管理装置10は、一時記憶装置20にログアウト通知を送信する(ステップS14)。ログアウト通知には、ログアウトしたユーザのユーザIDが含まれる。
ログアウト通知を受信した一時記憶装置20は、ログアウトしたユーザのユーザIDに対応するキュー23を用意する(ステップS15)。以後、ユーザがログインするまで、このユーザ宛の新着メールが記憶されることとなる。
Next, when receiving a search request indicating a search condition for searching for an email from the user terminal 50 (step S10), the
Then, the
Receiving the logout notification, the
また、管理装置10は、検索装置30に退避要求を送信する(ステップS16)。退避要求には、ログアウトしたユーザのユーザIDが含まれる。退避要求を受信した検索装置30は、インデックス通知をインデックス記憶装置40に送信する(ステップS17)。このインデックス通知により、ユーザIDに対応するインデックス41がインデックス記憶装置40に送信される。インデックス通知を受信したインデックス記憶装置40は、受信したインデックス41を記憶する(ステップS18)。
また、検索装置30は、インデックス通知を送信すると、送信したインデックス41がアクティブインデックス34として記憶されていたRAM33の記憶領域を解放する(ステップS19)。
In addition, the
Further, when the index notification is transmitted, the
次に、各装置での処理について説明する。図5は、管理装置10における処理手順を示したフローチャートである。
管理装置10は、ログイン要求を受信すると(ステップS101)、ユーザ認証部11によりユーザ認証を行う(ステップS102)。次いで管理装置10は、ユーザ認証の結果、認証に成功したか否か判定する(ステップS103)。すわなち、ステップS103では、検索する可能性が発生したか否かを判定する。
Next, processing in each device will be described. FIG. 5 is a flowchart showing a processing procedure in the
When the
認証に失敗した場合には(ステップS103;NO)、ステップS101に戻る。認証に成功した場合には(ステップS103;YES)、一時記憶装置20にログイン通知を送信する(ステップS104)とともに、検索装置30に展開要求を送信する(ステップS105)。すなわち、ステップS105では、検索する可能性が発生したと判定された場合に、ユーザIDの各々に対応したインデックス41が記憶されたインデックス記憶装置40から、ログインしたユーザのユーザIDに対応するインデックス41を検索装置30に展開させる。
次いで管理装置10は、ユーザ端末50からログアウト要求を受信すると(ステップS106;YES)、一時記憶装置20にログアウト通知を送信する(ステップS107)。そして、管理装置10は、検索装置30に退避要求を送信して(ステップS108)、本処理を終了する。すなわち、ステップS106では、検索する可能性が消滅したか否かを判定し、ステップS108では、検索装置30に展開されたアクティブインデックス34をインデックス記憶装置40に退避させる。
If the authentication has failed (step S103; NO), the process returns to step S101. If the authentication is successful (step S103; YES), a login notification is transmitted to the temporary storage device 20 (step S104), and a deployment request is transmitted to the search device 30 (step S105). That is, in step S105, when it is determined that a search possibility has occurred, the
Next, when receiving a logout request from the user terminal 50 (step S106; YES), the
図6は、一時記憶装置20における処理手順を示したフローチャートである。一時記憶装置20は、管理装置10からログイン通知を受信したか否か判定する(ステップS201)。ログイン通知を受信した場合には(ステップS201;YES)、メール出力部22は、ログイン通知に示されるユーザIDに対応するキュー23に記憶されている新着メールを検索装置30に出力し、ユーザIDに対応するキュー23を削除する(ステップS205)。そして、一時記憶装置20は、ログインしたユーザのユーザIDに対応する展開フラグをオンにして(ステップS206)、ステップS201に戻る。
この展開フラグとは、ユーザIDに対応するインデックス41がアクティブインデックス34として、検索装置30に展開されているか否かを示すもので、展開されている場合にはオンとなり、展開されていない場合にはオフとなる。
FIG. 6 is a flowchart showing a processing procedure in the
The expansion flag indicates whether or not the
ステップS201に戻り、ログイン通知を受信していない場合には(ステップS201;NO)、メール受信部21が新着メールを受信したか否か判定する(ステップS202)。
メール受信部21が新着メールを受信した場合には(ステップS202;YES)、一時記憶装置20は、新着メールの宛先のユーザのユーザIDに対応する展開フラグがオンか否か判定する(ステップS203)。
展開フラグがオフの場合には(ステップS203;NO)、ユーザIDに対応するアクティブインデックス34が検索装置30に展開されていないので、メール受信部21は新着メールをキュー23に記憶して(ステップS207)、ステップS201に戻る。
Returning to step S201, if the login notification has not been received (step S201; NO), it is determined whether the mail receiving unit 21 has received a new mail (step S202).
When the mail receiving unit 21 receives a new mail (step S202; YES), the
If the expansion flag is off (step S203; NO), the active index 34 corresponding to the user ID has not been expanded in the
ステップS203に戻り、展開フラグがオンの場合には(ステップS203;YES)、ユーザIDに対応するアクティブインデックス34が検索装置30に展開されているので、メール受信部21はメール出力部22に新着メールを出力することで、メール出力部22が新着メールを検索装置30に出力する(ステップS204)。
ステップS202に戻り、メール受信部21が新着メールを受信していない場合には(ステップS202;NO)、管理装置10からログアウト通知を受信したか否か判定する(ステップS208)。ログアウト通知を受信していない場合には(ステップS208;NO)、ステップS201に戻る。
ログアウト通知を受信した場合には(ステップS208;YES)、一時記憶装置20は、ログアウトしたユーザのユーザIDに対応する展開フラグをオフにして(ステップS209)、ユーザIDに対応するキュー23を用意して(ステップS210)、ステップS201に戻る。
Returning to step S203, if the expansion flag is on (step S203; YES), the mail receiving unit 21 is newly added to the mail output unit 22 because the active index 34 corresponding to the user ID is expanded in the
Returning to step S202, if the mail receiver 21 has not received a new mail (step S202; NO), it is determined whether a logout notification has been received from the management apparatus 10 (step S208). If no logout notification has been received (step S208; NO), the process returns to step S201.
When the logout notification is received (step S208; YES), the
図7は、検索装置30における処理手順を示したフローチャートである。検索装置30は、管理装置10から展開要求を受信したか否か判定する(ステップS301)。展開要求を受信した場合には(ステップS301;YES)、検索装置30は、ユーザIDを含むインデックス要求をインデックス装置40に送信して(ステップS306)、ステップS301に戻る。
展開要求を受信していない場合には(ステップS301;NO)、検索装置30は、インデックス記憶装置40からインデックス通知を受信したか否か判定する(ステップS302)。インデックス通知を受信した場合には(ステップS302;YES)、展開退避部35は、受信したインデックス41をアクティブインデックス34としてRAM33に展開する(ステップS303)。
FIG. 7 is a flowchart showing a processing procedure in the
If an expansion request has not been received (step S301; NO), the
次いで、更新部31は、一時記憶装置20からキュー23に記憶されていた新着メールを取得済みか否か判定する(ステップS304)。新着メールを取得済みでない場合には(ステップS304;NO)、ステップS301に戻る。新着メールを取得済みの場合には(ステップS304;YES)、更新部31は、図3で説明した更新処理を行い(ステップS305)、ステップS301に戻る。
ステップS302に戻り、インデックス通知を受信していない場合には(ステップS302;NO)、更新部31は、新着メールを取得したか否か判定する(ステップS307)。新着メールは、RAM33にアクティブインデックス34が展開されているときに一時記憶装置20から出力されるので、新着メールを取得した場合には(ステップS307;YES)、更新部31は、上述した更新処理を行い(ステップS305)、ステップS301に戻る。
Next, the update unit 31 determines whether or not the new mail stored in the queue 23 has been acquired from the temporary storage device 20 (step S304). If new mail has not been acquired (step S304; NO), the process returns to step S301. If new mail has been acquired (step S304; YES), the update unit 31 performs the update process described with reference to FIG. 3 (step S305), and returns to step S301.
Returning to step S302, if the index notification has not been received (step S302; NO), the updating unit 31 determines whether or not a new mail has been acquired (step S307). Since the new mail is output from the
新着メールを受信していない場合には(ステップS307;NO)、検索部32は、ユーザ端末50から検索要求を受信したか否か判定する(ステップS308)。検索要求を受信した場合には(ステップS308;YES)、検索部32は、検索処理を行い(ステップS309)、検索結果通知をユーザ端末50に送信して(ステップS310)、ステップS301に戻る。
ステップS308に戻り、検索要求を受信していない場合には(ステップS308;NO)、展開退避部35は、管理装置10から退避要求を受信したか否か判定する(ステップS311)。退避要求を受信していない場合には(ステップS311;NO)、ステップS301に戻る。
If no new mail has been received (step S307; NO), the search unit 32 determines whether a search request has been received from the user terminal 50 (step S308). If a search request is received (step S308; YES), the search unit 32 performs a search process (step S309), transmits a search result notification to the user terminal 50 (step S310), and returns to step S301.
Returning to step S308, if a search request has not been received (step S308; NO), the deployment save unit 35 determines whether a save request has been received from the management apparatus 10 (step S311). If no evacuation request has been received (step S311; NO), the process returns to step S301.
退避要求を受信した場合には(ステップS308;YES)、展開退避部35は、ユーザIDとインデックス41を含むインデックス通知をインデックス記憶装置40に送信する(ステップS313)。次いで、展開退避部35は、送信したインデックス41がアクティブインデックス34として記憶されていたRAM33の領域を解放して(ステップS313)、ステップS301に戻る。
When the save request is received (step S308; YES), the deployment save unit 35 transmits an index notification including the user ID and the
図8は、インデックス記憶装置40における処理手順を示したフローチャートである。インデックス記憶装置40は、検索装置30からインデックス要求を受信したか否か判定する(ステップS401)。インデックス要求を受信した場合には(ステップS401;YES)、インデックス記憶装置40は、インデックス要求に含まれるユーザIDに対応するインデックス41を取得し(ステップS404)、検索装置30にインデックス通知を送信し(ステップS405)、ステップS401に戻る。このインデックス通知により、インデックス41が検索装置30に送信される。
ステップS401に戻り、インデックス要求を受信していない場合には(ステップS401;NO)、インデックス記憶装置40は、検索装置30からインデックス通知を受信したか否か判定する(ステップS402)。
インデックス通知を受信していない場合には(ステップS402;NO)、ステップS401に戻る。インデックス通知を受信した場合には(ステップS402;YES)、インデックス記憶装置40は、受信したインデックス41をHDD42に記憶して(ステップS403)、ステップS401に戻る。
FIG. 8 is a flowchart showing a processing procedure in the
Returning to step S401, if no index request has been received (step S401; NO), the
If no index notification has been received (step S402; NO), the process returns to step S401. When the index notification is received (step S402; YES), the
以上説明した実施形態では、メールサービスの全ユーザ数と比較して少ない人数であるログインしたユーザに対応するインデックスのみをRAM33に展開することにより、RAM33の容量を削減できるようになっている。従って、全ユーザ数ではなく、ログインするユーザ数を想定してRAM33の容量を設計できるので、本実施形態ではインデックスを展開するために必要なメモリの容量を抑制できる。これは、RAM33に要するコストを抑制することも意味する。
従って、従来のようにメールサービスの全ユーザ数で設計されたメールサービスに本実施形態を適用することにより、そのまま同じRAM33の容量で全ユーザ数を大幅に増加させたメールサービスを提供できることとなる。逆に表現すると、全ユーザ数がそのままの場合には、本実施形態を適用することにより、RAMの容量を大幅に削減できる。
In the embodiment described above, the capacity of the RAM 33 can be reduced by developing only the index corresponding to the logged-in users, which is a small number of users compared to the total number of users of the mail service, in the RAM 33. Therefore, the capacity of the RAM 33 can be designed assuming the number of logged-in users, not the total number of users, and therefore, in this embodiment, the memory capacity required for developing the index can be suppressed. This also means that the cost required for the RAM 33 is suppressed.
Therefore, by applying this embodiment to a mail service designed with the total number of users of the mail service as in the past, it is possible to provide a mail service in which the total number of users is greatly increased with the same RAM 33 capacity. . In other words, if the total number of users remains the same, the RAM capacity can be significantly reduced by applying this embodiment.
さらに、キュー23を設けることにより、インデックスの更新により生じるレイテンシを大幅に改善できる。具体的に説明すると、新着メールの受信は、ユーザがログインしている時間に限らず常時発生する可能性があるため、キュー23を設けない構成の場合には、新着メールを受信するたびにインデックスをRAM33に展開し、上述した更新処理を行い、再び退避させる処理を実行することから、これら展開・更新・退避処理により生じるレイテンシは無視できるものではない。
そこで、キュー23を設け、ログインしていないユーザ宛の新着メールをキュー23に記憶することにより、ユーザがログインしていない場合に発生する展開・更新・退避処理の実行が不要となることから、上記レイテンシを大幅に改善できる。
Further, by providing the queue 23, the latency caused by the index update can be greatly improved. Specifically, since the reception of new mail may occur all the time regardless of the time when the user is logged in, the index is provided every time new mail is received in the configuration in which the queue 23 is not provided. Is expanded in the RAM 33, the update process described above is performed, and the process of saving is executed again. Therefore, the latency caused by the expansion / update / save process is not negligible.
Therefore, by providing the queue 23 and storing new mail addressed to users who are not logged in in the queue 23, it is not necessary to execute the expansion / update / save processing that occurs when the user is not logged in. The latency can be greatly improved.
以上説明した実施形態では、Webブラウザで電子メールをやり取り可能なメールサービスを例に説明したが、Webブラウザによる動作はWebブラウザ以外のアプリケーションでも実行可能であるため、Webブラウザに代えて、ユーザ端末上で動作するアプリケーションや、クラウド上で動作するアプリケーションによるメールサービスにも適用可能である。
さらに、メールサービスに限らず、SNS(Social Networking Service)において、他のユーザが投稿した内容を新着メールに対応させ、投稿済みの内容を受信済みのメールに対応されることで、本実施形態に係る処理を適用できる。この場合の属性情報は、一般的にはユーザIDやメールアドレスなどとなる。また、SMS(Short Message Service)においても、他のユーザが送信したショートメールを新着メールに対応させ、受信済みのショートメールに対応されることで、本実施形態に係る処理を適用できる。この場合の属性情報も、一般的にはユーザIDやメールアドレスなどとなる。
さらに、全ユーザ数と比較して、ログインするユーザが少ない一般的なシステムについても、本実施形態を適用可能である。
In the embodiment described above, the mail service capable of exchanging electronic mails with the Web browser has been described as an example. However, since the operation by the Web browser can be executed by an application other than the Web browser, the user terminal is used instead of the Web browser. The present invention can also be applied to an e-mail service using an application running on the above or an application running on the cloud.
Furthermore, not only in the mail service, but in SNS (Social Networking Service), contents posted by other users are made to correspond to new mails, and posted contents are made to correspond to received mails. Such processing can be applied. The attribute information in this case is generally a user ID, a mail address, or the like. Also in SMS (Short Message Service), the processing according to the present embodiment can be applied by making a short mail transmitted by another user correspond to a new mail and corresponding to the received short mail. The attribute information in this case is also generally a user ID, a mail address, or the like.
Furthermore, the present embodiment can be applied to a general system in which the number of logged-in users is smaller than the total number of users.
なお、本実施形態では、ユーザのログインにより、条件合致データを検索する可能性が発生したと判定し、ユーザのログアウトにより、条件合致データを検索する可能性が消滅したと判定するが、条件合致データを検索する可能性があるという意思を示すデータの入力により、条件合致データを検索する可能性が発生したと判定し、条件合致データを検索する可能性がないという意思を示すデータの入力により、条件合致データを検索する可能性が消滅したと判定してもよい。 In the present embodiment, it is determined that the possibility of searching for condition-matching data has occurred due to user login, and it is determined that the possibility of searching for condition-matching data has disappeared due to user logout. By entering data indicating the possibility of searching for data, it is determined that the possibility of searching for condition-matching data has occurred, and by entering data indicating that there is no possibility of searching for condition-matching data It may be determined that the possibility of searching for condition matching data has disappeared.
上述した実施形態における管理装置10の処理をコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよく、FPGA(Field Programmable Gate Array)等のプログラマブルロジックデバイスを用いて実現されるものであってもよい。
You may make it implement | achieve the process of the
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.
10 管理装置、11 ユーザ認証部、12 通知部、13 管理DB
20 一時記憶装置、21 メール受信部、22 メール出力部、23 キュー
30 検索装置、31 更新部、32 検索部、33 RAM
34 アクティブインデックス、35 展開退避部、40 インデックス記憶装置
41 インデックス、42 HDD
10 management device, 11 user authentication unit, 12 notification unit, 13 management DB
20 Temporary storage device, 21 Mail receiving unit, 22 Mail output unit, 23
34 Active index, 35 Unfolding / saving unit, 40
Claims (7)
前記複数の属性情報の各々に対応する前記検索用データが記憶された第1記憶部と、
前記条件合致データを検索する際に、前記第1記憶部に記憶された前記検索用データが展開される第2記憶部と、
特定の属性情報に対応する前記検索対象データから前記条件合致データを検索する可能性が発生した場合に、前記特定の属性情報に対応する前記検索用データを前記第1記憶部から前記第2記憶部に展開させる展開要求を前記第2記憶部に通知するとともに、前記条件合致データを検索する可能性が消滅した場合に、前記第2記憶部に展開された前記検索用データを前記第1記憶部に退避させる退避要求を前記第2記憶部に通知する管理部と
を有することを特徴とする管理システム。 A management system for managing search data used in searching for condition-matching data that matches a search condition from search target data corresponding to each of a plurality of attribute information,
A first storage unit storing the search data corresponding to each of the plurality of attribute information;
A second storage unit in which the search data stored in the first storage unit is expanded when searching for the condition-matching data;
When there is a possibility of searching for the condition matching data from the search target data corresponding to specific attribute information, the search data corresponding to the specific attribute information is stored in the second storage from the first storage unit. When the possibility of searching for the condition-matching data disappears, the search data expanded in the second storage unit is notified to the first storage. A management unit that notifies the second storage unit of a save request to be saved in the unit .
前記第2記憶部は、前記検索対象データに前記新たなデータを追加する場合に、前記第2記憶部に展開された前記検索用データを、前記新たなデータを反映させた検索用データに更新する更新部を有し、
前記第3記憶部は、前記検索用データが前記第2記憶部に展開される場合に、一時的に記憶していた前記新たなデータを前記更新部に出力し、
前記更新部は、前記第2記憶部に展開された前記検索用データを、前記第3記憶部から出力された前記新たなデータを反映させた前記検索用データに更新することを特徴とする請求項1記載の管理システム。 Wherein when the search data has not been developed in the second storage unit further includes a third storage unit for storing the new shelf data,
The second storage unit is updated when adding the new data to the search target data, the search data developed in the second storage unit, wherein the new search data data reflecting the has an update unit that,
The third storage unit outputs the new data temporarily stored to the update unit when the search data is expanded in the second storage unit,
The update unit updates the search data expanded in the second storage unit to the search data reflecting the new data output from the third storage unit. Item 1. The management system according to item 1.
前記条件合致データを検索する可能性は、前記ユーザが前記電子メールを検索可能な状態となった際に発生するとともに、当該検索可能な状態から前記ユーザが前記電子メールを検索不可能な状態になった際に消滅することを特徴とする請求項2に記載の管理システム。 The attribute information is identification information for uniquely identifying a user, the search target data is an email addressed to the user indicated in the identification information, and the new data is a user indicated in the identification information. New search e-mail addressed to, and the search data is index data for searching e-mails that match the search conditions,
The possibility of searching for the condition-matching data occurs when the user can search for the email, and the user cannot search the email from the searchable state. The management system according to claim 2, wherein the management system disappears when it becomes.
複数の属性情報の各々に対応して設けられた検索対象データのうち、特定の属性情報に対応する検索対象データから、前記条件合致データを検索する可能性が発生したか否かを判定する検索発生判定部と、
前記検索発生判定部により前記条件合致データを検索する可能性が発生したと判定された場合に、前記複数の属性情報の各々に対応した前記検索用データが記憶された第1記憶装置から、前記特定の属性情報に対応する検索用データを検索装置に展開させる展開要求を前記検索装置に通知する展開通知部と、
前記条件合致データを検索する可能性が消滅したか否かを判定する検索消滅判定部と、
前記検索消滅判定部により前記条件合致データを検索する可能性が消滅したと判定された場合に、前記検索装置に展開された前記検索用データを前記第1記憶装置に退避させる退避要求を前記検索装置に通知する退避通知部と
を有することを特徴とする管理装置。 A management device that manages search data used in searching for condition-matching data that matches a search condition from search target data,
Search for determining whether or not there is a possibility of searching for the condition matching data from search target data corresponding to specific attribute information among search target data provided corresponding to each of a plurality of attribute information An occurrence determination unit;
When the search occurrence determination unit determines that there is a possibility of searching for the condition matching data, from the first storage device storing the search data corresponding to each of the plurality of attribute information, A deployment notification unit for notifying the search device of a deployment request for causing the search device to deploy search data corresponding to specific attribute information;
A search disappearance determination unit that determines whether or not the possibility of retrieving the condition matching data has disappeared;
The search request for saving the search data expanded in the search device to the first storage device when the search disappearance determination unit determines that the possibility of searching for the condition matching data has disappeared . A management apparatus comprising: an evacuation notification unit that notifies the apparatus.
前記管理装置の検索発生判定部が、複数の属性情報の各々に対応して設けられた検索対象データのうち、特定の属性情報に対応する検索対象データから、前記条件合致データを検索する可能性が発生したか否かを判定する検索発生判定ステップと、
前記管理装置の展開通知部が、前記検索発生判定ステップにより前記条件合致データを検索する可能性が発生したと判定された場合に、前記複数の属性情報の各々に対応した前記検索用データが記憶された第1記憶装置から、前記特定の属性情報に対応する検索用データを検索装置に展開させる展開要求を前記検索装置に通知する展開通知ステップと、
前記管理装置の検索消滅判定部が、前記条件合致データを検索する可能性が消滅したか否かを判定する検索消滅判定ステップと、
前記管理装置の退避通知部が、前記検索消滅判定ステップにより前記条件合致データを検索する可能性が消滅したと判定された場合に、前記検索装置に展開された前記検索用データを前記第1記憶装置に退避させる退避要求を前記検索装置に通知する退避通知ステップと
を有することを特徴とする管理方法。 A management method in a management device that manages search data used in a search for condition-matching data that matches a search condition from search target data,
Possibility that the search occurrence determination unit of the management device searches the condition matching data from search target data corresponding to specific attribute information among search target data provided corresponding to each of a plurality of attribute information A search occurrence determination step for determining whether or not an occurrence has occurred;
The search data corresponding to each of the plurality of attribute information is stored when the deployment notification unit of the management device determines that the search for the condition matching data has occurred in the search occurrence determination step. An expansion notification step of notifying the search device of an expansion request for causing the search device to expand search data corresponding to the specific attribute information from the first storage device
Search extinction determination unit for determining whether or not the search extinction determination unit of the management device has lost the possibility of searching for the condition matching data;
When the evacuation notification unit of the management device determines that the possibility of searching for the condition matching data has disappeared in the search disappearance determination step, the search data expanded in the search device is stored in the first memory. And a save notification step of notifying the search device of a save request to be saved in the device .
前記管理装置の検索発生判定部が、複数の属性情報の各々に対応して設けられた検索対象データのうち、特定の属性情報に対応する検索対象データから、前記条件合致データを検索する可能性が発生したか否かを判定する検索発生判定ステップと、
前記管理装置の展開通知部が、前記検索発生判定ステップにより前記条件合致データを検索する可能性が発生したと判定された場合に、前記複数の属性情報の各々に対応した前記検索用データが記憶された第1記憶装置から、前記特定の属性情報に対応する検索用データを検索装置に展開させる展開要求を前記検索装置に通知する展開通知ステップと、
前記管理装置の検索消滅判定部が、前記条件合致データを検索する可能性が消滅したか否かを判定する検索消滅判定ステップと、
前記管理装置の退避通知部が、前記検索消滅判定ステップにより前記条件合致データを検索する可能性が消滅したと判定された場合に、前記検索装置に展開された前記検索用データを前記第1記憶装置に退避させる退避要求を前記検索装置に通知する退避通知ステップと
を実行させるためのプログラム。 In the computer of the management device that manages the search data used in the search of the condition matching data that matches the search condition from the search target data,
Possibility that the search occurrence determination unit of the management device searches the condition matching data from search target data corresponding to specific attribute information among search target data provided corresponding to each of a plurality of attribute information A search occurrence determination step for determining whether or not an occurrence has occurred;
The search data corresponding to each of the plurality of attribute information is stored when the deployment notification unit of the management device determines that the search for the condition matching data has occurred in the search occurrence determination step. An expansion notification step of notifying the search device of an expansion request for causing the search device to expand search data corresponding to the specific attribute information from the first storage device
Search extinction determination unit for determining whether or not the search extinction determination unit of the management device has lost the possibility of searching for the condition matching data;
When the evacuation notification unit of the management device determines that the possibility of searching for the condition matching data has disappeared in the search disappearance determination step, the search data expanded in the search device is stored in the first memory. program for executing the saving request for retracting the device and evacuation notification step of notifying the search device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015070166A JP6558928B2 (en) | 2015-03-30 | 2015-03-30 | Management system, management apparatus, management method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015070166A JP6558928B2 (en) | 2015-03-30 | 2015-03-30 | Management system, management apparatus, management method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016191980A JP2016191980A (en) | 2016-11-10 |
JP6558928B2 true JP6558928B2 (en) | 2019-08-14 |
Family
ID=57245691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015070166A Active JP6558928B2 (en) | 2015-03-30 | 2015-03-30 | Management system, management apparatus, management method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6558928B2 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09325906A (en) * | 1996-06-04 | 1997-12-16 | Inter Sci Kk | Computer system |
JP2000207403A (en) * | 1999-01-11 | 2000-07-28 | Kiwa Kitahara | Device and method for reading and storage medium |
JP3310240B2 (en) * | 1999-07-22 | 2002-08-05 | 俊雄 今尾 | Email system |
JP2006309761A (en) * | 2005-04-28 | 2006-11-09 | Oce Technol Bv | Management of digital document in computer system |
JP5589837B2 (en) * | 2008-03-28 | 2014-09-17 | 日本電気株式会社 | Information reconstruction system, information reconstruction method, and information reconstruction program |
US20140379631A1 (en) * | 2013-06-25 | 2014-12-25 | Linkedln Corporation | Transactional key-value database with searchable indexes |
-
2015
- 2015-03-30 JP JP2015070166A patent/JP6558928B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2016191980A (en) | 2016-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9461907B2 (en) | Data routing | |
US10187855B2 (en) | Message processing method and apparatus | |
CN109842694B (en) | Method for synchronizing MAC addresses, network equipment and computer readable storage medium | |
US20140237024A1 (en) | Network communication devices and file tracking methods thereof | |
CN105100045A (en) | Method and apparatus for preventing insertion of malicious content at a named data network router | |
CN109690518A (en) | The system and method for the edge cloud storage and caching system that operate on a local area network are provided | |
CN109150745A (en) | A kind of message processing method and device | |
US10051552B2 (en) | Method for realizing resource attribute notification, and common service entity | |
US20090106770A1 (en) | Sms sessioning | |
JP5395517B2 (en) | Distributed data management system, data management apparatus, data management method, and program | |
CN113395340A (en) | Information updating method, device, equipment, system and readable storage medium | |
US20200304448A1 (en) | System and Method for Detecting and Predicting Level of Importance of Electronic Mail Messages | |
KR101856487B1 (en) | Computing device for processing parsing | |
CN110968259A (en) | Step-by-step object storage system, object storage method and storage medium | |
JP6558928B2 (en) | Management system, management apparatus, management method, and program | |
US9317820B1 (en) | System and method for configuring a cloud computing space | |
US8285754B2 (en) | Preserving references to deleted directory entries | |
JP2008124977A (en) | Method, apparatus, and program of message delivery | |
JP2009060527A (en) | Message processing system and message processing method | |
US11570263B2 (en) | Identifying outdated cloud computing services | |
JP5431408B2 (en) | Mail system | |
US9184996B2 (en) | Thin client system, management server, client environment management method and program | |
CN111106966B (en) | Information processing method and device, equipment and storage medium | |
JP7018808B2 (en) | Email monitoring device and method | |
US11425085B1 (en) | Service discovery and renaming |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180126 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181213 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181218 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190205 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190618 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190716 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6558928 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |