JP5300655B2 - Information storage search method, information storage search device, and program - Google Patents
Information storage search method, information storage search device, and program Download PDFInfo
- Publication number
- JP5300655B2 JP5300655B2 JP2009193175A JP2009193175A JP5300655B2 JP 5300655 B2 JP5300655 B2 JP 5300655B2 JP 2009193175 A JP2009193175 A JP 2009193175A JP 2009193175 A JP2009193175 A JP 2009193175A JP 5300655 B2 JP5300655 B2 JP 5300655B2
- Authority
- JP
- Japan
- Prior art keywords
- search
- tuple
- attribute
- value
- stored
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、情報蓄積検索方法、情報蓄積検索装置、およびプログラムに関する。 The present invention relates to an information storage search method, an information storage search device, and a program.
RDB(リレーショナルデータベース)は、情報蓄積検索システム(データベース)の1つである。一般にこのような基盤的なシステムの基本的役割は、アプリケーションによらない共通的な機能を、別途、汎用のシステムとして提供することにより、個々のアプリケーションの開発工数を削減するとともに、アプリケーションで共通的に利用できるようにすることにねらいがある。 RDB (relational database) is one of information storage and retrieval systems (database). In general, the basic role of such a basic system is to provide a common function that does not depend on the application as a general-purpose system separately, thereby reducing the development man-hours of each application, and is common to the applications. The aim is to make it available for use.
実世界の事象を様々なセンサにより検知しあるいはアクチュエータにより操作し、該センサにより検知した情報を扱うアプリケーションの構築にあたっても、それら情報を蓄積・検索する上記同様の基盤的な情報蓄積検索システムを提供するメリットがある。このようなセンサ情報蓄積検索システムの1つに、uTupleSpaceがある(例えば、非特許文献1参照)。 Provides a basic information storage and retrieval system similar to the one described above for building and searching for applications that detect real-world events with various sensors or operate with actuators and handle the information detected by the sensors. There is merit to do. One such sensor information storage and retrieval system is uTupleSpace (see, for example, Non-Patent Document 1).
uTupleSpaceの特徴の1つに、履歴型の情報蓄積検索システムであることが挙げられる。すなわち、センサからのデータ(uTupleSpaceの用語では、EventActual(EA))は、システム内に履歴として全て蓄積される。また、検索要求(uTupleSpaceの用語では、EventFormal(EF))は、時刻や、値などの範囲条件を指定することで、単一、あるいは複数のセンサからの情報を、過去の履歴の中で条件に合致するもの全てを検索して取得できる。このように、センサ情報の過去の経緯を調べる操作をアプリケーションで容易に実現できることから、履歴型の情報蓄積検索システムにはメリットがある。 One of the features of uTupleSpace is that it is a history type information storage and retrieval system. That is, all data from the sensor (in the case of uTupleSpace, EventActual (EA)) is accumulated as a history in the system. In addition, a search request (in the case of uTupleSpace, EventForm (EF)) specifies a range condition such as a time or a value, so that information from a single sensor or multiple sensors can be specified in the past history. You can search and obtain all that matches. As described above, since the operation for examining the past history of the sensor information can be easily realized by the application, the history type information storage and retrieval system has an advantage.
また、センサ情報蓄積検索システムの望まれる特性の1つに、スキーマレスな検索機能がある。RDBでは、一般に、個々のテーブルに記憶する情報の型定義をスキーマとして与え、単一テーブル内では、同じ型を持つ情報を蓄積する。 One of the desired characteristics of the sensor information storage and retrieval system is a schemaless retrieval function. In RDB, generally, a type definition of information stored in each table is given as a schema, and information having the same type is accumulated in a single table.
しかし、様々なセンサの情報を扱う際には、多種多様なセンサが多種多様な情報の組み合わせを生成することから、それらを蓄積して横通しで検索することが求められる。このため、スキーマ定義を必要とせず(スキーマレス)蓄積検索する機能が求められる。これによって該システムに、基盤的システム一般に求められる汎用性を備えることができる。 However, when handling information from various sensors, a wide variety of sensors generate a variety of combinations of information, so it is required to accumulate them and search across them. For this reason, a function for storing and searching without requiring a schema definition (schemaless) is required. As a result, the system can be provided with the versatility generally required for basic systems.
履歴型のセンサ情報蓄積検索システムを用いて典型的アプリケーションを構築しようとすると、従来提供されていた検索機能では、アプリケーションを容易に構築できないという以下に指摘する課題があった。 When trying to construct a typical application using a history type sensor information storage / retrieval system, there is a problem to be pointed out below that an application cannot be easily constructed with the retrieval function provided conventionally.
説明のため、一例として、状態センサと通信機能とを具備する物品を管理するアプリケーションを考える。ここで、状態とは、例えば、物品の位置座標を、物品がその通信機能によって定期的に送信しているものとする。また、基本的管理機能の一例として、管理対象物品を一覧表として表示することを考える。その際、物品名や、物品番号、所有者等に加え、状態センサから取得した物品の状態を表に含めて表示するものとする。 For the sake of explanation, as an example, consider an application that manages an article having a state sensor and a communication function. Here, for example, it is assumed that the article regularly transmits the position coordinates of the article by its communication function. Further, as an example of the basic management function, it is assumed that the management target articles are displayed as a list. At that time, in addition to the article name, article number, owner, etc., the state of the article acquired from the state sensor is included in the table and displayed.
該一覧表機能の実現にあたっては、表の各行、すなわち各対象物品に対して、その状態の最新の値を取得し、物品名等、その他の情報と並べて描画する必要がある。似たような機能は、他の多くのアプリケーションでも同様に必要となる。 In order to realize the list function, it is necessary to obtain the latest value of the state for each row of the table, that is, each target article, and draw it alongside other information such as the article name. Similar functionality is required in many other applications as well.
状態の最新の値を取得する操作は、例えば、uTupleSpaceのEFを用いて直接実現することができないという問題があった。その理由は、履歴型のセンサ情報蓄積検索システムにおいては、その提供する基本操作により直接取得できるのは、全履歴、または時間範囲を指定した一部履歴であって、着目する対象物の最新の値ではないためである。 There has been a problem that the operation for obtaining the latest value of the state cannot be realized directly using, for example, the EF of u TupleSpace. The reason for this is that in a historical sensor information storage and retrieval system, what can be obtained directly by the basic operation provided is the entire history or a partial history specifying a time range, and the latest of the target object of interest. This is because it is not a value.
あるいは、該アプリケーションは、例えば、履歴型のセンサ情報蓄積検索システムを用いず、別途RDB等を利用して、センサ情報を受け取り、その内容に従って、対応する物品の最新値を都度更新する手順をプログラムとして実現し、上記機能を実現することはできる。 Alternatively, the application program, for example, uses a separate RDB or the like to receive sensor information and updates the latest value of the corresponding article each time according to the contents without using a historical sensor information storage and retrieval system. And the above functions can be realized.
しかし、この実現方法では、別の種類のアプリケーションにおいては、同様にRDB等を利用してセンサ情報を受け取り、その内容に従って、対応する物品の最新値を都度更新する手順を別のプログラムとして都度実現しなければならない。従って、この実現方法では、基盤的システムで一般に得られる基本的役割によるメリットを享受できないという問題があった。 However, in this realization method, in another type of application, the procedure for receiving the sensor information using RDB or the like and updating the latest value of the corresponding article each time according to the contents is realized as a separate program each time. Must. Therefore, in this realization method, there is a problem that it is not possible to enjoy the merits of the basic role generally obtained in the basic system.
さらに、上述した、RDB等を利用してセンサ情報を受け取り、その内容に従って、対応する物品の最新値を都度更新する手順を、単純に独立したプログラムとして実現し、基盤的システムを構築するという方法が考えられる。 Further, the above-described method for receiving sensor information using RDB or the like and simply implementing the procedure for updating the latest value of the corresponding article each time according to the contents as an independent program and constructing a basic system Can be considered.
しかし、上記方法では、スキーマレスな検索機能が本来有する汎用性を損ねるという問題があった。その理由は、上記方法内の手順に含む「対応する物品」という概念が、アプリケーションごとに異なっているという点に起因する。 However, the above method has a problem that the versatility inherent in the schemaless search function is impaired. The reason is that the concept of “corresponding article” included in the procedure in the above method is different for each application.
物品の識別子がどのような属性としてシステム内に蓄積されているか、あるいはそもそも、物品という概念とは何か、すなわち格納されている個々の情報のうち、何の情報が等しい際にそれら複数の情報を単一の物品に関する情報であると認識すべきかについては、アプリケーションの設計に深く依存する事柄であって、本来、汎用のシステムが何ら仮定することはできない。 What attributes are stored in the system as an attribute of an identifier of an article, or what is the concept of an article in the first place, that is, when multiple pieces of information are equal among stored individual information Is to be recognized as information relating to a single article, and it depends heavily on the design of the application, and cannot be assumed by a general-purpose system.
従って、例えば、該方法の実現例の一として、「物品の識別子には『物品ID』という属性で示される値を用いるという識別方法とし、該識別方法に従って対応する物品の最新値を都度更新する」という実現方法を採ったとしても、そのような蓄積検索システムは、該システムが本来有すべき汎用性を十分に有しているとは言えず、汎用性を損ねるという問題があった。 Therefore, for example, as an example of implementation of the method, “the identification method of using the value indicated by the attribute“ article ID ”as the identifier of the article is used, and the latest value of the corresponding article is updated each time according to the identification method” Even if the implementation method is adopted, such a storage / retrieval system cannot be said to have sufficient versatility that the system originally has, and there is a problem that the versatility is impaired.
また、情報蓄積検索システムにおいては、一般的に、検索の際に検索対象を限定する引数を受け取り、その対象範囲内で検索を行う機能が提供される。さらに、検索の際に条件文を受け取り、その条件に合致したものを検索する機能が提供される。これら2つの機能は、検索結果の範囲を指定するという意味において、同一種の意味論を提供すると理解することができる。 In addition, an information storage / retrieval system generally provides a function of receiving an argument for limiting a search target during a search and performing a search within the target range. Further, a function is provided for receiving a conditional sentence at the time of search and searching for a sentence that matches the condition. It can be understood that these two functions provide the same kind of semantics in the sense of specifying a range of search results.
例えば、RDBのSQL言語では、SELECT文のFROM句で、検索対象のテーブルを指定することができ、これにより検索処理の範囲を定めることができる。さらに、SELECT文のWHERE句では、条件文を指定することができ、これにより検索結果を限定することができる。これら2つの語句は、記述法や、指定できる対象こそ違いがあるが、そのRDBが保持する全データのうち、検索を行う対象を限定して結果として返却するデータを絞り込むという意味においては、同一の機能性を有している。 For example, in the SQL language of RDB, the table to be searched can be specified by the FROM phrase of the SELECT statement, and thereby the range of the search process can be defined. Furthermore, in the WHERE clause of the SELECT statement, a conditional statement can be specified, thereby limiting the search result. These two phrases have the same description method and the target that can be specified, but the same in terms of narrowing down the data to be returned as a result by limiting the search target among all the data held by the RDB. It has the functionality.
しかし、履歴型のセンサ情報蓄積検索システムにおいて、物品の最新値を検索する機能を提供し、その際、検索を行う対象を限定するという意味の検索対象範囲を指定する機能を単純に提供するだけでは、次に指摘するように、アプリケーション実現のための必要な機能性を提供できないという課題があった。 However, in the history-type sensor information storage and retrieval system, a function for searching for the latest value of an article is provided, and at that time, a function for simply designating a search target range meaning that a search target is limited is simply provided. Then, as pointed out below, there was a problem that the necessary functionality for realizing the application could not be provided.
すなわち、例えば、物品を管理する該アプリケーションにおいて、物品が持ち運ばれ移動し、異なる位置情報の履歴が次々と蓄積されたとする。ここで、該アプリケーションが「指定する位置範囲に現在ある物品の一覧」を取得する検索操作を実行するとする。該アプリケーションが、履歴型のセンサ情報蓄積検索システムで提供する物品の最新値を検索する機能を呼び出し、その際検索対象として、「状態センサの送信情報であって、かつ、指定する位置範囲内」を条件として含める。 That is, for example, in the application for managing an article, it is assumed that the article is carried and moved, and history of different position information is accumulated one after another. Here, it is assumed that the application executes a search operation for acquiring “a list of articles currently in the specified position range”. The application calls a function for searching for the latest value of the article provided by the history type sensor information storage and search system. At that time, the search target is “the transmission information of the state sensor and within the specified position range”. Is included as a condition.
該センサ情報蓄積検索システムは、保持する履歴の中で、該情報かつ該検索対象の位置範囲条件に合致するもののみを対象として検索を行い、対象データを取得する。そして、該取得データから物品の一覧を作成し、「指定する位置範囲に現在ある物品の一覧」の検索結果として、該アプリケーションに返却する実現方式にしたとする。 The sensor information accumulation / retrieval system searches only the information that matches the information and the position range condition of the search target, and acquires target data. Then, it is assumed that a list of articles is created from the acquired data and is returned to the application as a search result of “list of articles currently in the specified position range”.
この場合、上記実現方式は、誤っており、正しい結果を返却できない。なぜならば、ある物品は、過去に該位置範囲内に存在した後に、現在、該位置範囲外に存在するかもしれず、そのような物品は、一覧として含めてはならない。しかし、該実現方式においては、このような物品も検索結果として含まれてしまい、誤りとなってしまう。 In this case, the implementation method is incorrect and cannot return a correct result. Because some articles may exist in the location range in the past and then exist outside the location range, such articles should not be included in the list. However, in the realization method, such an article is also included as a search result, resulting in an error.
このように、検索走査を行う対象を限定するという意味の検索対象範囲を指定する機能は、必要な機能ではあるが、この機能だけでは、上記指摘したように、アプリケーション実現のための必要な機能性を提供できない。 In this way, the function of specifying the search target range in the sense of limiting the target of the search scan is a necessary function, but this function alone is a necessary function for realizing the application as pointed out above. Can't provide sex.
本発明は、このような事情を考慮してなされたものであり、その目的は、履歴型の情報蓄積検索システムにおいて、スキーマレスな検索による汎用性を維持しつつ、最新の情報を取得する機能を実現することができる情報蓄積検索方法、情報蓄積検索装置、およびプログラムを提供することにある。 The present invention has been made in consideration of such circumstances, and its purpose is to acquire the latest information while maintaining versatility by schemaless search in a history type information storage and search system. Is to provide an information storage search method, an information storage search device, and a program.
本発明は、蓄積手段と、履歴検索手段と、最新値検索手段とを備える情報蓄積検索装置が行う情報蓄積検索方法であって、前記蓄積手段が、蓄積検索対象の情報の単位であり属性−値の組の並びを含むタプルを入力とし、前記タプルを記憶する蓄積手順と、前記履歴検索手段が、前記蓄積手段に記憶しているタプル群から、属性−値範囲の1以上の組の並びを含む検索式に合致する対象を選択して検索結果のタプル群を得る履歴検索手順と、前記最新値検索手段が、前記蓄積手段に記憶しているタプル群から、検索操作を行うタプル群の範囲を限定する情報である検索対象と、1以上の属性の並びであるキー属性と、属性−値範囲の1以上の組の並びである条件式とを含む検索式に合致する対象を選択して検索結果のタプル群を得る最新値検索手順とを有し、前記蓄積手順には、前記蓄積手段が、入力された前記タプルを、前記並び内の1の属性として時刻属性を含まない場合には前記並びに時刻属性と値の組を追加した後、既に記憶している情報に追加して記憶する手順を含み、前記履歴検索手順には、前記履歴検索手段が、入力された検索式に含まれる並び内の各々の属性について必ずその属性が記憶しているタプル内にも属性として含まれかつその対応する値が前記検索式内の対応する値範囲条件に合致するものを選択して検索結果として得る手順を含み、前記最新値検索手順には、前記最新値検索手段が、入力された検索式に含まれる前記検索対象に合致するタプルを選択する手順と、該選択した前記検索対象に合致するタプルから、入力された検索式に含まれる前記キー属性に対応する値を抽出する手順と、該抽出した値に基づいて、同一の前記キー属性−値の組を有するタプルごとに、前記タプルを前記キー属性−値の組に対応付けて記憶する最新値表に記憶しているタプルを時刻属性の値がより新しいタプルで上書きして更新する手順と、該更新した前記最新値表に記憶しているタプルから、入力された前記条件式に含まれる並び内の各々の属性について必ずその属性が記憶しているタプル内にも属性として含まれかつその対応する値が前記条件式内の対応する値範囲条件に合致するものを選択して検索結果として得る手順とを含むことを特徴とする。 The present invention includes a storage unit, a history search unit, a latest value search means and information storage retrieval method information storing retrieval apparatus performs equipped with the storage means, the unit der Ri attributes of the storage retrieval target information A tuple including an array of value pairs as input, an accumulation procedure for storing the tuples, and the history search means from the tuple group stored in the accumulation means for at least one attribute-value range set A history search procedure for obtaining a tuple group of search results by selecting a target that matches a search expression including a list, and a tuple group in which the latest value search means performs a search operation from the tuple groups stored in the storage means Select a target that matches a search expression that includes a search target that is information that limits the range of a key, a key attribute that is a sequence of one or more attributes, and a conditional expression that is a sequence of one or more pairs of attribute-value ranges To obtain the tuple group of search results And a procedure, the accumulation procedure, the storing means, the tuple input, said time attribute as an attribute in the list if that does not contain a set of well time attributes and values after adding comprises the steps of storing previously in addition to information stored in the prior SL history search procedure, the history search means, for each of the attributes in list included in the input search expression comprises sure procedures and included as attributes in the tuple that attribute stores the value thereof corresponding to obtain as a result the corresponding select the one that matches the value range condition search in the search expression, before Symbol In the latest value search procedure , the latest value search means is input from a procedure for selecting a tuple that matches the search target included in the input search formula and a tuple that matches the selected search target. The key included in the search expression A procedure for extracting a value corresponding to a gender and a tuple that is associated with the key attribute-value pair is stored for each tuple having the same key attribute-value pair based on the extracted value. Included in the inputted conditional expression from the procedure for updating the tuple stored in the latest value table by overwriting with a tuple with a newer time attribute value and the tuple stored in the updated latest value table Re that always has that attribute for each attribute in the list included as an attribute in the tuples are stored and also select to the corresponding values match the corresponding value range condition in said condition characterized in that it comprises a procedure for obtaining a search result.
本発明は、前記蓄積手順では、蓄積しようとするタプルが含む属性の並びが既に記憶している他の1のタプルが含む属性の並びと同じかまたは異なり、前記履歴検索手順では、前記蓄積されたタプルに対して履歴検索を行い、前記最新値検索手順では、検索式を含む検索対象として範囲に含まれるタプル群における各々のタプルが含む属性の並びがタプル間で同じかまたは異なるような範囲を指定する前記検索対象を入力として検索結果を得ることを特徴とする。 The present invention, in the storage procedure, the same or different and sequence of attributes other one tuple sequence of attributes, including the tuple to be accumulated is already stored comprises, in the history search procedure, the A history search is performed on the accumulated tuples, and in the latest value search procedure , the sequence of attributes included in each tuple in the tuple group included in the range as a search target including the search expression is the same or different between the tuples. A search result is obtained by inputting the search target for designating such a range.
本発明は、蓄積検索対象の情報の単位であり属性−値の組の並びを含むタプルを入力とし、前記タプルを記憶する蓄積手段と、前記蓄積手段に記憶しているタプル群から、属性−値範囲の1以上の組の並びを含む検索式に合致する対象を選択して検索結果のタプル群を得る履歴検索手段と、前記蓄積手段に記憶しているタプル群から、検索操作を行うタプル群の範囲を限定する情報である検索対象と、1以上の属性の並びであるキー属性と、属性−値範囲の1以上の組の並びである条件式とを含む検索式に合致する対象を選択して検索結果のタプル群を得る最新値検索手段とを備え、前記蓄積手段は、入力された前記タプルを、前記並び内の1の属性として時刻属性を含まない場合には前記並びに時刻属性と値の組を追加した後、既に記憶している情報に追加して記憶し、前記履歴検索手段は、入力された検索式に含まれる並び内の各々の属性について必ずその属性が記憶しているタプル内にも属性として含まれかつその対応する値が前記検索式内の対応する値範囲条件に合致するものを選択して検索結果として取得し、前記最新値検索手段は、前記タプルを前記キー属性−値の組に対応付けて記憶する最新値表と、入力された検索式に含まれる前記検索対象に合致するタプルを選択する手段と、該選択した前記検索対象に合致するタプルから、入力された検索式に含まれる前記キー属性に対応する値を抽出する手段と、該抽出した値に基づいて、同一の前記キー属性−値の組を有するタプルごとに、前記最新値表に記憶しているタプルを時刻属性の値がより新しいタプルで上書きして更新する手段と、該更新した前記最新値表に記憶しているタプルから、入力された前記条件式に含まれる並び内の各々の属性について必ずその属性が記憶しているタプル内にも属性として含まれかつその対応する値が前記条件式内の対応する値範囲条件に合致するものを選択して検索結果として得る手段とを備えることを特徴とする。 The present invention is a unit der Ri attributes of the storage retrieval target information - as input tuple containing a sequence of pairs of values, and storing means for storing the tuple from the tuple group stored in said storage means, the attribute -A search operation is performed from a history search unit that selects a target that matches a search formula including an array of one or more sets of value ranges and obtains a tuple group of search results, and a tuple group stored in the storage unit. Target that matches a search expression that includes information that limits the range of tuple groups, a key attribute that is an array of one or more attributes, and a conditional expression that is an array of one or more pairs of attribute-value ranges and a latest value search means for obtaining a tuple group selected search results, said storage means, said tuple input, the well is a time attribute as an attribute in the list if that does not contain after you add a set of time attributes and values, already stores And stores in addition to have information, before Symbol history search means, is always the attribute for each attribute in the list included in the input search expression contained as attributes in the tuple for storing and corresponding the value is to select the one that matches the corresponding value range condition in the search expression acquired as the search result, before Symbol latest value retrieval means, the tuple the key attributes - stored in correspondence with the set of values The key value included in the input search formula from the latest value table, means for selecting a tuple matching the search target included in the input search formula, and the tuple matching the selected search target For each tuple having the same key attribute-value pair based on the extracted value, and the time attribute value of the tuple stored in the latest value table is calculated based on the extracted value. Overwrite with new tuple Means for updating Te, said the updated tuple said stored the latest value table, even the tuple always have the attribute for each attribute in the list that is part of the inputted said condition stored included as attributes and characterized in that it comprises a means for obtaining also the as search results by selecting the corresponding value matches the corresponding value range condition in the conditional expression.
本発明は、前記蓄積手段は、蓄積しようとするタプルが含む属性の並びが既に記憶している他の1のタプルが含む属性の並びと同じかまたは異なり、前記履歴検索手段は、前記蓄積されたタプルに対して履歴検索を行い、前記最新値検索手段は、検索式を含む検索対象として範囲に含まれるタプル群における各々のタプルが含む属性の並びがタプル間で同じまたは異なるような範囲を指定する前記検索対象を入力として検索結果を得ることを特徴とする。 According to the present invention, the storage means has the same or different attribute list included in another tuple already stored in the attribute list included in the tuple to be stored, and the history search means stores the stored A history search is performed on the tuples, and the latest value search means selects a range in which the sequence of attributes included in each tuple in the tuple group included in the range as a search target including a search expression is the same or different between the tuples. A search result is obtained by inputting the search target to be specified.
本発明は、コンピュータを、前記情報蓄積検索装置が備える各手段として機能させるための情報蓄積検索プログラムである。 The present invention is an information storage search program for causing a computer to function as each means included in the information storage search device .
この発明によれば、履歴型の情報蓄積検索システムにおいて、スキーマレスな検索による汎用性を維持しつつ、最新の情報を取得する機能を実現することができる。 According to the present invention, in the history type information storage and retrieval system, it is possible to realize a function of acquiring the latest information while maintaining versatility by schemaless retrieval.
以下、本発明の一実施形態を、図面を参照して説明する。
本発明は、履歴型の蓄積システムに記憶されているタプル群の中から入力された検索式に合致するタプルを選択する情報検索方法において、タプルは、時刻属性を含む複数の「属性=値」の組の並び形式で表現される情報として記憶されており、検索式は、記憶されているタプル群の中から検索操作を行う範囲を限定する情報である検索対象情報と1以上の「属性=値範囲」の組からなる条件式とを含んでいる。タプルの検索に当たっては、記憶されているタプル群の中から、該検索対象情報で指定された検索対象に含まれ、かつ該条件式で指定された属性が全て含まれ、かつ該指定された属性に対応する値が該条件式に合致するタプル群を全て選択し、該選択されたタプル群のうち、時刻属性を除いて「属性=値」の組の並びが全て同一のタプルが複数存在する場合には、該複数のタプル群の中から、時刻属性に基づき最新のタプルを選択する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
The present invention relates to an information retrieval method for selecting a tuple that matches a retrieval formula inputted from a tuple group stored in a history type storage system. A tuple includes a plurality of “attribute = value” including a time attribute. The search expression includes search target information that is information that limits a search operation range from the stored tuple group, and one or more “attribute = And a conditional expression consisting of a set of “value range”. When searching for a tuple, all the attributes included in the search target specified by the search target information and specified by the conditional expression are included from the stored tuple group, and the specified attribute is included. All tuple groups whose values corresponding to the conditional expression match the conditional expression are selected, and a plurality of tuples having the same “attribute = value” tuples except for the time attribute exist among the selected tuple groups. In this case, the latest tuple is selected from the plurality of tuple groups based on the time attribute.
図1は、本発明の実施形態による情報蓄積検索装置の構成を示すブロック図である。図において、情報蓄積検索装置100は、要求受付部101、応答送出部102、蓄積処理部103、履歴検索処理部104、最新値検索処理部105、および記憶装置107を備えている。最新値検索処理部105は、最新値表106を保持する。記憶装置107は、データ表108を保持する。
FIG. 1 is a block diagram showing a configuration of an information storage / retrieval apparatus according to an embodiment of the present invention. In the figure, an information storage / retrieval apparatus 100 includes a
要求受付部101は、外部からの要求110を受け取り、要求内容に応じて、蓄積処理部103、履歴検索処理部104、または最新値検索処理部105に処理を指示する。応答送出部102は、蓄積処理部103、履歴検索処理部104、または最新値検索処理部105の処理結果を必要に応じて応答111として外部に送出する。蓄積処理部103、履歴検索処理部104、または最新値検索処理部105は、必要に応じて記憶装置107に読み書きを行う。
The
図2は、本実施形態によるデータ表108の内容、および蓄積要求の処理の様子を示す概念図である。タプルは、「属性1=値1,属性2=値2,属性3=値3,……」のように「属性=値」の組の並び形式で表現される情報である。該並びの長さには、記憶容量等による制約を除いては必ずしも上限を設ける必要はない(多次元)。
FIG. 2 is a conceptual diagram showing the contents of the data table 108 according to the present embodiment and how the accumulation request is processed. A tuple is information expressed in an array format of “attribute = value” pairs such as “
データ表108は、タプルの並びを順序よく保持する。この際、各タプル間では、属性が必ずしも一致していなくてもよい。値の型は、数値、文字列等の一般的なデータ型であれば良く、範囲指定の都合から大小関係が定まることが望ましいが、それに限るものではない。また、同一の属性に対しては、同一の値の型であることが望ましい。 The data table 108 holds the arrangement of tuples in order. At this time, the attributes do not necessarily match between the tuples. The value type may be a general data type such as a numerical value or a character string, and it is desirable that the magnitude relationship be determined for convenience of range specification, but is not limited thereto. Moreover, it is desirable that the same attribute type be used for the same attribute.
要求受付部101は、蓄積要求としてタプルA201を受け取る。蓄積処理部103は、該タプルA201に時刻属性が含まれていない場合には、「時刻=(現在時刻)」の情報を内部に追加する一方、時刻属性が含まれていた場合には、その値を現在時刻で置き換えて、該タプルA201をデータ表108の最後部に追加210する。
The
上述した蓄積処理により、データ表108内の全てのタプルには、時刻属性が含まれ、かつ、上から下にいくにつれ、新しい時刻となることが保証される。 By the accumulation process described above, all tuples in the data table 108 include a time attribute, and it is guaranteed that a new time will be reached from the top to the bottom.
図3は、本実施形態による、履歴検索の検索式を示す概念図である。
履歴検索要求として検索式A301を要求受付部101が受け取る。検索式A301は、「属性=値範囲」の組の並びを含む。履歴検索処理部104は、データ表108内のタプルを上から下に1つずつ調べながら、検索式A301と照合し、合致するものの集合を検索結果として取得する。
FIG. 3 is a conceptual diagram showing a search expression for history search according to this embodiment.
The
上記照合は、以下の規則で行う。
まず、検索式内の各「属性=値範囲」の組について、該属性が、データ表108内の照合中のタプルにも必ず含まれていなくてはならない。次に、該照合中のタプルに含まれる該属性に対応する値が、該検索式内の該値範囲と比較して、その範囲内に含まれていなくてはならない。なお、該値と該値範囲のデータ型とが一致しない場合には、照合不成立である。また、該値範囲は、始値〜終値の組として表現されるか、もしくは単一の値であってもよい。
The above verification is performed according to the following rules.
First, for each “attribute = value range” pair in the search expression, the attribute must be included in the tuple being collated in the data table 108. Next, the value corresponding to the attribute included in the tuple being collated must be included in the range compared to the value range in the search expression. If the value does not match the data type of the value range, the verification is not established. Further, the value range may be expressed as a set of opening price to closing price, or may be a single value.
以上、2つの条件が双方とも、該検索式内の全ての該組について成立するときのみ、該照合中のタプルが合致すると判定する。該検索結果を応答送出部102が応答111として返す。
As described above, it is determined that the tuples being matched match only when both of the two conditions are satisfied for all the pairs in the search formula. The
なお、本実施形態で示した蓄積および履歴検索においては、RDBにおけるスキーマに該当する型定義は必要としない(スキーマレス)。蓄積の際には、任意の属性の並びをタプルとして投入でき、履歴検索の際には、最低限含まれていて欲しい属性のみを検索式として指定することができ、タプルとして検索式に含まれないその他の情報が盛り込まれていたとしても問題なく検索式に合致した検索結果を得ることができる。 In the storage and history search shown in this embodiment, type definitions corresponding to the schema in the RDB are not required (schemaless). Arbitrary attribute sequences can be entered as tuples when storing, and only the attributes that you want to include at least can be specified as search expressions when searching for history. Even if other information that is not included is included, a search result that matches the search formula can be obtained without any problem.
本発明においては、RDBにおけるテーブルの概念、もしくはスキーマの概念を含む蓄積検索システムであっても何ら問題なく実施することができる。一方、このため、本実施形態においては、RDBにおけるテーブルの概念、およびスキーマの概念は、必ずしも必要でなく、全ての種類のデータを単一のデータ表内に保持でき、全ての種類のデータを横通しで履歴検索することが可能である。 In the present invention, even a storage retrieval system including the concept of a table in RDB or the concept of a schema can be implemented without any problem. On the other hand, in this embodiment, the concept of the table in RDB and the concept of schema are not necessarily required, and all kinds of data can be held in a single data table, and all kinds of data are stored. It is possible to search the history horizontally.
なお、ある種類のデータを全て取得したいといった場合には、その種類を特徴づける属性がタプル内に有すると解することができるので、検索式として「該属性=−∞〜+∞」なる範囲を指定することで目的を達し得る。 If you want to acquire all data of a certain type, you can understand that the attribute characterizing that type is in the tuple, so the range of “the attribute = −∞ to + ∞” is used as the search expression. The purpose can be achieved by specifying.
図4は、本実施形態による、最新値検索の検索式を示す概念図である。また、図5は、本実施形態による、最新値検索の処理の手順を示すフローチャートである。 FIG. 4 is a conceptual diagram showing a search expression for the latest value search according to this embodiment. FIG. 5 is a flowchart showing the latest value search processing procedure according to this embodiment.
要求受付部101は、最新値検索要求として検索式B401を受け取る(ステップS1)。検索式B401は、図4に示すように、検索対象402とキー属性403と条件式404とを含む。検索対象402は「属性=値範囲」の組の並びを含み、キー属性403は、「属性」の並びを含み、条件式404は、「属性=値範囲」の組の並びを含む。
The
最新値検索処理部105は、データ表108内のタプルのうち、検索式B401と合致するものの集合を、以下に示す手順で求め、検索結果として得る。まず、最新値検索処理部105は、最新値表106の内容を全て削除する初期化を行ってもよい(ステップS2)。次に、最新値検索処理部105は、データ表108内のタプルを上から下に1つずつ調べながら(ステップS3)、検索対象402と照合し(ステップS4)、合致する各々のタプルのみに対して、以下の手順を行う。なお、該照合の規則は、履歴検索要求の際に検索式を照合する際の該規則と同一のものを用いる。
The latest value
次に、最新値検索処理部105は、該合致する各々のタプルに対して、キー属性が含む各属性について該タプルに含まれる該属性に対応する「属性=値」の組を抽出し(ステップS5)、その並びとして得る。なお、該抽出すべき組が該タプルに存在しなかったときは、処理エラーとなる。要求の際、該検索対象を適切に指定し、必ず該タプルが存在する条件とすれば、該エラーを回避できる。
Next, the latest value
次に、該並びをキーとして、対応する値として該タプル全体を含み、最新値表106を更新する(ステップS6)。該最新値表106が既に該キーを要素として含めば、対応する値を該値で更新し、含まなければ、該最新値表106に追加する。ここで、図6は、本実施形態による、最新値表の内容を示す概念図である。最新値表106は、キーの列601と値の列602とを含む。以上を照合成功した全てのタプルについて繰り返す(ステップS3〜S6)。 Next, using the list as a key, the entire tuple is included as a corresponding value, and the latest value table 106 is updated (step S6). If the latest value table 106 already includes the key as an element, the corresponding value is updated with the value, and if not, it is added to the latest value table 106. Here, FIG. 6 is a conceptual diagram showing the contents of the latest value table according to the present embodiment. The latest value table 106 includes a key column 601 and a value column 602. The above is repeated for all tuples that have been successfully verified (steps S3 to S6).
このようにして、最終的に得られた最新値表106は、データ表108内のタプルが上から下にいくにつれて新しい時刻となるよう、順序よく記憶されていることから、キー属性403によって区別される、それぞれの対象物に対して、古い値が常に新しい値によって最新値表106内で上書きされ、結果として、それぞれの対象物に対する最新の値が得られる。 The latest value table 106 finally obtained in this way is stored in order so that the tuples in the data table 108 become new times as they move from the top to the bottom. For each object, the old value is always overwritten in the latest value table 106 with the new value, resulting in the latest value for each object.
このようにして、最終的に得られた最新値表106のうち、全ての行の値の列、すなわちタプルについて、条件式404と照合し、合致するタプルのみを選択する(ステップS7)。なお、該照合の規則は、履歴検索要求の際に検索式を照合する際の該規則と同一のものを用いる。該選択結果が、該検索結果となる。応答送出部102は、該検索結果を応答として返す(ステップS8)。
In this way, in the finally obtained latest value table 106, all value column values, that is, tuples, are checked against the conditional expression 404, and only matching tuples are selected (step S7). The collation rule is the same as that used when collating a search expression when a history search request is made. The selection result becomes the search result. The
本実施形態では、検索対象402との照合は、検索捜査を行う対象を限定するという意味の検索対象範囲を指定するものとして機能する。一方、条件式404との照合は、該条件の範囲を超えてデータ表108内のタプルに対して処理を行い、最終的な結果を返すかどうかの時点で該条件との照合を行うものとして機能する。 In the present embodiment, the collation with the search target 402 functions as specifying a search target range that means that the search target is limited. On the other hand, the collation with the conditional expression 404 is performed on the tuple in the data table 108 beyond the range of the condition, and collation with the condition is performed at the time when the final result is returned. Function.
このように、2つの異なる意味を持つ範囲指定機能を併せて提供し、それを上記説明した手順により実現する装置としたことで、従来ではなし得なかった広汎なアプリケーション実現のための必要な機能性を提供することを可能とした。 In this way, by providing a range designation function having two different meanings together and realizing it by the procedure described above, it is a function necessary for realizing a wide range of applications that could not be achieved in the past. Made it possible to provide sex.
なお、本実施形態においては、最新値検索要求を受け取った後に、最新値検索処理部105が、最新値表106を更新することとした。本発明の範囲は、これに限るものではなく、該要求を受け取る以前に、最新値検索処理部105が前もって、該更新処理を行っても良い。
In the present embodiment, the latest value
最新値検索要求を受け取った後に、最新値検索処理部105が最新値表106の更新を始めるに先立って、最新値表106の内容を初期化(図5のステップS2)することは自然である。但し、データ表108内の蓄積済みタプルに更新も削除も行われておらず、該最新値検索要求が前回の該要求と同一内容であれば、最新値表106の内容の初期化を省略でき、その場合も得られる結果は同一である。特に、最新値検索処理部105が該要求を受け取る以前に、前もって該更新処理を行う際には、最新値表106の内容の初期化を必要最小限に留めることは処理効率上の利点がある。
After receiving the latest value search request, it is natural that the latest value
なお、本実施形態においては、最新値検索要求にキー属性を含めることとした。これにより該装置の汎用性を高めることができる。本発明の範囲は、これに限るものではなく、該情報蓄積検索装置100が事前にキー属性相当の情報を決め打ちしておき、最新値検索要求としてキー属性を含めない要求を受け取り、代わりに該決め打ちした情報を使うことでキー属性をも含めた要求として受け取ったかのように、以降の処理を実行することもできる。例えば、属性として「識別子」、「センサID」、「物品番号」、「氏名」などが該決め打ちキー属性の候補として挙げられる。また、該要求の含む検索対象402が含む属性から上記属性例を探して、以て該決め打ちキー属性の候補とすることも可能である。 In the present embodiment, the key attribute is included in the latest value search request. Thereby, the versatility of the apparatus can be enhanced. The scope of the present invention is not limited to this. The information storage / retrieval apparatus 100 determines information corresponding to the key attribute in advance, receives a request not including the key attribute as the latest value search request, By using the determined information, the subsequent processing can be executed as if it was received as a request including the key attribute. For example, “identifier”, “sensor ID”, “article number”, “name”, and the like are listed as candidates for the fixed key attribute. It is also possible to search for the attribute example from the attributes included in the search target 402 included in the request, and to make the fixed key attribute candidate.
本発明によれば、履歴型のセンサ情報蓄積検索システムの利点であるセンサ情報の過去の経緯を調べる操作をアプリケーションで容易に実現できることを達成しつつ、センサ情報を扱う典型的アプリケーションで多く用いられる状態の最新の値を取得する操作を提供しつつ、アプリケーションごとに異なる「物品を同定する概念」を任意に指定することができ、スキーマレスな検索機能が本来有する汎用性を維持することができるとともに、検索走査を行う対象を限定するという意味の検索対象に加え、最新の値に応じて検索結果を絞り込む条件式を指定することができ、アプリケーションに必要な機能性を提供しつつ、アプリケーションによらない共通的な機能を別途汎用のシステムとして提供することによる基盤的なシステムの基本的役割を充足することができる。 According to the present invention, it is often used in a typical application that handles sensor information while achieving an application that can easily implement an operation for examining past history of sensor information, which is an advantage of a history type sensor information storage and retrieval system. While providing an operation to obtain the latest value of the state, it is possible to arbitrarily specify a “concept for identifying an article” that is different for each application, and maintain the versatility inherent in the schemaless search function At the same time, in addition to the search target meaning to limit the search scan target, it is possible to specify a conditional expression that narrows down the search results according to the latest value, providing the functionality necessary for the application, Fundamental role of the basic system by providing common functions as a general-purpose system separately. It is possible to satisfy the.
なお、上述した実施形態においては、情報蓄積検索装置の蓄積処理部103、履歴検索処理部104、最新値検索処理部105の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行するようにしてもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
In the above-described embodiment, a program for realizing the functions of the
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 Further, the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc., which hold programs for a certain period of time. The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.
100 情報蓄積検索装置
101 要求受付部
102 応答送出部
103 蓄積処理部
104 履歴検索処理部
105 最新値検索処理部
106 最新値表
107 記憶装置
108 データ表
201 タプル
302 検索式A
401 検索式B
402 検索対象
403 キー属性
404 条件式
601 キーの列
602 値の列
DESCRIPTION OF SYMBOLS 100 Information
401 Search formula B
402 Search target 403 Key attribute 404 Conditional expression 601 Key column 602 Value column
Claims (5)
前記蓄積手段が、蓄積検索対象の情報の単位であり属性−値の組の並びを含むタプルを入力とし、前記タプルを記憶する蓄積手順と、
前記履歴検索手段が、前記蓄積手段に記憶しているタプル群から、属性−値範囲の1以上の組の並びを含む検索式に合致する対象を選択して検索結果のタプル群を得る履歴検索手順と、
前記最新値検索手段が、前記蓄積手段に記憶しているタプル群から、検索操作を行うタプル群の範囲を限定する情報である検索対象と、1以上の属性の並びであるキー属性と、属性−値範囲の1以上の組の並びである条件式とを含む検索式に合致する対象を選択して検索結果のタプル群を得る最新値検索手順と
を有し、
前記蓄積手順には、前記蓄積手段が、入力された前記タプルを、前記並び内の1の属性として時刻属性を含まない場合には前記並びに時刻属性と値の組を追加した後、既に記憶している情報に追加して記憶する手順を含み、
前記履歴検索手順には、前記履歴検索手段が、入力された検索式に含まれる並び内の各々の属性について必ずその属性が記憶しているタプル内にも属性として含まれかつその対応する値が前記検索式内の対応する値範囲条件に合致するものを選択して検索結果として得る手順を含み、
前記最新値検索手順には、前記最新値検索手段が、
入力された検索式に含まれる前記検索対象に合致するタプルを選択する手順と、
該選択した前記検索対象に合致するタプルから、入力された検索式に含まれる前記キー属性に対応する値を抽出する手順と、
該抽出した値に基づいて、同一の前記キー属性−値の組を有するタプルごとに、前記タプルを前記キー属性−値の組に対応付けて記憶する最新値表に記憶しているタプルを時刻属性の値がより新しいタプルで上書きして更新する手順と、
該更新した前記最新値表に記憶しているタプルから、入力された前記条件式に含まれる並び内の各々の属性について必ずその属性が記憶しているタプル内にも属性として含まれかつその対応する値が前記条件式内の対応する値範囲条件に合致するものを選択して検索結果として得る手順とを含む
ことを特徴とする情報蓄積検索方法。 An information storage search method performed by an information storage search device comprising storage means, history search means, and latest value search means,
Said storing means, the unit der Ri attributes of the storage retrieval target information - and storage procedures as input tuple, and stores the tuple containing a sequence of value pairs,
A history search in which the history search means selects a target that matches a search expression including an array of one or more attribute-value ranges from the tuple group stored in the storage means to obtain a tuple group of search results Procedure and
The latest value search means is a search target that is information that limits the range of tuple groups to be searched from the tuple group stored in the storage means, a key attribute that is an array of one or more attributes, and an attribute A latest value search procedure that selects a target that matches a search expression including a conditional expression that is a list of one or more sets of value ranges and obtains a tuple group of search results ;
Wherein the storage step, the storage means, the tuple input, after the case that does not contain the time value as one of the attributes in the list to add a pair of said well time attributes and values, already Including the procedure to store in addition to the stored information ,
The front Symbol history search procedure, the history search means, is always the attribute for each attribute in the list included in the input search expression contained as attributes in the tuple that stores and its desired value Includes a procedure of selecting a search result that matches a corresponding value range condition in the search formula ,
The front Symbol latest value search procedure, is the latest value search means,
Selecting a tuple that matches the search target included in the input search expression;
A procedure for extracting a value corresponding to the key attribute included in the input search expression from a tuple that matches the selected search target;
Based on the extracted value, for each tuple having the same key attribute-value pair, the tuple stored in the latest value table storing the tuple in association with the key attribute-value pair is time Update the attribute value by overwriting it with a newer tuple,
Tuples stored in said latest value table and the update is always the attribute for each attribute in the list that is part of the inputted said condition is included as an attribute in the tuples stored and that information storage retrieval method characterized by corresponding values and a procedure for obtaining even of a search result by selecting to meet the corresponding value range condition in the conditional expression.
前記履歴検索手順では、前記蓄積されたタプルに対して履歴検索を行い、
前記最新値検索手順では、検索式を含む検索対象として範囲に含まれるタプル群における各々のタプルが含む属性の並びがタプル間で同じかまたは異なるような範囲を指定する前記検索対象を入力として検索結果を得る
ことを特徴とする請求項1に記載の情報蓄積検索方法。 In the accumulation procedure , the sequence of attributes included in the tuple to be stored is the same as or different from the sequence of attributes included in another already stored tuple.
In the history search procedure , a history search is performed on the accumulated tuples,
In the latest value search procedure , the search target that designates a range in which the array of attributes included in each tuple in the tuple group included in the range as the search target including the search expression is the same or different between the tuples is input. The information storage and retrieval method according to claim 1 , wherein a retrieval result is obtained.
前記蓄積手段に記憶しているタプル群から、属性−値範囲の1以上の組の並びを含む検索式に合致する対象を選択して検索結果のタプル群を得る履歴検索手段と、
前記蓄積手段に記憶しているタプル群から、検索操作を行うタプル群の範囲を限定する情報である検索対象と、1以上の属性の並びであるキー属性と、属性−値範囲の1以上の組の並びである条件式とを含む検索式に合致する対象を選択して検索結果のタプル群を得る最新値検索手段と
を備え、
前記蓄積手段は、
入力された前記タプルを、前記並び内の1の属性として時刻属性を含まない場合には前記並びに時刻属性と値の組を追加した後、既に記憶している情報に追加して記憶し、
前記履歴検索手段は、
入力された検索式に含まれる並び内の各々の属性について必ずその属性が記憶しているタプル内にも属性として含まれかつその対応する値が前記検索式内の対応する値範囲条件に合致するものを選択して検索結果として取得し、
前記最新値検索手段は、
前記タプルを前記キー属性−値の組に対応付けて記憶する最新値表と、
入力された検索式に含まれる前記検索対象に合致するタプルを選択する手段と、
該選択した前記検索対象に合致するタプルから、入力された検索式に含まれる前記キー属性に対応する値を抽出する手段と、
該抽出した値に基づいて、同一の前記キー属性−値の組を有するタプルごとに、前記最新値表に記憶しているタプルを時刻属性の値がより新しいタプルで上書きして更新する手段と、
該更新した前記最新値表に記憶しているタプルから、入力された前記条件式に含まれる並び内の各々の属性について必ずその属性が記憶しているタプル内にも属性として含まれかつその対応する値が前記条件式内の対応する値範囲条件に合致するものを選択して検索結果として得る手段と
を備えることを特徴とする情報蓄積検索装置。 A storage means as input tuple, and stores the tuple containing a sequence of pairs of values, - a unit der Ri attributes of the storage retrieval target information
A history search unit that selects a target that matches a search formula including a list of one or more attribute-value ranges from the tuple group stored in the storage unit, and obtains a tuple group of search results;
From the tuple group stored in the storage means, a search target that is information that limits the range of the tuple group to be searched, a key attribute that is a list of one or more attributes, and one or more attribute-value ranges A latest value search means for selecting a target that matches a search expression including a conditional expression that is an array of pairs and obtaining a tuple group of search results ;
It said storage means,
The input the tuples, the time value as one of the attributes in the list after adding said set of well time attribute and value if that does not contain, already stored in addition to information stored ,
Before Symbol history search means,
For each attribute in the list included in the input search expression, the attribute is also included as an attribute in the tuple stored in the attribute, and the corresponding value matches the corresponding value range condition in the search expression. Select a thing to get as a search result ,
Before Symbol latest value search means,
A latest value table storing the tuple in association with the key attribute-value pairs;
Means for selecting a tuple that matches the search target included in the input search expression;
Means for extracting a value corresponding to the key attribute included in the input search expression from a tuple that matches the selected search target;
Based on the extracted value, for each tuple having the same key attribute-value pair, the tuple stored in the latest value table is updated by overwriting with a tuple having a newer time attribute value. ,
Tuples stored in said latest value table and the update is always the attribute for each attribute in the list that is part of the inputted said condition is included as an attribute in the tuples stored and that means for corresponding values obtained as a result also supports matching the value range condition to the selected and the search in the conditional expression
Information storage retrieval apparatus comprising: a.
前記履歴検索手段は、前記蓄積されたタプルに対して履歴検索を行い、
前記最新値検索手段は、検索式を含む検索対象として範囲に含まれるタプル群における各々のタプルが含む属性の並びがタプル間で同じまたは異なるような範囲を指定する前記検索対象を入力として検索結果を得る
ことを特徴とする請求項3に記載の情報蓄積検索装置。 The storage means is the same as or different from the attribute sequence included in the other one tuple already stored in the attribute sequence included in the tuple to be stored,
The history search means performs a history search on the accumulated tuples,
The latest value search means uses the search target that designates a range in which the array of attributes included in each tuple in the tuple group included in the range as the search target including the search formula is the same or different between the tuples as a search result. The information storage / retrieval apparatus according to claim 3 , wherein:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009193175A JP5300655B2 (en) | 2009-08-24 | 2009-08-24 | Information storage search method, information storage search device, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009193175A JP5300655B2 (en) | 2009-08-24 | 2009-08-24 | Information storage search method, information storage search device, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011044083A JP2011044083A (en) | 2011-03-03 |
| JP5300655B2 true JP5300655B2 (en) | 2013-09-25 |
Family
ID=43831456
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009193175A Expired - Fee Related JP5300655B2 (en) | 2009-08-24 | 2009-08-24 | Information storage search method, information storage search device, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5300655B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5517263B2 (en) * | 2011-07-06 | 2014-06-11 | 日本電信電話株式会社 | Chunk generating device, chunk reading device, chunk generating method and program |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001084476A (en) * | 1999-09-10 | 2001-03-30 | Mitsubishi Electric Corp | Data monitoring system |
| JP4808409B2 (en) * | 2005-01-14 | 2011-11-02 | 株式会社日立製作所 | Sensor network system, sensor data search method and program |
| JP4890412B2 (en) * | 2007-10-03 | 2012-03-07 | 日本電信電話株式会社 | Network distributed sharing system, network distributed sharing method, and network distributed sharing program |
-
2009
- 2009-08-24 JP JP2009193175A patent/JP5300655B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011044083A (en) | 2011-03-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9977790B2 (en) | Automatically obtaining real-time, geographically-relevant product information from heterogeneus sources | |
| RU2679977C1 (en) | Constructing queries for execution over multi-dimensional data structures | |
| EP3807784B1 (en) | Providing query recommendations | |
| US20140229476A1 (en) | System for Information Discovery & Organization | |
| CN101308493B (en) | Entity relation exhibition method and system | |
| CN106095738B (en) | Recommending form fragments | |
| CN111797095B (en) | Index construction method and JSON data query method | |
| JP6390139B2 (en) | Document search device, document search method, program, and document search system | |
| JP2016126788A (en) | Cross-column search of relational database tables | |
| CN116028680B (en) | Asset map display method and device based on map database and electronic equipment | |
| CN107729518A (en) | The text searching method and device of a kind of relevant database | |
| JP5345582B2 (en) | Thesaurus construction system, thesaurus construction method, and thesaurus construction program | |
| JP5300655B2 (en) | Information storage search method, information storage search device, and program | |
| JP2015176407A (en) | Search device, search method, search program and search data structure | |
| JP2000112968A (en) | Information search support device and information search support program storage medium | |
| US9740765B2 (en) | Building nomenclature in a set of documents while building associative document trees | |
| CN116108281A (en) | Information mining method and device | |
| CN110442593B (en) | Cross-application sharing method based on user search information | |
| JP2016057937A (en) | Information providing system, information providing server, information providing method, and program | |
| AU2014200878B2 (en) | Identifying contextual results within associative memory | |
| KR102062139B1 (en) | Method and Apparatus for Processing Data Based on Intelligent Data Structure | |
| CN103098052B (en) | Method for searching in a plurality of data sets and search engine | |
| JP2009037359A (en) | Data registration search method, data registration search program, and database system | |
| CN115934900A (en) | Word derivation association method, device, computer equipment and storage medium | |
| CN115796465A (en) | OKR information display method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110826 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130110 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130129 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130401 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20130401 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130522 |
|
| 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: 20130611 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130618 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5300655 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |