Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4956591B2 - Selection device, selection method, and program - Google Patents
[go: Go Back, main page]

JP4956591B2 - Selection device, selection method, and program - Google Patents

Selection device, selection method, and program Download PDF

Info

Publication number
JP4956591B2
JP4956591B2 JP2009190036A JP2009190036A JP4956591B2 JP 4956591 B2 JP4956591 B2 JP 4956591B2 JP 2009190036 A JP2009190036 A JP 2009190036A JP 2009190036 A JP2009190036 A JP 2009190036A JP 4956591 B2 JP4956591 B2 JP 4956591B2
Authority
JP
Japan
Prior art keywords
node
unit
child
display unit
nodes
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.)
Active
Application number
JP2009190036A
Other languages
Japanese (ja)
Other versions
JP2011043886A (en
Inventor
将史 竹廣
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.)
Konami Digital Entertainment Co Ltd
Original Assignee
Konami Digital Entertainment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konami Digital Entertainment Co Ltd filed Critical Konami Digital Entertainment Co Ltd
Priority to JP2009190036A priority Critical patent/JP4956591B2/en
Publication of JP2011043886A publication Critical patent/JP2011043886A/en
Application granted granted Critical
Publication of JP4956591B2 publication Critical patent/JP4956591B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

本発明は、ユーザによる1種類の操作だけで木構造の中から葉ノードを選択することにより各種の入力を可能とするのに好適な選択装置、選択方法、ならびに、これらをコンピュータにて実現するプログラムに関する。   The present invention realizes a selection device, a selection method, and a computer suitable for enabling various inputs by selecting a leaf node from a tree structure with only one type of operation by a user. Regarding the program.

一般的なコンピュータでは、キーボードを利用して文字入力を行うが、ゲーム装置はキーボードを持たないのが一般的である。したがって、ゲームにおいて要求されるユーザ名の入力のように、文字入力を行う場合のため、特許文献1に開示されるような、2つの操作スティックを用いて文字入力を行う技術が提案されている。   In general computers, characters are input using a keyboard, but game devices generally do not have a keyboard. Therefore, a technique has been proposed in which characters are input using two operation sticks as disclosed in Patent Document 1 in order to input characters as in a user name required in a game. .

特開2004−110199号公報JP 2004-110199 A

しかしながら、より一層入力を簡単にしたいという要望は強い。また、ハードウェア上の制約や障害者対策等を考慮して1種類の操作だけで各種の情報を入力できるようにしたいという要望もある。本発明は、上記のような課題を解決するもので、ユーザによる1種類の操作だけで木構造の中から葉ノードを選択することにより各種の入力を可能とするのに好適な選択装置、選択方法、ならびに、これらをコンピュータにて実現するプログラムに関する。   However, there is a strong demand for easier input. There is also a desire to be able to input various types of information with only one type of operation in consideration of hardware restrictions and measures for persons with disabilities. The present invention solves the above-described problems, and a selection device suitable for enabling various inputs by selecting a leaf node from a tree structure with only one type of operation by a user. The present invention relates to a method and a program for realizing these methods on a computer.

本発明の第1の観点に係る選択装置は、複数のノードを含む木構造からいずれかの葉ノードをユーザに選択させる選択装置であって、記憶部、表示部、検知部、出力部、更新部を備え、以下のように構成する。   A selection device according to a first aspect of the present invention is a selection device that allows a user to select any leaf node from a tree structure including a plurality of nodes, and includes a storage unit, a display unit, a detection unit, an output unit, and an update. Are configured as follows.

ここで、木構造とは、1つのノードが1つ以上のノードを持ち、当該1つ以上のノードのそれぞれがさらに1つ以上のノードを持つという形で、階層が深くなるにつれて枝分かれする構造をいう。木構造においてあるノードに注目したとすると、注目しているノードが持つノードを子ノード、注目しているノードを持つ上位のノードを親ノードという。木構造における最も上位のノードを根ノード、子ノードを持たない末端のノードを葉ノードという。また、子ノードを持つノード(葉ノード以外のノード)を内部ノードという(したがって、根ノードは内部ノードである)。各ノードには任意の項目が割り当てられ、一般的に上位のノードは下位のノードよりも抽象度の高い項目が割り当てられる。例えば、ゲームにおいてキャラクタに使用させる複数のアイテムが木構造で体系付けられている場合、最上位のノード(根ノード)“アイテム”の下位のノード(子ノード)として“武器”、“防具”、及び“魔法”が割り当てられる。さらに、“武器”の項目は子ノードとして“銃”、“刀”、及び“撒菱”が割り当てられる。   Here, the tree structure is a structure in which one node has one or more nodes, each of the one or more nodes further has one or more nodes, and branches as the hierarchy deepens. Say. If attention is paid to a certain node in the tree structure, a node possessed by the focused node is referred to as a child node, and an upper node having the focused node is referred to as a parent node. The highest node in the tree structure is called a root node, and the terminal node having no child nodes is called a leaf node. A node having a child node (a node other than a leaf node) is referred to as an internal node (the root node is therefore an internal node). Arbitrary items are assigned to each node, and generally, an upper node is assigned an item having a higher abstraction level than a lower node. For example, when a plurality of items to be used by a character in a game are organized in a tree structure, “weapons”, “armor”, “nodes” (nodes) that are subordinate to the top node (root node) “item”, And "magic" is assigned. Furthermore, “gun”, “sword”, and “Koryo” are assigned to the “weapon” item as child nodes.

記憶部は、木構造に含まれる複数のノードのいずれかを注目ノードとして記憶する。   The storage unit stores any of a plurality of nodes included in the tree structure as a node of interest.

例えば、上記アイテムの木構造において、ユーザが“武器”のノードを選択したとすると、記憶部は注目ノードとして、“武器”のノードを記憶する。   For example, in the tree structure of the item, if the user selects a “weapon” node, the storage unit stores a “weapon” node as a node of interest.

表示部は、注目ノードの子ノードを時間経過と共に順に、候補ノードとして表示する。   The display unit displays the child nodes of the node of interest as candidate nodes in order with the passage of time.

ここで、候補ノードとは、ユーザが現時点で選択可能なノードをいう。
例えば、ユーザが“武器”のノードを選択すると、“武器”の子ノードである“銃”、“刀”、及び“撒菱”が順番に一つずつ、選択可能な項目として、画面に表示される。
Here, the candidate nodes are nodes that can be selected by the user at the present time.
For example, when the user selects the “weapon” node, the “gun”, “sword”, and “撒 ryo” child nodes of “weapon” are displayed on the screen as selectable items one by one in order. The

検知部は、ユーザからの指示入力の有無を検知する。   A detection part detects the presence or absence of the instruction | indication input from a user.

例えば、ユーザが、表示部に表示されている“武器”の項目を選択するために、ボタンを押圧すると、検知部はボタンの押圧を検知する。   For example, when the user presses a button to select the item “weapon” displayed on the display unit, the detection unit detects the pressing of the button.

出力部は、指示入力がされたことが検知されると、当該検知の時点で表示部により候補ノードとして表示されている子ノードが葉ノードである場合、当該子ノードを選択結果として出力する。   When it is detected that an instruction is input, the output unit outputs the child node as a selection result when the child node displayed as a candidate node by the display unit at the time of the detection is a leaf node.

例えば、ユーザによるボタンの押圧が検知され、検知された時点で表示部に“銃”の項目が表示されているとする。出力部は、“武器”の子ノードである“銃”が葉ノードであるので、“銃”の項目を選択結果として出力する。   For example, it is assumed that the button press by the user is detected, and the item “gun” is displayed on the display unit when the button is detected. Since the “gun” that is a child node of “weapon” is a leaf node, the output unit outputs the item “gun” as a selection result.

更新部は、指示入力がされたことが検知されると、当該検知の時点で表示部により候補ノードとして表示されている子ノードが葉ノードでない場合、当該子ノードを新たな注目ノードとするように記憶部を更新する。   When the update unit detects that an instruction is input, if the child node displayed as a candidate node by the display unit at the time of the detection is not a leaf node, the update unit causes the child node to be a new node of interest. The storage unit is updated.

例えば、ユーザによるボタンの押圧が検知され、検知された時点で表示部に“武器”の項目が表示されているとする。この場合、“武器”の親ノードである“アイテム”が注目ノードとして記憶部に記憶されている。出力部は、“武器”を、新たな注目ノードとして記憶部を更新する。   For example, it is assumed that the button press by the user is detected, and the item “weapon” is displayed on the display unit at the time of detection. In this case, “item”, which is the parent node of “weapon”, is stored in the storage unit as the attention node. The output unit updates the storage unit with “weapon” as a new attention node.

本発明によれば、ボタンの押圧のような1種類の操作だけで木構造の中から葉ノードを選択することによって、項目の入力が可能となる。   According to the present invention, an item can be input by selecting a leaf node from a tree structure with only one type of operation such as pressing a button.

また、木構造に含まれる内部ノードは、取り消しを表わすノードを子ノードに持ち、指示入力がされたことが検知されると、当該検知の時点で表示部により候補ノードとして表示されている子ノードが取り消しを表わす子ノードである場合、更新部は注目ノードの親ノードを新たな注目ノードとするように記憶部を更新するようにしてもよい。   Further, the internal node included in the tree structure has a node representing cancellation as a child node, and when it is detected that an instruction is input, the child node displayed as a candidate node by the display unit at the time of the detection May be a child node representing cancellation, the updating unit may update the storage unit so that the parent node of the node of interest becomes a new node of interest.

例えば、現在の注目ノードが“武器”であり、その子ノードの“銃”、“刀”、“撒菱”、“取消”(取り消しを表わすノード)が順番に一つずつ表示部により表示されている。ユーザによるボタンの押圧が検知された時点で、表示部により“取消”が表示されていたとすると、更新部は、“武器”の親ノードである“アイテム”を注目ノードとして記憶部を更新する。これにより、表示部には“アイテム”の子ノードである“武器”、“防具”、及び“魔法”が順番に一つずつ表示部により表示される。   For example, the current attention node is “weapon”, and its child nodes “gun”, “sword”, “撒 ryo”, and “cancel” (node indicating cancellation) are displayed one by one in order. . Assuming that “cancel” is displayed on the display unit at the point when the user presses the button, the update unit updates the storage unit with “item”, which is the parent node of “weapon”, as the node of interest. As a result, “weapon”, “armor”, and “magic”, which are child nodes of “item”, are displayed on the display unit one by one in order.

本発明は、上記発明の好適実施形態に係るものであり、ユーザが誤ってノードを選択してしまったとしても、1種類の操作だけで誤った入力を取り消すことができる。   The present invention relates to a preferred embodiment of the above invention, and even if a user selects a node by mistake, an erroneous input can be canceled by only one type of operation.

また、指示入力がされたことが検知されると、当該検知の時点で表示部により候補ノードとして表示されている子ノードが取り消しを表わす子ノードであり、注目ノードが根ノードである場合、出力部はユーザによる選択がされなかった旨を出力するようにしてもよい。   Also, when it is detected that an instruction has been input, if the child node displayed as a candidate node by the display unit at the time of the detection is a child node representing cancellation and the node of interest is a root node, output The unit may output that the user has not made a selection.

例えば、“アイテム”(根ノード)が注目ノードであり、“アイテム”の子ノードである“武器”、“防具”、“魔法”、及び“取消”が順次表示部に表示されている。ユーザによるボタンの押圧が検知された時点で、表示部に、“取消”が表示されていたとすると、出力部は、“選択無し”等のメッセージを出力する。   For example, “item” (root node) is an attention node, and “weapon”, “armor”, “magic”, and “cancel” that are child nodes of “item” are sequentially displayed on the display unit. Assuming that “cancel” is displayed on the display unit at the point when the user presses the button, the output unit outputs a message such as “no selection”.

本発明は、上記発明の好適実施形態に係るものであり、ボタンの押圧のような1種類の操作だけで入力の選択を取り止めることができる。   The present invention relates to a preferred embodiment of the above invention, and selection of input can be canceled by only one kind of operation such as pressing a button.

また、根ノードは、取り消しを表わすノードを子ノードに持たないようにしてもよい。   Further, the root node may not have a node representing cancellation as a child node.

例えば、“アイテム”(根ノード)が注目ノードであり、“アイテム”の子ノードである“武器”、“防具”、及び“魔法”が順次表示部により表示される。   For example, “item” (root node) is the attention node, and “weapon”, “armor”, and “magic” that are child nodes of “item” are sequentially displayed on the display unit.

本発明は、上記発明の好適実施形態に係るものであり、ユーザに必ず何かを選択させるようにすることができる。   The present invention relates to a preferred embodiment of the above-described invention, and allows the user to always select something.

また、検知部は、ユーザによるボタン、キー、スイッチ、もしくは、接触センサの押圧操作がされると、指示入力がされたと検知してもよい。   Further, the detection unit may detect that an instruction is input when the user performs a pressing operation on a button, key, switch, or contact sensor.

すなわち、検知部は、選択装置が備えるいずれかのボタン等の押圧操作だけを検知し、どのボタンが押圧されたかは検知しない。   That is, the detection unit detects only the pressing operation of any button or the like provided in the selection device, and does not detect which button is pressed.

本発明は、上記発明の好適実施形態に係るものであり、複数のボタン等を必要とせず、ユーザによる1種類の操作だけで葉ノードの選択が可能である。   The present invention relates to a preferred embodiment of the present invention, and does not require a plurality of buttons or the like, and a leaf node can be selected by only one type of operation by the user.

また、表示部が一つの候補ノードを表示する時間の長さは、注目ノードが更新されてからの経過時間に応じて長くなるようにしてもよい。   Further, the length of time for which the display unit displays one candidate node may be made longer according to the elapsed time since the node of interest was updated.

例えば、注目ノードが“アイテム”から“武器”に更新され、“武器”の子ノードである“銃”、“刀”、“撒菱”が順番に一つずつ表示されるとする。表示部は、初めに、各ノードを1秒間ずつ表示し、注目ノードが“武器”に更新されてから所定の時間が経つと、各ノードを2秒間ずつ表示する。   For example, it is assumed that the node of interest is updated from “item” to “weapon”, and “gun”, “sword”, and “撒 ryo”, which are child nodes of “weapon”, are displayed one by one. The display unit first displays each node for 1 second, and displays each node for 2 seconds when a predetermined time elapses after the node of interest is updated to “weapon”.

本発明は、上記発明の好適実施形態に係るものであり、ユーザは、選択可能な項目を、初めに手早く閲覧してから、項目を選択することができる。   The present invention relates to a preferred embodiment of the above-described invention, and the user can quickly select the items that can be selected first and then select the items.

また、表示部が一つの候補ノードを表示する時間の長さは、出力部により過去に出力された選択結果に基づいて定められるようにしてもよい。   In addition, the length of time for which the display unit displays one candidate node may be determined based on the selection results output in the past by the output unit.

例えば、表示部が一つの項目を表示する時間の長さを、選択結果として選択される頻度が高いものほど長くする。上記の例で、“銃”、“刀”、及び“撒菱”の項目のうち“刀”の項目が最も多く選択され、次に“銃”の項目が多く選択されるとすると、例えば、表示部は“銃”の項目を2秒間表示し、“刀”の項目を3秒間、“撒菱”の項目を1秒間表示する。   For example, the length of time for which the display unit displays one item is increased as the frequency of selection as a selection result increases. In the above example, if the “sword” item is selected most frequently from among the “gun”, “sword”, and “撒 ryo” items, then the “gun” item is selected the most, for example, display The section displays the item “gun” for 2 seconds, the item “sword” for 3 seconds, and the item “撒 ryo” for 1 second.

本発明は、上記発明の好適実施形態に係るものであり、過去の選択結果を考慮して子ノードが表示されることで、ユーザによる選択の利便性を向上させることができる。   The present invention relates to a preferred embodiment of the invention described above, and by displaying child nodes in consideration of past selection results, the convenience of selection by the user can be improved.

表示部が注目ノードの子ノードを候補ノードとして表示する順序は、出力部により過去に出力された選択結果に基づいて変化してもよい。   The order in which the display unit displays the child nodes of the node of interest as candidate nodes may change based on the selection results output in the past by the output unit.

例えば、表示部が一つずつ表示する項目の順番を、選択結果として選択される頻度が高いものから表示されるようにする。上記の例で、“銃”、“刀”、及び“撒菱”の項目のうち“刀”が最も多く選択され、次に“銃”が多く選択されるとすると、表示部は“刀”、“銃”、“撒菱”の順番で、一つずつ表示する。これにより、何度も選択される項目が表示されるまでの時間を短縮することができる。   For example, the order of the items displayed by the display unit one by one is displayed from the item that is selected more frequently as the selection result. In the above example, if “sword” is selected most frequently from among the items of “gun”, “sword”, and “撒 ryo”, and then “gun” is selected many times, the display unit is “sword”, Display one by one in the order of “Gun” and “Soro”. As a result, it is possible to shorten the time until an item that is selected many times is displayed.

本発明は、上記発明の好適実施形態に係るものであり、過去の選択結果を考慮して子ノードが表示されることで、ユーザによる選択の利便性を向上させることができる。   The present invention relates to a preferred embodiment of the invention described above, and by displaying child nodes in consideration of past selection results, the convenience of selection by the user can be improved.

木構造の根ノードの子ノードはそれぞれ、所定の配列で文字を並べた表の行に対応付けられ、当該表の行に対応付けられるノードの子ノードはそれぞれ、当該行の各列に含まれる文字に対応付けられる葉ノードであってもよい。   Each child node of the root node of the tree structure is associated with a row of the table in which characters are arranged in a predetermined array, and each child node of the node associated with the row of the table is included in each column of the row. It may be a leaf node associated with a character.

ひらがなの五十音表を例にとると、根ノードには“文字”という項目が割り当てられ、根ノードの子ノードには、“あ段”のひらがな、“あ”、“か”、“さ”、“た”、“な”、・・・“わ”が割り当てられる。さらに、これらのノードには各行に含まれるひらがな、“あ”、“い”、“う”、“え”、“お”等が子ノード(葉ノード)として割り当てられる。   Taking the hiragana syllabary table as an example, the item “letter” is assigned to the root node, and the child nodes of the root node are the hiragana, “a”, “ka”, “sa” "," "Ta", "na", ... "wa" are assigned. Furthermore, hiragana, “a”, “i”, “u”, “e”, “o”, etc. included in each row are assigned to these nodes as child nodes (leaf nodes).

本発明は、上記発明の好適実施形態に係るものであり、ボタンの押圧のような1種類の操作だけで文字入力を行うことができる。   The present invention relates to a preferred embodiment of the above invention, and can input characters by only one kind of operation such as pressing a button.

本発明のその他の観点に係る選択方法は、複数のノードを含む木構造からいずれかの葉ノードをユーザに選択させ、記憶部と、表示部と、検知部と、出力部と、更新部と、を備える選択装置が実行する選択方法であって、記憶工程と、表示工程と、検知工程と、出力工程と、更新工程と、を備え、以下のように構成する。   A selection method according to another aspect of the present invention allows a user to select any leaf node from a tree structure including a plurality of nodes, a storage unit, a display unit, a detection unit, an output unit, an update unit, The selection method is executed by a selection device including a storage process, a display process, a detection process, an output process, and an update process, and is configured as follows.

記憶工程において、記憶部が、木構造に含まれる複数のノードのいずれかを注目ノードとして記憶する。   In the storing step, the storage unit stores any one of a plurality of nodes included in the tree structure as a node of interest.

表示工程において、表示部が、注目ノードの子ノードを時間経過と共に順に、候補ノードとして表示する。   In the display step, the display unit displays the child nodes of the node of interest as candidate nodes in order with the passage of time.

検知工程において、検知部が、ユーザからの指示入力の有無を検知する。   In the detection step, the detection unit detects the presence or absence of an instruction input from the user.

出力工程において、出力部が、指示入力がされたことが検知されると、当該検知の時点で表示部により候補ノードとして表示されている子ノードが葉ノードである場合、当該子ノードを選択結果として出力する。   In the output process, when the output unit detects that an instruction is input, if the child node displayed as a candidate node by the display unit at the time of the detection is a leaf node, the child node is selected. Output as.

更新工程において、更新部が、指示入力がされたことが検知されると、当該検知の時点で表示部により候補ノードとして表示されている子ノードが葉ノードでない場合、当該子ノードを新たな注目ノードとするように記憶部を更新する。   In the updating process, when the updating unit detects that an instruction is input, if the child node displayed as a candidate node by the display unit at the time of the detection is not a leaf node, the child node is newly noticed. The storage unit is updated to be a node.

本発明のその他の観点に係るプログラムは、コンピュータを上記選択装置として機能させ、コンピュータに上記選択方法を実行させるように構成する。   A program according to another aspect of the present invention is configured to cause a computer to function as the selection device and to cause the computer to execute the selection method.

また、本発明のプログラムは、コンパクトディスク、フレキシブルディスク、ハードディスク、光磁気ディスク、ディジタルビデオディスク、磁気テープ、半導体メモリ等のコンピュータ読取可能な情報記憶媒体に記録することができる。   The program of the present invention can be recorded on a computer-readable information storage medium such as a compact disk, flexible disk, hard disk, magneto-optical disk, digital video disk, magnetic tape, and semiconductor memory.

本発明によれば、ユーザによる1種類の操作だけで木構造の中から葉ノードを選択することにより各種の入力を可能とするのに好適な選択装置、選択方法、ならびに、これらをコンピュータにて実現するプログラムを提供することができる。   According to the present invention, a selection device and a selection method suitable for enabling various inputs by selecting a leaf node from a tree structure with only one type of operation by a user, and these are performed by a computer. A program to be realized can be provided.

本実施形態にかかる携帯型情報処理装置の概要構成を示す模式図である。1 is a schematic diagram showing a schematic configuration of a portable information processing apparatus according to an embodiment. 実施形態の選択装置の機能構成を説明するための図である。It is a figure for demonstrating the function structure of the selection apparatus of embodiment. 実施形態の木構造の例を示す図である。It is a figure which shows the example of the tree structure of embodiment. 本実施形態の選択方法が携帯型情報処理装置において実現される場合の例を示す。An example in which the selection method of the present embodiment is realized in a portable information processing device will be described. (a)、(b)、(c)、及び(d)は、本実施形態の表示部が表示する候補ノードの表示例を示す図である。(A), (b), (c), and (d) are figures which show the example of a display of the candidate node which the display part of this embodiment displays. 候補ノードが表示される時間と、注目ノードが更新されてからの時間との関係を示す図である。It is a figure which shows the relationship between the time when a candidate node is displayed, and the time after an attention node is updated. (a)、(b)、(c)、及び(d)は、本実施形態の表示部が表示する候補ノードの表示例を示す図である。(A), (b), (c), and (d) are figures which show the example of a display of the candidate node which the display part of this embodiment displays. (a)、(b)、(c)、及び(d)は、本実施形態の表示部が表示する候補ノードの表示例を示す図である。(A), (b), (c), and (d) are figures which show the example of a display of the candidate node which the display part of this embodiment displays. 実施形態の選択装置の各部が行う処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process which each part of the selection apparatus of embodiment performs. (a)、(b)、(c)、及び(d)は、本実施形態の表示部が表示する子ノードの表示例を示す図である。(A), (b), (c), and (d) are figures which show the example of a display of the child node which the display part of this embodiment displays. 本実施形態の表示部が表示する子ノードの表示例を示す図である。It is a figure which shows the example of a display of the child node which the display part of this embodiment displays. 実施形態の木構造の他の例を示す図である。It is a figure which shows the other example of the tree structure of embodiment. (a)、(b)、(c)、及び(d)は、本実施形態の表示部が表示する候補ノードの表示例を示す図である。(A), (b), (c), and (d) are figures which show the example of a display of the candidate node which the display part of this embodiment displays.

以下に本発明の実施の形態を説明する。以下では、理解を容易にするため、携帯型情報処理装置に本発明が適用される実施の形態を説明するが、各種のコンピュータ、PDA、携帯電話、音楽プレイヤなどにおいても同様に本発明を適用することができる。すなわち、以下に説明する実施形態は説明のためのものであり、本願発明の範囲を制限するものではない。したがって、当業者であればこれらの各要素もしくは全要素をこれと等しいものに置換した実施形態を採用することが可能であるが、これらの実施形態も本発明の範囲に含まれる。   Embodiments of the present invention will be described below. In the following, for ease of understanding, an embodiment in which the present invention is applied to a portable information processing apparatus will be described. However, the present invention is similarly applied to various computers, PDAs, mobile phones, music players, and the like. can do. That is, the embodiment described below is for explanation, and does not limit the scope of the present invention. Therefore, those skilled in the art can employ embodiments in which each or all of these elements are replaced with equivalent ones, and these embodiments are also included in the scope of the present invention.

(実施形態)
図1は、本発明の実施形態に係る選択装置が実現される携帯型情報処理装置1の概要構成を示す模式図である。
携帯型情報処理装置1は、処理制御部10と、コネクタ11と、カートリッジ12と、無線通信部13と、通信コントローラ14と、サウンドアンプ15と、スピーカ16と、マイク17と、操作キー18と、第1の表示部19と、第2の表示部20と、タッチパネル21と、を備える。
(Embodiment)
FIG. 1 is a schematic diagram illustrating a schematic configuration of a portable information processing device 1 in which a selection device according to an embodiment of the present invention is realized.
The portable information processing apparatus 1 includes a processing control unit 10, a connector 11, a cartridge 12, a wireless communication unit 13, a communication controller 14, a sound amplifier 15, a speaker 16, a microphone 17, and operation keys 18. , A first display unit 19, a second display unit 20, and a touch panel 21.

処理制御部10は、CPU(Central Processing Unit)コア10aと、画像処理部10bと、VRAM(Video Random Access Memory)10cと、WRAM(Work RAM)10dと、LCD(Liquid Crystal Display)コントローラ10eと、タッチパネルコントローラ10fと、を備える。   The processing control unit 10 includes a CPU (Central Processing Unit) core 10a, an image processing unit 10b, a VRAM (Video Random Access Memory) 10c, a WRAM (Work RAM) 10d, an LCD (Liquid Crystal Display) controller 10e, A touch panel controller 10f.

CPUコア10aは、携帯型情報処理装置1全体の動作を制御し、各構成要素と接続され、制御信号やデータをやりとりする。具体的には、カートリッジ12がコネクタ11に装着された状態で、カートリッジ12内のROM(Read Only Memory)12aに記憶されたプログラムやデータを読み出して、所定の処理を実行する。   The CPU core 10a controls the operation of the entire portable information processing apparatus 1, is connected to each component, and exchanges control signals and data. Specifically, a program and data stored in a ROM (Read Only Memory) 12a in the cartridge 12 are read out with the cartridge 12 mounted in the connector 11, and predetermined processing is executed.

画像処理部10bは、カートリッジ12内のROM 12aから読み出されたデータや、CPUコア10aにて処理されたデータを加工処理した後、これをVRAM 10cに格納する。   The image processing unit 10b processes the data read from the ROM 12a in the cartridge 12 and the data processed by the CPU core 10a, and stores the processed data in the VRAM 10c.

VRAM 10cは、表示用の情報を記憶するフレームメモリであり、画像処理部10b等により加工された画像情報を記憶する。
WRAM 10dは、CPUコア10aがプログラムに従った各種処理を実行する際に必要となるワークデータ等を記憶する。
The VRAM 10c is a frame memory that stores information for display, and stores image information processed by the image processing unit 10b and the like.
The WRAM 10d stores work data and the like necessary for the CPU core 10a to execute various processes according to the program.

LCDコントローラ10eは、第1の表示部19および、第2の表示部20を制御し、所定の表示用画像を表示させる。例えば、LCDコントローラ10eは、VRAM 10cに記憶された画像情報を、所定の同期タイミングで表示信号に変換し、第1の表示部19に出力する。また、LCDコントローラ10eは、第2の表示部20に所定の指示アイコン等を表示する。   The LCD controller 10e controls the first display unit 19 and the second display unit 20 to display a predetermined display image. For example, the LCD controller 10 e converts the image information stored in the VRAM 10 c into a display signal at a predetermined synchronization timing and outputs the display signal to the first display unit 19. The LCD controller 10e displays a predetermined instruction icon or the like on the second display unit 20.

タッチパネルコントローラ10fは、タッチペンやユーザの指によるタッチパネル21への接触(タッチ)を検出する。例えば、第2の表示部20に所定の指示アイコン等が表示されている状態で、タッチパネル21上の接触およびその位置等を検出する。   The touch panel controller 10f detects a touch (touch) on the touch panel 21 with a touch pen or a user's finger. For example, in the state where a predetermined instruction icon or the like is displayed on the second display unit 20, a contact on the touch panel 21 and its position are detected.

コネクタ11は、カートリッジ12と脱着自在に接続可能な端子であり、カートリッジ12が接続された際に、カートリッジ12との間で所定のデータを送受信する。   The connector 11 is a terminal that can be detachably connected to the cartridge 12, and transmits / receives predetermined data to / from the cartridge 12 when the cartridge 12 is connected.

カートリッジ12は、ROM 12aと、RAM(Random Access Memory)12bと、を備える。
ROM 12aには、ゲームを実現するためのプログラムとゲームに付随する画像データや音声データ等が記録される。
RAM 12bには、ゲームの進行状況等を示す種々のデータが記憶される。
The cartridge 12 includes a ROM 12a and a RAM (Random Access Memory) 12b.
The ROM 12a stores a program for realizing the game and image data, sound data, and the like accompanying the game.
The RAM 12b stores various data indicating the progress of the game.

無線通信部13は、他の携帯型情報処理装置1の無線通信部13との間で、無線通信を行うユニットであり、図示せぬアンテナ(内蔵アンテナ等)を介して所定のデータを送受信する。
なお、無線通信部13は、所定のアクセスポイントとの間で、無線LAN通信を行うこともできる。また、無線通信部13には、固有のMAC(Media Access Control)アドレスが採番されている。
The wireless communication unit 13 is a unit that performs wireless communication with the wireless communication unit 13 of another portable information processing apparatus 1 and transmits / receives predetermined data via an antenna (not shown) (not shown). .
The wireless communication unit 13 can also perform wireless LAN communication with a predetermined access point. The wireless communication unit 13 is assigned a unique MAC (Media Access Control) address.

通信コントローラ14は、無線通信部13を制御し、所定のプロトコルに沿って、処理制御部10と他の携帯型情報処理装置1の処理制御部10との間で行われる通信の仲立ちをする。   The communication controller 14 controls the wireless communication unit 13 and mediates communication performed between the processing control unit 10 and the processing control unit 10 of another portable information processing device 1 according to a predetermined protocol.

サウンドアンプ15は、処理制御部10にて生成された音声信号を増幅し、スピーカ16に供給する。   The sound amplifier 15 amplifies the audio signal generated by the processing control unit 10 and supplies it to the speaker 16.

スピーカ16は、例えば、ステレオスピーカ等からなり、サウンドアンプ15にて増幅された音声信号に従って、所定の楽曲音や効果音等を出力する。   The speaker 16 is composed of, for example, a stereo speaker, and outputs predetermined music sound, sound effect, and the like according to the audio signal amplified by the sound amplifier 15.

マイク17は、ユーザの声等のアナログ信号を受け付け、受け付けた信号は処理制御部10でミキシング等の処理がされる。   The microphone 17 receives an analog signal such as a user's voice, and the received signal is processed by the processing control unit 10 such as mixing.

操作キー18は、携帯型情報処理装置1に適宜配置された方向キー22やボタン23等から構成され、ユーザの操作に従って、所定の指示入力を受け付ける。操作キー18には、音量を調節するためのボタンや、つまみ等も含まれる。   The operation key 18 includes a direction key 22 and a button 23 that are appropriately arranged in the portable information processing apparatus 1 and receives a predetermined instruction input according to a user operation. The operation key 18 includes a button for adjusting the volume, a knob, and the like.

第1の表示部19および、第2の表示部20は、LCD等からなり、LCDコントローラ10eに制御され、ゲーム画像等を適宜表示する。
なお、第2の表示部20は、タッチパネル21の接触によりユーザから操作指示を入力させるための指示アイコン等を表示する。
The 1st display part 19 and the 2nd display part 20 consist of LCD etc., are controlled by the LCD controller 10e, and display a game image etc. suitably.
Note that the second display unit 20 displays an instruction icon or the like for inputting an operation instruction from the user by touching the touch panel 21.

タッチパネル21は、第2の表示部20の前面に重畳して配置され、タッチペンやユーザの指の接触による入力を受け付ける。
タッチパネル21は、例えば、感圧式のタッチセンサパネル等からなり、ユーザの指等の圧力を検出し、接触状態および、接触状態から非接触状態への移行等を検出する。なお、タッチパネル21は、他に静電容量の変化等から、ユーザの指等の接触を検出してもよい。
The touch panel 21 is disposed so as to be superimposed on the front surface of the second display unit 20 and receives an input by touch of a touch pen or a user's finger.
The touch panel 21 includes, for example, a pressure-sensitive touch sensor panel and the like, detects the pressure of the user's finger and the like, and detects the contact state and the transition from the contact state to the non-contact state. In addition, the touch panel 21 may detect contact with a user's finger or the like from a change in capacitance or the like.

図2は、本実施形態に係る選択装置の機能構成を示す図である。以下、本図を参照して説明する。   FIG. 2 is a diagram illustrating a functional configuration of the selection device according to the present embodiment. Hereinafter, a description will be given with reference to FIG.

本実施形態の選択装置200は、記憶部201と、表示部202と、検知部203と、出力部204と、更新部205と、を備える。   The selection device 200 of this embodiment includes a storage unit 201, a display unit 202, a detection unit 203, an output unit 204, and an update unit 205.

記憶部201は、木構造に含まれる複数のノードのうち、ユーザがどのノードを選択したか、すなわち、どのノードが注目ノードかを、記憶する。
したがって、CPUコア10aはWRAM 10dと協働し、記憶部201として機能する。
The storage unit 201 stores which node the user has selected from among a plurality of nodes included in the tree structure, that is, which node is the target node.
Therefore, the CPU core 10a functions as the storage unit 201 in cooperation with the WRAM 10d.

ここで、本実施形態における木構造の例を図3に示す。図3の木構造は、アイテムに関する項目を木構造で表わしたものである。根ノードは“アイテム”の項目であり、“アイテム”の項目は子ノードとして、“武器”、“防具”、“魔法”、及び“取消”の項目を持つ。さらに、“武器”の項目は子ノードとして、“銃”、“刀”、“撒菱”、及び“取消”の項目を、“防具”の項目は子ノードとして、“盾”、“鎧”、及び“取消”等の項目を、“魔法”の項目は子ノードとして、“飛ぶ”、“停止”、及び“取消”等の項目を持つ。また、“銃”、“刀”、“撒菱”、“盾”、“鎧”、“飛ぶ”、“停止”、及び“取消”はそれぞれ、子ノードを持たないので、葉ノードである。
例えば、ユーザが選択した項目が“武器”の場合、記憶部201は、“武器”のノードを注目ノードとして記憶する。
注目ノードの“武器”からみて、親ノードは“アイテム”の項目であり、子ノードは“銃”、“刀”、“撒菱”、及び“取消”の項目である。
Here, an example of a tree structure in the present embodiment is shown in FIG. The tree structure in FIG. 3 represents items related to items in a tree structure. The root node is an item of “item”, and the item of “item” has “weapon”, “armor”, “magic”, and “cancel” items as child nodes. Furthermore, the item “weapon” is a child node, “gun”, “sword”, “撒 ryo”, and “cancel” items, and the item “armor” is a child node, “shield”, “armor”, The item “magic” has items such as “fly”, “stop”, and “cancel” as child nodes. Also, “gun”, “sword”, “撒 ryo”, “shield”, “armor”, “fly”, “stop”, and “cancel” are leaf nodes because they have no child nodes.
For example, when the item selected by the user is “weapon”, the storage unit 201 stores the “weapon” node as a node of interest.
From the viewpoint of the “weapon” of the target node, the parent node is an item of “item”, and the child nodes are items of “gun”, “sword”, “撒 ryo”, and “cancel”.

表示部202は、ユーザにより選択されたノード(注目ノード)の子ノードを、一つずつ順番に、次に選択可能なノード(候補ノード)として表示する。
したがって、CPUコア10aは、画像処理部10b、VRAM 10c、LCDコントローラ10e、第1の表示部19、及び第2の表示部20と協働し、表示部202として機能する。
The display unit 202 displays the child nodes of the node selected by the user (target node) one after another as the next selectable node (candidate node).
Therefore, the CPU core 10a functions as the display unit 202 in cooperation with the image processing unit 10b, the VRAM 10c, the LCD controller 10e, the first display unit 19, and the second display unit 20.

例えば、“アイテム”を注目ノードとすると、表示部202は、“アイテム”の子ノードである“武器”、“防具”、“魔法”、及び“取消”を順番に一つずつ、候補ノードとして表示する。図4に、表示部202による候補ノードの表示の仕方の例を示す。例えば、携帯型情報処理装置1の第1の表示部19に、入力欄401と注目ノードの子ノードの一覧(子ノード一覧パネル402)が表示される。入力欄401は第1の表示部19内の所定の位置に固定され、子ノード一覧パネル402は、図5(a)から図5(d)まで順番に、入力欄401に対して上方向に移動する。いちばん下の項目まで移動した場合(図5(d))は、再び図5(a)に戻る。ここで、子ノード一覧パネル402内の入力欄401に表示されるノードが候補ノード403〜406となる。図5(a)では、“武器”が候補ノードであり、図5(b)では、“防具”が、図5(c)では、“魔法”が、図5(d)では、“取消”が候補ノードである。   For example, if “item” is a node of interest, the display unit 202 sets “weapon”, “armor”, “magic”, and “cancel”, which are child nodes of “item”, as candidate nodes one by one in order. indicate. FIG. 4 shows an example of how candidate nodes are displayed by the display unit 202. For example, the input field 401 and a list of child nodes of the node of interest (child node list panel 402) are displayed on the first display unit 19 of the portable information processing device 1. The input column 401 is fixed at a predetermined position in the first display unit 19, and the child node list panel 402 is moved upward with respect to the input column 401 in order from FIG. 5A to FIG. 5D. Moving. When it moves to the lowest item (FIG. 5D), it returns to FIG. 5A again. Here, the nodes displayed in the input field 401 in the child node list panel 402 are candidate nodes 403 to 406. In FIG. 5 (a), “weapon” is a candidate node, in FIG. 5 (b) “armor”, in FIG. 5 (c) “magic”, in FIG. 5 (d) “cancel”. Is a candidate node.

また、表示部202は、子ノードを候補ノードとして表示する時間及び候補ノードとして表示する順番を、過去の選択結果に基づいて変更することができる。例えば、候補ノードの表示時間を、記憶部201に記憶された注目ノードが更新部205により更新されてからの時間に基づいて変更する。例えば、図6に示すように、注目ノードが更新されてから4秒経つまでは、表示部202は各項目を1秒間ずつ表示し、注目ノードが更新されてから4秒経過後、12秒経つまでは、表示部202は各項目を2秒間ずつ表示する。また、例えば、子ノードを表示する順番は、過去に選択された頻度が多いものから表示されるようにしてもよい。すなわち、過去に選択された頻度が、“魔法”、“武器”、“防具”、及び“取消”の順の場合は、子ノード一覧パネル402を図7の子ノード一覧パネル702に変更することができる。   Moreover, the display part 202 can change the order which displays a child node as a candidate node, and a candidate node based on the past selection result. For example, the display time of the candidate node is changed based on the time after the node of interest stored in the storage unit 201 is updated by the update unit 205. For example, as shown in FIG. 6, the display unit 202 displays each item for one second until 4 seconds after the attention node is updated, and 12 seconds after 4 seconds since the attention node is updated. Until then, the display unit 202 displays each item for 2 seconds. Further, for example, the order in which the child nodes are displayed may be displayed in descending order of frequency selected in the past. That is, when the frequency selected in the past is in the order of “magic”, “weapon”, “armor”, and “cancel”, the child node list panel 402 is changed to the child node list panel 702 in FIG. Can do.

検知部203は、ユーザによりボタン、キー、スイッチ、もしくは、接触センサの押圧操作がされると、ユーザによる押圧(指示入力)を検知する。例えば、図5(a)から図5(d)に示すように、入力欄401に子ノードが候補ノードとして順次表示されている間に、ユーザが、方向キー22やボタン23を押圧すると、検知部203はその押圧操作を検知する。
したがって、CPUコア10aはタッチパネルコントローラ10f及び操作キー18と協働し、検知部203として機能する。
When the user performs a pressing operation on a button, key, switch, or contact sensor, the detection unit 203 detects the pressing (instruction input) by the user. For example, as shown in FIGS. 5A to 5D, when the user presses the direction key 22 or the button 23 while the child nodes are sequentially displayed as candidate nodes in the input field 401, the detection is performed. The unit 203 detects the pressing operation.
Therefore, the CPU core 10 a functions as the detection unit 203 in cooperation with the touch panel controller 10 f and the operation key 18.

出力部204は、検知部203により指示入力が検知された時点で、表示部202に候補ノードとして表示されている子ノードが葉ノードである場合、当該子ノードを選択結果として出力する。例えば、注目ノードが“武器”の項目であり、図8(a)のように、入力欄801に“銃”の項目が候補ノードとして表示されている時に、ユーザがボタン23を押圧したとする。“銃”は図3の木構造の葉ノードであるので、出力部204は、“銃”を選択結果として出力する。
したがって、CPUコア10aはWRAM 10dと協働し、出力部204として機能する。
When the instruction input is detected by the detection unit 203, the output unit 204 outputs the child node as a selection result when the child node displayed as a candidate node on the display unit 202 is a leaf node. For example, assume that the user presses the button 23 when the node of interest is the item “weapon” and the item “gun” is displayed as a candidate node in the input field 801 as shown in FIG. . Since “gun” is a leaf node of the tree structure of FIG. 3, the output unit 204 outputs “gun” as a selection result.
Therefore, the CPU core 10a functions as the output unit 204 in cooperation with the WRAM 10d.

更新部205は、検知部203により指示入力が検知された時点で、表示部202に候補ノードとして表示されている子ノードが葉ノードでない場合、当該子ノードを新たな注目ノードとして、記憶部201を更新する。例えば、注目ノードが“アイテム”の項目であり、図5(a)のように、入力欄401に“武器”の項目が候補ノードとして表示されている時に、ユーザがボタン23を押圧したとする。“武器”は図3の木構造の葉ノードではないので、更新部205は、“武器”を新たな注目ノードとして記憶部201を更新する。
したがって、CPUコア10aはWRAM 10dと協働し、更新部205として機能する。
If the child node displayed as a candidate node on the display unit 202 is not a leaf node when the instruction input is detected by the detection unit 203, the update unit 205 sets the child node as a new node of interest as the storage unit 201. Update. For example, it is assumed that the user presses the button 23 when the node of interest is the item “item” and the item “weapon” is displayed as a candidate node in the input field 401 as shown in FIG. . Since “weapon” is not a leaf node of the tree structure in FIG. 3, the updating unit 205 updates the storage unit 201 with “weapon” as a new node of interest.
Therefore, the CPU core 10a functions as the updating unit 205 in cooperation with the WRAM 10d.

以下、選択装置200の各部が行う動作について説明する。選択装置200に電源が投入され、ユーザによって選択処理が開始されると、CPUコア10aは、例えば、第1の表示部19に図4のような画像を表示させ、図9のフローチャートに示す処理を開始する。以下、図3に示す木構造を例に、説明する。   Hereinafter, operations performed by each unit of the selection device 200 will be described. When the selection device 200 is powered on and the selection process is started by the user, the CPU core 10a displays, for example, an image as shown in FIG. 4 on the first display unit 19, and the process shown in the flowchart of FIG. To start. Hereinafter, the tree structure shown in FIG. 3 will be described as an example.

ユーザが選択処理を開始すると、初めに注目ノードには根ノード、すなわち“アイテム”の項目が記憶部201に記憶される(ステップS901)。そして、表示部202は、現在の注目ノードの子ノードを一つずつ順番に表示する(ステップS902)。例えば、現在の注目ノードが“アイテム”の場合、注目ノードの子ノードは“武器”、“防具”、“魔法”、及び“取消”であり、表示部202は、これらの項目を図5(a)から図5(d)に示すように、入力欄401に順番に表示する。   When the user starts the selection process, the root node, that is, the item “item” is first stored in the storage unit 201 as the node of interest (step S901). Then, the display unit 202 displays the child nodes of the current node of interest one by one (step S902). For example, when the current attention node is “item”, the child nodes of the attention node are “weapon”, “armor”, “magic”, and “cancel”, and the display unit 202 displays these items in FIG. As shown in FIG. 5D from a), they are displayed in order in the input field 401.

次に、検知部203は、注目ノードの子ノードが表示部202に表示されている間、ユーザによる指示入力の有無を検知する(ステップS903)。検知部203がユーザによる指示入力を検知した場合(ステップS903;Yes)、CPUコア10aは、候補ノードとして表示されている子ノードが取り消しを表わすノードか否かを判断する(ステップS904)。一方、検知部203がユーザによる指示入力を検知しない場合は(ステップS903;No)、引き続き表示部202は子ノードを順次表示する(ステップS902)。   Next, while the child node of the node of interest is displayed on the display unit 202, the detection unit 203 detects the presence / absence of an instruction input by the user (step S903). When the detection unit 203 detects an instruction input by the user (step S903; Yes), the CPU core 10a determines whether the child node displayed as the candidate node is a node representing cancellation (step S904). On the other hand, when the detection unit 203 does not detect an instruction input by the user (step S903; No), the display unit 202 sequentially displays the child nodes (step S902).

すなわち、検知部203がユーザによるボタンの押圧を検知した場合、CPUコア10aは、押圧を検知したタイミングで入力欄401に表示されているノードが取り消しを表わすノード(“取消”の項目、図3の取消ノード301、302)か否かを判断する(ステップS904)。一方、検知部203がユーザによるボタンの押圧を検知しない場合、表示部202は、図5(a)から図5(d)までを、繰り返し表示する。   That is, when the detection unit 203 detects a button press by the user, the CPU core 10a indicates that the node displayed in the input field 401 at the timing when the press is detected is a node indicating “cancel” (an item “cancel”, FIG. 3). (Cancellation node 301, 302) or not (step S904). On the other hand, when the detection unit 203 does not detect the pressing of the button by the user, the display unit 202 repeatedly displays from FIG. 5A to FIG.

CPUコア10aが、候補ノードとして表示されている子ノードが取り消しを表わすノードであると判断した場合(ステップS904;Yes)、CPUコア10aは、次に、注目ノードが根ノードであるか否かを判断する(ステップS905)。一方、CPUコア10aが、候補ノードとして表示されている子ノードが取り消しを表わすノードでないと判断した場合(ステップS904;No)、CPUコア10aは、次に、候補ノードとして表示されている子ノードが葉ノードであるか否かを判断する(ステップS906)。   When the CPU core 10a determines that the child node displayed as the candidate node is a node representing cancellation (step S904; Yes), the CPU core 10a next determines whether or not the node of interest is a root node. Is determined (step S905). On the other hand, when the CPU core 10a determines that the child node displayed as the candidate node is not a node representing cancellation (step S904; No), the CPU core 10a next displays the child node displayed as the candidate node. It is determined whether or not is a leaf node (step S906).

すなわち、押圧を検知したタイミングで入力欄401に“取消”の項目(図3の取消ノード301、302)が表示されている場合、CPUコア10aは、次に、当該注目ノード(図3の取消ノード301、302の親ノード)が根ノードであるか否かを判断する。一方、押圧を検知したタイミングで入力欄401に“取消”の項目以外が表示されている場合、CPUコア10aは、次に、入力欄401に表示されている項目が葉ノードであるか否かを判断する。   That is, when the item “cancel” (cancellation nodes 301 and 302 in FIG. 3) is displayed in the input field 401 at the timing when the press is detected, the CPU core 10a next selects the node of interest (cancellation in FIG. 3). It is determined whether the parent node of the nodes 301 and 302 is the root node. On the other hand, when the item other than “Cancel” is displayed in the input field 401 at the timing when the press is detected, the CPU core 10a next determines whether or not the item displayed in the input field 401 is a leaf node. Judging.

CPUコア10aが注目ノードが根ノードであると判断した場合(ステップS905;Yes)、出力部204は、ユーザによる項目の選択がされなかった旨を出力する(ステップS907)。一方、CPUコア10aが注目ノードが根ノードでないと判断した場合(ステップS905;No)、更新部205は、当該注目ノードの親ノードを新たな注目ノードとして、記憶部201のデータを更新する(ステップS908)。   When the CPU core 10a determines that the node of interest is the root node (step S905; Yes), the output unit 204 outputs that the item has not been selected by the user (step S907). On the other hand, when the CPU core 10a determines that the target node is not the root node (step S905; No), the update unit 205 updates the data in the storage unit 201 with the parent node of the target node as a new target node ( Step S908).

例えば、図3の木構造の取消ノード301に対応する“取消”の項目が入力欄401に表示されていた場合(図5(d))、CPUコア10aは、取消ノード301の親ノード“アイテム”(注目ノード)は根ノードであると判断し、出力部204は、例えば“選択無し”のメッセージを出力する。一方、図3の木構造の取消ノード302に対応する“取消”の項目が入力欄401に表示されていた場合(図8(d))、CPUコア10aは、取消ノード302の親ノード“武器”(現在の注目ノード)は根ノードでないと判断し、更新部205は、“武器”の親ノード(“アイテム”)を新たな注目ノードとして記憶部201のデータを更新する。
また、ステップS907で“選択無し”等のメッセージを表示した後、本選択処理を終了するようにしてもよい。
For example, when the “cancel” item corresponding to the cancel node 301 having the tree structure in FIG. 3 is displayed in the input field 401 (FIG. 5D), the CPU core 10 a displays the parent node “item of the cancel node 301. It is determined that “(attention node)” is a root node, and the output unit 204 outputs, for example, a “no selection” message. On the other hand, when the “cancel” item corresponding to the tree-structured cancel node 302 in FIG. 3 is displayed in the input field 401 (FIG. 8D), the CPU core 10a determines that the parent node “weapon” of the cancel node 302 It is determined that “(current attention node) is not a root node, and the update unit 205 updates the data in the storage unit 201 with the parent node (“ item ”) of“ weapon ”as a new attention node.
In addition, after displaying a message such as “no selection” in step S907, the selection process may be terminated.

CPUコア10aが、候補ノードとして表示されている子ノードが葉ノードであると判断した場合(ステップS906;Yes)、出力部204は、候補ノードとして表示されている子ノード(葉ノード)を選択結果として出力する(ステップS909)。一方、CPUコア10aが、候補ノードとして表示されている子ノードが葉ノードでないと判断した場合(ステップS906;No)、更新部205は候補ノードとして表示されている子ノードを新たな注目ノードとして、記憶部201のデータを更新する(ステップS910)。   When the CPU core 10a determines that the child node displayed as the candidate node is a leaf node (step S906; Yes), the output unit 204 selects the child node (leaf node) displayed as the candidate node. The result is output (step S909). On the other hand, when the CPU core 10a determines that the child node displayed as the candidate node is not a leaf node (step S906; No), the update unit 205 sets the child node displayed as the candidate node as a new attention node. Then, the data in the storage unit 201 is updated (step S910).

例えば、“銃”の項目が入力欄401に表示されている場合(図8(a))、CPUコア10aは、“銃”のノード(子ノード)は葉ノードであると判断し、出力部204は、“銃”を選択結果として出力する。一方、“武器”の項目が入力欄401に表示されている場合(図5(a))、CPUコア10aは、“武器”の項目は葉ノードでないと判断し、“武器”のノードを新たな注目ノードとする。   For example, when the item “gun” is displayed in the input field 401 (FIG. 8A), the CPU core 10a determines that the “gun” node (child node) is a leaf node, and the output unit 204 outputs “gun” as a selection result. On the other hand, when the item “weapon” is displayed in the input field 401 (FIG. 5A), the CPU core 10a determines that the item “weapon” is not a leaf node, and newly sets the node “weapon”. It is assumed that the attention node.

ステップS907又はステップS909で、出力部204が選択結果又は選択無しの旨を出力した後は、再びステップS901に戻り、注目ノードを根ノードとする選択処理が開始される。また、ステップS908又はステップS910で、更新部205が記憶部201を更新した後は、ステップS902に戻り、新たな注目ノードの子ノードを表示する処理(ステップS902)が開始される。   After the output unit 204 outputs a selection result or no selection in step S907 or step S909, the process returns to step S901 again, and selection processing using the target node as a root node is started. In addition, after the update unit 205 updates the storage unit 201 in step S908 or step S910, the process returns to step S902, and processing for displaying a child node of a new node of interest (step S902) is started.

本発明によれば、ユーザによる1種類の操作だけで木構造の中から葉ノードを選択することにより項目の入力を可能とする。また、1種類の操作だけで、入力の取り消しも行うことができる。これにより、例えばユーザが図4の携帯型情報処理装置1を片手で持っていたとしても、片手で携帯型情報処理装置1を支えながらボタン23等を押すことによって、項目の入力を行うことができる。   According to the present invention, an item can be input by selecting a leaf node from a tree structure with only one type of operation by a user. Further, the input can be canceled by only one type of operation. Thereby, for example, even if the user holds the portable information processing apparatus 1 of FIG. 4 with one hand, an item can be input by pressing the button 23 or the like while supporting the portable information processing apparatus 1 with one hand. it can.

本実施形態において、表示部202が候補ノードを表示する手法を図5(a)から図5(d)に示したが、これに限らず、例えば、図10(a)から図10(d)に示すように、子ノード一覧パネルを入力欄1001の下に固定させ、カーソル1003を移動させて、カーソル1003が示す子ノードを候補ノードとしてもよい。また、過去に表示された子ノード一覧パネルを選択結果が出力されるまで表示させるようにしてもよい。例えば、“武器”の項目が選択された後に“武器”の子ノードが候補ノードとして表示される場合に、“武器”の項目の選択時に表示された図11の子ノード一覧パネル1102と、“武器”の子ノードの子ノード一覧パネル1103とを一緒に表示させる。   In the present embodiment, the method of displaying the candidate nodes by the display unit 202 is shown in FIGS. 5A to 5D. However, the present invention is not limited to this. For example, FIG. 10A to FIG. As shown in FIG. 6, the child node list panel may be fixed below the input field 1001, the cursor 1003 is moved, and the child node indicated by the cursor 1003 may be set as a candidate node. Further, the child node list panel displayed in the past may be displayed until the selection result is output. For example, when the “weapon” child node is displayed as a candidate node after the “weapon” item is selected, the child node list panel 1102 of FIG. 11 displayed when the “weapon” item is selected; The child node list panel 1103 of the child node of “weapon” is displayed together.

また、本発明の木構造は、ゲームのアイテム等の項目に限られず、例えば、平仮名の木構造(図12)を用いてもよい。この場合、図13(a)に示すように、“あ段”の平仮名を子ノード一覧パネル1302に表示し、表示部202は、子ノードを一つずつ上方向にずらして順次入力欄1301に表示する。例えば、ユーザが“すし”という単語を入力する場合は、図13(a)に示すように、“さ”の平仮名が候補ノードとして表示されている時点でボタン23等を押す。次に“さ行”の平仮名を子ノード一覧パネル1304に表示し、表示部202は、子ノードを一つずつ順次入力欄1301に表示する。ユーザが、図13(b)に示すように、“す”の平仮名が候補ノードとして表示される時点でボタン23等を押すと、“す”の平仮名は葉ノードなので、“す”の平仮名が選択結果として入力欄1301に出力される。選択結果が出力されると、図13(c)に示すように、再び“あ段”の子ノード一覧パネル1302が表示される。そして、“す”の平仮名の場合と同様に“し”の平仮名が選択結果として出力された後に、図13(d)のように“消”の項目(図12の取消ノード1201)が選択されると、選択が終了する。本発明によれば、ユーザによる1種類の操作だけで文字入力を行うことができる。   Further, the tree structure of the present invention is not limited to items such as game items, and for example, a hiragana tree structure (FIG. 12) may be used. In this case, as shown in FIG. 13A, the hiragana character “A” is displayed on the child node list panel 1302, and the display unit 202 sequentially shifts the child nodes one by one in the input field 1301. indicate. For example, when the user inputs the word “sushi”, as shown in FIG. 13A, when the hiragana “sa” is displayed as a candidate node, the button 23 or the like is pressed. Next, hiragana characters of “sa line” are displayed on the child node list panel 1304, and the display unit 202 sequentially displays the child nodes one by one in the input field 1301. When the user presses the button 23 or the like when the hiragana character “su” is displayed as a candidate node as shown in FIG. 13B, the hiragana character “su” is a leaf node, so A selection result is output to the input field 1301. When the selection result is output, as shown in FIG. 13C, the “node” child node list panel 1302 is displayed again. Then, as in the case of “su” hiragana, the “hi” hiragana is output as the selection result, and then the “deletion” item (cancellation node 1201 in FIG. 12) is selected as shown in FIG. Then, the selection ends. According to the present invention, it is possible to input characters with only one type of operation by the user.

また、上記の文字入力において、選択結果の文字列の漢字変換候補を子ノード一覧パネルに表示させるようにしてもよい。   Further, in the above character input, the kanji conversion candidates of the character string of the selection result may be displayed on the child node list panel.

本発明では、ボタン等の入力受付部は1つあれば足り、複数の入力受付部を備えなくても、項目や文字等の各種の入力を可能とする。   In the present invention, only one input reception unit such as a button is sufficient, and various types of input such as items and characters can be made without a plurality of input reception units.

以上説明したように、本発明によれば、ユーザによる1種類の操作だけで木構造の中から葉ノードを選択することにより各種の入力を可能とするのに好適な選択装置、選択方法、ならびに、これらをコンピュータにて実現するプログラムを提供することができる。   As described above, according to the present invention, a selection device, a selection method, and a method suitable for enabling various inputs by selecting a leaf node from a tree structure with only one type of operation by a user, and A program for realizing these by a computer can be provided.

1 携帯型情報処理装置
10 処理制御部
10a CPUコア
10b 画像処理部
10c VRAM
10d WRAM
10e LCDコントローラ
10f タッチパネルコントローラ
11 コネクタ
12 カートリッジ
12a ROM
12b RAM
13 無線通信部
14 通信コントローラ
15 サウンドアンプ
16 スピーカ
17 マイク
18 操作キー
19 第1の表示部
20 第2の表示部
21 タッチパネル
22 方向キー
23 ボタン
200 選択装置
201 記憶部
202 表示部
203 検知部
204 出力部
205 更新部
301、302、1201 取消ノード
401、701、801、1001、1101、1301 入力欄
402、702、802、1002、1102、1103、1302、1304 子ノード一覧パネル
403、404、405、406、703、704、705、706、803、804、805、806、1303、1305、1306、1307 候補ノード
1003、1104、1105 カーソル
DESCRIPTION OF SYMBOLS 1 Portable information processing apparatus 10 Processing control part 10a CPU core 10b Image processing part 10c VRAM
10d WRAM
10e LCD controller 10f Touch panel controller 11 Connector 12 Cartridge 12a ROM
12b RAM
DESCRIPTION OF SYMBOLS 13 Wireless communication part 14 Communication controller 15 Sound amplifier 16 Speaker 17 Microphone 18 Operation key 19 1st display part 20 2nd display part 21 Touch panel 22 Direction key 23 Button 200 Selection apparatus 201 Storage part 202 Display part 203 Detection part 204 Output Part 205 Update part 301, 302, 1201 Cancel node 401, 701, 801, 1001, 1101, 1301 Input fields 402, 702, 802, 1002, 1102, 1103, 1302, 1304 Child node list panels 403, 404, 405, 406 , 703, 704, 705, 706, 803, 804, 805, 806, 1303, 1305, 1306, 1307 Candidate nodes 1003, 1104, 1105 Cursor

Claims (4)

複数のノードを含む木構造からいずれかの葉ノードをユーザに選択させる選択装置であって、
前記木構造に含まれる複数のノードのいずれかを注目ノードとして記憶する記憶部と、
前記注目ノードの子ノードを時間経過と共に順に、候補ノードとして表示する表示部と、
前記ユーザからの指示入力の有無を検知する検知部と、
前記指示入力がされたことが検知されると、当該検知の時点で前記表示部により候補ノードとして表示されている子ノードが葉ノードである場合、当該子ノードを選択結果として出力する出力部と、
前記指示入力がされたことが検知されると、当該検知の時点で前記表示部により候補ノードとして表示されている子ノードが葉ノードでない場合、当該子ノードを新たな注目ノードとするように前記記憶部を更新する更新部と、
を備え、
前記表示部が一つの候補ノードを表示する時間の長さは、前記注目ノードが更新されてからの経過時間に応じて長くなる
とを特徴とする選択装置。
A selection device that allows a user to select any leaf node from a tree structure including a plurality of nodes,
A storage unit for storing any of a plurality of nodes included in the tree structure as a target node;
A display unit that displays child nodes of the node of interest as candidate nodes in order with the passage of time;
A detection unit for detecting the presence or absence of an instruction input from the user;
When it is detected that the instruction is input, an output unit that outputs the child node as a selection result when the child node displayed as a candidate node by the display unit at the time of the detection is a leaf node; ,
When it is detected that the instruction is input, if the child node displayed as a candidate node by the display unit at the time of the detection is not a leaf node, the child node is set as a new attention node. An update unit for updating the storage unit;
With
The length of time for which the display unit displays one candidate node becomes longer according to the elapsed time since the attention node is updated.
Select device comprising a call.
複数のノードを含む木構造からいずれかの葉ノードをユーザに選択させる選択装置であって、
前記木構造に含まれる複数のノードのいずれかを注目ノードとして記憶する記憶部と、
前記注目ノードの子ノードを時間経過と共に順に、候補ノードとして表示する表示部と、
前記ユーザからの指示入力の有無を検知する検知部と、
前記指示入力がされたことが検知されると、当該検知の時点で前記表示部により候補ノードとして表示されている子ノードが葉ノードである場合、当該子ノードを選択結果として出力する出力部と、
前記指示入力がされたことが検知されると、当該検知の時点で前記表示部により候補ノードとして表示されている子ノードが葉ノードでない場合、当該子ノードを新たな注目ノードとするように前記記憶部を更新する更新部と、
を備え、
前記表示部が一つの候補ノードを表示する時間の長さは、前記出力部により過去に出力された選択結果に基づいて定められる
とを特徴とする選択装置。
A selection device that allows a user to select any leaf node from a tree structure including a plurality of nodes,
A storage unit for storing any of a plurality of nodes included in the tree structure as a target node;
A display unit that displays child nodes of the node of interest as candidate nodes in order with the passage of time;
A detection unit for detecting the presence or absence of an instruction input from the user;
When it is detected that the instruction is input, an output unit that outputs the child node as a selection result when the child node displayed as a candidate node by the display unit at the time of the detection is a leaf node; ,
When it is detected that the instruction is input, if the child node displayed as a candidate node by the display unit at the time of the detection is not a leaf node, the child node is set as a new attention node. An update unit for updating the storage unit;
With
The length of time for which the display unit displays one candidate node is determined based on the selection result output in the past by the output unit.
Select device comprising a call.
複数のノードを含む木構造からいずれかの葉ノードをユーザに選択させ、記憶部と、表示部と、検知部と、出力部と、更新部と、を備える選択装置が実行する選択方法であって、
前記記憶部が、前記木構造に含まれる複数のノードのいずれかを注目ノードとして記憶する記憶工程と、
前記表示部が、前記注目ノードの子ノードを時間経過と共に順に、候補ノードとして表示する表示工程と、
前記検知部が、前記ユーザからの指示入力の有無を検知する検知工程と、
前記出力部が、前記指示入力がされたことが検知されると、当該検知の時点で前記表示部により候補ノードとして表示されている子ノードが葉ノードである場合、当該子ノードを選択結果として出力する出力工程と、
前記更新部が、前記指示入力がされたことが検知されると、当該検知の時点で前記表示部により候補ノードとして表示されている子ノードが葉ノードでない場合、当該子ノードを新たな注目ノードとするように前記記憶部を更新する更新工程と、
を備え、
前記表示工程において、前記表示部が一つの候補ノードを表示する時間の長さは、前記注目ノードが更新されてからの経過時間に応じて長くなる
とを特徴とする選択方法。
A selection method executed by a selection device that allows a user to select any leaf node from a tree structure including a plurality of nodes, and includes a storage unit, a display unit, a detection unit, an output unit, and an update unit. And
A storage step in which the storage unit stores any of a plurality of nodes included in the tree structure as a node of interest;
A display step in which the display unit displays the child nodes of the node of interest as candidate nodes in order over time;
A detection step in which the detection unit detects the presence or absence of an instruction input from the user;
When the output unit detects that the instruction is input, if the child node displayed as a candidate node by the display unit at the time of the detection is a leaf node, the child node is selected as a selection result. An output process to output;
When the update unit detects that the instruction is input, if the child node displayed as a candidate node by the display unit at the time of the detection is not a leaf node, the child node is selected as a new attention node. An update step of updating the storage unit so that
With
In the display step, the length of time for which the display unit displays one candidate node becomes longer according to the elapsed time since the attention node is updated.
Select wherein a call.
複数のノードを含む木構造からいずれかの葉ノードをユーザに選択させるコンピュータを、
前記木構造に含まれる複数のノードのいずれかを注目ノードとして記憶する記憶部、
前記注目ノードの子ノードを時間経過と共に順に、候補ノードとして表示する表示部、
前記ユーザからの指示入力の有無を検知する検知部、
前記指示入力がされたことが検知されると、当該検知の時点で前記表示部により候補ノードとして表示されている子ノードが葉ノードである場合、当該子ノードを選択結果として出力する出力部、
前記指示入力がされたことが検知されると、当該検知の時点で前記表示部により候補ノードとして表示されている子ノードが葉ノードでない場合、当該子ノードを新たな注目ノードとするように前記記憶部を更新する更新部、
として機能させ、
前記表示部が一つの候補ノードを表示する時間の長さは、前記注目ノードが更新されてからの経過時間に応じて長くなる
ように機能させることを特徴とするプログラム。

A computer that allows a user to select any leaf node from a tree structure including a plurality of nodes.
A storage unit for storing any of a plurality of nodes included in the tree structure as a target node;
A display unit for displaying the child nodes of the node of interest as candidate nodes in order with the passage of time;
A detection unit for detecting the presence or absence of an instruction input from the user;
When it is detected that the instruction input has been made, if the child node displayed as a candidate node by the display unit at the time of the detection is a leaf node, an output unit that outputs the child node as a selection result;
When it is detected that the instruction is input, if the child node displayed as a candidate node by the display unit at the time of the detection is not a leaf node, the child node is set as a new attention node. An update unit for updating the storage unit;
Function as
The length of time for which the display unit displays one candidate node becomes longer according to the elapsed time since the attention node is updated.
Program for causing to function as.

JP2009190036A 2009-08-19 2009-08-19 Selection device, selection method, and program Active JP4956591B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009190036A JP4956591B2 (en) 2009-08-19 2009-08-19 Selection device, selection method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009190036A JP4956591B2 (en) 2009-08-19 2009-08-19 Selection device, selection method, and program

Publications (2)

Publication Number Publication Date
JP2011043886A JP2011043886A (en) 2011-03-03
JP4956591B2 true JP4956591B2 (en) 2012-06-20

Family

ID=43831287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009190036A Active JP4956591B2 (en) 2009-08-19 2009-08-19 Selection device, selection method, and program

Country Status (1)

Country Link
JP (1) JP4956591B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5211197B2 (en) * 2011-06-01 2013-06-12 株式会社コナミデジタルエンタテインメント Selection device, selection method, and program
TW201539251A (en) * 2014-04-09 2015-10-16 Utechzone Co Ltd Electronic apparatus and method for operating electronic apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265682A (en) * 1992-03-19 1993-10-15 Fujitsu Ltd Menu hierarchy changing system
JP3730859B2 (en) * 2000-12-08 2006-01-05 埼玉日本電気株式会社 Foldable mobile phone
JP2003316501A (en) * 2002-04-24 2003-11-07 Sharp Corp Input device
JP3884406B2 (en) * 2003-05-30 2007-02-21 株式会社リコー Tree structure drawing device

Also Published As

Publication number Publication date
JP2011043886A (en) 2011-03-03

Similar Documents

Publication Publication Date Title
KR100672605B1 (en) Item selection method and terminal for same
CN102520874B (en) Pinyin input method based on touch screen and device
CN101965266A (en) Wireless handheld device capable of accepting text input and method for entering text on wireless handheld device
JP2009266220A (en) Method and device for operating graphic menu bar and recording medium using the same
AU2003293393A1 (en) Alphanumeric keyboard input system using a game controller
JP2009169456A (en) Electronic equipment, information input method and information input control program used for same electronic equipment, and portable terminal device
CN106547368B (en) Character input method and device based on game pad
US20140240262A1 (en) Apparatus and method for supporting voice service in a portable terminal for visually disabled people
WO2012127792A1 (en) Information terminal, and method and program for switching display screen
WO2014129581A1 (en) Electronic device, control program, and method for operating electronic device
JP5081957B2 (en) Input reception device, item selection method, and program
CN101620469B (en) Character input device and method thereof
KR101030177B1 (en) Data input device and data input method
JP4956591B2 (en) Selection device, selection method, and program
JP5623054B2 (en) Input device
JP5881831B2 (en) Character input device and character input method in portable terminal
JP2013200614A (en) Information processing device and character input method
JP2014238704A (en) Input device, input method, and program
JP4714279B2 (en) Portable information processing apparatus, processing method, and program
KR102199974B1 (en) Method and Apparatus for Inputting Korean Characters
JP6267379B1 (en) Editing device, editing method, and program
JP4737444B2 (en) Portable information terminal
KR20100045617A (en) Korean alphabet input method utilizing a multi-touch sensing touch screen
JP2013120968A (en) Portable terminal device, display control method and display control program
JP7531214B2 (en) Character input device, character input method, and character input program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110802

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110929

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120313

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120316

R150 Certificate of patent or registration of utility model

Ref document number: 4956591

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150323

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250