JP2005128916A - Method, device and program for presenting menu, and computer readable storage media for storing the program - Google Patents
Method, device and program for presenting menu, and computer readable storage media for storing the program Download PDFInfo
- Publication number
- JP2005128916A JP2005128916A JP2003365748A JP2003365748A JP2005128916A JP 2005128916 A JP2005128916 A JP 2005128916A JP 2003365748 A JP2003365748 A JP 2003365748A JP 2003365748 A JP2003365748 A JP 2003365748A JP 2005128916 A JP2005128916 A JP 2005128916A
- Authority
- JP
- Japan
- Prior art keywords
- menu
- hierarchy
- search condition
- information
- information amount
- 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
Abstract
Description
本発明は、メニュー提示方法及び装置及びプログラム及びメニュー提示プログラムを格納したコンピュータ読み取り可能な記憶媒体に係り、特に、情報検索を効果的に行うためのメニュー提示方法及び装置及びプログラム及びメニュー提示プログラムを格納したコンピュータ読み取り可能な記憶媒体に関する。 The present invention relates to a menu presentation method and apparatus, a program, and a computer-readable storage medium storing the menu presentation program, and more particularly, to a menu presentation method and apparatus, program, and menu presentation program for effectively performing information retrieval. The present invention relates to a stored computer-readable storage medium.
探す情報が大量にある場合、ユーザは一般的にキーワード検索やメニュー検索により対象を絞り、ブラウジングして情報を見つける。メニュー検索に関しては、検索を効果的にするための設計方法(例えば、非特許文献1参照)が検討されているが、一般的には、メニュー項目を数ページ提示し、ページの中から項目を選択して情報を見つけていく。例えば、グルメ案内の場合は、エリアや料理種別のメニューを人気のある順番に並べることで、平均的なユーザの要求を満たすように構成されている。 When there is a large amount of information to be searched, a user generally narrows down an object by keyword search or menu search and browses to find information. Regarding menu search, a design method for making the search effective (for example, see Non-Patent Document 1) has been studied. In general, several menu items are presented, and items are selected from the page. Select and find information. For example, in the case of gourmet guidance, the menu of area and dish type is arranged in the order of popularity, so that the average user's request is satisfied.
このように平均的なユーザの要求を満たすという傾向がある一方で、携帯インターネットの普及に伴って、情報を気軽に探すユーザ層が増加し、ユーザの個性を活かした情報や、他の検索サービスに比べて優位な情報が欲しいというように、情報検索のニーズが多様化している。ユーザの個性を活かした検索を行うためには、予め自分でキーワードを登録したり(例えば、非特許文献2参照)、登録した条件に適合したときにメールを送信してもらう(例えば、非特許文献3参照)などの方式がある。 While there is a tendency to meet the average user's demand in this way, with the spread of the mobile Internet, the number of users who easily search for information has increased, and information and other search services that take advantage of the user's personality The need for information retrieval is diversifying, such as wanting superior information. In order to perform a search utilizing the personality of the user, keywords are registered in advance (see, for example, Non-Patent Document 2), or an e-mail is sent when the registered conditions are met (for example, non-patent) There are methods such as Reference 3).
しかし、これらの方式では、ユーザが情報内容に基づいて、事前にキーワード等の各種条件を登録する煩雑さが伴う。実サービスにおいては、ユーザ登録して、なおかつ付加情報を入力してくれるユーザは、全ユーザの極一部である。付加的な登録操作を必要としなくても、個性的な検索サービスを可能にする方法が必要である。 However, in these methods, the user is complicated to register various conditions such as keywords in advance based on the information content. In the actual service, users who register as users and input additional information are a very small part of all users. There is a need for a method that enables a unique search service without requiring additional registration operations.
これに対して、数回のメニュー選択で、小さいディスプレイでも一覧できる件数に検索結果数を絞り込めるメニュー項目を、より多く提示する方法が提案されている(例えば、特許文献1参照)。具体的には、検索条件群から、設定した選択回数分の全組み合わせを生成し、小さいディスプレイでも一覧できる件数以下の検索結果をもたらす検索条件の組み合わせだけを抽出し、これらに含まれる検索条件のうち、下位階層で検索可能なデータ数が多い検索条件を優先的にメニューとして提示する。この方式では、絞り込まれた検索結果数という絶対的な値を基準にするため、少ない操作回数で、必ず小さいディスプレイでも一覧できる件数の検索結果を保証する。しかし、この方式では、単に定数以下の検索結果数に導くメニュー項目を、少ない操作回数でより多く提示するだけであり、どのような性質の検索結果が得られるかという検索結果の意味に関する検討がなされていない。
そこで、情報のユニークさを示す情報量という性質に着目し、少ない操作回数で、より情報量の高い検索結果を得られるメニュー提示方法を検討する。情報量は、任意の集合における珍しさ、あるいは、ユニークさの評価尺度である。 Therefore, paying attention to the property of information amount indicating the uniqueness of information, a menu presentation method that can obtain a search result with a higher information amount with a small number of operations is studied. The amount of information is a measure of rarity or uniqueness in an arbitrary set.
複数の検索条件をメニューによって選択させ、AND検索をさせるためには、検索条件によるメニューが複数階層に跨る。図11は、レストランを複数の検索条件で絞り込むために、検索条件によるメニューを複数階層によって構成した例である。以下では、検索条件によるメニューのうち、下位階層にさらに検索条件が存在するメニュー項目をメニューノード、下位階層には検索条件が存在せず、検索結果が存在するメニュー項目をメニューリーフと呼ぶ。また、メニューリーフの下位階層のメニューを検索結果と呼ぶ。 In order to select a plurality of search conditions using a menu and perform an AND search, the menu based on the search conditions spans multiple layers. FIG. 11 is an example in which a menu based on search conditions is configured by a plurality of hierarchies in order to narrow down restaurants by a plurality of search conditions. Hereinafter, in the menu based on the search condition, a menu item having a search condition further in the lower hierarchy is called a menu node, and a menu item having no search condition in the lower hierarchy and having a search result is called a menu leaf. In addition, a menu in a lower hierarchy of the menu leaf is called a search result.
メニューリーフの情報量は、シャノンの情報量「内山明彦、平澤茂一(1990)理工系のための計算機工学、昭晃堂」を応用すれば、算出可能である。例えば、レストランのデータベースに対して、「関内」(100件)、「中華料理」(1000件)という二つの検索条件を、メニュー選択により絞り込む場合を考える。ここで、「関内」∩「中華料理」は90件とする。「関内」→「中華料理」の順番で選んだ場合は、「関内」のうち90%と大部分が「中華料理」であり、珍しさを示す情報量として低い値を示す。この割合の対数をとった値の負の値が、シャノンの情報量であり、割合が低いほど、情報量は高くなる。 The information amount of the menu leaf can be calculated by applying Shannon's information amount “Akihiko Uchiyama, Shigeichi Hirasawa (1990) Computer Engineering for Science and Engineering, Shosodo”. For example, let us consider a case where two search conditions of “Kannai” (100 items) and “Chinese cuisine” (1000 items) are narrowed down by menu selection in a restaurant database. Here, “Kannai” ∩ “Chinese cuisine” is 90 cases. When “Kannai” → “Chinese cuisine” is selected in this order, 90% of “Kannai” is “Chinese cuisine”, which is “Chinese cuisine”, and shows a low value as the amount of information indicating unusualness. The negative value of the logarithm of this ratio is the Shannon information amount. The lower the ratio, the higher the information amount.
このメニューリーフの情報量は、検索条件の確定順番に影響される。前述の「関内」と「中華料理」の検索条件の組み合わせの場合、「中華料理」→「関内」の順番で選んだ場合は、「中華料理」うち9%が「関内」であり、前者よりは相対的に情報量が高くなる。同じ組み合わせでも、一部の確定順番による情報量を評価するだけでは不十分である。 The amount of information on this menu leaf is affected by the order in which search conditions are determined. In the case of the combination of the search conditions of “Kannai” and “Chinese cuisine” as described above, if “Chinese cuisine” is selected in the order of “Kannai”, 9% of “Chinese cuisine” is “Kannai”. The amount of information is relatively high. Even with the same combination, it is not sufficient to evaluate the information amount according to a part of the fixed order.
また、メニューノードの情報量を下位階層のメニューリーフの情報量の総和とした場合、情報量が低いメニューリーフが大量に存在していても、その親であるメニューノードの情報量は高くなってしまう。このようなメニューノードが優先されて提示されると、情報量が低い検索結果も優先的に提示される可能性が高くなり、問題である。 Also, if the information amount of the menu node is the sum of the information amounts of the lower level menu leaves, even if there are a large number of menu leaves with low information amounts, the information amount of the parent menu node is high End up. When such menu nodes are presented with priority, there is a high possibility that search results with a low amount of information will be presented with priority.
本発明は、上記の点に鑑みなされたもので、少ない操作回数で、より情報量の高い検索結果を得るために、全ての確定順番の情報量を評価しつつ、情報量が低い大量のメニューのノイズを除去可能なメニュー提示方法及び装置及びプログラム及びメニュー提示プログラムを格納したコンピュータ読み取り可能な記憶媒体を提供することを目的とする。 The present invention has been made in view of the above points, and in order to obtain a search result with a high information amount with a small number of operations, a large amount of menus with a low information amount are evaluated while evaluating the information amount of all confirmed orders. An object of the present invention is to provide a menu presentation method and apparatus, a program, and a computer-readable storage medium storing the menu presentation program.
図1は、本発明の原理を説明するための図である。 FIG. 1 is a diagram for explaining the principle of the present invention.
本発明は、各データに対して、任意の検索条件に該当する場合には1を、該当しない場合には0を記録する2値データから構成される多次元ベクトルで表現されるデータベースが存在し、検索条件をメニューとして提示し、選択された検索条件群を組み合わせて該データベースを検索し、検索結果を提示するメニュー検索システムにおける、メニュー提示方法において、
検索条件によるメニューの階層数を、該メニューを生成する前に予め階層数記憶手段に記憶させておき(ステップ1)、
階層判定手段において、処理要求による生成対象のメニューの階層数と、予め階層数記憶手段に設定された階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定する過程と(ステップ2)、
第1の情報量算出手段において、階層判定手段により下位階層にさらに検索条件によるメニューが存在すると判定された場合に、データベースに存在する個々の検索条件を親メニュー項目とした、メニュー項目群の情報量の算出処理を、再帰的に呼び出して実行し、メニュー記憶手段に算出された情報量を格納する過程と(ステップ3)、
第2の情報量算出手段において、階層判定手段により下位階層に検索条件によるメニューが存在しないと判定された場合に、親メニュー項目に該当するデータ数に対する、個々の検索条件による子供のメニュー項目に該当するデータ数の割合が少ないほど、高い値を示すような情報量を算出して前記メニュー記憶手段に格納する過程と(ステップ4)、
情報量算出制御手段において、メニュー記憶手段の同一のメニュー階層に存在するメニュー項目を、情報量が高い順番に並び替える過程と(ステップ5)、
情報量算出制御手段において、メニュー記憶手段の同一のメニュー階層に存在する情報量の高い上位のメニュー項目のうち、ある一定の件数分だけ、情報量の総和した値を、当該メニュー階層の親メニュー項目の情報量として算出する過程と(ステップ6)、からなる。
In the present invention, for each data, there is a database expressed by a multidimensional vector composed of binary data that records 1 when an arbitrary search condition is met and 0 when it is not met. In a menu presentation method in a menu search system that presents search conditions as a menu, searches the database by combining selected search condition groups, and presents search results.
The number of menu hierarchies according to the search condition is stored in advance in the number-of-hierarchy storage means before generating the menu (step 1).
In the hierarchy determination means, the number of levels of the menu to be generated by the processing request is compared with the number of hierarchies set in the hierarchy number storage means in advance. Determining that there is a menu according to the search condition, and determining that there is no menu according to the search condition in the lower hierarchy when both are equal (step 2);
In the first information amount calculation means, when the hierarchy determination means determines that a menu based on the search condition exists further in the lower hierarchy, the information of the menu item group having each search condition existing in the database as the parent menu item A process of recursively calling and executing the amount calculation process, and storing the calculated information amount in the menu storage means (step 3);
In the second information amount calculating means, when the hierarchy determining means determines that there is no menu based on the search condition in the lower hierarchy, the child menu items according to the individual search conditions for the number of data corresponding to the parent menu item are displayed. A process of calculating the amount of information indicating a higher value and storing it in the menu storage means as the ratio of the number of corresponding data decreases (step 4);
In the information amount calculation control means, the process of rearranging the menu items existing in the same menu hierarchy of the menu storage means in order of increasing information amount (step 5),
In the information amount calculation control means, among the higher-level menu items existing in the same menu hierarchy of the menu storage means, the total amount of information for a certain number of items is used as the parent menu of the menu hierarchy. A process of calculating the information amount of the item (step 6).
図2は、本発明の原理構成図である。 FIG. 2 is a principle configuration diagram of the present invention.
本発明は、各データに対して、任意の検索条件に該当する場合には1を、該当しない場合には0を記録する2値データから構成される多次元ベクトルで表現されるデータベース1が存在し、検索条件をメニューとして提示し、選択された検索条件群を組み合わせて該データベースを検索し、検索結果を提示するメニュー検索システムにおける、メニュー提示装置であって、
メニューを生成する前に予め検索条件によるメニューの階層数を記憶する階層数記憶手段21と、
メニュー項目と情報量を記憶するメニュー記憶手段と、
処理要求による生成対象のメニューの階層数と、予め階層数記憶手段21に設定された階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定する階層判定手段24と、
階層判定手段24により、下位階層にさらに検索条件によるメニューが存在すると判定された場合に、前記データベースに存在する個々の検索条件を親メニュー項目とした、メニュー項目群の情報量を算出する処理を再帰的に呼び出して、算出された情報量をメニュー記憶手段3に格納する第1の情報量算出手段26と、
階層判定手段24により、下位階層に検索条件によるメニューが存在しないと判定された場合に、親メニュー項目に該当するデータ数に対する、個々の検索条件による子供のメニュー項目に該当するデータ数の割合が少ないほど、高い値を示すような情報量を算出し、メニュー記憶手段3に格納する第2の情報量算出手段27と、
メニュー記憶手段3の同一のメニュー階層に存在するメニュー項目を、情報量が高い順番に並び替え、同一のメニュー階層に存在する情報量の高い上位のメニュー項目のうち、ある一定の件数分だけ、情報量の総和した値を、当該メニュー階層の親メニュー項目の情報量として算出する情報量算出制御手段28と、を有する。
In the present invention, for each data, there is a
Hierarchy number storage means 21 for storing the number of menu hierarchies according to search conditions in advance before generating a menu;
Menu storage means for storing menu items and information amount;
A comparison is made between the number of hierarchies of the menu to be generated by the processing request and the number of hierarchies previously set in the hierarchy number storage means 21, and when the number of hierarchies of the menu to be generated is smaller, the menu according to the search condition is further added to the lower hierarchy. A
A process of calculating the information amount of the menu item group using each search condition existing in the database as a parent menu item when the
When the hierarchy determination means 24 determines that there is no menu based on the search condition in the lower hierarchy, the ratio of the number of data corresponding to the child menu item according to the individual search condition to the number of data corresponding to the parent menu item is A second information
The menu items existing in the same menu hierarchy of the menu storage means 3 are rearranged in descending order of the amount of information, and only a certain number of higher-order menu items existing in the same menu hierarchy have a high number of items. And an information amount calculation control means for calculating the sum of the information amounts as the information amount of the parent menu item of the menu hierarchy.
本発明は、各データに対して、任意の検索条件に該当する場合には1を、該当しない場合には0を記録する2値データから構成される多次元ベクトルで表現されるデータベースが存在し、検索条件をメニューとして提示し、選択された検索条件群を組み合わせて該データベースを検索し、検索結果を提示するメニュー検索システムにおける、メニュー提示プログラムであって、
検索条件によるメニューの階層数を、該メニューを生成する前に予め階層数記憶手段に記憶しているコンピュータに対して、
処理要求による生成対象のメニューの階層数と、予め階層数記憶手段に設定された階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定するステップと、
下位階層にさらに検索条件によるメニューが存在すると判定された場合に、データベースに存在する個々の検索条件を親メニュー項目とした、メニュー項目群の情報量の算出処理を、再帰的に呼び出して、算出された情報量をメニュー項目と情報量を記憶するメニュー記憶手段に格納するステップと、
下位階層に検索条件によるメニューが存在しないと判定された場合に、親メニュー項目に該当するデータ数に対する、個々の検索条件による子供のメニュー項目に該当するデータ数の割合が少ないほど、高い値を示すような情報量を算出してメニュー記憶手段に格納するステップと、
メニュー記憶手段の同一のメニュー階層に存在するメニュー項目を、情報量が高い順番に並び替えるステップと、
メニュー記憶手段の同一のメニュー階層に存在する情報量の高い上位のメニュー項目のうち、ある一定の件数分だけ、情報量の総和した値を、当該メニュー階層の親メニュー項目の情報量として算出するステップと、を実行させる。
In the present invention, for each data, there is a database expressed by a multidimensional vector composed of binary data that records 1 when an arbitrary search condition is met and 0 when it is not met. A menu presenting program in a menu retrieval system for presenting search conditions as a menu, searching the database by combining selected search condition groups, and presenting search results,
The computer stores the number of menu hierarchies according to the search condition in advance in the hierarchy number storage means before generating the menu.
When the number of levels of the menu to be generated by the processing request is compared with the number of levels set in the number-of-hierarchy storage unit in advance, if the number of levels of the menu to be generated is smaller, the menu based on the search condition is further added to the lower level. A step of determining that there is no menu based on a search condition in the lower hierarchy when the two are equal,
When it is determined that there is a menu with further search conditions in the lower hierarchy, the calculation process for calculating the information amount of the menu item group using each search condition existing in the database as the parent menu item is recursively calculated. Storing the recorded information amount in a menu storage means for storing the menu item and the information amount;
When it is determined that there is no menu according to the search condition in the lower hierarchy, the lower the ratio of the number of data corresponding to the child menu item according to each search condition to the number of data corresponding to the parent menu item, the higher the value. Calculating the amount of information as shown and storing it in the menu storage means;
Rearranging menu items existing in the same menu hierarchy of the menu storage means in order of increasing information amount;
Of the higher-level menu items that exist in the same menu hierarchy of the menu storage means, the sum of the information quantities for a certain number of items is calculated as the information quantity of the parent menu item in the menu hierarchy. Steps are executed.
本発明は、各データに対して、任意の検索条件に該当する場合には1を、該当しない場合には0を記録する2値データから構成される多次元ベクトルで表現されるデータベースが存在し、検索条件をメニューとして提示し、選択された検索条件群を組み合わせて該データベースを検索し、検索結果を提示するメニュー検索システムにおける、メニュー提示プログラムを格納したコンピュータ読み取り可能な記憶媒体であって、
検索条件によるメニューの階層数を、該メニューを生成する前に予め階層数記憶手段に記憶しているコンピュータに対して、
処理要求による生成対象のメニューの階層数と、予め階層数記憶手段に設定された階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定するステップと、
下位階層にさらに検索条件によるメニューが存在すると判定された場合に、データベースに存在する個々の検索条件を親メニュー項目とした、メニュー項目群の情報量の算出処理を、再帰的に呼び出して、算出された情報量を、メニュー項目と情報量を記憶するメニュー記憶手段に格納するステップと、
下位階層に検索条件によるメニューが存在しないと判定された場合に、親メニュー項目に該当するデータ数に対する、個々の検索条件による子供のメニュー項目に該当するデータ数の割合が少ないほど、高い値を示すような情報量を算出してメニュー記憶手段に格納するステップと、
メニュー記憶手段の同一のメニュー階層に存在するメニュー項目を、情報量が高い順番に並び替えるステップと、
メニュー記憶手段の同一のメニュー階層に存在する情報量の高い上位のメニュー項目のうち、ある一定の件数分だけ、情報量の総和した値を、当該メニュー階層の親メニュー項目の情報量として算出するステップと、を実行させるプログラムを格納する。
In the present invention, for each data, there is a database expressed by a multidimensional vector composed of binary data that records 1 when an arbitrary search condition is met and 0 when it is not met. A computer-readable storage medium storing a menu presentation program in a menu search system for presenting search conditions as a menu, searching the database by combining selected search condition groups, and presenting search results,
The computer stores the number of menu hierarchies according to the search condition in advance in the hierarchy number storage means before generating the menu.
When the number of levels of the menu to be generated by the processing request is compared with the number of levels set in the number-of-hierarchy storage unit in advance, if the number of levels of the menu to be generated is smaller, the menu based on the search condition is further added to the lower level. A step of determining that there is no menu based on a search condition in the lower hierarchy when the two are equal,
When it is determined that there is a menu with further search conditions in the lower hierarchy, the calculation process for calculating the information amount of the menu item group using each search condition existing in the database as the parent menu item is recursively calculated. A stored information amount in a menu storage means for storing the menu item and the information amount;
When it is determined that there is no menu according to the search condition in the lower hierarchy, the lower the ratio of the number of data corresponding to the child menu item according to each search condition to the number of data corresponding to the parent menu item, the higher the value. Calculating the amount of information as shown and storing it in the menu storage means;
Rearranging menu items existing in the same menu hierarchy of the menu storage means in order of increasing information amount;
Of the higher-level menu items that exist in the same menu hierarchy of the menu storage means, the sum of the information quantities for a certain number of items is calculated as the information quantity of the parent menu item in the menu hierarchy. And a program for executing the step.
本発明によれば、少ない操作回数で、より情報量の高い検索結果を得るために、全ての確定順番の情報量を評価しつつ、情報量が低い大量のメニューのノイズを除去可能になる。 According to the present invention, in order to obtain a search result with a higher information amount with a smaller number of operations, it is possible to remove a large amount of menu noise with a low information amount while evaluating the information amount of all the determined orders.
また、情報量が少ないメニューは、同時に検索結果数が多くなる。このため、情報量が低いメニューが優先的に提示される可能性がある場合、図3(b)に示すように、検索結果を閲覧するためのスクロールが頻発する可能性がある。一方で、情報量が高いメニューは同時に、検索結果も少ない。このため、情報量が低い大量のノイズを除去し、情報量が高いメニューが優先的に表示されれば、図3(a)に示すように、情報量が高く、検索結果も少ない結果を得られる可能性が高くなる。携帯電話機のように、画面が小さい端末にとっては、一度に提示できるデータ数も減少するため、情報量が高く、検索結果数が少ないことは効果的である。 A menu with a small amount of information has a large number of search results at the same time. For this reason, when there is a possibility that a menu with a low amount of information is preferentially presented, scrolling for browsing search results may occur frequently as shown in FIG. On the other hand, menus with a high amount of information have few search results. Therefore, if a large amount of noise with a low information amount is removed and a menu with a high information amount is preferentially displayed, a result with a high information amount and a small search result is obtained as shown in FIG. Is likely to be. For a terminal with a small screen, such as a mobile phone, the number of data that can be presented at one time also decreases, so it is effective that the amount of information is high and the number of search results is small.
以下、図面と共に本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図4は、本発明の一実施の形態におけるメニュー提示システムの構成を示す。同図に示すシステムは、少ない操作回数で、より情報量の高い検索結果を得るために、全ての確定順番の情報量を評価しつつ、情報量が低い大量のメニューのノイズを除去可能な構成を示す。 FIG. 4 shows the configuration of the menu presentation system in one embodiment of the present invention. The system shown in the figure can remove the noise of a large amount of menus with low information amount while evaluating the information amount of all confirmed orders in order to obtain search results with high information amount with a small number of operations. Indicates.
同図に示すシステムは、データベース1、メニュー生成部2、メニュー記憶部3、入出力部4、入力デバイス5から構成される。
The system shown in FIG. 1 includes a
データベース1は、各データに対して、任意の検索条件に該当する場合は「1」を、該当しない場合は「0」を記録する2値データから構成される多次元ベクトルで表現される。図5に、レストランのデータベースの例を示す。レストランに対して、中華料理、イタリアンといった料理種別の検索条件や、夜景がきれいなお店などの特徴を示す検索条件に対して、該当するか否かの2値データが付与されている。後述するメニュー生成部2の処理スタック23、検索受験リスト記憶部25、メニューリーフの情報量算出部27から参照要求を受信すると、対応するデータを返す。
The
メニュー生成部2は、階層数記憶部21、情報量加算範囲記憶部22、処理スタック23、階層判定部24、検索条件リスト記憶部25、メニューノードの情報量算出部26、メニューリーフの情報量算出部27、親メニューノード情報量算出部28、処理起動部29から構成される。
The
階層数記憶部21は、ディスク装置等の記憶媒体であり、検索条件によるメニューの階層数を、メニューを生成する前に、予め設定し、記憶しておく。図11の例では、階層数=2と記録されていることとなる。階層判定部24から参照要求を受信すると、階層数の値を返す。
The number-of-
情報量加算範囲記憶部22は、ディスク装置等の記憶媒体であり、メニューノードの情報量を算出する上で、下位階層のメニュー項目のうち、情報量が上位のメニュー項目の何件目までの総和を算出かという情報量加算範囲に対応する件数を、メニューを生成する前に、予め設定し、記憶しておく。親メニューノード情報量算出部28から、参照要求を受信すると、情報量加算範囲に対応する件数を返す。
The information amount addition
処理スタック記憶部23は、ディスク装置等の記憶媒体であり、再帰的にメニュー生成処理を行うために、再帰的に呼び出される処理に関する情報を、後入れ先出し法によるデータ構造によって記録する。処理に関する情報は、図6に示すように、少なくとも、親メニュー識別子、階層数、親メニュー項目、親メニューのデータ数から構成される。
The processing
処理スタック記憶部23は、ディスク装置等の記憶媒体であり、処理起動部29から処理開始要求を受け取ると、初期値として親メニュー識別子=0、階層数=1のレコードを、親メニュー項目=NULL,親メニューのデータ数=全データ数、を挿入し、これらを引数として階層判定部24に処理要求を出す。全データ数は、データベース1を参照し、取得する。
The processing
また、処理スタック記憶部23は、メニューノードの情報量算出部26から、階層数、親メニュー項目を引数とした再起処理要求を受信すると、当該親メニュー項目に該当するデータ数を、データベース1を参照して取得し、これらの値によるレコードを新規追加する。このとき、メニュー記憶部3を参照し、使用されていない新規の親メニュー識別子の発行を要求し、その値を、当該レコードの親メニュー識別子に挿入する。その後、追加した親メニュー識別子、階層数、親メニュー項目、親メニューのデータ数を引数として、階層判定部24に処理要求を出す。
When the processing
親メニューノード情報算出部28より、親メニューノードの情報量を引数として、処理終了要求を受信すると、以下の6つの引数と共に、図7に示すメニュー記憶部3に新規レコード作成要求を出す。
When a processing end request is received from the parent menu node
(1) メニュー識別子=現在処理対象である処理スタックレコードの親メニュー識別子:
(2) 親メニュー識別子=現在処理対象である処理スタックレコードの直前に挿入された親メニュー識別子
(3) メニューフラグ=メニューノード:
(4) メニュー項目=現在処理対象である処理スタックレコードの親メニュー項目:
(5) データ数=現在処理対象である処理スタックレコードの親メニューのデータ数:
(6) 情報量=受信した親メニューノードの情報量:
その後、現在処理対象である処理スタックのレコードを削除し、処理スタックに残っているレコードに対応する処理要求を階層判定部24に出し、これを処理スタックのレコードがなくなるまで繰り返す。
(1) Menu identifier = parent menu identifier of the process stack record currently being processed:
(2) Parent menu identifier = parent menu identifier inserted immediately before the processing stack record currently being processed (3) Menu flag = menu node:
(4) Menu item = parent menu item of the process stack record currently being processed:
(5) Number of data = number of data in the parent menu of the process stack record currently being processed:
(6) Information amount = information amount of received parent menu node:
Thereafter, the process stack record currently being processed is deleted, a process request corresponding to the record remaining in the process stack is issued to the
階層判定部24は、処理スタック記憶部23より、処理要求を受け取ると、引数の階層数と、階層数記憶部21の階層数を比較し、引数の階層数の方が小さい場合、メニューノードの情報量算出部26に処理要求を出す。引数の階層数と階層数記憶部21の階層数が等しければ、メニューリーフの情報量算出部27に処理要求を出す。このとき、親メニュー識別子、階層数、親メニュー項目、親メニューのデータ数を引数として渡す。
When the
検索条件リスト記憶部25は、メニュー生成前にデータベース1から、検索条件のリストを抽出し、図8に示すように記憶しておく。メニューノードの情報量算出部26、メニューリーフの情報量算出部27から参照要求を受信すると、検索条件のリストを返す。
The search condition
メニューノードの情報量算出部26は、階層判定部24から処理要求を受けると、検索条件リスト記憶部25から検索条件のリストを取得し、個々の検索条件をメニューノードとした場合のメニューノードの情報量算出要求を処理スタック記憶部23に出す。このとき、下位階層のメニューを評価するため、「階層数=引数の階層数+1」、「親メニュー項目=個々の検索条件」を引数として渡す。全ての検索条件を処理後、親メニューノード情報量算出部28へ親メニューノード識別子を引数として処理要求を出す。
Upon receipt of the processing request from the
メニューリーフの情報量算出部27は、階層判定部24から処理要求を受けると、検索条件リスト記憶部25から検索条件のリストを取得し、個々の検索条件をメニューリーフとした場合のメニューリーフの情報量を算出する。
Upon receipt of the processing request from the
まず、当該メニューリーフに該当するデータ数を、データベース1から取得する。このとき、上位階層のメニューノードの検索条件とのAND検索の結果を利用する。図11上部のメニューリーフ「イタリアン」を評価する場合、「関内」∩「イタリアン」の検索結果数を、メニューリーフに該当するデータ数とする。さらに、上位階層にメニューノードが存在する場合には、再帰的に親メニューノードにさかのぼり、AND検索条件に親のメニューノードに対応する検索条件を追加する。
First, the number of data corresponding to the menu leaf is acquired from the
引数として受信した親メニューのデータ数に対する、当該メニューリーフに該当するデータ数の割合を算出し、この割合が低ければ高くなるような値をメニューリーフの情報量と定義する。シャノンの情報量を応用すれば、式1のようになる。
情報量=-log(当該メニューリーフに該当するデータ数/親メニューのデータ数)…式1
なお、対数をとらない場合や、定数項が追加される場合も考えられる。
The ratio of the number of data corresponding to the menu leaf to the number of data of the parent menu received as an argument is calculated, and a value that increases if this ratio is low is defined as the information amount of the menu leaf. Applying Shannon's amount of information, the following
Information amount = -log (number of data corresponding to the menu leaf / number of data of the parent menu) ...
There are cases where the logarithm is not taken, or where a constant term is added.
情報量を算出したら、メニューリーフ及び、その検索結果に関する情報を、メニュー記憶部3に記憶するため、以下の6つの引数と共に、図7に示すメニュー記憶部3に新規レコード作成要求を出す。
After calculating the amount of information, in order to store the menu leaf and information related to the search result in the
(1) メニュー識別子=NULL:
(2) 親メニュー識別子=メニューリーフの情報量算出部27が引数として受信した親メニュー識別子:
(3) メニューフラグ=メニューリーフ:
(4) メニュー項目=現在評価対象である検索条件:
(5) データ数=当該メニューリーフに該当するデータ数:
(6) 情報量=算出した情報量:
全ての検索条件を処理後、親メニューノード情報量算出部28へ親メニューノード識別子を引数として処理要求を出す。
(1) Menu identifier = NULL:
(2) Parent menu identifier = parent menu identifier received by the menu leaf information
(3) Menu flag = Menu leaf:
(4) Menu item = search condition currently being evaluated:
(5) Number of data = Number of data corresponding to the menu leaf:
(6) Information amount = calculated information amount:
After processing all the search conditions, a processing request is issued to the parent menu node information
親メニューノード情報量算出部28は、メニューノードの情報量算出部26、あるいは、メニューリーフノードの情報量算出部27から、親メニュー識別子を引数として処理要求を受けると、親メニュー識別子に対応するメニューノードの情報量を算出する。具体的には、引数の親メニュー識別子を持つレコードを、図7に示すメニュー記憶部3から抽出し、情報量が高い順に並び替え、メニュー記憶部3に記憶しなおす。その後、情報量の高い上位のメニューのうち、情報量加算範囲記憶部32に設定された件数分だけ、情報量の総和を算出する。算出された情報量の総和を、親メニュー識別子に対応するメニューノードの情報量とする。この情報量を引数として、処理スタック記憶部23に処理終了要求を出す。
When a processing request is received from the menu node information
処理起動部29は、キーボードやマウスなどの入力デバイス5の物理的な動作を、処理起動命令か否かを判定し、処理起動命令であると判定したら、処理スタック記憶部23に処理開始要求を出す。
The
メニュー記憶部3は、図7に示すように、少なくともメニュー識別子、親メニュー識別子、メニューフラグ、メニュー項目、当該メニュー項目に該当するデータ数、情報量から構成される。処理スタック記憶部23から親メニュー識別子の発行の要求を受信したら、使用されていない新規の親メニュー識別子を発行し、その値を返す。
As shown in FIG. 7, the
また、メニュー記憶部3は、処理スタック記憶23あるいは、メニューリーフの情報量算出部27から、(1)メニュー識別子、(2)親メニュー識別子、(3)メニューフラグ、(4)メニュー項目、(5)データ数、(6)情報量の6つの引数と共に、新規レコード要求を受信すると、新規レコードを作成し、受信した引数を、各レコードの項目に代入する。メニューリーフの情報量算出部27からの要求の場合、(1)メニュー識別子=NULLのため、メニュー識別子を新規作成し、代入する。また、メニューリーフの配下の検索結果に関しても、メニュー記憶部3に記録するために、当該メニューリーフの配下の検索結果をデータベース1から取得し、検索結果毎に新規レコードを作成する。このとき、メニュー識別子は新規作成する。また、親メニュー識別子には、メニューリーフのメニュー識別子で代入する。さらに、メニュー項目には検索結果のタイトルを代入する。
Further, the
入出力部4は、メニュー操作部41、メニュー表示部42から構成される。
The input /
メニュー操作部41は、キーボードやマウスなどの入力デバイスの物理的な動作を、メニューのカーソル移動と選択という電気的な信号に変換する。カーソルを移動すると、同じ親メニュー識別子を持つメニュー項目間を移動し、その結果を、メニュー表示部に表示する。メニュー項目を選択すると、選択したメニュー項目のメニュー識別子を、親メニュー識別子に持つメニュー項目群が、親メニューノード情報量算出部28が並び替えたように、情報量の高い順番で表示される。
The
メニュー表示部42は、メニュー操作部41の操作の結果を表示する。図9に、携帯電話機における入出力部の例を示す。液晶ディスプレイ等がメニュー表示部42に該当する。図9の上下の矢印キーと、それらの間の選択ボタンが、メニュー操作部41に対応する。メニュー操作部41の操作の結果がメニュー表示部42に反映される。
The
入力デバイス5は、キーボードやマウスなどの入力デバイス5の物理的な動作を処理起動部29へ送信する。
The
次に、上記の構成におけるメニュー提示方法について説明する。 Next, the menu presentation method in the above configuration will be described.
図10は、本発明の一実施の形態におけるメニュー提示方法のフローチャートであり、ステップ102において再帰的に呼び出されるフローチャートである。
FIG. 10 is a flowchart of the menu presentation method according to the embodiment of the present invention, and is a flowchart called recursively in
ステップ101) 階層判定部24が、処理スタック記憶部23より処理要求を受け取ると、引数の階層数と、階層数記憶部21の階層数を比較し、引数の階層数の方が小さい場合にはステップ102に移行する。引数の階層数と階層数記憶部21の階層数が等しければステップ103に移行する。
Step 101) When the
処理スタック記憶部23が、処理起動部29から処理開始要求を受け取ると最初の処理が開始される。初期値の階層数は1である。
When the process
ステップ102) メニューノードの情報量算出部26が、階層判定部24から処理要求を受けると、検索条件リスト記憶部25から検索条件のリストを取得し、個々の検索条件をメニューノードとした場合のメニューノードの情報量算出要求を、処理スタック記憶部23に出す。このとき、下位階層のメニューを評価するため、階層数=引数の階層+1、親メニュー項目=個々の検索条件を引数として渡す。その後、ステップ104に移行する。
Step 102) When the information
ステップ103) メニューリーフの情報量算出部27が、階層判定部24から処理要求を受けると、検索条件リスト記憶部25から検索条件のリストを取得し、個々の検索条件をメニューリーフとした場合のメニューリーフの情報量を算出し、ステップ104に移行する。
Step 103) When the information
ステップ104) ステップ102、ステップ103の処理が、検索条件リスト記憶部25の全ての検索条件を処理したかを判定し、処理していない場合にはステップ101に移行し、処理した場合にはステップ105に移行する。
Step 104) It is determined whether the processing in
ステップ105) 親メニューノード情報量算出部28が、メニューノードの情報量算出部26、あるいは、メニューリーフの情報量算出部27から、親メニュー識別子を引数として処理要求を受けると、引数の親メニュー識別子を持つレコードを、メニュー記憶部3(図7)から抽出し、情報量が高い順に並び替え、メニュー記憶部3に記録しなおし、その後、ステップ106に移行する。
Step 105) When the parent menu node information
ステップ106) 親メニューノード情報量算出部28が、ステップ105で並び替えたメニュー項目の情報量の高い上位のメニューのうち、情報量加算範囲記憶部32に設定された件数分だけ、情報量の総和を算出する。算出された情報量の総和を、親メニュー識別子に対応するメニューノードの情報量とする。この情報量を引数として、処理スタック記憶部23に、処理終了要求を出す。
Step 106) The parent menu node information
処理スタック記憶部23が、親メニューノード情報算出部28より、親メニューノードの情報量を引数として、処理終了要求を受信すると、メニュー記憶部3(図7)に、新規レコード作成要求を出す。その後、現在処理対象である処理スタックのレコードを削除し、処理スタックに残っているレコードに対応する処理要求を階層判定部24に出し、これを処理スタックのレコードがなくなるまで繰り返す。
When the processing
また、上記の実施の形態における図10に示したフローチャートの手順をプログラムとして構築し、メニュー提示装置として利用されるコンピュータにインストールし、CPU等の制御手段により実行させる、または、ネットワークを介して流通させることも可能である。 Further, the procedure of the flowchart shown in FIG. 10 in the above embodiment is constructed as a program, installed in a computer used as a menu presentation device, and executed by a control means such as a CPU, or distributed through a network. It is also possible to make it.
また、構築されたプログラムをメニュー提示装置として利用されるコンピュータに接続されるハードディスクやフレキシブルディスク、CD−ROM等の可搬記憶媒体に格納しておき、本発明を実施する際に、インストールすることも可能である。 The constructed program is stored in a portable storage medium such as a hard disk, a flexible disk, or a CD-ROM connected to a computer used as a menu presentation device, and is installed when the present invention is carried out. Is also possible.
なお、本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において種々変更・応用が可能である。 The present invention is not limited to the above-described embodiment, and various modifications and applications can be made within the scope of the claims.
本発明は、情報検索システムにおけるメニュー提示技術に適用可能である。 The present invention can be applied to a menu presentation technique in an information search system.
1 データベース
2 メニュー生成部
3 メニュー記憶部
4 入出力部
5 入力デバイス
21 階層数記憶手段、階層数記憶部
22 情報量加算範囲記憶部
23 処理スタック記憶部
24 階層判定手段、階層判定部
25 検索条件リスト記憶部
26 第1の情報量算出手段、メニューノードの情報量算出部
27 第2の情報量算出手段、メニューリーフの情報量算出部
28 情報量算出制御手段、親メニューノード情報量算出部
29 処理起動部
DESCRIPTION OF
Claims (4)
検索条件によるメニューの階層数を、該メニューを生成する前に予め階層数記憶手段に記憶させておき、
階層判定手段において、処理要求の生成対象のメニューの階層数と、予め前記階層数記憶手段に設定された前記階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定する過程と、
第1の情報量算出手段において、前記階層判定手段により前記下位階層にさらに検索条件によるメニューが存在すると判定された場合に、前記データベースに存在する個々の検索条件を親メニュー項目とした、メニュー項目群の情報量の算出を、再帰的に呼び出して、算出された情報量を、メニュー項目と情報量を記憶するメニュー記憶手段に格納する過程と、
第2の情報量算出手段において、前記階層判定手段により前記下位階層に検索条件によるメニューが存在しないと判定された場合に、親メニュー項目に該当するデータ数に対する、個々の検索条件による子供のメニュー項目に該当するデータ数の割合が少ないほど、高い値を示すような情報量を算出して、前記メニュー記憶手段に格納する過程と、
情報量算出制御手段において、前記メニュー記憶手段の同一のメニュー階層に存在するメニュー項目を、情報量が高い順番に並び替える過程と、
前記情報量算出制御手段において、前記メニュー記憶手段の同一のメニュー階層に存在する情報量の高い上位のメニュー項目のうち、ある一定の件数分だけ、情報量の総和した値を、当該メニュー階層の親メニュー項目の情報量として算出する過程と、
からなることを特徴とするメニュー提示方法。 For each data, there is a database represented by a multidimensional vector composed of binary data that records 1 when an arbitrary search condition is met, and 0 when it is not applicable. In a menu presentation method in a menu search system that presents as a menu, searches the database by combining selected search condition groups, and presents a search result,
Prior to generating the menu, the number of levels of the menu according to the search condition is stored in the number of layers storage means,
In the hierarchy determination means, the number of levels of the menu to be generated for the processing request is compared with the number of levels set in the hierarchy number storage means in advance, and if the number of levels of the menu to be generated is smaller, the lower hierarchy And determining that there is no menu based on the search condition in the lower hierarchy when both are equal to each other,
In the first information amount calculation means, when the hierarchy determination means determines that a menu based on the search condition is further present in the lower hierarchy, the menu item having each search condition existing in the database as a parent menu item Recursively calling the calculation of the information amount of the group, and storing the calculated information amount in the menu storage means for storing the menu item and the information amount;
In the second information amount calculation means, when the hierarchy determination means determines that there is no menu according to the search condition in the lower hierarchy, the child menu according to each search condition for the number of data corresponding to the parent menu item Calculating the amount of information indicating a higher value as the ratio of the number of data corresponding to the item is smaller, and storing it in the menu storage means;
In the information amount calculation control means, the process of rearranging the menu items existing in the same menu hierarchy of the menu storage means in order of increasing information amount;
In the information amount calculation control means, a value obtained by summing the amount of information for a certain number of high-order menu items existing in the same menu hierarchy of the menu storage means for the menu hierarchy. A process of calculating the amount of information of the parent menu item,
A menu presentation method characterized by comprising:
メニューを生成する前に予め検索条件によるメニューの階層数を記憶する階層数記憶手段と、
メニュー識別子と情報量を記憶するメニュー記憶手段と、
処理要求による生成対象のメニューの階層数と、予め前記階層数記憶手段に設定された前記階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定する階層判定手段と、
前記階層判定手段により、前記下位階層にさらに検索条件によるメニューが存在すると判定された場合に、前記データベースに存在する個々の検索条件を親メニュー項目とした、メニュー項目群の情報量の算出処理を再帰的に呼び出して算出し、算出された情報量を前記メニュー記憶手段に格納する第1の情報量算出手段と、
前記階層判定手段により、前記下位階層に検索条件によるメニューが存在しないと判定された場合に、親メニュー項目に該当するデータ数に対する、個々の検索条件による子供のメニュー項目に該当するデータ数の割合が少ないほど、高い値を示すような情報量を算出し、前記メニュー記憶手段に格納する第2の情報量算出手段と、
前記メニュー記憶手段の同一のメニュー階層に存在するメニュー項目を、情報量が高い順番に並び替え、同一のメニュー階層に存在する情報量の高い上位のメニュー項目のうち、ある一定の件数分だけ、情報量の総和した値を、当該メニュー階層の親メニュー項目の情報量として算出する情報量算出制御手段と、を有することを特徴とするメニュー提示装置。 For each data, there is a database represented by a multidimensional vector composed of binary data that records 1 when an arbitrary search condition is met, and 0 when it is not applicable. A menu presentation device in a menu search system that presents as a menu, searches the database by combining selected search condition groups, and presents search results,
Hierarchy number storage means for storing the number of menu hierarchies according to search conditions in advance before generating a menu;
Menu storage means for storing the menu identifier and the amount of information;
When the number of hierarchies of the menu to be generated according to the processing request is compared with the number of hierarchies set in the hierarchy number storage unit in advance, if the number of hierarchies of the menu to be generated is smaller, the lower hierarchies further depend on the search condition Hierarchy determination means for determining that a menu exists and determining that a menu based on a search condition does not exist in the lower hierarchy when both are equal;
When the hierarchy determination unit determines that a menu based on a search condition is further present in the lower hierarchy, a process for calculating the information amount of the menu item group using each search condition existing in the database as a parent menu item. First information amount calculation means for recursively calling and calculating, and storing the calculated information amount in the menu storage means;
The ratio of the number of data corresponding to the child menu item according to each search condition to the number of data corresponding to the parent menu item when the hierarchy determination means determines that the menu according to the search condition does not exist in the lower hierarchy The second information amount calculating means for calculating the amount of information that indicates a higher value as the number is smaller, and storing it in the menu storage means;
The menu items existing in the same menu hierarchy of the menu storage means are rearranged in order of increasing information amount, and a certain number of high-order menu items existing in the same menu hierarchy are in a certain number of cases, An information amount calculation control means for calculating a total value of information amounts as an information amount of a parent menu item of the menu hierarchy.
検索条件によるメニューの階層数を、該メニューを生成する前に予め階層数記憶手段に記憶しているコンピュータに対して、
処理要求による生成対象のメニューの階層数と、予め前記階層数記憶手段に設定された前記階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定するステップと、
前記下位階層にさらに検索条件によるメニューが存在すると判定された場合に、前記データベースに存在する個々の検索条件を親メニュー項目とした、メニュー項目群の情報量の算出処理を、再帰的に呼び出して、算出された情報量を、メニュー項目と情報量を記憶するメニュー記憶手段に格納するステップと、
前記下位階層に検索条件によるメニューが存在しないと判定された場合に、親メニュー項目に該当するデータ数に対する、個々の検索条件による子供のメニュー項目に該当するデータ数の割合が少ないほど、高い値を示すような情報量を算出して、前記メニュー記憶手段に格納するステップと、
前記メニュー記憶手段の同一のメニュー階層に存在するメニュー項目を、情報量が高い順番に並び替えるステップと、
前記メニュー記憶手段の同一のメニュー階層に存在する情報量の高い上位のメニュー項目のうち、ある一定の件数分だけ、情報量の総和した値を、当該メニュー階層の親メニュー項目の情報量として算出するステップと、
を実行させることを特徴とするメニュー提示プログラム。 For each data, there is a database represented by a multidimensional vector composed of binary data that records 1 when an arbitrary search condition is met, and 0 when it is not applicable. A menu presenting program in a menu search system that presents as a menu, searches the database by combining selected search condition groups, and presents a search result,
The computer stores the number of menu hierarchies according to the search condition in advance in the hierarchy number storage means before generating the menu.
When the number of hierarchies of the menu to be generated according to the processing request is compared with the number of hierarchies set in the hierarchy number storage unit in advance, if the number of hierarchies of the menu to be generated is smaller, the lower hierarchies further depend on the search condition Determining that the menu exists, and determining that the menu based on the search condition does not exist in the lower hierarchy when both are equal;
When it is determined that a menu based on a search condition further exists in the lower hierarchy, the calculation process for calculating the information amount of the menu item group using each search condition existing in the database as a parent menu item is recursively invoked. Storing the calculated information amount in a menu storage means for storing the menu item and the information amount;
When it is determined that the menu according to the search condition does not exist in the lower hierarchy, the smaller the ratio of the number of data corresponding to the child menu item according to each search condition to the number of data corresponding to the parent menu item, the higher the value Calculating the amount of information as shown below and storing it in the menu storage means;
Rearranging menu items existing in the same menu hierarchy of the menu storage means in descending order of information amount;
Of the higher-level menu items existing in the same menu hierarchy of the menu storage means, the total amount of information for a certain number of items is calculated as the information amount of the parent menu item of the menu hierarchy And steps to
A menu presenting program characterized in that
検索条件によるメニューの階層数を、該メニューを生成する前に予め階層数記憶手段に記憶しているコンピュータに対して、
処理要求による生成対象のメニューの階層数と、予め前記階層数記憶手段に設定された前記階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定するステップと、
前記下位階層にさらに検索条件によるメニューが存在すると判定された場合に、前記データベースに存在する個々の検索条件を親メニュー項目とした、メニュー項目群の情報量の算出処理を、再帰的に呼び出して、算出された情報量を、メニュー項目と情報量を記憶するメニュー記憶手段に格納するステップと、
前記下位階層に検索条件によるメニューが存在しないと判定された場合に、親メニュー項目に該当するデータ数に対する、個々の検索条件による子供のメニュー項目に該当するデータ数の割合が少ないほど、高い値を示すような情報量を算出して、前記メニュー記憶手段に格納するステップと、
前記メニュー記憶手段の同一のメニュー階層に存在するメニュー項目を、情報量が高い順番に並び替えるステップと、
前記メニュー記憶手段の同一のメニュー階層に存在する情報量の高い上位のメニュー項目のうち、ある一定の件数分だけ、情報量の総和した値を、当該メニュー階層の親メニュー項目の情報量として算出するステップと、
を実行させるプログラムを格納したことを特徴とするメニュー提示プログラムを格納したコンピュータ読み取り可能な記憶媒体。
For each data, there is a database represented by a multidimensional vector composed of binary data that records 1 when an arbitrary search condition is met, and 0 when it is not applicable. A computer-readable storage medium storing a menu presentation program in a menu search system that presents as a menu, searches the database by combining selected search condition groups, and presents search results,
The computer stores the number of menu hierarchies according to the search condition in advance in the hierarchy number storage means before generating the menu.
When the number of hierarchies of the menu to be generated according to the processing request is compared with the number of hierarchies set in the hierarchy number storage unit in advance, if the number of hierarchies of the menu to be generated is smaller, the lower hierarchies further depend on the search condition Determining that the menu exists, and determining that the menu based on the search condition does not exist in the lower hierarchy when both are equal;
When it is determined that a menu based on a search condition further exists in the lower hierarchy, the calculation process for calculating the information amount of the menu item group using each search condition existing in the database as a parent menu item is recursively invoked. Storing the calculated information amount in a menu storage means for storing the menu item and the information amount;
When it is determined that the menu according to the search condition does not exist in the lower hierarchy, the smaller the ratio of the number of data corresponding to the child menu item according to each search condition to the number of data corresponding to the parent menu item, the higher the value Calculating the amount of information as shown below and storing it in the menu storage means;
Rearranging menu items existing in the same menu hierarchy of the menu storage means in descending order of information amount;
Of the higher-level menu items existing in the same menu hierarchy of the menu storage means, the total amount of information for a certain number of items is calculated as the information amount of the parent menu item of the menu hierarchy And steps to
A computer-readable storage medium storing a menu presenting program, characterized in that a program for executing is stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003365748A JP2005128916A (en) | 2003-10-27 | 2003-10-27 | Method, device and program for presenting menu, and computer readable storage media for storing the program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003365748A JP2005128916A (en) | 2003-10-27 | 2003-10-27 | Method, device and program for presenting menu, and computer readable storage media for storing the program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005128916A true JP2005128916A (en) | 2005-05-19 |
Family
ID=34644316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003365748A Pending JP2005128916A (en) | 2003-10-27 | 2003-10-27 | Method, device and program for presenting menu, and computer readable storage media for storing the program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005128916A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009535698A (en) * | 2006-04-28 | 2009-10-01 | ヒューレット−パッカード デベロップメント カンパニー エル.ピー. | Dynamic data navigation |
-
2003
- 2003-10-27 JP JP2003365748A patent/JP2005128916A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009535698A (en) * | 2006-04-28 | 2009-10-01 | ヒューレット−パッカード デベロップメント カンパニー エル.ピー. | Dynamic data navigation |
JP4945633B2 (en) * | 2006-04-28 | 2012-06-06 | ヒューレット−パッカード デベロップメント カンパニー エル.ピー. | Dynamic data navigation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6138128A (en) | Sharing and organizing world wide web references using distinctive characters | |
KR101722746B1 (en) | Content item selection | |
US8266131B2 (en) | Method and a system for searching information using information device | |
JP5572596B2 (en) | Personalize the ordering of place content in search results | |
US9699490B1 (en) | Adaptive filtering to adjust automated selection of content using weightings based on contextual parameters of a browsing session | |
US8577881B2 (en) | Content searching and configuration of search results | |
JP5845254B2 (en) | Customizing the search experience using images | |
US8510287B1 (en) | Annotating personalized recommendations | |
US9953011B1 (en) | Dynamically paginated user interface | |
JP4945633B2 (en) | Dynamic data navigation | |
US9646062B2 (en) | News results through query expansion | |
US20050204307A1 (en) | Method, system and interface enabling a user to access the computer resources of a computer processing device in an ergonomic and intuitive manner | |
US9996222B2 (en) | Automatic deep view card stacking | |
Vandic et al. | Dynamic facet ordering for faceted product search engines | |
JP2009238115A (en) | Information recommendation device and information recommendation method | |
KR20020035156A (en) | System for browsing a collection of information units | |
WO2010040082A1 (en) | Real-time visualization of user consumption of media items | |
US20160299906A1 (en) | Content Item Recommendations Based On Content Attribute Sequence | |
US20100332568A1 (en) | Media Playlists | |
US10067977B2 (en) | Webpage content search | |
JPH11282875A (en) | Information filtering device | |
US10613828B2 (en) | Dynamic and personalized filtering of media content | |
JP2005128916A (en) | Method, device and program for presenting menu, and computer readable storage media for storing the program | |
US20180321804A1 (en) | Stowing and unstowing browser tabs in groups each corresponding to a different subject | |
JP2006338508A (en) | Relevant content searching device and method |