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 PDF

Info

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
Application number
JP2003365748A
Other languages
Japanese (ja)
Inventor
Masaru Miyamoto
勝 宮本
Katsuhiko Ogawa
克彦 小川
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2003365748A priority Critical patent/JP2005128916A/en
Publication of JP2005128916A publication Critical patent/JP2005128916A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide search results with larger amounts of information through a small number of times of operation. <P>SOLUTION: The number of hierarchies of an argument of a process request is compared with the stored number of hierarchies, and if the number of hierarchies of the argument is smaller, information on a group of menu items for which individual search conditions present in a database are used as host menu items is calculated. If the numbers are equal, an amount of information is calculated so that the smaller the rate of the number of data matching slave menu items based on the individual search conditions to the number of data matching the host menu items is, the higher value the amount of information will indicate. The menu items present in the same menu hierarchy are rearranged in decreasing order of amount of information. The sum of amounts of information which a predetermined number of menu items with the greater amounts of information have is calculated as the amounts of information which the host menu items of the menu have. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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参照)。具体的には、検索条件群から、設定した選択回数分の全組み合わせを生成し、小さいディスプレイでも一覧できる件数以下の検索結果をもたらす検索条件の組み合わせだけを抽出し、これらに含まれる検索条件のうち、下位階層で検索可能なデータ数が多い検索条件を優先的にメニューとして提示する。この方式では、絞り込まれた検索結果数という絶対的な値を基準にするため、少ない操作回数で、必ず小さいディスプレイでも一覧できる件数の検索結果を保証する。しかし、この方式では、単に定数以下の検索結果数に導くメニュー項目を、少ない操作回数でより多く提示するだけであり、どのような性質の検索結果が得られるかという検索結果の意味に関する検討がなされていない。
特開2000−311179号公報、宮本勝、増井信彦、大森信行、小澤英昭、鈴木健也、外村佳伸「データ検索支援方法及び装置及びデータ検索支援プログラムを格納した記憶媒体」 Shneiderman,B.(1986) Designing Menu Selection Systems, Journal of the American Society for Information Science and Technology, vol.37, No.2,pp.57-70. http://my.yahoo.co.jp/ http://www.kakaku.com/
On the other hand, there has been proposed a method of presenting more menu items that can narrow down the number of search results to the number of items that can be listed on a small display by selecting a menu several times (for example, see Patent Document 1). Specifically, all combinations for the set number of selections are generated from the search condition group, and only the search condition combinations that produce search results that are less than the number of items that can be listed on a small display are extracted. Among them, search conditions with a large number of data that can be searched in the lower hierarchy are presented as a menu preferentially. In this method, since the absolute value of the number of search results that have been narrowed down is used as a reference, the number of search results that can be listed on a small display is guaranteed with a small number of operations. However, this method simply presents more menu items that lead to the number of search results that are less than or equal to a constant number of operations, and there is a study on the meaning of the search results about what kind of search results can be obtained. Not done.
JP 2000-311179, Masaru Miyamoto, Nobuhiko Masui, Nobuyuki Omori, Hideaki Ozawa, Kenya Suzuki, Yoshinobu Tonomura “Data Search Support Method and Apparatus, and Storage Medium Stored with Data Search Support Program” Shneiderman, B. (1986) Designing Menu Selection Systems, Journal of the American Society for Information Science and Technology, vol.37, No.2, pp.57-70. http://my.yahoo.co.jp/ http://www.kakaku.com/

そこで、情報のユニークさを示す情報量という性質に着目し、少ない操作回数で、より情報量の高い検索結果を得られるメニュー提示方法を検討する。情報量は、任意の集合における珍しさ、あるいは、ユニークさの評価尺度である。   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 database 1 represented by a multi-dimensional vector composed of binary data that records 1 if any search condition is met and 0 if not A menu presenting device 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,
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 hierarchy determination unit 24 that determines that a menu based on a search condition does not exist in the lower hierarchy when the two are equal,
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 hierarchy determination unit 24 determines that a menu based on the search condition exists further in the lower hierarchy. A first information amount calculating unit 26 that recursively calls and stores the calculated information amount in the menu storage unit 3;
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 amount calculating unit 27 that calculates an information amount that indicates a higher value as the number is smaller, and stores the information amount in the menu storage unit 3;
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 database 1, a menu generation unit 2, a menu storage unit 3, an input / output unit 4, and an input device 5.

データベース1は、各データに対して、任意の検索条件に該当する場合は「1」を、該当しない場合は「0」を記録する2値データから構成される多次元ベクトルで表現される。図5に、レストランのデータベースの例を示す。レストランに対して、中華料理、イタリアンといった料理種別の検索条件や、夜景がきれいなお店などの特徴を示す検索条件に対して、該当するか否かの2値データが付与されている。後述するメニュー生成部2の処理スタック23、検索受験リスト記憶部25、メニューリーフの情報量算出部27から参照要求を受信すると、対応するデータを返す。   The database 1 is expressed by a multidimensional vector composed of binary data that records “1” when any search condition is satisfied and “0” when it does not correspond to each data. FIG. 5 shows an example of a restaurant database. For the restaurant, binary data indicating whether or not the search condition for the dish type such as Chinese or Italian or the search condition indicating a feature such as a shop with a beautiful night view is given. When a reference request is received from the processing stack 23 of the menu generation unit 2, which will be described later, the search examination list storage unit 25, and the information amount calculation unit 27 of the menu leaf, corresponding data is returned.

メニュー生成部2は、階層数記憶部21、情報量加算範囲記憶部22、処理スタック23、階層判定部24、検索条件リスト記憶部25、メニューノードの情報量算出部26、メニューリーフの情報量算出部27、親メニューノード情報量算出部28、処理起動部29から構成される。   The menu generation unit 2 includes a hierarchy number storage unit 21, an information amount addition range storage unit 22, a processing stack 23, a hierarchy determination unit 24, a search condition list storage unit 25, a menu node information amount calculation unit 26, and a menu leaf information amount. The calculation unit 27 includes a parent menu node information amount calculation unit 28 and a process activation unit 29.

階層数記憶部21は、ディスク装置等の記憶媒体であり、検索条件によるメニューの階層数を、メニューを生成する前に、予め設定し、記憶しておく。図11の例では、階層数=2と記録されていることとなる。階層判定部24から参照要求を受信すると、階層数の値を返す。   The number-of-tiers storage unit 21 is a storage medium such as a disk device, and sets and stores the number of menu layers according to search conditions in advance before generating the menu. In the example of FIG. 11, the number of hierarchies = 2 is recorded. When the reference request is received from the hierarchy determination unit 24, the value of the hierarchy number is returned.

情報量加算範囲記憶部22は、ディスク装置等の記憶媒体であり、メニューノードの情報量を算出する上で、下位階層のメニュー項目のうち、情報量が上位のメニュー項目の何件目までの総和を算出かという情報量加算範囲に対応する件数を、メニューを生成する前に、予め設定し、記憶しておく。親メニューノード情報量算出部28から、参照要求を受信すると、情報量加算範囲に対応する件数を返す。   The information amount addition range storage unit 22 is a storage medium such as a disk device. When calculating the information amount of the menu node, the information amount addition range storage unit 22 stores up to the number of menu items with the higher information amount among the menu items of the lower hierarchy. Before the menu is generated, the number corresponding to the information amount addition range of whether to calculate the sum is set and stored in advance. When a reference request is received from the parent menu node information amount calculation unit 28, the number corresponding to the information amount addition range is returned.

処理スタック記憶部23は、ディスク装置等の記憶媒体であり、再帰的にメニュー生成処理を行うために、再帰的に呼び出される処理に関する情報を、後入れ先出し法によるデータ構造によって記録する。処理に関する情報は、図6に示すように、少なくとも、親メニュー識別子、階層数、親メニュー項目、親メニューのデータ数から構成される。   The processing stack storage unit 23 is a storage medium such as a disk device, and records information related to recursively called processing in a data structure based on a last-in first-out method in order to perform menu generation processing recursively. As shown in FIG. 6, the information regarding the process includes at least a parent menu identifier, the number of layers, a parent menu item, and the number of data of the parent menu.

処理スタック記憶部23は、ディスク装置等の記憶媒体であり、処理起動部29から処理開始要求を受け取ると、初期値として親メニュー識別子=0、階層数=1のレコードを、親メニュー項目=NULL,親メニューのデータ数=全データ数、を挿入し、これらを引数として階層判定部24に処理要求を出す。全データ数は、データベース1を参照し、取得する。   The processing stack storage unit 23 is a storage medium such as a disk device. When a processing start request is received from the processing activation unit 29, the processing stack storage unit 23 sets a record of the parent menu identifier = 0 and the number of hierarchies = 1 as an initial value and sets the parent menu item = NULL. , The number of data of the parent menu = total number of data is inserted, and a processing request is issued to the hierarchy determination unit 24 using these as arguments. The total number of data is obtained by referring to the database 1.

また、処理スタック記憶部23は、メニューノードの情報量算出部26から、階層数、親メニュー項目を引数とした再起処理要求を受信すると、当該親メニュー項目に該当するデータ数を、データベース1を参照して取得し、これらの値によるレコードを新規追加する。このとき、メニュー記憶部3を参照し、使用されていない新規の親メニュー識別子の発行を要求し、その値を、当該レコードの親メニュー識別子に挿入する。その後、追加した親メニュー識別子、階層数、親メニュー項目、親メニューのデータ数を引数として、階層判定部24に処理要求を出す。   When the processing stack storage unit 23 receives a restart processing request with the number of layers and the parent menu item as arguments from the information amount calculation unit 26 of the menu node, the processing stack storage unit 23 stores the number of data corresponding to the parent menu item in the database 1. Refer to and get new records with these values. At this time, the menu storage unit 3 is referred to request the issuance of a new parent menu identifier that is not used, and the value is inserted into the parent menu identifier of the record. Thereafter, a processing request is issued to the hierarchy determination unit 24 with the added parent menu identifier, hierarchy number, parent menu item, and parent menu data number as arguments.

親メニューノード情報算出部28より、親メニューノードの情報量を引数として、処理終了要求を受信すると、以下の6つの引数と共に、図7に示すメニュー記憶部3に新規レコード作成要求を出す。   When a processing end request is received from the parent menu node information calculation unit 28 using the information amount of the parent menu node as an argument, a new record creation request is issued to the menu storage unit 3 shown in FIG. 7 together with the following six arguments.

(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 hierarchy determination unit 24, and this is repeated until there are no more process stack records.

階層判定部24は、処理スタック記憶部23より、処理要求を受け取ると、引数の階層数と、階層数記憶部21の階層数を比較し、引数の階層数の方が小さい場合、メニューノードの情報量算出部26に処理要求を出す。引数の階層数と階層数記憶部21の階層数が等しければ、メニューリーフの情報量算出部27に処理要求を出す。このとき、親メニュー識別子、階層数、親メニュー項目、親メニューのデータ数を引数として渡す。   When the hierarchy determination unit 24 receives a processing request from the processing stack storage unit 23, the hierarchy determination unit 24 compares the number of layers in the argument with the number of layers in the layer number storage unit 21. A processing request is issued to the information amount calculation unit 26. If the number of layers in the argument and the number of layers in the layer number storage unit 21 are equal, a processing request is issued to the information amount calculation unit 27 of the menu leaf. At this time, the parent menu identifier, the number of layers, the parent menu item, and the number of data of the parent menu are passed as arguments.

検索条件リスト記憶部25は、メニュー生成前にデータベース1から、検索条件のリストを抽出し、図8に示すように記憶しておく。メニューノードの情報量算出部26、メニューリーフの情報量算出部27から参照要求を受信すると、検索条件のリストを返す。   The search condition list storage unit 25 extracts a list of search conditions from the database 1 before generating the menu and stores it as shown in FIG. When a reference request is received from the information amount calculation unit 26 of the menu node and the information amount calculation unit 27 of the menu leaf, a list of search conditions is returned.

メニューノードの情報量算出部26は、階層判定部24から処理要求を受けると、検索条件リスト記憶部25から検索条件のリストを取得し、個々の検索条件をメニューノードとした場合のメニューノードの情報量算出要求を処理スタック記憶部23に出す。このとき、下位階層のメニューを評価するため、「階層数=引数の階層数+1」、「親メニュー項目=個々の検索条件」を引数として渡す。全ての検索条件を処理後、親メニューノード情報量算出部28へ親メニューノード識別子を引数として処理要求を出す。   Upon receipt of the processing request from the hierarchy determination unit 24, the menu node information amount calculation unit 26 obtains a list of search conditions from the search condition list storage unit 25, and sets the menu node when each search condition is a menu node. An information amount calculation request is issued to the processing stack storage unit 23. At this time, in order to evaluate the lower-level menu, “layer number = number of argument layers + 1” and “parent menu item = individual search condition” are passed as arguments. After processing all the search conditions, a processing request is issued to the parent menu node information amount calculation unit 28 with the parent menu node identifier as an argument.

メニューリーフの情報量算出部27は、階層判定部24から処理要求を受けると、検索条件リスト記憶部25から検索条件のリストを取得し、個々の検索条件をメニューリーフとした場合のメニューリーフの情報量を算出する。   Upon receipt of the processing request from the hierarchy determination unit 24, the menu leaf information amount calculation unit 27 obtains a list of search conditions from the search condition list storage unit 25, and the menu leaf information when the individual search conditions are menu leaves. The amount of information is calculated.

まず、当該メニューリーフに該当するデータ数を、データベース1から取得する。このとき、上位階層のメニューノードの検索条件とのAND検索の結果を利用する。図11上部のメニューリーフ「イタリアン」を評価する場合、「関内」∩「イタリアン」の検索結果数を、メニューリーフに該当するデータ数とする。さらに、上位階層にメニューノードが存在する場合には、再帰的に親メニューノードにさかのぼり、AND検索条件に親のメニューノードに対応する検索条件を追加する。   First, the number of data corresponding to the menu leaf is acquired from the database 1. At this time, the result of the AND search with the search condition of the menu node in the upper hierarchy is used. When the menu leaf “Italian” at the top of FIG. 11 is evaluated, the number of search results of “Kannai” ∩ “Italian” is set as the number of data corresponding to the menu leaf. Further, when the menu node exists in the upper hierarchy, the search condition corresponding to the parent menu node is added to the AND search condition by recursively tracing back to the parent menu node.

引数として受信した親メニューのデータ数に対する、当該メニューリーフに該当するデータ数の割合を算出し、この割合が低ければ高くなるような値をメニューリーフの情報量と定義する。シャノンの情報量を応用すれば、式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 equation 1 is obtained.
Information amount = -log (number of data corresponding to the menu leaf / number of data of the parent menu) ... Equation 1
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 menu storage unit 3, a new record creation request is issued to the menu storage unit 3 shown in FIG.

(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 amount calculation unit 27 as an argument:
(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 amount calculation unit 28 with the parent menu node identifier as an argument.

親メニューノード情報量算出部28は、メニューノードの情報量算出部26、あるいは、メニューリーフノードの情報量算出部27から、親メニュー識別子を引数として処理要求を受けると、親メニュー識別子に対応するメニューノードの情報量を算出する。具体的には、引数の親メニュー識別子を持つレコードを、図7に示すメニュー記憶部3から抽出し、情報量が高い順に並び替え、メニュー記憶部3に記憶しなおす。その後、情報量の高い上位のメニューのうち、情報量加算範囲記憶部32に設定された件数分だけ、情報量の総和を算出する。算出された情報量の総和を、親メニュー識別子に対応するメニューノードの情報量とする。この情報量を引数として、処理スタック記憶部23に処理終了要求を出す。   When a processing request is received from the menu node information amount calculation unit 26 or the menu leaf node information amount calculation unit 27 using the parent menu identifier as an argument, the parent menu node information amount calculation unit 28 corresponds to the parent menu identifier. The amount of menu node information is calculated. Specifically, records having the parent menu identifier of the argument are extracted from the menu storage unit 3 shown in FIG. 7, rearranged in descending order of the information amount, and stored again in the menu storage unit 3. Thereafter, the sum total of the information amount is calculated for the number of items set in the information amount addition range storage unit 32 among the higher-level menus with a high information amount. The sum total of the calculated information amounts is set as the information amount of the menu node corresponding to the parent menu identifier. A processing end request is issued to the processing stack storage unit 23 using this amount of information as an argument.

処理起動部29は、キーボードやマウスなどの入力デバイス5の物理的な動作を、処理起動命令か否かを判定し、処理起動命令であると判定したら、処理スタック記憶部23に処理開始要求を出す。   The process activation unit 29 determines whether the physical operation of the input device 5 such as a keyboard or a mouse is a process activation instruction. If the process activation instruction is determined to be a process activation instruction, the process activation unit 29 issues a process start request to the process stack storage unit 23. put out.

メニュー記憶部3は、図7に示すように、少なくともメニュー識別子、親メニュー識別子、メニューフラグ、メニュー項目、当該メニュー項目に該当するデータ数、情報量から構成される。処理スタック記憶部23から親メニュー識別子の発行の要求を受信したら、使用されていない新規の親メニュー識別子を発行し、その値を返す。   As shown in FIG. 7, the menu storage unit 3 includes at least a menu identifier, a parent menu identifier, a menu flag, a menu item, the number of data corresponding to the menu item, and an information amount. When a request for issuing a parent menu identifier is received from the processing stack storage unit 23, a new parent menu identifier that is not used is issued and its value is returned.

また、メニュー記憶部3は、処理スタック記憶23あるいは、メニューリーフの情報量算出部27から、(1)メニュー識別子、(2)親メニュー識別子、(3)メニューフラグ、(4)メニュー項目、(5)データ数、(6)情報量の6つの引数と共に、新規レコード要求を受信すると、新規レコードを作成し、受信した引数を、各レコードの項目に代入する。メニューリーフの情報量算出部27からの要求の場合、(1)メニュー識別子=NULLのため、メニュー識別子を新規作成し、代入する。また、メニューリーフの配下の検索結果に関しても、メニュー記憶部3に記録するために、当該メニューリーフの配下の検索結果をデータベース1から取得し、検索結果毎に新規レコードを作成する。このとき、メニュー識別子は新規作成する。また、親メニュー識別子には、メニューリーフのメニュー識別子で代入する。さらに、メニュー項目には検索結果のタイトルを代入する。   Further, the menu storage unit 3 receives (1) a menu identifier, (2) a parent menu identifier, (3) a menu flag, (4) a menu item, ( 5) When a new record request is received together with 6 arguments of the number of data and (6) information amount, a new record is created, and the received argument is substituted into the item of each record. In the case of a request from the menu leaf information amount calculation unit 27, (1) Since menu identifier = NULL, a new menu identifier is created and substituted. Further, in order to record the search results under the menu leaf in the menu storage unit 3, the search result under the menu leaf is acquired from the database 1 and a new record is created for each search result. At this time, a new menu identifier is created. Further, the menu identifier of the menu leaf is substituted for the parent menu identifier. Further, the title of the search result is substituted for the menu item.

入出力部4は、メニュー操作部41、メニュー表示部42から構成される。   The input / output unit 4 includes a menu operation unit 41 and a menu display unit 42.

メニュー操作部41は、キーボードやマウスなどの入力デバイスの物理的な動作を、メニューのカーソル移動と選択という電気的な信号に変換する。カーソルを移動すると、同じ親メニュー識別子を持つメニュー項目間を移動し、その結果を、メニュー表示部に表示する。メニュー項目を選択すると、選択したメニュー項目のメニュー識別子を、親メニュー識別子に持つメニュー項目群が、親メニューノード情報量算出部28が並び替えたように、情報量の高い順番で表示される。   The menu operation unit 41 converts the physical operation of an input device such as a keyboard and a mouse into electrical signals for menu cursor movement and selection. When the cursor is moved, the menu item having the same parent menu identifier is moved, and the result is displayed on the menu display unit. When a menu item is selected, the menu item group having the menu identifier of the selected menu item as the parent menu identifier is displayed in order of increasing information amount, as the parent menu node information amount calculating unit 28 rearranges.

メニュー表示部42は、メニュー操作部41の操作の結果を表示する。図9に、携帯電話機における入出力部の例を示す。液晶ディスプレイ等がメニュー表示部42に該当する。図9の上下の矢印キーと、それらの間の選択ボタンが、メニュー操作部41に対応する。メニュー操作部41の操作の結果がメニュー表示部42に反映される。   The menu display unit 42 displays the operation result of the menu operation unit 41. FIG. 9 shows an example of an input / output unit in a mobile phone. A liquid crystal display or the like corresponds to the menu display unit 42. The up and down arrow keys in FIG. 9 and the selection buttons between them correspond to the menu operation unit 41. The result of the operation of the menu operation unit 41 is reflected on the menu display unit 42.

入力デバイス5は、キーボードやマウスなどの入力デバイス5の物理的な動作を処理起動部29へ送信する。   The input device 5 transmits the physical operation of the input device 5 such as a keyboard and a mouse to the process activation unit 29.

次に、上記の構成におけるメニュー提示方法について説明する。   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 step 102.

ステップ101) 階層判定部24が、処理スタック記憶部23より処理要求を受け取ると、引数の階層数と、階層数記憶部21の階層数を比較し、引数の階層数の方が小さい場合にはステップ102に移行する。引数の階層数と階層数記憶部21の階層数が等しければステップ103に移行する。   Step 101) When the hierarchy determination unit 24 receives a processing request from the processing stack storage unit 23, the number of layers in the argument is compared with the number of layers in the layer number storage unit 21, and if the number of layers in the argument is smaller Move on to step 102. If the number of layers in the argument is equal to the number of layers in the number-of-layers storage unit 21, the process proceeds to step 103.

処理スタック記憶部23が、処理起動部29から処理開始要求を受け取ると最初の処理が開始される。初期値の階層数は1である。   When the process stack storage unit 23 receives a process start request from the process activation unit 29, the first process is started. The initial number of hierarchies is one.

ステップ102) メニューノードの情報量算出部26が、階層判定部24から処理要求を受けると、検索条件リスト記憶部25から検索条件のリストを取得し、個々の検索条件をメニューノードとした場合のメニューノードの情報量算出要求を、処理スタック記憶部23に出す。このとき、下位階層のメニューを評価するため、階層数=引数の階層+1、親メニュー項目=個々の検索条件を引数として渡す。その後、ステップ104に移行する。   Step 102) When the information amount calculation unit 26 of the menu node receives a processing request from the hierarchy determination unit 24, it acquires a list of search conditions from the search condition list storage unit 25, and sets each search condition as a menu node. A menu node information amount calculation request is issued to the processing stack storage unit 23. At this time, in order to evaluate the lower-level menu, the number of layers = the layer of the argument + 1, and the parent menu item = the individual search conditions are passed as arguments. Thereafter, the process proceeds to step 104.

ステップ103) メニューリーフの情報量算出部27が、階層判定部24から処理要求を受けると、検索条件リスト記憶部25から検索条件のリストを取得し、個々の検索条件をメニューリーフとした場合のメニューリーフの情報量を算出し、ステップ104に移行する。   Step 103) When the information amount calculation unit 27 of the menu leaf receives a processing request from the hierarchy determination unit 24, it acquires a list of search conditions from the search condition list storage unit 25, and sets each search condition as a menu leaf. The information amount of the menu leaf is calculated, and the process proceeds to step 104.

ステップ104) ステップ102、ステップ103の処理が、検索条件リスト記憶部25の全ての検索条件を処理したかを判定し、処理していない場合にはステップ101に移行し、処理した場合にはステップ105に移行する。   Step 104) It is determined whether the processing in Step 102 and Step 103 has processed all the search conditions in the search condition list storage unit 25. If not, the process proceeds to Step 101. If processed, the process proceeds to Step 101. 105.

ステップ105) 親メニューノード情報量算出部28が、メニューノードの情報量算出部26、あるいは、メニューリーフの情報量算出部27から、親メニュー識別子を引数として処理要求を受けると、引数の親メニュー識別子を持つレコードを、メニュー記憶部3(図7)から抽出し、情報量が高い順に並び替え、メニュー記憶部3に記録しなおし、その後、ステップ106に移行する。   Step 105) When the parent menu node information amount calculation unit 28 receives a processing request using the parent menu identifier as an argument from the information amount calculation unit 26 of the menu node or the information amount calculation unit 27 of the menu leaf, the parent menu of the argument Records having identifiers are extracted from the menu storage unit 3 (FIG. 7), rearranged in descending order of information amount, re-recorded in the menu storage unit 3, and then the process proceeds to step 106.

ステップ106) 親メニューノード情報量算出部28が、ステップ105で並び替えたメニュー項目の情報量の高い上位のメニューのうち、情報量加算範囲記憶部32に設定された件数分だけ、情報量の総和を算出する。算出された情報量の総和を、親メニュー識別子に対応するメニューノードの情報量とする。この情報量を引数として、処理スタック記憶部23に、処理終了要求を出す。   Step 106) The parent menu node information amount calculation unit 28 sets the amount of information by the number of items set in the information amount addition range storage unit 32 among the higher-level menus of the menu items rearranged in Step 105. Calculate the sum. The sum of the calculated information amounts is set as the information amount of the menu node corresponding to the parent menu identifier. A processing end request is issued to the processing stack storage unit 23 using this amount of information as an argument.

処理スタック記憶部23が、親メニューノード情報算出部28より、親メニューノードの情報量を引数として、処理終了要求を受信すると、メニュー記憶部3(図7)に、新規レコード作成要求を出す。その後、現在処理対象である処理スタックのレコードを削除し、処理スタックに残っているレコードに対応する処理要求を階層判定部24に出し、これを処理スタックのレコードがなくなるまで繰り返す。   When the processing stack storage unit 23 receives a processing end request from the parent menu node information calculation unit 28 using the information amount of the parent menu node as an argument, it issues a new record creation request to the menu storage unit 3 (FIG. 7). 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 hierarchy determination unit 24, and this is repeated until there are no more process stack records.

また、上記の実施の形態における図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.

本発明の原理を説明するための図である。It is a figure for demonstrating the principle of this invention. 本発明の原理構成図である。It is a principle block diagram of this invention. 本発明の効果を説明するための図である。It is a figure for demonstrating the effect of this invention. 本発明の一実施の形態におけるシステム構成図である。1 is a system configuration diagram according to an embodiment of the present invention. 本発明の一実施の形態におけるデータベースの例である。It is an example of the database in one embodiment of this invention. 本発明の一実施の形態における処理スタック記憶部の例である。It is an example of the processing stack memory | storage part in one embodiment of this invention. 本発明の一実施の形態におけるメニュー記憶部の例である。It is an example of the menu memory | storage part in one embodiment of this invention. 本発明の一実施の形態における検索条件リスト記憶部の例である。It is an example of the search condition list memory | storage part in one embodiment of this invention. 本発明の一実施の形態における携帯電話機における入出力部の例である。It is an example of the input-output part in the mobile telephone in one embodiment of this invention. 本発明の一実施の形態におけるメニュー提示方法のフローチャートである。It is a flowchart of the menu presentation method in one embodiment of this invention. 検索条件によるメニューを複数階層によって構成した例である。This is an example in which a menu based on search conditions is configured in a plurality of layers.

符号の説明Explanation of symbols

1 データベース
2 メニュー生成部
3 メニュー記憶部
4 入出力部
5 入力デバイス
21 階層数記憶手段、階層数記憶部
22 情報量加算範囲記憶部
23 処理スタック記憶部
24 階層判定手段、階層判定部
25 検索条件リスト記憶部
26 第1の情報量算出手段、メニューノードの情報量算出部
27 第2の情報量算出手段、メニューリーフの情報量算出部
28 情報量算出制御手段、親メニューノード情報量算出部
29 処理起動部
DESCRIPTION OF SYMBOLS 1 Database 2 Menu generation part 3 Menu storage part 4 Input / output part 5 Input device 21 Hierarchy number storage means, hierarchy number storage part 22 Information amount addition range storage part 23 Processing stack storage part 24 Hierarchy determination means, hierarchy determination part 25 Search conditions List storage unit 26 First information amount calculation unit, menu node information amount calculation unit 27 Second information amount calculation unit, menu leaf information amount calculation unit 28 Information amount calculation control unit, parent menu node information amount calculation unit 29 Processing starter

Claims (4)

各データに対して、任意の検索条件に該当する場合には1を、該当しない場合には0を記録する2値データから構成される多次元ベクトルで表現されるデータベースが存在し、検索条件をメニューとして提示し、選択された検索条件群を組み合わせて該データベースを検索し、検索結果を提示するメニュー検索システムにおける、メニュー提示方法において、
検索条件によるメニューの階層数を、該メニューを生成する前に予め階層数記憶手段に記憶させておき、
階層判定手段において、処理要求の生成対象のメニューの階層数と、予め前記階層数記憶手段に設定された前記階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定する過程と、
第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を、該当しない場合には0を記録する2値データから構成される多次元ベクトルで表現されるデータベースが存在し、検索条件をメニューとして提示し、選択された検索条件群を組み合わせて該データベースを検索し、検索結果を提示するメニュー検索システムにおける、メニュー提示装置であって、
メニューを生成する前に予め検索条件によるメニューの階層数を記憶する階層数記憶手段と、
メニュー識別子と情報量を記憶するメニュー記憶手段と、
処理要求による生成対象のメニューの階層数と、予め前記階層数記憶手段に設定された前記階層数を比較し、該生成対象のメニューの階層数の方が小さい場合、下位階層にさらに検索条件によるメニューが存在すると判定し、両者が等しい場合に、該下位階層に検索条件によるメニューが存在しないと判定する階層判定手段と、
前記階層判定手段により、前記下位階層にさらに検索条件によるメニューが存在すると判定された場合に、前記データベースに存在する個々の検索条件を親メニュー項目とした、メニュー項目群の情報量の算出処理を再帰的に呼び出して算出し、算出された情報量を前記メニュー記憶手段に格納する第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.
各データに対して、任意の検索条件に該当する場合には1を、該当しない場合には0を記録する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 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
各データに対して、任意の検索条件に該当する場合には1を、該当しない場合には0を記録する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 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.
JP2003365748A 2003-10-27 2003-10-27 Method, device and program for presenting menu, and computer readable storage media for storing the program Pending JP2005128916A (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009535698A (en) * 2006-04-28 2009-10-01 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Dynamic data navigation

Cited By (2)

* Cited by examiner, † Cited by third party
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