JP2009169801A - Schedule retrieval system and retrieval method for data - Google Patents
Schedule retrieval system and retrieval method for data Download PDFInfo
- Publication number
- JP2009169801A JP2009169801A JP2008008847A JP2008008847A JP2009169801A JP 2009169801 A JP2009169801 A JP 2009169801A JP 2008008847 A JP2008008847 A JP 2008008847A JP 2008008847 A JP2008008847 A JP 2008008847A JP 2009169801 A JP2009169801 A JP 2009169801A
- Authority
- JP
- Japan
- Prior art keywords
- data
- section
- period
- search
- retrieval
- 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.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、データの収集・蓄積・検索システムに係り、特に収集・蓄積されたデータのスケジュール検索方式および方法に関する。 The present invention relates to a data collection / storage / retrieval system, and more particularly to a schedule retrieval method and method for collected / accumulated data.
データの収集・蓄積・検索システムは、図5に一般的な構成を示すように、各種装置・設備#1〜#nからデータを収集する「データ収集部」A、収集したデータをデータベースに蓄積する「データ蓄積部」B、および蓄積したデータから検索条件に合致したデータを検索してデータ解析等に供する「データ検索部」Cに大きく機能が分けられ、それぞれがデータを管理する機能を有し、システム専用LANや既設LANでデータ伝送を可能としている。
The data collection / storage / retrieval system, as shown in FIG. 5, has a “data collection unit” A that collects data from various devices /
データ収集部Aの主な機能としては、(a1)データソース(デジタルI/O、シーケンサ、独自データ通信)より、決められた周期によるデータ収集機能と、(a2)データ蓄積部への収集データ転送機能がある。 The main functions of the data collection unit A include (a1) a data collection function with a predetermined period from a data source (digital I / O, sequencer, unique data communication), and (a2) collected data to the data storage unit. There is a transfer function.
データ蓄積部Bの主な機能としては、(b1)データ蓄積部からの収集データ受信機能と、(b2)データベースヘの収集データ格納機能がある。 The main functions of the data storage unit B include (b1) a function for receiving collected data from the data storage unit and (b2) a function for storing collected data in the database.
クライアントPC等にアプリケーションとして搭載されるデータ検索部Cの主な機能としては、(c1)データベースヘ格納された収集データを指定された検索条件によるデータ抽出機能と、(c2)データを抽出する機能を周期的に実行するスケジュール検索機能がある。 The main functions of the data search unit C installed as an application in a client PC or the like include (c1) a data extraction function based on specified search conditions for the collected data stored in the database, and (c2) a function for extracting data. There is a schedule search function that periodically executes.
ここで、データ検索部Cによるデータのスケジュール検索には、通常「検索条件」「実行周期」「出力形式」を指定することで実現している。例えば、
「検索条件」:区間条件をデータA=10から20まで、パラメータを1〜10の10個、検索期間を1時間前〜20分前とした指定をする。
Here, the data search by the data search unit C is usually realized by designating “search conditions”, “execution cycle”, and “output format”. For example,
“Search condition”: Specifies that the section condition is data A = 10 to 20,
「実行周期」:30分周期に指定する。 “Execution period”: Specify a period of 30 minutes.
「出力形式」:CSVフオーマツト形式ファイルと指定する。 “Output format”: Designated as a CSV format file.
このような形式で指定された検索スケジュール情報は、データベースに記憶され、検索対象期間の指定によって、当該期間のスケジュール情報をデータベースから検索し、この情報に従ったスケジュールで検索するものもある(例えば、特許文献1参照)。
前述の「データ検索部」Cのスケジュール検索動作例を図6に示す。図中、検索期間は検索が実行される期間になる。区間は検索条件によって指定された検索期間内のデータ区間になる。この区間の開始は○印で示し、終了は■印で示す。また■/○でみなし区間の開始と終了を示す。 An example of the schedule search operation of the “data search unit” C is shown in FIG. In the figure, the search period is a period during which the search is executed. The section is a data section within the search period specified by the search condition. The start of this section is indicated by a circle and the end is indicated by a ■ mark. Also, ■ / ○ indicates the start and end of the deemed section.
図6の(a)に示すように、スケジュール検索は、基本的に、複数の検索期間の境界位置が、データ区間のみなし区間終了位置であり、かつみなし区間開始位置となる。ただし、その境界位置が前回実施した最後のデータ接続区間であるかどうかを判断し、接続区間と判断した場合のみが取得対象データとなる。 As shown in (a) of FIG. 6, in the schedule search, basically, the boundary positions of a plurality of search periods are the end positions of only the data sections and the assumed section start positions. However, it is determined whether or not the boundary position is the last data connection section performed last time, and only when it is determined that the boundary section is a connection section, the acquisition target data is obtained.
また、図6の(b)に示すように、検索期間内にデータ区間が1つも存在しなかった場合、前回検索期間からの継続区間かどうかによって、検索期間全体データを取得対象とするか判断する。したがって、継続区間のままの場合、実行される検索期間内すべてのデータが取得対象となる。逆に、継続区間でない場合、実行される検索期間内すべてのデータが破棄対象となる。 Further, as shown in FIG. 6B, when no data section exists in the search period, it is determined whether or not the entire search period data is to be acquired depending on whether it is a continuous section from the previous search period. To do. Therefore, when the continuation period remains, all data within the search period to be executed is an acquisition target. Conversely, if it is not a continuation section, all data within the search period to be executed is subject to discarding.
以上のようにして取得対象データが決定されるスケジュール検索方法では、検索条件と検索期間の関係上から、検索条件による「区間」は検索期間内にて完結することとなる。このことにより以下の問題がある。 In the schedule search method in which the acquisition target data is determined as described above, the “section” based on the search condition is completed within the search period because of the relationship between the search condition and the search period. This has the following problems.
(1)検索条件による「区間」は検索期間内に限定されるため、区間情報として出力されるデータが本来の区間情報全体ではなく、検索期間により区間が区切られた部分的な情報となってしまう。 (1) Since the “section” by the search condition is limited to the search period, the data output as the section information is not the entire original section information but becomes partial information in which the section is divided by the search period. End up.
(2)検索条件が時間的制限枠とは無関係な場合、複数のデータが出力されることは本来のデータ管理の観点から不都合が生じる。すなわち、出力結果を後になってから別途に結合するといった手間が必要となる。 (2) When the search condition is not related to the time limit frame, it is inconvenient from the viewpoint of original data management to output a plurality of data. That is, it is necessary to combine the output results separately later.
本発明の目的は、検索期間に依存しない検索条件でのデータ検索ができるスケジュール検索方式および方法を提供することにある。 An object of the present invention is to provide a schedule search method and method capable of performing data search under a search condition independent of a search period.
本発明は、前記の課題を解決するため、検索期間により区間が区切られたデータを連続したデータとして、かつ目的の切り出し条件でのデータとして検索できるようにしたもので、以下の検索方式および方法を特徴とする。 In order to solve the above-mentioned problems, the present invention enables data obtained by dividing a section by a search period as continuous data and as data under a target clipping condition. It is characterized by.
(1)収集・蓄積したデータから、指定された検索条件に合致したデータ抽出を指定された実行周期にしたスケジュール検索するデータ検索部を備えたデータ収集・蓄積・検索システムにおいて、
前記データ検索部は、
前記スケジュール検索の実行に際して、検索期間をまたがったデータ切出し区間も管理できるデータ切出し区間管理部と、
前記スケジュール検索による検索期間内の区間切り出し処理において、検索期間内に区間終了とならなかった場合は、切り出しを行うことなく、区間開始検出情報を保存する区間切出し処理部と、
前記区間切出し処理部による区間切り出し処理と共に、検索期間開始以前から開始している区間データについても検索期間として出力する検索期間拡大部と、
を備えたことを特徴とする。
(1) In a data collection / accumulation / retrieval system having a data retrieval unit for performing a schedule retrieval using data that meets a designated retrieval condition and having a designated execution cycle from collected / accumulated data,
The data search unit
When performing the schedule search, a data extraction section management unit that can also manage a data extraction section across the search period;
In the section cutout process within the search period by the schedule search, if the section does not end within the search period, a section cutout processing unit that saves the section start detection information without cutting out,
A search period expansion unit that outputs as a search period for the section data started before the start of the search period, together with the section cut-out process by the section cut-out processing unit,
It is provided with.
(2)前記データ切出し区間管理部は、今回の検索期間にて区間開始条件が検出され、区間終了条件が検出されなかった場合、区間開始検出状況を別途ファイル保存し、次回の期間を検索する際にこの保存情報があった場合、前回の検索期間も含めたデータの区間切出しを実施することを特徴とする。 (2) When the section start condition is detected in the current search period and the section end condition is not detected, the data cut-out section management unit stores the section start detection status in a separate file and searches for the next period. If there is this stored information, data segmentation including the previous search period is performed.
(3)前記検索期間に依存しない区間管理とするため、最大保持期間及び最大並列区間数を、外部定義ファイルにて設定可能とする最大保持期間及び並列区間数の設定部を備えたことを特徴とする。 (3) In order to perform section management that does not depend on the search period, the maximum retention period and the maximum number of parallel sections can be set in an external definition file. And
(4)収集・蓄積したデータから、指定された検索条件に合致したデータ抽出を指定された実行周期にしたスケジュール検索するデータ検索部を備えたデータ収集・蓄積・検索システムにおいて、
前記データ検索部は、
前記スケジュール検索の実行に際して、検索期間をまたがったデータ切出し区間も管理できるデータ切出し区間管理ステップと、
前記スケジュール検索による検索期間内の区間切り出し処理において、検索期間内に区間終了とならなかった場合は、切り出しを行うことなく、区間開始検出情報を保存する区間切出し処理ステップと、
前記区間切出し処理部による区間切り出し処理と共に、検索期間開始以前から開始している区間データについても検索期間として出力する検索期間拡大ステップと、
を備えたことを特徴とする。
(4) In a data collection / accumulation / retrieval system including a data retrieval unit that performs a schedule retrieval using a data extraction that meets a designated retrieval condition as a designated execution cycle from collected / accumulated data,
The data search unit
In performing the schedule search, a data extraction section management step capable of managing a data extraction section across a search period;
In the section cutout process within the search period by the schedule search, if the section does not end within the search period, the section cutout process step of saving the section start detection information without cutting out,
A search period expansion step for outputting as a search period for the section data started before the start of the search period, together with the section cutout process by the section cutout processing unit,
It is provided with.
(5)前記データ切出し区間管理ステップは、今回の検索期間にて区間開始条件が検出され、区間終了条件が検出されなかった場合、区間開始検出状況を別途ファイル保存し、次回の期間を検索する際にこの保存情報があった場合、前回の検索期間も含めたデータの区間切出しを実施することを特徴とする。 (5) In the data extraction section management step, when the section start condition is detected in the current search period and the section end condition is not detected, the section start detection status is separately saved in a file, and the next period is searched. If there is this stored information, data segmentation including the previous search period is performed.
(6)前記検索期間に依存しない区間管理とするため、最大保持期間及び最大並列区間数を、外部定義ファイルにて設定可能とする最大保持期間及び並列区間数の設定ステップを備えたことを特徴とする。 (6) In order to perform section management independent of the search period, the maximum retention period and the maximum number of parallel sections can be set in an external definition file. And
以上のとおり、本発明によれば、検索期間により区間が区切られたデータを連続したデータとして、かつ目的の切り出し条件でのデータとして検索できるようにしたため、検索期間に依存しない検索条件でのデータ検索ができる。 As described above, according to the present invention, since the data whose section is divided by the search period can be searched as continuous data and data under the target clipping condition, the data under the search condition that does not depend on the search period. You can search.
これに伴い、検索期間前の区間開始からの連続データとして区間データを取得可能となる。また、区間を連続データとして扱うため、確実に切り出し条件イベントの状態変数が取得可能となる。さらに、連続データとして区間データを取得可能となることにより、取得データを加工することなく利用(データ解析)することが可能となる。 Accordingly, section data can be acquired as continuous data from the section start before the search period. Further, since the section is handled as continuous data, it is possible to reliably acquire the state variable of the extraction condition event. Furthermore, since section data can be acquired as continuous data, the acquired data can be used (data analysis) without being processed.
図1は、本発明の実施形態を示すデータ検索部の機能構成図である。コンピュータ資源とこれを利用したソフトウェア構成のスケジュール検索部1は、従来と同様に、「検索条件」「実行周期」「出力形式」などが指定され、データ蓄積部Bに蓄積するデータのスケジュール検索を実行する。このスケジュール検索に際して、ソフトウェア構成の以下の各部2〜5による区間/期間管理の元にした検索により、検索期間により区間が区切られたデータを連続したデータとして、かつ目的の切り出し条件でのデータとして検索できるようにする。
FIG. 1 is a functional configuration diagram of a data search unit showing an embodiment of the present invention. The
(a)データ切出し区間管理部2は、検索期間をまたがったデータ切出し区間も管理できるよう、検索期間に依存しない区間管理を行う。 (A) The data cut-out section management unit 2 performs section management independent of the search period so that the data cut-out section across the search periods can be managed.
この管理は、今回の検索期間にて区間開始条件が検出され、区間終了条件が検出されなかった場合、区間開始検出状況を別途ファイル保存し、次回の期間を検索する際にこの保存情報があった場合、前回の検索期間も含めたデータの区間切出を実施する管理機構とする。 In this management, if the section start condition is detected in the current search period and the section end condition is not detected, the section start detection status is saved in a separate file, and this saved information is available when searching for the next period. In this case, the management mechanism performs data segmentation including the previous search period.
(b)区間切出し処理部3は、スケジュール検索部1による検索期間内の区間切り出し処理において、検索期間内に区間終了とならなかった場合は、切り出しを実施しない。
(B) In the section cutout process within the search period by the
この処理は、上記の区間管理部2により区間終了条件が検出できなかった場合には、区間開始検出情報を保存するのみとする。図2は、区間開始検出情報ファイル(XMLファイルフォーマット)の例を示す。 This process only saves the section start detection information when the section end condition cannot be detected by the section management unit 2 described above. FIG. 2 shows an example of the section start detection information file (XML file format).
(c)検索期間拡大部4は、区間切出し処理部3による区間切り出し処理と共に、検索期間開始以前から開始している区間データについても検索期間として出力する。 (C) The search period expansion unit 4 outputs the section data started before the start of the search period as the search period together with the section cutout process by the section extraction processing unit 3.
この処理は、検索期間開始時刻とは別に(a)データ切出し区間管理と(b)区間切出し処理の内容にて、保存している区間開始時刻まで広げた検索期間による区間切り出しを実施する。 In this process, in addition to the search period start time, segment extraction is performed by the search period extended to the stored section start time by the contents of (a) data extraction section management and (b) section extraction processing.
(d)最大保持期間及び並列区間数の設定部5は、検索期間に依存しない区間管理とするため、最大保持期間及び最大並列区間数を、外部定義ファイルにて設定可能とする。
(D) Since the
この処理は、区間開始条件が検出されたが、何らかのトラブルにより区間終了条件が検出できない場合が想定される。その際、区間開始条件の保存情報が永久に残存してしまうことを回避するために、保存情報の削除条件として登録可能とする機能を実装する。 In this process, it is assumed that the section start condition is detected, but the section end condition cannot be detected due to some trouble. At that time, in order to avoid that the storage information of the section start condition remains permanently, a function that enables registration as a storage information deletion condition is implemented.
図3は、外部定義ファイル(XMLファイルフォーマット)の例を示し、並列区間数の最大数、ひとつの区間情報の最大時間を設定している。 FIG. 3 shows an example of an external definition file (XML file format), in which the maximum number of parallel sections and the maximum time of one section information are set.
図4は、本実施形態におけるスケジュール検索での動作例を示し、区間A,B,Cでは検索期間に依存することなく拡大され、従来のみなし区間の切出しは行わない。 FIG. 4 shows an operation example in the schedule search in the present embodiment, and the sections A, B, and C are expanded without depending on the search period, and only the conventional section is not cut out.
したがって、本実施形態によれば、検索期間前の区間開始からの連続データとして区間データを取得可能となる。また、区間を連続データとして扱うため、確実に切り出し条件イベントの状態変数が取得可能となる。さらに、連続データとして区間データを取得可能となることにより、取得データを加工することなく利用(データ解析)することが可能となる。 Therefore, according to this embodiment, section data can be acquired as continuous data from the start of the section before the search period. Further, since the section is handled as continuous data, it is possible to reliably acquire the state variable of the extraction condition event. Furthermore, since section data can be acquired as continuous data, the acquired data can be used (data analysis) without being processed.
A データ収集部
B データ蓄積部
C データ検索部
1 スケジュール検索部
2 データ切出し区間管理部
3 区間切出し処理部
4 検索期間拡大部
5 最大保持期間および並列区間数設定部
A data collection part B data storage part C data search
Claims (6)
前記データ検索部は、
前記スケジュール検索の実行に際して、検索期間をまたがったデータ切出し区間も管理できるデータ切出し区間管理部と、
前記スケジュール検索による検索期間内の区間切り出し処理において、検索期間内に区間終了とならなかった場合は、切り出しを行うことなく、区間開始検出情報を保存する区間切出し処理部と、
前記区間切出し処理部による区間切り出し処理と共に、検索期間開始以前から開始している区間データについても検索期間として出力する検索期間拡大部と、
を備えたことを特徴とするデータのスケジュール検索方式。 In a data collection / storage / retrieval system equipped with a data retrieval unit that performs a schedule retrieval with a designated execution cycle from data that has been collected / accumulated according to a designated search condition,
The data search unit
When performing the schedule search, a data extraction section management unit that can also manage a data extraction section across the search period;
In the section cutout process within the search period by the schedule search, if the section does not end within the search period, a section cutout processing unit that saves the section start detection information without cutting out,
A search period expansion unit that outputs as a search period for the section data started before the start of the search period, together with the section cut-out process by the section cut-out processing unit,
A data schedule search method characterized by comprising:
前記データ検索部は、
前記スケジュール検索の実行に際して、検索期間をまたがったデータ切出し区間も管理できるデータ切出し区間管理ステップと、
前記スケジュール検索による検索期間内の区間切り出し処理において、検索期間内に区間終了とならなかった場合は、切り出しを行うことなく、区間開始検出情報を保存する区間切出し処理ステップと、
前記区間切出し処理部による区間切り出し処理と共に、検索期間開始以前から開始している区間データについても検索期間として出力する検索期間拡大ステップと、
を備えたことを特徴とするデータのスケジュール検索方法。 In a data collection / storage / retrieval system equipped with a data retrieval unit that performs a schedule retrieval with a designated execution cycle from data that has been collected / accumulated according to a designated search condition,
The data search unit
In performing the schedule search, a data extraction section management step capable of managing a data extraction section across a search period;
In the section cutout process within the search period by the schedule search, if the section does not end within the search period, the section cutout process step of saving the section start detection information without cutting out,
A search period expansion step for outputting as a search period for the section data started before the start of the search period, together with the section cutout process by the section cutout processing unit,
A schedule search method for data, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008008847A JP2009169801A (en) | 2008-01-18 | 2008-01-18 | Schedule retrieval system and retrieval method for data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008008847A JP2009169801A (en) | 2008-01-18 | 2008-01-18 | Schedule retrieval system and retrieval method for data |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009169801A true JP2009169801A (en) | 2009-07-30 |
Family
ID=40970871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008008847A Pending JP2009169801A (en) | 2008-01-18 | 2008-01-18 | Schedule retrieval system and retrieval method for data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009169801A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013012112A (en) * | 2011-06-30 | 2013-01-17 | Fujitsu Ltd | Data extraction method and data extraction device |
WO2015162769A1 (en) * | 2014-04-24 | 2015-10-29 | 三菱電機株式会社 | Programmable logic controller |
-
2008
- 2008-01-18 JP JP2008008847A patent/JP2009169801A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013012112A (en) * | 2011-06-30 | 2013-01-17 | Fujitsu Ltd | Data extraction method and data extraction device |
WO2015162769A1 (en) * | 2014-04-24 | 2015-10-29 | 三菱電機株式会社 | Programmable logic controller |
JP5951127B2 (en) * | 2014-04-24 | 2016-07-13 | 三菱電機株式会社 | Programmable logic controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107608860B (en) | Method, device and equipment for classified storage of error logs | |
CN101000614A (en) | File delete method and file open method | |
US10216862B1 (en) | Predictive estimation for ingestion, performance and utilization in a data indexing and query system | |
US9471362B2 (en) | Correlating hypervisor data for a virtual machine with associated operating system data | |
CN112486915B (en) | Data storage method and device | |
JP2007140791A (en) | Job execution management method, job execution management system and job execution management program | |
US10095737B2 (en) | Information storage system | |
CN111580948A (en) | Task scheduling method and device and computer equipment | |
CN103197927A (en) | Method and system for realizing flexible workflow | |
US8136012B2 (en) | Method and system for updating topology changes of a computer network | |
JP2009169801A (en) | Schedule retrieval system and retrieval method for data | |
CN112035418A (en) | Multi-computer room synchronization method, computing device and computer storage medium | |
US9921869B2 (en) | Data processing apparatus and data processing method | |
JP6834703B2 (en) | Business use file management system, business use file management method, and programs | |
JP6176380B2 (en) | Information processing apparatus, method, and program | |
JP5365273B2 (en) | Information processing system, monitoring method, and monitoring program | |
JP2006139676A (en) | Information management system | |
CN113377791A (en) | Data processing method, system and computing equipment | |
CN113672307A (en) | Data processing method, electronic device, and computer-readable storage medium | |
JP6048500B2 (en) | Information processing apparatus, information processing method, information processing program, and recording medium | |
CN106649720B (en) | Data processing method and server | |
JP2005242848A (en) | Batch job execution control system, program therefor, and recording medium with the program recorded thereon | |
US7149758B2 (en) | Data processing apparatus, data processing method, and data processing program | |
US20160210320A1 (en) | Log acquisition management program, log acquisition management device, and log acquisition management method | |
EP3799636B1 (en) | Efficient data unit reuse method and system |