JP2009026078A - Pattern definition generating program - Google Patents

Pattern definition generating program Download PDF

Info

Publication number
JP2009026078A
JP2009026078A JP2007188653A JP2007188653A JP2009026078A JP 2009026078 A JP2009026078 A JP 2009026078A JP 2007188653 A JP2007188653 A JP 2007188653A JP 2007188653 A JP2007188653 A JP 2007188653A JP 2009026078 A JP2009026078 A JP 2009026078A
Authority
JP
Japan
Prior art keywords
function name
pattern definition
function
parameter
pattern
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.)
Granted
Application number
JP2007188653A
Other languages
Japanese (ja)
Other versions
JP4861265B2 (en
Inventor
Eisuke Tajima
英佑 田島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007188653A priority Critical patent/JP4861265B2/en
Publication of JP2009026078A publication Critical patent/JP2009026078A/en
Application granted granted Critical
Publication of JP4861265B2 publication Critical patent/JP4861265B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To generates a pattern definition to identify a function installed to an application system. <P>SOLUTION: In this pattern definition generation device 100, a function name determination part 162 determines a function name based on log data 151, and a pattern definition generation part 163 generates a use history storage table 153 based on the log data 151 and the function name. Based on the use history memory table 153, the pattern definition generation part 163 extracts minimum items necessary to identify a function name from a combination of values of parameters corresponding to the function name, and generates a pattern definition table wherein the extracted items and the function name are associated with each other. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、アプリケーションの機能を特定するパターン定義テーブルを生成するパターン定義生成プログラムに関するものである。   The present invention relates to a pattern definition generation program for generating a pattern definition table for specifying an application function.

近年、利用者によるニーズの多様化によって、Web(World Wide Web)アプリケーションシステムは様々な機能を備え、利用者の要求に応じて各種サービスを提供している。そして、Webアプリケーションシステムの管理者は、利用者に提供するサービスの評価などを行うために、Webアプリケーションシステムに備えられた機能の使用状況を調べる必要があった。   In recent years, due to diversification of needs by users, Web (World Wide Web) application systems have various functions and provide various services according to user requests. The administrator of the Web application system has to check the usage status of the functions provided in the Web application system in order to evaluate the service provided to the user.

Webアプリケーションシステムに備えられた機能の使用状況を調べる場合には、Webサーバのアクセスログ情報を解析して特定のURL(Uniform Resource Locator)のアクセス頻度を計測した結果を用いる方法が知られている(例えば、特許文献1参照)。   When examining the usage status of functions provided in a Web application system, a method is known that uses the result of analyzing the access log information of a Web server and measuring the access frequency of a specific URL (Uniform Resource Locator). (For example, refer to Patent Document 1).

特開2000−293423号公報JP 2000-293423 A

しかしながら、URLによって機能が一意には決まらず、URLが同じでもパラメータにより異なる機能を提供するWebアプリケーションシステムでは、上述した従来の手法によって、機能の使用状況を判定することができないという問題があった。   However, the function is not uniquely determined by the URL, and in the Web application system that provides a different function depending on the parameter even if the URL is the same, there is a problem in that the usage status of the function cannot be determined by the conventional method described above. .

なお、システムの管理者が、URLおよび各種パラメータの組合せと機能とを対応付けたテーブルを作成し、かかるテーブルを用いて機能の使用状況を判定することも考えられるが、パラメータの種類は膨大であるため、人手によってかかるテーブルを作成することは現実的ではなかった。   It is also possible for the system administrator to create a table in which URLs and combinations of various parameters are associated with functions, and to determine the usage status of functions using such tables. However, the types of parameters are enormous. For this reason, manually creating such a table has not been practical.

すなわち、Webアプリケーションシステムに備えられた機能の使用状況の取得、集計を可能にするべく、アクセスログ情報からURLなどのパラメータの組み合わせを抽出して機能を特定するためのパターン定義を作成することが極めて重要な課題となっている。   That is, a pattern definition for specifying a function by extracting a combination of parameters such as a URL from access log information can be created so that the usage status of the function provided in the Web application system can be acquired and aggregated. This is an extremely important issue.

この発明は、上述した従来技術による問題点を解消するためになされたものであり、アクセスログ情報からURL、パラメータの組み合わせを抽出して機能を特定するためのパターン定義を作成可能なパターン定義生成プログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems caused by the prior art, and is capable of creating a pattern definition that can create a pattern definition for specifying a function by extracting a combination of URL and parameters from access log information. The purpose is to provide a program.

上述した課題を解決し、目的を達成するため、本発明は、記憶装置にアクセス可能なコンピュータに、複数の機能を備えたアプリケーションに対してアクセスを行った場合に履歴として残される複数のパラメータを含んだアクセスログを記憶装置に記憶するアクセスログ記憶手順と、前記アクセスログのパラメータの項目に含まれる文字列から前記アプリケーションの機能に対応する機能名を判定する機能名判定手順と、前記機能名に対応するパラメータの項目の組合せから前記機能名が特定されるのに必要な最低限の項目を抽出し、抽出した項目と前記機能名とを対応付けたパターン定義テーブルを生成するテーブル生成手順と、を実行させることを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention provides a computer that can access a storage device and a plurality of parameters that are left as a history when an application having a plurality of functions is accessed. An access log storage procedure for storing the included access log in a storage device, a function name determination procedure for determining a function name corresponding to the function of the application from a character string included in a parameter item of the access log, and the function name A table generation procedure for extracting a minimum item necessary for specifying the function name from a combination of parameter items corresponding to the item, and generating a pattern definition table in which the extracted item is associated with the function name; , Is executed.

また、本発明は、上記発明において、前記記憶装置は、前記機能名の候補となる複数の語句を含んだ辞書データが記憶されており、前記機能名判定手順は前記記憶装置に記憶された前記辞書データに含まれる語句と前記記憶装置に記憶されたアクセスログの前記パラメータの項目に含まれる文字列との一致率に基づいて機能名を判定することを特徴とする。   Further, the present invention is the above invention, wherein the storage device stores dictionary data including a plurality of words that are candidates for the function name, and the function name determination procedure is stored in the storage device. The function name is determined based on a matching rate between a word / phrase included in the dictionary data and a character string included in the parameter item of the access log stored in the storage device.

また、本発明は、上記発明において、前記機能名の判定対象となる文字列は前記アクセスログのページソースのタグに対応付けられて記憶されており、前記機能名判定手順は、前記一致率と前記タグの優先度に基づいて機能名を判定することを特徴とする。   Further, the present invention is the above invention, wherein the character string for which the function name is determined is stored in association with the tag of the page source of the access log, and the function name determination procedure includes the match rate and the match rate. The function name is determined based on the priority of the tag.

本発明によれば、複数の機能を備えたアプリケーションに対してアクセスを行った場合に履歴として残される複数のパラメータを含んだアクセスログを記憶装置に記憶し、アクセスログのパラメータの項目に含まれる文字列からアプリケーションの機能に対応する機能名を判定する。そして、判定した機能名に対応するパラメータの項目の組合せから機能名が特定されるのに必要な最低限の項目を抽出し、抽出した項目と機能名とを対応付けたパターン定義テーブルを生成するので、かかるパターン定義テーブルを利用することによって、Webアプリケーションの機能の使用状況の取得、集計を可能にすることができる。   According to the present invention, an access log including a plurality of parameters remaining as a history when an application having a plurality of functions is accessed is stored in the storage device, and is included in the parameter item of the access log. The function name corresponding to the application function is determined from the character string. Then, the minimum items necessary for specifying the function name are extracted from the combination of the parameter items corresponding to the determined function name, and a pattern definition table in which the extracted item is associated with the function name is generated. Therefore, by using such a pattern definition table, it is possible to acquire and aggregate the usage status of the functions of the Web application.

また、本発明によれば、記憶装置は、機能名の候補となる複数の語句を含んだ辞書データを記憶しており、辞書データに含まれる語句とパラメータの文字列と比較する。そして、辞書データに含まれる語句とパラメータの文字列との一致率に基づいて機能名を判定するので、機能の名称を適切に判定することができる。   Further, according to the present invention, the storage device stores dictionary data including a plurality of words that are candidate function names, and compares the words included in the dictionary data with the character string of the parameter. Since the function name is determined based on the matching rate between the word / phrase included in the dictionary data and the parameter character string, the function name can be determined appropriately.

また、本発明によれば、機能名の判定対象となる文字列はアクセスログのページソースのタグに対応付けられて記憶されており、辞書データに含まれる語句とパラメータの文字列との一致率とタグの優先度に基づいて機能名を判定するので、機能の名称を適切に判定することができる。   Further, according to the present invention, the character string for which the function name is determined is stored in association with the tag of the page source of the access log, and the matching rate between the word / phrase included in the dictionary data and the parameter character string Since the function name is determined based on the priority of the tag, the function name can be appropriately determined.

以下に添付図面を参照して、この発明に係るパターン定義生成プログラムの好適な実施の形態を詳細に説明する。   Exemplary embodiments of a pattern definition generation program according to the present invention will be explained below in detail with reference to the accompanying drawings.

まず、本実施例1にかかるパターン定義生成装置の概要および特徴について説明する。本実施例1にかかるパターン定義生成装置は、複数の機能を備えたWebアプリケーションに対してクライアントがアクセスを行った場合に履歴として残される複数のパラメータ(URL、セッションパラメータ、ページソース等)を含んだアクセスログを記憶し、アクセスログのパラメータの項目に含まれる文字列からWebアプリケーションの機能に対応する機能名を判定する。   First, an outline and features of the pattern definition generation apparatus according to the first embodiment will be described. The pattern definition generation apparatus according to the first embodiment includes a plurality of parameters (URL, session parameter, page source, etc.) that are retained as a history when a client accesses a Web application having a plurality of functions. The access log is stored, and the function name corresponding to the function of the Web application is determined from the character string included in the parameter item of the access log.

そして、パターン定義生成装置は、機能名に対応するパラメータの項目の組合せから、機能名が特定されるのに必要最低限の項目を抽出し、抽出した項目と機能名とを対応付けたパターン定義テーブルを生成する。   Then, the pattern definition generation device extracts the minimum items necessary for specifying the function name from the parameter item combination corresponding to the function name, and associates the extracted item with the function name. Generate a table.

このように、本実施例1にかかるパターン定義生成装置は、機能名が特定されるのに必要最低限の項目を抽出し、抽出した項目と機能名とを対応付けたパターン定義テーブルを生成するので、かかるパターン定義テーブルを利用することによって、Webアプリケーションの機能の使用状況の取得、集計を可能にすることができる。   As described above, the pattern definition generation apparatus according to the first embodiment extracts the minimum items necessary for specifying the function name, and generates a pattern definition table in which the extracted items are associated with the function names. Therefore, by using such a pattern definition table, it is possible to acquire and aggregate the usage status of the functions of the Web application.

次に、本実施例1にかかるパターン定義生成装置100の構成について説明する。図1は、本実施例1にかかるパターン定義生成装置100の構成を示す機能ブロック図である。同図に示すように、このパターン定義生成装置100は、Webアプリケーションシステム50に接続され、入力部110と、出力部120と、入出力制御IF部130と、通信制御IF部140と、記憶部150と、制御部160とを備えて構成される。   Next, the configuration of the pattern definition generation device 100 according to the first embodiment will be described. FIG. 1 is a functional block diagram of the configuration of the pattern definition generation device 100 according to the first embodiment. As shown in the figure, the pattern definition generation device 100 is connected to a Web application system 50, and includes an input unit 110, an output unit 120, an input / output control IF unit 130, a communication control IF unit 140, and a storage unit. 150 and a control unit 160.

ここで、Webアプリケーションシステム50は、各種のサービスを提供するための様々な機能を備え、ネットワークを介してクライアント(図示略)からのアクセス要求を取得した場合に、アクセス要求に対応するサービスを提供する装置である。また、Webアプリケーションシステム50は、クライアントとの間で行ったアクセスの履歴となるログデータを蓄積し、かかるログデータをパターン定義生成装置100に出力する。   Here, the Web application system 50 has various functions for providing various services, and provides a service corresponding to the access request when an access request from a client (not shown) is acquired via the network. It is a device to do. In addition, the Web application system 50 accumulates log data that is a history of accesses performed with the client, and outputs the log data to the pattern definition generation apparatus 100.

パターン定義生成装置100の説明に移ると、入力部110は、各種の情報を入力する入力手段であり、キーボードやマウス、マイクなどによって構成される。なお、後述するモニタ(出力部120)も、マウスと協働してポインティングディバイス機能を実現する。出力部120は、各種の情報を出力する出力手段であり、モニタ(若しくはディスプレイ、タッチパネル)やスピーカなどによって構成される。   Turning to the description of the pattern definition generating apparatus 100, the input unit 110 is an input unit for inputting various types of information, and includes a keyboard, a mouse, a microphone, and the like. A monitor (output unit 120), which will be described later, also realizes a pointing device function in cooperation with the mouse. The output unit 120 is an output unit that outputs various types of information, and includes a monitor (or display, touch panel), a speaker, and the like.

入出力制御IF部130は、入力部110、出力部120、通信制御IF部140、記憶部150、制御部160によるデータの入出力を制御する手段である。通信制御IF部140は、Webアプリケーション50との間における通信を制御する手段である。   The input / output control IF unit 130 is means for controlling input / output of data by the input unit 110, the output unit 120, the communication control IF unit 140, the storage unit 150, and the control unit 160. The communication control IF unit 140 is means for controlling communication with the Web application 50.

記憶部150は、制御部160による各種処理に必要なデータおよびプログラムを記憶する手段(格納手段)であり、特に本発明に密接に関連するものとしては、図1に示すように、ログデータ151と、類義語辞書データ152と、使用履歴記憶テーブル153と、パターン定義テーブル154とを備える。   The storage unit 150 is a unit (storage unit) that stores data and programs necessary for various processes performed by the control unit 160. In particular, as shown in FIG. 1, the log data 151 is closely related to the present invention. A synonym dictionary data 152, a usage history storage table 153, and a pattern definition table 154.

ログデータ151は、クライアントがWebアプリケーション50に対してアクセスを行った場合の履歴となるログデータである。図2は、本実施例1にかかるログデータ151のデータ構造の一例を示す図である。同図に示すように、このログデータ151は、各ログを識別する識別情報と、呼び出し元URL(REF_URL)と、呼び出されたURL(CALL_URL)と、セッションパラメータと、ページソースと、クライアントがアクセスした時刻を示すリクエスト時刻とを備える。   The log data 151 is log data that becomes a history when the client accesses the Web application 50. FIG. 2 is a diagram illustrating an example of a data structure of the log data 151 according to the first embodiment. As shown in the figure, the log data 151 includes identification information for identifying each log, a caller URL (REF_URL), a called URL (CALL_URL), a session parameter, a page source, and a client access. And a request time indicating the received time.

ここで、呼び出し元URLは、例えば、Webアプリケーションシステム50が提供するWebサイトのトップページのURLに対応し、呼び出されたURLは、かかるトップページから発生するページのURLに対応する。   Here, the caller URL corresponds to, for example, the URL of the top page of the Web site provided by the Web application system 50, and the called URL corresponds to the URL of the page generated from the top page.

また、セッションパラメータは、サイトにアクセスしたクライアントのIDやパスワードを示すパラメータであり、ページソースは、Webアプリケーションシステム50が提供するサイトのページソースを示す。   The session parameter is a parameter indicating the ID or password of the client that has accessed the site, and the page source is the page source of the site provided by the Web application system 50.

類義語辞書データ152は、Webアプリケーションシステム50が備える機能の機能名を判定する場合に使用されるデータであり、様々な語句を含んでいる。図3は、本実施例1にかかる類義語辞書データ152のデータ構造の一例を示す図である。   The synonym dictionary data 152 is data used when determining the function name of the function provided in the Web application system 50, and includes various phrases. FIG. 3 is a diagram illustrating an example of the data structure of the synonym dictionary data 152 according to the first embodiment.

使用履歴記憶テーブル153は、機能名とこの機能名に対応するパラメータの項目とを対応付けて記憶したテーブルである。図4は、本実施例1にかかる使用履歴記憶テーブル153のデータ構造の一例を示す図である。   The use history storage table 153 is a table that stores function names and parameter items corresponding to the function names in association with each other. FIG. 4 is a diagram illustrating an example of a data structure of the usage history storage table 153 according to the first embodiment.

図4に示すように、この使用履歴記憶テーブル153は、機能名と、URLと、モードと、初期化と、ユーザIDと、パスとを備える。ここで、URL、モード、初期化、ユーザIDの項目には、ログデータ151の各パラメータに含まれるデータが登録される。使用履歴記憶テーブル153の作成方法は後述する。   As shown in FIG. 4, the usage history storage table 153 includes a function name, a URL, a mode, an initialization, a user ID, and a path. Here, data included in each parameter of the log data 151 is registered in the items of URL, mode, initialization, and user ID. A method of creating the usage history storage table 153 will be described later.

パターン定義テーブル154は、機能名と、機能名を特定するのに必要最低限となる項目とを対応付けたテーブルである。図5は、本実施例1にかかるパターン定義テーブル154のデータ構造の一例を示す図である。   The pattern definition table 154 is a table in which function names are associated with items that are necessary to specify the function name. FIG. 5 is a diagram illustrating an example of the data structure of the pattern definition table 154 according to the first embodiment.

図5に示すように、このパターン定義テーブル154は、機能名と、URLと、モードと、初期化と、ユーザIDと、パスとを備える。ここで、URL、モード、初期化、ユーザIDの各項目のうち、機能名を特定するために最低限必要となる項目のみが登録される。   As shown in FIG. 5, the pattern definition table 154 includes a function name, a URL, a mode, an initialization, a user ID, and a path. Here, among the items of URL, mode, initialization, and user ID, only the items that are at least necessary for specifying the function name are registered.

例えば、図5の1段目では、機能名「入金新規作成」を特定するために最低限必要となるパラメータの項目は、URL「http://local/ap002.aspx」と、モード「new」となることを示している。パターン定義テーブル154の作成方法は後述する。   For example, in the first row of FIG. 5, the parameter items that are at least necessary to specify the function name “create new deposit” are URL “http: //local/ap002.aspx” and mode “new”. It shows that it becomes. A method for creating the pattern definition table 154 will be described later.

制御部160は、各種の処理手順を規定したプログラムや制御データを格納するための内部メモリを有し、これらによって種々の処理を実行する制御手段であり、特に本発明に密接に関連するものとしては、図1に示すように、ログデータ管理部161と、機能名判定部162と、パターン定義生成部163とを備える。   The control unit 160 has an internal memory for storing programs and control data that define various processing procedures, and is a control means for executing various processes by these, and is particularly closely related to the present invention. 1 includes a log data management unit 161, a function name determination unit 162, and a pattern definition generation unit 163.

ログデータ管理部161は、記憶部150に記憶されたログデータ151を管理する手段である。このログデータ管理部161は、Webアプリケーションシステム50からログデータを取得した場合に、取得したログデータによってログデータ151を更新する。   The log data management unit 161 is means for managing the log data 151 stored in the storage unit 150. When the log data management unit 161 acquires log data from the Web application system 50, the log data management unit 161 updates the log data 151 with the acquired log data.

機能名判定部162は、ログデータ151に含まれる文字列と類義語辞書データ152に含まれる語句との一致率に基づいて機能名を判定する手段である。以下において、機能名判定部162の処理を具体的に説明する。   The function name determination unit 162 is a means for determining the function name based on the matching rate between the character string included in the log data 151 and the word / phrase included in the synonym dictionary data 152. Hereinafter, the process of the function name determination unit 162 will be specifically described.

まず、機能名判定部162は、ログデータ151のページソースを参照し、ページソースのタグに挟まれた文字列とかかるタグとを対応付けた機能名候補データを生成する。図6は、本実施例1にかかる機能名候補データのデータ構造の一例を示す図である。   First, the function name determination unit 162 refers to the page source of the log data 151 and generates function name candidate data in which a character string sandwiched between tags of the page source is associated with the tag. FIG. 6 is a diagram illustrating an example of the data structure of the function name candidate data according to the first embodiment.

図6に示すように、この機能名候補データは、タグと、タグに挟まれた文字列とを対応付けて記憶している。また、各タグには優先順位が設定されており、優先順位の高いタグほど、機能名候補データの上段に位置しているものとする。   As shown in FIG. 6, the function name candidate data stores a tag and a character string sandwiched between the tags in association with each other. Also, priority is set for each tag, and it is assumed that the higher priority tag is located in the upper part of the function name candidate data.

機能名判定部162は、機能名候補データの候補文字列と、類義語辞書データ152とを比較して、一致率を求める。例えば、「入金新規作成」は、「入金」、「新規」、「作成」という語句から構成されており、この3つの語句のうち、2つの語句が類義語辞書データ152に含まれている場合には、一致率は、「2/3」となる。   The function name determination unit 162 compares the candidate character string of the function name candidate data with the synonym dictionary data 152 to obtain the matching rate. For example, “Create new deposit” is composed of the words “deposit”, “new”, and “create”, and two of these three phrases are included in the synonym dictionary data 152. The matching rate is “2/3”.

機能名判定部162は、各候補文字列のうち、一致率が最も大きい候補文字列を機能名として判定する。なお、一致率が同じ文字列が複数存在する場合には、優先度が最も大きいタグに挟まれた文字列を機能名として判定する。例えば、候補文字列「入金新規作成」と「新規作成」との一致率が等しい場合には、タグの優先度が大きい「入金新規作成」を機能名とする。   The function name determination unit 162 determines the candidate character string having the highest matching rate among the candidate character strings as the function name. When there are a plurality of character strings having the same match rate, the character string sandwiched between the tags having the highest priority is determined as the function name. For example, if the match rate between the candidate character strings “create new deposit” and “create new” is the same, “create new deposit” with a higher tag priority is used as the function name.

そして、機能名判定部162は、判定した機能名と機能名を判定する元となったログデータ151の識別情報とを対応付けた機能名抽出データをパターン定義生成部163に出力する。図7は、本実施例1にかかる機能名抽出データの一例を示す図である。同図に示すように、この機能名抽出データは、ログデータを識別する識別情報と、かかるログデータに対応する機能名とを対応付けて記憶している。   Then, the function name determination unit 162 outputs the function name extraction data in which the determined function name is associated with the identification information of the log data 151 from which the function name is determined, to the pattern definition generation unit 163. FIG. 7 is a diagram of an example of function name extraction data according to the first embodiment. As shown in the figure, the function name extraction data stores identification information for identifying log data and a function name corresponding to the log data in association with each other.

図1の説明に戻ると、パターン定義生成部163は、パターン定義テーブル154を生成する手段である。以下において、パターン定義生成部163が行う処理を具体的に説明する。まず、パターン定義生成部163は、機能名抽出データとログデータ151とを基にして、機能名と当該機能名に対応するパラメータの項目とを対応付けた使用履歴記憶テーブル153を生成する。   Returning to the description of FIG. 1, the pattern definition generation unit 163 is means for generating the pattern definition table 154. Hereinafter, the process performed by the pattern definition generation unit 163 will be specifically described. First, the pattern definition generation unit 163 generates a use history storage table 153 in which a function name and a parameter item corresponding to the function name are associated with each other based on the function name extraction data and the log data 151.

例えば、パターン定義生成部163は、機能名「入金新規作成」と当該機能名に対応するパラメータの項目とを対応付ける場合には、機能名抽出データの機能名「入金新規作成」の識別情報「1001」に対応するログデータ(図2の1段目)から各項目を抽出して、使用履歴記憶テーブル153に登録する。   For example, when the pattern definition generating unit 163 associates the function name “create new deposit” with the parameter item corresponding to the function name, the identification information “1001” of the function name “create new deposit” in the function name extraction data. Are extracted from the log data corresponding to “(1st row in FIG. 2)” and registered in the usage history storage table 153.

例えば、使用履歴記憶テーブル153において、機能名「入金新規作成」に対応するURLには、ログデータ151の呼び出されたURL「http://local/ap002.aspx」が登録され、モードには、呼び出されたURLのモード「new」が登録され、初期化には、呼び出されたURLに含まれる「TRUE」が登録され、ユーザIDには、セッションパラメータのユーザID「user1」が登録され、パスには、セッションパラメータのパス「user1pass」が登録される。パターン定義生成部163は、他の機能名に対しても上記と同様の手法によって、各パラメータの項目を登録していく。   For example, in the usage history storage table 153, the URL “http: //local/ap002.aspx” for which the log data 151 is called is registered in the URL corresponding to the function name “create new deposit”. The mode “new” of the called URL is registered, “TRUE” included in the called URL is registered for initialization, the user ID “user1” of the session parameter is registered for the user ID, and the path Is registered with the session parameter path “user1pass”. The pattern definition generation unit 163 registers each parameter item for other function names in the same manner as described above.

パターン定義生成部163は、使用履歴記憶テーブル153を生成した後に、使用履歴記憶テーブル153に基づいてパターン定義テーブル154を生成する。以下において、パターン定義生成部163がパターン定義テーブル154を生成する具体的な処理について説明する。なお、ここでは、説明の便宜上、図8に示す使用履歴記憶テーブル153を用いてパターン定義生成部163の説明を行う。図8は、パターン定義生成部163の処理を説明するための使用履歴記憶テーブルの一例を示す図である。   The pattern definition generation unit 163 generates the pattern definition table 154 based on the usage history storage table 153 after generating the usage history storage table 153. Hereinafter, a specific process in which the pattern definition generation unit 163 generates the pattern definition table 154 will be described. Here, for convenience of explanation, the pattern definition generation unit 163 will be described using the use history storage table 153 shown in FIG. FIG. 8 is a diagram illustrating an example of a usage history storage table for explaining the processing of the pattern definition generation unit 163.

まず、パターン定義生成部163は、使用履歴記憶テーブル153の機能名を参照し、特定の機能名の行を全て取り出す。図8に示す例では、パターン定義生成部163は、「得意先参照」に対応する行(1段目から5段目)を取り出す。   First, the pattern definition generation unit 163 refers to the function name in the usage history storage table 153 and extracts all rows with a specific function name. In the example illustrated in FIG. 8, the pattern definition generation unit 163 takes out a row (from the first level to the fifth level) corresponding to “customer reference”.

パターン定義生成部163は、取り出した行からパラメータを1つ選択し、選択したパラメータに複数種類の値がある場合には、1つの値に対応する行を全て取り出す。例えば、図8において、パラメータ「URL」を選択した場合には、かかるURLには複数の値「http://local/ms001.aspx」、「http://remote/mstv001.aspx」があるので、1つの値、例えば、「http://local/ms001.aspx」に対応する行、すなわち、1段目から3段目を取り出す。   The pattern definition generation unit 163 selects one parameter from the extracted rows, and if there are a plurality of types of values in the selected parameters, extracts all the rows corresponding to the one value. For example, in FIG. 8, when the parameter “URL” is selected, the URL has a plurality of values “http: //local/ms001.aspx” and “http: //remote/mstv001.aspx”. A row corresponding to one value, for example, “http: //local/ms001.aspx”, that is, the first row to the third row is taken out.

そして、パターン定義生成部163は、取り出した行に含まれる「URL」以外のパラメータのうち、値が1つであるもの(図8に示す例では、モードの「ref」が該当する値となる)とURLとの組合せをパターンとして生成する。その他のパラメータは複数の値を含む(パラメータ「初期化」は、「TRUE」、「FALSE」を含み、パラメータ「ユーザID」は「user1」、「user2」、「user3」を含み、パラメータ「パス」は、「user1pass」、「user2pass」、「user3pass」を含む)ため、URL「http://local/ms001.aspx」とモード「ref」との組合せが、機能名「得意先参照」を特定するパターンとなる。   Then, the pattern definition generation unit 163 has one parameter other than the “URL” included in the extracted line (in the example illustrated in FIG. 8, the mode “ref” is the corresponding value). ) And a URL are generated as a pattern. Other parameters include multiple values (parameter "initialization" includes "TRUE", "FALSE", parameter "user ID" includes "user1," "user2," "user3", parameter "path ”Includes“ user1pass ”,“ user2pass ”,“ user3pass ”), so the combination of URL“ http: //local/ms001.aspx ”and mode“ ref ”identifies the function name“ customer reference ” Pattern.

一方、パターン定義生成部163は、「http://remote/mstv001.aspx」に対応する行、すなわち、4段目から5段目を取り出し、上述した同様の手法を用いると、URL「http://remote/mstv001.aspx」とモード「ref」と初期化「TRUE」との組合せが、機能名「得意先参照」を特定するパターンとなる。   On the other hand, the pattern definition generation unit 163 takes out the line corresponding to “http: //remote/mstv001.aspx”, that is, the 4th to 5th rows, and uses the same method as described above, the URL “http: The combination of //remote/mstv001.aspx ”, mode“ ref ”and initialization“ TRUE ”is a pattern for identifying the function name“ customer reference ”.

パターン定義生成部163は、生成したパターンをパターン定義テーブルに登録する。図9は、図8に示した使用履歴記憶テーブルから生成されるパターン定義テーブルの一例を示す図である。同図に示すように、機能名「得意先参照」が特定されるのに必要最低限の項目の組合せは、URL「http://local/ms001.aspx」とモード「ref」との組み合わせパターンと、URL「http://remote/mstv001.aspx」とモード「ref」と初期化「TRUE」との組み合わせパターンとなる。   The pattern definition generation unit 163 registers the generated pattern in the pattern definition table. FIG. 9 is a diagram showing an example of a pattern definition table generated from the usage history storage table shown in FIG. As shown in the figure, the minimum combination of items required for specifying the function name “customer reference” is a combination pattern of URL “http: //local/ms001.aspx” and mode “ref” And a combination pattern of URL “http: //remote/mstv001.aspx”, mode “ref”, and initialization “TRUE”.

次に、本実施例1にかかるパターン定義生成装置100の処理手順について説明する。図10は、本実施例1にかかるパターン定義生成装置100の処理手順を示すフローチャートである。同図に示すように、パターン定義生成装置100は、パターン定義生成部163が、使用履歴記憶テーブル153を参照して、特定の機能名の行を取り出し(機能名の行をA群とする)(ステップS101)、A群からパラメータを1つ取り出す(パラメータをp1とする)(ステップS102)。   Next, a processing procedure of the pattern definition generation device 100 according to the first embodiment will be described. FIG. 10 is a flowchart of a process procedure of the pattern definition generation device 100 according to the first embodiment. As shown in the figure, in the pattern definition generation device 100, the pattern definition generation unit 163 refers to the use history storage table 153 and extracts a line with a specific function name (the function name line is set as group A). (Step S101), one parameter is extracted from the group A (the parameter is set to p1) (step S102).

そして、パターン定義生成装置100は、p1の値が2種類以上であるか否かを判定し(ステップS103)、2種類未満である場合には(ステップS104,No)、ステップS102に移行する。   Then, the pattern definition generation apparatus 100 determines whether or not the value of p1 is two or more types (step S103), and if it is less than two types (step S104, No), the process proceeds to step S102.

一方、p1の値が2種類以上である場合には(ステップS104,Yes)、パターン追加解析処理を実行し(ステップS105)、A群にp1以外のパラメータが存在するか否かを判定する(ステップS106)。   On the other hand, when there are two or more values of p1 (step S104, Yes), pattern addition analysis processing is executed (step S105), and it is determined whether or not parameters other than p1 exist in the A group (step S105). Step S106).

A群にp1以外のパラメータが存在する場合には(ステップS107,Yes)、ステップS102に移行する。一方、A群にp1以外のパラメータが存在しない場合には(ステップS107,No)、パラメータの値が1種類であるものを含めてパターンとし(ステップS108)、未処理の機能名が存在するか否かを判定する(ステップS109)。   If a parameter other than p1 exists in the A group (step S107, Yes), the process proceeds to step S102. On the other hand, if there is no parameter other than p1 in the group A (step S107, No), a pattern including one type of parameter value is used (step S108), and there is an unprocessed function name. It is determined whether or not (step S109).

未処理の機能名が存在する場合には(ステップS110,Yes)、未処理の機能名の行を取り出し(ステップS111)、ステップS102に移行する。一方、未処理の機能名が存在しない場合には(ステップS110,No)、処理を終了する。   If an unprocessed function name exists (step S110, Yes), an unprocessed function name line is extracted (step S111), and the process proceeds to step S102. On the other hand, when there is no unprocessed function name (step S110, No), the process is terminated.

ここで、図10のステップS105に示したパターン追加解析処理の処理手順について説明する。図11、図12は、パターン追加解析処理を示すフローチャートである。同図に示すように、パターン定義生成部163は、p1から1つの値を選択し(値をαとする)(ステップS201)、p1の値がαである行を全て抽出する(抽出した行をC群とする)(ステップS202)。   Here, the process procedure of the pattern addition analysis process shown in step S105 of FIG. 10 will be described. 11 and 12 are flowcharts showing the pattern addition analysis process. As shown in the figure, the pattern definition generation unit 163 selects one value from p1 (value is α) (step S201), and extracts all rows where the value of p1 is α (extracted rows). (Group S) (Step S202).

そして、パターン定義生成部163が、p1以外のパラメータを選択し(パラメータをp2とする)(ステップS203)、p2の値は1種類か否かを判定し(ステップS204)、p2の値が1種類ではない場合に(ステップS205,No)、ステップS203に移行する。   Then, the pattern definition generation unit 163 selects a parameter other than p1 (the parameter is set to p2) (step S203), determines whether the value of p2 is one type (step S204), and the value of p2 is 1. When it is not a type (step S205, No), it transfers to step S203.

一方、p2の値が1種類である場合に(p2の値をβとする)(ステップS205,Yes)、p1の値(α)およびp2の値(β)からパターンを決定し(パターンをr1とする)(ステップS206)、r1に合致する行を使用履歴記憶テーブル153から全て抽出する(抽出した行をD群とする)(ステップS207)。   On the other hand, when the value of p2 is one type (the value of p2 is β) (step S205, Yes), the pattern is determined from the value of p1 (α) and the value of p2 (β) (pattern is r1). (Step S206), all the rows that match r1 are extracted from the usage history storage table 153 (the extracted rows are set as group D) (Step S207).

パターン定義生成部163は、D群からr1に使用されていないパラメータを選択し(パラメータをp3とする)(ステップS208)、p3の値が1種類であるか否かを判定し(ステップS209)、p3の値が1種類ではない場合に(ステップS210,No)、ステップS208に移行する。   The pattern definition generation unit 163 selects a parameter not used for r1 from the D group (the parameter is set to p3) (step S208), and determines whether or not the value of p3 is one type (step S209). When the value of p3 is not one type (No at Step S210), the process proceeds to Step S208.

一方、p3の値が1種類である場合に(p3の値をγとする)(ステップS210,Yes)、r1とγとを合わせてパターンとし(パターンをr1とする)(ステップS211)、D群にp3以外のパラメータが存在するか否かを判定する(ステップS212)。   On the other hand, when the value of p3 is one type (the value of p3 is γ) (step S210, Yes), r1 and γ are combined into a pattern (pattern is set to r1) (step S211), D It is determined whether a parameter other than p3 exists in the group (step S212).

D群にp3以外のパラメータが存在する場合には(ステップS213,Yes)、ステップS207に移行する。一方、D群にp3以外のパラメータが存在しない場合には(ステップS213,No)、パターン(r1)をパターン定義テーブル154に登録し(ステップS214)、C群に選択していないパラメータが存在するか否かを判定する(ステップS215)。   When a parameter other than p3 exists in the D group (step S213, Yes), the process proceeds to step S207. On the other hand, if there is no parameter other than p3 in group D (step S213, No), the pattern (r1) is registered in the pattern definition table 154 (step S214), and there is an unselected parameter in group C. Is determined (step S215).

そして、C群に選択していないパラメータが存在する場合には(ステップS216,Yes)、ステップS203に移行する。一方、C群に選択していないパラメータが存在しない場合には(ステップS216,No)、p1に選択していない値が存在するか否かを判定する(ステップS217)。   If there is an unselected parameter in the C group (step S216, Yes), the process proceeds to step S203. On the other hand, if there is no unselected parameter in group C (No in step S216), it is determined whether there is an unselected value in p1 (step S217).

p1に選択していない値が存在する場合には(ステップS218,Yes)、ステップS201に移行する。一方、p1に選択していない値が存在しない場合には(ステップS218,No)、パターン追加解析処理を終了する。   If there is an unselected value in p1 (step S218, Yes), the process proceeds to step S201. On the other hand, when there is no unselected value for p1 (step S218, No), the pattern addition analysis process is terminated.

このように、パターン定義生成部163は、使用履歴記憶テーブル153に基づいて、機能名(Webアプリケーションシステム50の機能)を特定するための最低限の項目を抽出し、抽出した項目と機能名とを対応付けたパターン定義テーブル154を作成するので、かかるパターン定義テーブル154を用いることで、URLと機能とが1対1にならないケースでも、機能を特定することができる。   As described above, the pattern definition generation unit 163 extracts the minimum items for specifying the function name (the function of the Web application system 50) based on the use history storage table 153, and extracts the extracted item, the function name, and the like. Since the pattern definition table 154 in which the URL is associated is created, the function can be specified even when the URL and the function are not one-to-one by using the pattern definition table 154.

上述してきたように、本実施例1にかかるパターン定義生成装置100は、機能名判定部162がログデータ151に基づいて機能名を判定し、パターン定義生成部163が、ログデータ151および機能名を基にして、使用履歴記憶テーブル153を作成し、使用履歴記憶テーブル153に基づいて、機能名に対応するパラメータの値の組合せから機能名が特定されるのに必要な最低限の項目を抽出し、抽出した項目と前記機能名とを対応付けたパターン定義テーブル154を生成するので、かかるパターン定義テーブル154を利用することによって、Webアプリケーションシステム50の機能の使用状況の取得、集計を可能にすることができる。また、パターン定義生成装置100が、自動的にパターン定義テーブル154を生成するので、管理者の負担を軽減することができる。   As described above, in the pattern definition generation device 100 according to the first embodiment, the function name determination unit 162 determines the function name based on the log data 151, and the pattern definition generation unit 163 determines the log data 151 and the function name. Based on the above, the usage history storage table 153 is created, and based on the usage history storage table 153, the minimum items necessary for specifying the function name are extracted from the combination of parameter values corresponding to the function name Then, since the pattern definition table 154 in which the extracted item and the function name are associated with each other is generated, the usage status of the function of the Web application system 50 can be acquired and aggregated by using the pattern definition table 154. can do. In addition, since the pattern definition generation device 100 automatically generates the pattern definition table 154, the burden on the administrator can be reduced.

さて、これまで本発明の実施例について説明したが、本発明は上述した実施例1以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では実施例2として本発明に含まれる他の実施例を説明する。   Although the embodiments of the present invention have been described so far, the present invention may be implemented in various different forms other than the first embodiment described above. Therefore, another embodiment included in the present invention will be described below as a second embodiment.

(1)パターン定義テーブルの利用例
本実施例1にかかるパターン定義生成装置100が生成したパターン定義テーブル154を用いて、各種の処理を行うことができる。例えば、Webアプリケーションシステム50が、パターン定義テーブル154を予め保持しておき、かかるパターン定義テーブル154とログデータ151とを比較することによって、機能の使用状況を判定することができる。
(1) Usage Example of Pattern Definition Table Various processes can be performed using the pattern definition table 154 generated by the pattern definition generation apparatus 100 according to the first embodiment. For example, the Web application system 50 can hold the pattern definition table 154 in advance, and compare the pattern definition table 154 with the log data 151 to determine the function usage status.

また、Webアプリケーションシステム50が、アクセスログとパターン定義テーブル154とを比較することによって、特定の業務処理を行う場合に使用される機能を特定し、複数の機能中で関連する機能を判定することができる。また、特定の機能とかかる機能を利用可能なユーザおよび使用時間とを対応付けた認証情報は記憶しておき、パターン定義テーブルで機能を特定した後に、アクセスを行ったユーザおよび使用時間と認証情報と比較することで不正使用を防止することができる。   Further, the web application system 50 compares the access log with the pattern definition table 154 to identify a function used when performing a specific business process and determine a related function among a plurality of functions. Can do. In addition, authentication information in which a specific function is associated with a user who can use such a function and a usage time is stored, and after specifying the function in the pattern definition table, the user who performed the access, the usage time, and the authentication information By comparing with, unauthorized use can be prevented.

(2)システム構成など
本実施例において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。
(2) System configuration, etc. Of the processes described in this embodiment, all or part of the processes described as being automatically performed can be performed manually, or can be performed manually. All or part of the described processing can be automatically performed by a known method. In addition, the processing procedure, control procedure, specific name, and information including various data and parameters shown in the above-described document and drawings can be arbitrarily changed unless otherwise specified.

また、図示した各装置の各構成要件は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、例えば、Webアプリケーションシステム50およびパターン定義生成装置100を統合してもよい。さらに、各装置にて行われる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいはワイヤードロジックによるハードウェアとして実現され得る。   Each component of the illustrated devices is functionally conceptual and does not necessarily need to be physically configured as illustrated. That is, the specific form of distribution / integration of each device is not limited to the illustrated one, and for example, the Web application system 50 and the pattern definition generation device 100 may be integrated. Further, all or a part of each processing function performed in each device may be realized by a CPU and a program that is analyzed and executed by the CPU, or may be realized as hardware by wired logic.

図13は、図1に示したパターン定義生成装置100が備えるコンピュータのハードウェア構成を示す図である。このコンピュータ30は、ユーザからのデータの入力を受け付ける入力装置31、モニタ32、RAM(Random Access Memory)33、ROM(Read Only Memory)34、記憶媒体からデータを読み取る媒体読取装置35、通信IF36、CPU(Central Processing Unit)37、およびHDD(Hard Disk Drive)38をバス39で接続して構成される。   FIG. 13 is a diagram illustrating a hardware configuration of a computer included in the pattern definition generation device 100 illustrated in FIG. The computer 30 includes an input device 31 that receives data input from a user, a monitor 32, a RAM (Random Access Memory) 33, a ROM (Read Only Memory) 34, a medium reading device 35 that reads data from a storage medium, a communication IF 36, A central processing unit (CPU) 37 and a hard disk drive (HDD) 38 are connected by a bus 39.

そして、HDD38には、上述したパターン定義生成装置100の機能と同様の機能を発揮するパターン定義処理プログラム38bが記憶されている。そして、CPU37がパターン定義処理プログラム38bをHDD38から読み出して実行することにより、上述したパターン定義生成装置100の機能部の機能を実現するパターン定義処理プロセス37aが起動される。このパターン定義処理プロセス37aは、図1に示したログデータ管理部161、機能名判定部162、パターン定義生成部163にそれぞれ対応する。   The HDD 38 stores a pattern definition processing program 38b that exhibits the same function as the function of the pattern definition generation apparatus 100 described above. Then, when the CPU 37 reads the pattern definition processing program 38b from the HDD 38 and executes it, the pattern definition processing process 37a that realizes the function of the functional unit of the pattern definition generation apparatus 100 described above is activated. The pattern definition processing process 37a corresponds to the log data management unit 161, the function name determination unit 162, and the pattern definition generation unit 163 shown in FIG.

また、HDD38には、上述したパターン定義生成装置100の記憶部150に記憶されるデータに対応する各種データ38aが記憶される。この各種データ38aは、図1に示したログデータ151、類義語辞書データ152、使用履歴記憶テーブル153、パターン定義テーブル154に対応する。   The HDD 38 stores various data 38a corresponding to the data stored in the storage unit 150 of the pattern definition generation apparatus 100 described above. The various data 38a corresponds to the log data 151, the synonym dictionary data 152, the usage history storage table 153, and the pattern definition table 154 shown in FIG.

CPU37は、各種データ38aをHDD38に記憶するとともに、各種データ38aをHDD38から読み出してRAM33に格納し、RAM33に格納された各種データ33aを利用してパターン定義テーブルの生成処理を行う。   The CPU 37 stores various data 38 a in the HDD 38, reads the various data 38 a from the HDD 38, stores the data 38 a in the RAM 33, and performs a pattern definition table generation process using the various data 33 a stored in the RAM 33.

(付記1)記憶装置にアクセス可能なコンピュータに、
複数の機能を備えたアプリケーションに対してアクセスを行った場合に履歴として残される複数のパラメータを含んだアクセスログを前記記憶装置に記憶するアクセスログ記憶手順と、
前記アクセスログのパラメータの項目に含まれる文字列から前記アプリケーションの機能に対応する機能名を判定する機能名判定手順と、
前記機能名に対応するパラメータの項目の組合せから前記機能名が特定されるのに必要な最低限の項目を抽出し、抽出した項目と前記機能名とを対応付けたパターン定義テーブルを生成するテーブル生成手順と、
を実行させるためのパターン定義生成プログラム。
(Appendix 1) To a computer that can access a storage device,
An access log storage procedure for storing, in the storage device, an access log including a plurality of parameters that are retained as a history when an application having a plurality of functions is accessed;
A function name determination procedure for determining a function name corresponding to the function of the application from a character string included in the parameter item of the access log;
A table that extracts a minimum item necessary for specifying the function name from a combination of parameter items corresponding to the function name, and generates a pattern definition table in which the extracted item is associated with the function name Generation procedure,
Pattern definition generation program to execute

(付記2)前記記憶装置は、前記機能名の候補となる複数の語句を含んだ辞書データが記憶されており、前記機能名判定手順は前記記憶装置に記憶された前記辞書データに含まれる語句と前記記憶装置に記憶されたアクセスログの前記パラメータの項目に含まれる文字列との一致率に基づいて機能名を判定することを特徴とする付記1に記載のパターン定義生成プログラム。 (Supplementary Note 2) The storage device stores dictionary data including a plurality of words and phrases that are candidates for the function name, and the function name determination procedure includes words and phrases included in the dictionary data stored in the storage device. 2. The pattern definition generation program according to claim 1, wherein the function name is determined based on a match rate between the character string included in the parameter item of the access log stored in the storage device.

(付記3)前記機能名の判定対象となる文字列は前記アクセスログのページソースのタグに対応付けられて記憶されており、前記機能名判定手順は、前記一致率と前記タグの優先度に基づいて機能名を判定することを特徴とする付記2に記載のパターン定義生成プログラム。 (Supplementary note 3) The character string to be determined for the function name is stored in association with the tag of the page source of the access log, and the function name determination procedure is based on the match rate and the priority of the tag. The pattern definition generation program according to appendix 2, wherein the function name is determined based on the function name.

(付記4)前記テーブル生成手順は、前記機能名に対応するパラメータの項目のうち、当該項目の種類が単一となる項目を選択し、選択した項目と前記機能名とを対応付けることによりパターン定義テーブルを生成することを特徴とする付記1〜3のいずれか一つに記載のパターン定義生成プログラム。 (Additional remark 4) The said table production | generation procedure selects the item from which the type of the said item is single among the parameter items corresponding to the said function name, and matches a selected item and the said function name, and pattern definition The pattern definition generation program according to any one of appendices 1 to 3, wherein a table is generated.

(付記5)複数の機能を備えたアプリケーションに対してアクセスを行った場合に履歴として残される複数のパラメータを含んだアクセスログを記憶装置に記憶するアクセスログ記憶工程と、
前記アクセスログのパラメータの項目に含まれる文字列から前記アプリケーションの機能に対応する機能名を判定する機能名判定工程と、
前記機能名に対応するパラメータの項目の組合せから前記機能名が特定されるのに必要な最低限の項目を抽出し、抽出した項目と前記機能名とを対応付けたパターン定義テーブルを生成するテーブル生成工程と、
を含んだことを特徴とするパターン定義生成方法。
(Supplementary Note 5) An access log storage step of storing in the storage device an access log including a plurality of parameters remaining as a history when an application having a plurality of functions is accessed;
A function name determination step of determining a function name corresponding to the function of the application from a character string included in the parameter item of the access log;
A table that extracts a minimum item necessary for specifying the function name from a combination of parameter items corresponding to the function name, and generates a pattern definition table in which the extracted item is associated with the function name Generation process;
A pattern definition generating method characterized by including

(付記6)前記記憶装置は、前記機能名の候補となる複数の語句を含んだ辞書データが記憶されており、前記機能名判定工程は前記記憶装置に記憶された辞書データに含まれる語句と前記記憶装置に記憶されたアクセスログの前記パラメータの項目に含まれる文字列との一致率に基づいて機能名を判定することを特徴とする付記5に記載のパターン定義生成方法。 (Supplementary Note 6) The storage device stores dictionary data including a plurality of words that are candidates for the function name, and the function name determination step includes words and phrases included in the dictionary data stored in the storage device. The pattern definition generation method according to appendix 5, wherein the function name is determined based on a matching rate with a character string included in the parameter item of the access log stored in the storage device.

(付記7)前記機能名の判定対象となる文字列は前記アクセスログのページソースのタグに対応付けられて記憶されており、前記機能名判定工程は、前記一致率と前記タグの優先度に基づいて機能名を判定することを特徴とする付記6に記載のパターン定義生成方法。 (Supplementary note 7) The character string to be determined for the function name is stored in association with the tag of the page source of the access log, and the function name determination step determines the match rate and the priority of the tag. The pattern definition generation method according to appendix 6, wherein the function name is determined based on the function name.

(付記8)前記テーブル生成工程は、前記機能名に対応するパラメータの項目のうち、当該項目の種類が単一となる項目を選択し、選択した項目と前記機能名とを対応付けることによりパターン定義テーブルを生成することを特徴とする付記5〜7のいずれか一つに記載のパターン定義生成方法。 (Additional remark 8) The said table production | generation process selects the item from which the type of the said item is single among the parameter items corresponding to the said function name, and matches a selected item and the said function name, and pattern definition The pattern definition generation method according to any one of appendices 5 to 7, wherein a table is generated.

(付記9)複数の機能を備えたアプリケーションに対してアクセスを行った場合に履歴として残される複数のパラメータを含んだアクセスログを記憶するアクセスログ記憶手段と、
前記アクセスログのパラメータの項目に含まれる文字列から前記アプリケーションの機能に対応する機能名を判定する機能名判定手段と、
前記機能名に対応するパラメータの項目の組合せから前記機能名が特定されるのに必要な最低限の項目を抽出し、抽出した項目と前記機能名とを対応付けたパターン定義テーブルを生成するテーブル生成手段と、
を備えたことを特徴とするパターン定義生成装置。
(Supplementary Note 9) An access log storage unit that stores an access log including a plurality of parameters that are left as a history when an application having a plurality of functions is accessed;
A function name determination means for determining a function name corresponding to the function of the application from a character string included in the parameter item of the access log;
A table that extracts a minimum item necessary for specifying the function name from a combination of parameter items corresponding to the function name, and generates a pattern definition table in which the extracted item is associated with the function name Generating means;
A pattern definition generating apparatus comprising:

(付記10)前記アクセスログ記憶手段は、前記機能名の候補となる複数の語句を含んだ辞書データを記憶し、前記機能名判定手段は前記辞書データに含まれる語句と前記アクセスログの前記パラメータの項目に含まれる文字列との一致率に基づいて機能名を判定することを特徴とする付記9に記載のパターン定義生成装置。 (Supplementary Note 10) The access log storage unit stores dictionary data including a plurality of words and phrases that are candidates for the function name, and the function name determination unit includes words and phrases included in the dictionary data and the parameters of the access log. The pattern definition generation device according to appendix 9, wherein the function name is determined based on a matching rate with a character string included in the item.

(付記11)前記機能名の判定対象となる文字列は前記アクセスログのページソースのタグに対応付けられて記憶されており、前記機能名判定手段は、前記一致率と前記タグの優先度に基づいて機能名を判定することを特徴とする付記10に記載のパターン定義生成装置。 (Additional remark 11) The character string used as the determination target of the function name is stored in association with the tag of the page source of the access log, and the function name determination means determines the match rate and the priority of the tag. The pattern definition generation device according to attachment 10, wherein the function name is determined based on the function name.

(付記12)前記テーブル生成手段は、前記機能名に対応するパラメータの項目のうち、当該項目の種類が単一となる項目を選択し、選択した項目と前記機能名とを対応付けることによりパターン定義テーブルを生成することを特徴とする付記9〜11のいずれか一つに記載のパターン定義生成装置。 (Additional remark 12) The said table production | generation means selects the item from which the kind of the said item is single among the items of the parameter corresponding to the said function name, A pattern definition is matched with the selected item and the said function name The pattern definition generation device according to any one of appendices 9 to 11, wherein the table is generated.

以上のように、本発明にかかるパターン定義生成プログラムは、複数の機能を備えたアプリケーションシステムなどに有用であり、特に、各機能の使用状況などを調べる場合に適している。   As described above, the pattern definition generation program according to the present invention is useful for an application system having a plurality of functions, and is particularly suitable for examining the usage status of each function.

本実施例1にかかるパターン定義生成装置の構成を示す機能ブロック図である。1 is a functional block diagram illustrating a configuration of a pattern definition generation device according to a first embodiment; 本実施例1にかかるログデータのデータ構造の一例を示す図である。FIG. 3 is a diagram illustrating an example of a data structure of log data according to the first embodiment. 本実施例1にかかる類義語辞書データのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the synonym dictionary data concerning the present Example 1. 本実施例1にかかる使用履歴記憶テーブルのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the use log | history storage table concerning the present Example 1. FIG. 本実施例1にかかるパターン定義テーブルのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the pattern definition table concerning the present Example 1. FIG. 本実施例1にかかる機能名候補データのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the function name candidate data concerning the present Example 1. FIG. 本実施例1にかかる機能名抽出データの一例を示す図である。It is a figure which shows an example of the function name extraction data concerning the present Example 1. FIG. パターン定義生成部の処理を説明するための使用履歴記憶テーブルの一例を示す図である。It is a figure which shows an example of the use log | history storage table for demonstrating the process of a pattern definition production | generation part. 図8に示した使用履歴記憶テーブルから生成されるパターン定義テーブルの一例を示す図である。It is a figure which shows an example of the pattern definition table produced | generated from the use log | history storage table shown in FIG. 本実施例1にかかるパターン定義生成装置の処理手順を示すフローチャートである。3 is a flowchart illustrating a processing procedure of the pattern definition generation device according to the first embodiment. パターン追加解析処理を示すフローチャート(1)である。It is a flowchart (1) which shows a pattern addition analysis process. パターン追加解析処理を示すフローチャート(2)である。It is a flowchart (2) which shows a pattern addition analysis process. 図1に示したパターン定義生成装置が備えるコンピュータのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the computer with which the pattern definition production | generation apparatus shown in FIG. 1 is provided.

符号の説明Explanation of symbols

30 コンピュータ
31 入力装置
32 モニタ
33 RAM
33a 各種データ
38a 各種データ
34 ROM
35 媒体読取装置
36 通信IF
37 CPU
37a パターン定義処理プロセス
38 パターン定義プログラム
50 Webアプリケーションシステム
100 パターン定義生成装置
110 入力部
120 出力部
130 入出力制御IF部
140 通信制御IF部
150 記憶部
151 ログデータ
152 類義語辞書データ
153 使用履歴記憶テーブル
154 パターン定義テーブル
160 制御部
161 ログデータ管理部
162 機能名判定部
163 パターン定義生成部
30 Computer 31 Input Device 32 Monitor 33 RAM
33a Various data 38a Various data 34 ROM
35 Media reader 36 Communication IF
37 CPU
37a Pattern definition processing process 38 Pattern definition program 50 Web application system 100 Pattern definition generation device 110 Input unit 120 Output unit 130 Input / output control IF unit 140 Communication control IF unit 150 Storage unit 151 Log data 152 Synonym dictionary data 153 Usage history storage table 154 Pattern Definition Table 160 Control Unit 161 Log Data Management Unit 162 Function Name Determination Unit 163 Pattern Definition Generation Unit

Claims (3)

記憶装置にアクセス可能なコンピュータに、
複数の機能を備えたアプリケーションに対してアクセスを行った場合に履歴として残される複数のパラメータを含んだアクセスログを前記記憶装置に記憶するアクセスログ記憶手順と、
前記アクセスログのパラメータの項目に含まれる文字列から前記アプリケーションの機能に対応する機能名を判定する機能名判定手順と、
前記機能名に対応するパラメータの項目の組合せから前記機能名が特定されるのに必要な最低限の項目を抽出し、抽出した項目と前記機能名とを対応付けたパターン定義テーブルを生成するテーブル生成手順と、
を実行させるためのパターン定義生成プログラム。
To a computer that can access the storage device,
An access log storage procedure for storing, in the storage device, an access log including a plurality of parameters that are retained as a history when an application having a plurality of functions is accessed;
A function name determination procedure for determining a function name corresponding to the function of the application from a character string included in the parameter item of the access log;
A table that extracts a minimum item necessary for specifying the function name from a combination of parameter items corresponding to the function name, and generates a pattern definition table in which the extracted item is associated with the function name Generation procedure,
Pattern definition generation program to execute
前記記憶装置は、前記機能名の候補となる複数の語句を含んだ辞書データが記憶されており、前記機能名判定手順は前記記憶装置に記憶された前記辞書データに含まれる語句と前記記憶装置に記憶されたアクセスログの前記パラメータの項目に含まれる文字列との一致率に基づいて機能名を判定することを特徴とする請求項1に記載のパターン定義生成プログラム。   The storage device stores dictionary data including a plurality of words that are candidates for the function name, and the function name determination procedure includes words and phrases included in the dictionary data stored in the storage device. The pattern definition generation program according to claim 1, wherein the function name is determined based on a matching rate with a character string included in the parameter item of the access log stored in the function log. 前記機能名の判定対象となる文字列は前記アクセスログのページソースのタグに対応付けられて記憶されており、前記機能名判定手順は、前記一致率と前記タグの優先度に基づいて機能名を判定することを特徴とする請求項2に記載のパターン定義生成プログラム。   The character string for which the function name is determined is stored in association with the tag of the page source of the access log, and the function name determination procedure is based on the match rate and the priority of the tag. The pattern definition generation program according to claim 2, wherein:
JP2007188653A 2007-07-19 2007-07-19 Pattern definition generation program Expired - Fee Related JP4861265B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007188653A JP4861265B2 (en) 2007-07-19 2007-07-19 Pattern definition generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007188653A JP4861265B2 (en) 2007-07-19 2007-07-19 Pattern definition generation program

Publications (2)

Publication Number Publication Date
JP2009026078A true JP2009026078A (en) 2009-02-05
JP4861265B2 JP4861265B2 (en) 2012-01-25

Family

ID=40397829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007188653A Expired - Fee Related JP4861265B2 (en) 2007-07-19 2007-07-19 Pattern definition generation program

Country Status (1)

Country Link
JP (1) JP4861265B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012252594A (en) * 2011-06-03 2012-12-20 Fujitsu Ltd Name identification rule generating method, apparatus and program
JP2015095065A (en) * 2013-11-12 2015-05-18 富士通株式会社 Analysis method, analysis apparatus, and analysis program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10111744A (en) * 1996-10-04 1998-04-28 Toshiba Corp Operation history use supporting device and its method, storage medium storing program executing operation history use supporting function
JP2000293423A (en) * 1999-04-07 2000-10-20 Fujitsu Ltd Device for automatic updating of homepage menu, recording medium stored with program implementing update, and information presentation method for homepage
JP2002132678A (en) * 2000-10-26 2002-05-10 Saigon:Kk Event generation processing system, event generation processing method, and recording medium with the method recorded thereon

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10111744A (en) * 1996-10-04 1998-04-28 Toshiba Corp Operation history use supporting device and its method, storage medium storing program executing operation history use supporting function
JP2000293423A (en) * 1999-04-07 2000-10-20 Fujitsu Ltd Device for automatic updating of homepage menu, recording medium stored with program implementing update, and information presentation method for homepage
JP2002132678A (en) * 2000-10-26 2002-05-10 Saigon:Kk Event generation processing system, event generation processing method, and recording medium with the method recorded thereon

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012252594A (en) * 2011-06-03 2012-12-20 Fujitsu Ltd Name identification rule generating method, apparatus and program
JP2015095065A (en) * 2013-11-12 2015-05-18 富士通株式会社 Analysis method, analysis apparatus, and analysis program
US9632899B2 (en) 2013-11-12 2017-04-25 Fujitsu Limited Method for analyzing request logs in advance to acquire path information for identifying problematic part during operation

Also Published As

Publication number Publication date
JP4861265B2 (en) 2012-01-25

Similar Documents

Publication Publication Date Title
US20220308942A1 (en) Systems and methods for censoring text inline
US11704342B2 (en) Similarity sharding
US10769369B2 (en) Correlating distinct events using linguistic analysis
US8301653B2 (en) System and method for capturing and reporting online sessions
US10235160B2 (en) Controlled deployment of application feature
CN102779114A (en) Unstructured data support generated by utilizing automatic rules
Chen et al. Bert-log: Anomaly detection for system logs based on pre-trained language model
US9043328B2 (en) Configurable catalog builder system
US20200042694A1 (en) Increasing security of a password-protected resource based on publicly available data
KR100747724B1 (en) System and its method for web navigation for visually handicapped person
JP2008059063A (en) Information management program
US9996622B2 (en) Browser new tab page generation for enterprise environments
JP4861265B2 (en) Pattern definition generation program
KR101590554B1 (en) Method and apparatus for uploading or downloading file based on tag
CN113312610A (en) Weak password detection method, device, medium and electronic equipment
Xie et al. UQ-AAS21: a comprehensive dataset of Amazon Alexa skills
JP2008181231A (en) System, method and program for preventing use of computer by spoofing
WO2023188092A1 (en) Information processing device, information processing method, and computer-readable recording medium
JP2008197759A (en) Translation system, translation method, dictionary management system, and dictionary management method
Espinhara et al. Using online activity as digital fingerprints to create a better spear phisher
KR20200061594A (en) Method and system for password management using hint image
CN115757283A (en) File processing method and device, storage medium and electronic equipment
US20080114631A1 (en) Service evaluation system, service evaluation method, recording medium storing service evaluation program
JP2009093596A (en) Single sign-on server and single sign-on program
KR20030056595A (en) Method for managing ID and password using on internet and apparatus thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100416

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110809

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111007

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111104

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141111

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees