JP5056676B2 - Information processing apparatus, window display method, and program - Google Patents

Information processing apparatus, window display method, and program Download PDF

Info

Publication number
JP5056676B2
JP5056676B2 JP2008221507A JP2008221507A JP5056676B2 JP 5056676 B2 JP5056676 B2 JP 5056676B2 JP 2008221507 A JP2008221507 A JP 2008221507A JP 2008221507 A JP2008221507 A JP 2008221507A JP 5056676 B2 JP5056676 B2 JP 5056676B2
Authority
JP
Japan
Prior art keywords
window
display
pop
unit
related information
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
JP2008221507A
Other languages
Japanese (ja)
Other versions
JP2010055488A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2008221507A priority Critical patent/JP5056676B2/en
Publication of JP2010055488A publication Critical patent/JP2010055488A/en
Application granted granted Critical
Publication of JP5056676B2 publication Critical patent/JP5056676B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

本発明は、電子テキストを表示するとともに、その表示されたテキスト中のユーザにより指定された文字列(単語、句、文)に関連する情報(訳や意味、図や表などの関連情報)をサブウィンドウで表示する情報処理装置に関する。   The present invention displays electronic text and information related to a character string (word, phrase, sentence) designated by the user in the displayed text (related information such as translation, meaning, figure and table). The present invention relates to an information processing apparatus displayed in a subwindow.

特許文献1には、ブラウザが、画面上でカーソルによって指定された単語をキーワードとして抽出し、抽出した単語をサーチエンジンに転送し、サーチエンジンによる検索結果であるポップアップメニューを指定された単語の近傍に表示する装置が記載されている。   In Patent Document 1, a browser extracts a word designated by a cursor on a screen as a keyword, transfers the extracted word to a search engine, and a pop-up menu as a search result by the search engine is in the vicinity of the designated word. The device to display is described.

特許文献2には、電子文書を表示し、予め指定された文字列についての関連情報を、その文字列を含む文全体の表示領域を指定するだけで、ポップアップ表示するポップアップ表示システムが開示されている。ポップアップウィンドウは、指定文字列を含む文が表示されている領域以外の領域に表示される。
特開2004−348774号公報 特開2003−256459号公報
Patent Document 2 discloses a pop-up display system that displays an electronic document and displays related information about a character string specified in advance by simply specifying a display area of an entire sentence including the character string. Yes. The pop-up window is displayed in an area other than the area where the sentence including the designated character string is displayed.
JP 2004-348774 A JP 2003-256659 A

しかし、特許文献1、2に記載のものはいずれも、ポップアップ表示されたサブウィンドウにより、テキストの一部が隠れてしまうことがある。サブウィンドウにより隠れてしまった部分のテキストは、その状態のままでは読むことはできない。隠れてしまった部分のテキストを読むためには、ポップアップを終了する必要がある。ポップアップ表示された際に、サブウィンドウにより隠れてしまった部分を表示するために、ポップアップを終了する操作を行うことは、ユーザにとって、煩わしく感じる場合がある。   However, in each of the documents described in Patent Documents 1 and 2, a part of the text may be hidden by the pop-up subwindow. The text hidden by the subwindow cannot be read as it is. To read the hidden text, you need to exit the popup. When the popup is displayed, it may be annoying for the user to perform an operation to end the popup in order to display the portion hidden by the sub-window.

また、ポップアップ表示された内容はテキスト本文の理解を深めるのに有効な情報であるにも係らず、テキスト本文を読み進めるためにはポップアップを終了する必要があり、結局、ポップアップ表示された情報を効果的に利用することができない。   Although the pop-up contents are effective information for deepening the understanding of the text body, it is necessary to end the pop-up in order to read the text body. It cannot be used effectively.

本発明の目的は、上記問題を解決し、テキストがサブウィンドウにより隠れることがない、情報処理装置、ウィンドウ表示方法およびプログラムを提供することにある。   The objective of this invention is providing the information processing apparatus, the window display method, and program which solve the said problem and a text does not hide by a subwindow.

上記目的を達成するため、本発明の情報処理装置は、入力部と、表示部と、電子テキストを前記表示部に表示するブラウザ部と、前記電子テキストが表示されたウィンドウ内にサブウィンドウを表示するウィンドウ表示処理部と、前記入力部を通じて指定された文字列を検索用キーワードとして用いてデータ群から関連情報を検索する情報検索部と、を有し、前記ウィンドウ表示処理部が、前記関連情報のデータサイズを検出し、該データサイズが閾値未満の場合は、前記文字列の前記ウィンドウ内における表示位置を検出し、該表示位置に隣接する領域に前記サブウィンドウを挿入し、前記関連情報のデータサイズが閾値以上の場合には、前記ウィンドウ内の予め定められた位置に前記サブウィンドウを挿入し、前記ブラウザ部が、前記サブウィンドウが挿入されると、該挿入領域以外の領域に前記電子テキストを表示する。 In order to achieve the above object, an information processing apparatus of the present invention displays an input unit, a display unit, a browser unit that displays electronic text on the display unit, and a sub-window in a window in which the electronic text is displayed. A window display processing unit, and an information search unit that searches for related information from a data group using a character string designated through the input unit as a search keyword, and the window display processing unit includes: If the data size is detected and the data size is less than the threshold , the display position of the character string in the window is detected, the sub-window is inserted in an area adjacent to the display position, and the data size of the related information There when above threshold, the sub-window is inserted into a predetermined position within the window, the browser section, said support When the window is inserted, to display the electronic text in a region other than the insertion area.

本発明のウィンドウ表示方法は、ブラウザ部が、電子テキストを表示部に表示し、ウィンドウ表示処理部が、前記電子テキストが表示されたウィンドウ内にサブウィンドウを表示するウィンドウ表示方法であって、情報検索部が、入力部を通じて指定された文字列を検索用キーワードとして用いてデータ群から関連情報を検索するステップと、前記ウィンドウ表示処理部が、前記関連情報のデータサイズを検出し、該データサイズが閾値未満の場合は、前記文字列の前記ウィンドウ内における表示位置を検出し、該表示位置に隣接する領域に前記サブウィンドウを挿入し、前記関連情報のデータサイズが閾値以上の場合には、前記ウィンドウ内の予め定められた位置に前記サブウィンドウを挿入するステップと、前記ブラウザ部が、前記サブウィンドウが挿入された領域以外の領域に前記電子テキストを表示するステップを含む。 Window display method of the present invention, the browser unit, and displays the electronic text on the display unit, the window display processing unit, a display to roux Indou display method subwindows in the window of the electronic text is displayed, A step in which the information search unit searches for related information from the data group using the character string designated through the input unit as a search keyword; and the window display processing unit detects the data size of the related information, and the data When the size is less than the threshold , the display position of the character string in the window is detected, the subwindow is inserted in an area adjacent to the display position, and when the data size of the related information is equal to or larger than the threshold, and inserting the sub-window in a predetermined position within the window, the browser section, the sub Indou comprises the step of displaying the electronic text in a region other than the inserted region.

本発明のプログラムは、電子テキストを表示部に表示し、該電子テキストが表示されたウィンドウ内にサブウィンドウを表示する処理をコンピュータに実行させるプログラムであって、入力部を通じて指定された文字列を検索用キーワードとして用いてデータ群から関連情報を検索する処理と、前記関連情報のデータサイズを検出し、該データサイズが閾値未満の場合は、前記文字列の前記ウィンドウ内における表示位置を検出し、該表示位置に隣接する領域に前記サブウィンドウを挿入し、前記関連情報のデータサイズが閾値以上の場合には、前記ウィンドウ内の予め定められた位置に前記サブウィンドウを挿入する処理と、前記サブウィンドウが挿入された領域以外の領域に前記電子テキストを表示する処理を前記コンピュータに実行させる。 A program according to the present invention is a program for displaying electronic text on a display unit and causing a computer to execute a process of displaying a subwindow in a window in which the electronic text is displayed, and searches for a character string specified through an input unit. A process for searching for related information from a data group using as a keyword, and detecting the data size of the related information; if the data size is less than a threshold , detecting the display position of the character string in the window ; inserting the sub window in a region adjacent to the display position, wherein when the data size of the associated information is equal to or larger than the threshold, the process of inserting the subwindow in a predetermined position within the window, the subwindow inserted a process of displaying the electronic text in a region other than the region that is, running the computer To.

本発明によれば、電子テキストがサブウィンドウにより隠れることはないので、サブウィンドウにより隠れてしまった部分を表示するためのポップアップ終了操作を行う必要がない。したがって、ポップアップ表示の際の、ユーザに強いられるポップアップ終了操作の煩わしさを解消することができる。   According to the present invention, since the electronic text is not hidden by the subwindow, it is not necessary to perform a pop-up end operation for displaying the portion hidden by the subwindow. Therefore, the troublesomeness of the pop-up end operation forced on the user at the time of pop-up display can be eliminated.

また、サブウィンドウを表示した状態(ポップアップ表示状態)のままテキスト本文を読み進めたり、読み返したりすることができるので、ポップアップ表示された情報を効果的に利用することができる。   Further, since the text body can be read and read back while the sub window is displayed (pop-up display state), the information displayed in the pop-up can be used effectively.

次に、本発明の実施形態について図面を参照して説明する。
(第1の実施形態)
図1は、本発明の第1の実施形態である情報処理装置の構成を示すブロック図である。
Next, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a block diagram showing the configuration of the information processing apparatus according to the first embodiment of the present invention.

図1に示す情報処理装置は、プログラムに従って動作するコンピュータシステムであって、制御部1、入力部2、表示部3、記憶部4および通信部5を有する。   The information processing apparatus illustrated in FIG. 1 is a computer system that operates according to a program, and includes a control unit 1, an input unit 2, a display unit 3, a storage unit 4, and a communication unit 5.

入力部2は、キーボードやマウスなどよりなる。表示部3は、液晶ディスプレイやプラズマディスプレイに代表される表示装置よりなる。通信部5は、モデム等であって、インターネットに代表されるネットワークを介して外部装置との通信が可能である。   The input unit 2 includes a keyboard and a mouse. The display unit 3 includes a display device represented by a liquid crystal display or a plasma display. The communication unit 5 is a modem or the like, and can communicate with an external device via a network represented by the Internet.

記憶部4は、半導体メモリやハードディスク等に代表される記憶装置であって、情報処理装置を動作させるのに必要な各種プログラムやデータが格納されている。リソース情報40および電子テキスト41が記憶部4に格納されている。   The storage unit 4 is a storage device represented by a semiconductor memory, a hard disk, or the like, and stores various programs and data necessary for operating the information processing apparatus. Resource information 40 and electronic text 41 are stored in the storage unit 4.

リソース情報40は、百科事典、科学辞典、英和辞典、和英辞典、Web辞典などの各種の辞書データを含む。Web辞典は、インターネット上で提供されている辞典、例えばフリー百科事典である。電子テキスト41は、小説や科学雑誌等の電子テキストである。なお、プログラムや電子テキスト41は、ネットワークを介して提供されてもよく、また、CD−ROM(Compact Disc Read Only Memory)やDVDなどの記録媒体で提供されてもよい。記録媒体を用いる場合は、記録媒体から情報を読み出すためのドライバ装置を情報処理装置に搭載する必要がある。   The resource information 40 includes various dictionary data such as an encyclopedia, a scientific dictionary, an English-Japanese dictionary, a Japanese-English dictionary, and a Web dictionary. The Web dictionary is a dictionary provided on the Internet, for example, a free encyclopedia. The electronic text 41 is an electronic text such as a novel or a scientific magazine. The program and the electronic text 41 may be provided via a network, or may be provided on a recording medium such as a CD-ROM (Compact Disc Read Only Memory) or a DVD. When a recording medium is used, a driver device for reading information from the recording medium needs to be mounted on the information processing apparatus.

制御部1は、記憶部4に格納されている各種プログラムを実行するとともに、入力部2からの指示信号(ユーザによる入力操作に応じた信号)を受け付けて、必要な処理または制御を行う。制御部1は、情報検索部10および表示制御部11を有する。表示制御部11は、ブラウザ部11aおよびポップアップ表示処理部11bを有する。これら情報検索部10および表示制御部11(ブラウザ部11aおよびポップアップ表示処理部11b)は、プログラムにより実現される機能部である。   The control unit 1 executes various programs stored in the storage unit 4 and receives an instruction signal (a signal corresponding to an input operation by the user) from the input unit 2 to perform necessary processing or control. The control unit 1 includes an information search unit 10 and a display control unit 11. The display control unit 11 includes a browser unit 11a and a pop-up display processing unit 11b. These information search unit 10 and display control unit 11 (browser unit 11a and pop-up display processing unit 11b) are functional units realized by a program.

ブラウザ部11aは、電子テキスト41を表示部3に表示させる。情報検索部10は、表示部3に表示された電子テキスト中のユーザにより指定された文字列(単語、句、文)に関連する情報(訳や意味、図や表などの関連情報)を、リソース情報40から取得する。情報検索部10は、ネットワークを通じて外部リソース源(サーバ等)から関連情報を取得してもよい。ポップアップ表示処理部11bは、情報検索部10で取得した関連情報を表示部3にてポップアップ表示する。なお、ブラウザ部11aが、ポップアップ表示処理部11bによるポップアップ表示処理を行う機能を有していてもよい。   The browser unit 11a displays the electronic text 41 on the display unit 3. The information search unit 10 obtains information related to a character string (word, phrase, sentence) designated by the user in the electronic text displayed on the display unit 3 (translation and meaning, related information such as a figure and a table), Obtained from the resource information 40. The information search unit 10 may acquire related information from an external resource source (such as a server) through a network. The pop-up display processing unit 11 b pops up the related information acquired by the information search unit 10 on the display unit 3. The browser unit 11a may have a function of performing a pop-up display process by the pop-up display processing unit 11b.

本実施形態の情報処理装置では、ブラウザ部11aが、入力部2からの指示信号に応じて、記憶部4(または記録媒体)から小説や科学雑誌等の電子テキスト41を読み出し、その電子テキストを表示部3にて表示させる。   In the information processing apparatus of the present embodiment, the browser unit 11a reads an electronic text 41 such as a novel or a scientific magazine from the storage unit 4 (or recording medium) in response to an instruction signal from the input unit 2, and the electronic text is read out. Displayed on the display unit 3.

ユーザが、入力部2を通じて電子テキスト中の文字列を指定すると、情報検索部10が、その指定された文字列の関連情報をリソース情報40から取得する。そして、ポップアップ表示処理部11bが、指定された文字列の表示領域に隣接する領域にポップアップウィンドウを設定し、そのポップアップウィンドウ内に情報検索部10にて取得した関連情報を表示する。   When the user designates a character string in the electronic text through the input unit 2, the information search unit 10 acquires related information of the designated character string from the resource information 40. Then, the pop-up display processing unit 11b sets a pop-up window in an area adjacent to the display area of the designated character string, and displays related information acquired by the information search unit 10 in the pop-up window.

図2は、表示制御部11によって実行されるポップアップ表示処理の一手順を示すフローチャートである。   FIG. 2 is a flowchart showing a procedure of pop-up display processing executed by the display control unit 11.

図2を参照すると、ポップアップ表示処理部11bは、指定文字列の関連情報の検索が行われたか否かを判定する(ステップ100)。この判定は、情報検索部10から関連情報を受信したか否かにより行う。   Referring to FIG. 2, the pop-up display processing unit 11b determines whether or not a search for related information of the designated character string has been performed (step 100). This determination is made based on whether or not related information is received from the information search unit 10.

関連情報検索が行われた場合は、続いて、ポップアップ表示処理部11bは、指定文字列の表示位置を検出する(ステップ101)。指定文字列の表示位置は、テキストの表示ウィンドウ内における座標データに基づいて検出する。例えば、ブラウザ部11aは、ウィンドウ内における文字等の表示位置を座標データとして管理する。ポップアップ表示処理部11bは、指定文字列の表示位置を、ブラウザ部11aにて管理しているウィンドウ内の座標データに基づいて検出する。   When the related information search is performed, the pop-up display processing unit 11b subsequently detects the display position of the designated character string (step 101). The display position of the designated character string is detected based on the coordinate data in the text display window. For example, the browser unit 11a manages the display position of characters and the like in the window as coordinate data. The pop-up display processing unit 11b detects the display position of the designated character string based on the coordinate data in the window managed by the browser unit 11a.

指定文字列の表示位置が検出されると、続いて、ポップアップ表示処理部11bは、予め設定されたポップアップウィンドウの表示条件に従ってテキストの表示領域を変更して、指定文字列の表示位置に隣接する領域に、所定サイズのポップアップウィンドウを挿入する(ステップ102)。   When the display position of the designated character string is detected, the pop-up display processing unit 11b subsequently changes the text display area in accordance with the preset pop-up window display conditions and is adjacent to the display position of the designated character string. A pop-up window having a predetermined size is inserted into the area (step 102).

ポップアップウィンドウの表示条件は、ウィンドウのサイズおよび表示位置、文字のサイズなどの情報を含む。これら情報は任意に設定可能である。ここでは、デフォルト状態として、ウィンドウサイズは表示テキストの数行程度の大きさとされ、ポップアップウィンドウの表示位置は指定文字列の直下とされている。文字のサイズは、テキストと同じ文字サイズとされている。このデフォルトの条件によれば、指定文字列の直下に、3行程度の大きさのポップアップウィンドウが挿入される。   The display condition of the pop-up window includes information such as the window size and display position, and the character size. These pieces of information can be set arbitrarily. Here, as a default state, the window size is about several lines of display text, and the display position of the pop-up window is directly below the specified character string. The character size is the same character size as the text. According to this default condition, a pop-up window having a size of about 3 lines is inserted immediately below the designated character string.

ポップアップウィンドウの挿入後、ポップアップ表示処理部11bは、ポップアップウィンドウにおいて指定文字列の関連情報を、テキストと同じ文字サイズで表示する(ステップ103)。この後、ブラウザ部11aは、ポップアップウィンドウが挿入された領域以外の領域に電子テキストを表示する。   After the pop-up window is inserted, the pop-up display processing unit 11b displays the related information of the designated character string in the pop-up window with the same character size as the text (step 103). Thereafter, the browser unit 11a displays the electronic text in an area other than the area where the pop-up window is inserted.

上述のポップアップ表示処理によれば、指定文字列の関連情報が、指定文字列の近傍にポップアップ表示される。指定文字列を見ながら関連情報を見る場合、ポップアップ表示位置と指定文字列の表示位置の間を視点が移動するが、この視点の移動距離が長いと、眼の疲労感が増大する。本実施形態によれば、関連情報は指定文字列の近傍にポップアップ表示されるので、目の疲労を抑えることができる。   According to the above pop-up display processing, the related information of the designated character string is displayed in a pop-up near the designated character string. When viewing related information while viewing a specified character string, the viewpoint moves between the pop-up display position and the display position of the specified character string. If the movement distance of this viewpoint is long, eye fatigue increases. According to the present embodiment, the related information is displayed in a pop-up near the designated character string, so that eye fatigue can be suppressed.

また、電子テキストはポップアップウィンドウが挿入された領域以外の領域に表示されるので、ポップアップウィンドウがテキストの表示領域と重なることはない。よって、ユーザは、ポップアップ表示した状態のまま、テキストを読み進めたり、読み返したりすることができる。   Further, since the electronic text is displayed in an area other than the area where the pop-up window is inserted, the pop-up window does not overlap with the text display area. Therefore, the user can read the text or read it back in the pop-up display state.

図3に、テキスト表示の一例を示し、図4に、図3に示したテキスト中の指定文字列に関する関連情報のポップアップ表示の一例を示す。この例では、情報検索のリソース情報として百科事典が設定されている。ポップアップウィンドウのサイズは、表示テキストの5行程度の大きさとされ、ポップアップウィンドウの表示位置は指定文字列の直下とされている。   FIG. 3 shows an example of text display, and FIG. 4 shows an example of pop-up display of related information related to the designated character string in the text shown in FIG. In this example, an encyclopedia is set as resource information for information retrieval. The size of the pop-up window is about five lines of display text, and the display position of the pop-up window is directly below the specified character string.

図3および図4に示すように、段落20の上から9行目に位置する文字列21が指定されると、百科事典からその関連情報が検索される。段落20の上から10行目〜14行目の各行の先頭位置に折り返しを挿入することで、指定された文字列21の直下に、5行分のサイズに対応するウィンドウ表示領域が確保される。この確保した領域にポップアップウィンドウ22が表示され、このポップアップウィンドウ22に、検索結果である関連情報が表示される。通常、テキストを表示するプログラムに対して、折り返しを示すコマンドを挿入することで、ポップアップウィンドウの表示領域を確保することができる。   As shown in FIGS. 3 and 4, when the character string 21 located on the ninth line from the top of the paragraph 20 is designated, related information is retrieved from the encyclopedia. By inserting a wrapping at the beginning of each of the tenth to fourteenth lines from the top of the paragraph 20, a window display area corresponding to the size of five lines is secured immediately below the designated character string 21. . A pop-up window 22 is displayed in the secured area, and related information as a search result is displayed in the pop-up window 22. Usually, a pop-up window display area can be secured by inserting a command indicating wrapping into a program that displays text.

図4に示した例によれば、段落20の上から9行目と10行目の間に、ポップアップウィンドウ22が挿入される。この場合、10行目以降のテキストは、ポップアップウィンドウ22の下方に表示される。したがって、テキストの一部がポップアップウィンドウ22により隠れる、といった問題は生じない。   According to the example shown in FIG. 4, the pop-up window 22 is inserted between the ninth line and the tenth line from the top of the paragraph 20. In this case, the text after the 10th line is displayed below the pop-up window 22. Therefore, a problem that a part of the text is hidden by the pop-up window 22 does not occur.

なお、ポップアップウィンドウの表示位置は、指定文字列の直下に限定されるものではない。ポップアップウィンドウは、指定文字列の直上、右隣、左隣といった領域に表示されてもよい。折り返しを挿入する位置を制御することによって、指定文字列の直上、直下、右隣、左隣の領域のうちの任意の領域に、ポップアップウィンドウを挿入することができる。   Note that the display position of the pop-up window is not limited to just below the designated character string. The pop-up window may be displayed in an area such as immediately above, right next, or left next to the specified character string. By controlling the position at which the wrapping is inserted, a pop-up window can be inserted in any area of the designated character string directly above, directly below, right adjacent, and left adjacent.

また、図4に示したように、ポップアップウィンドウ22の一部にスクロール用のボタン22aを設けてもよい。ボタン22aを上下方向に移動することで、ポップアップウィンドウ内に表示されている関連情報を上下方向にスクロールさせることができる。検索結果である関連情報のデータサイズが大きな場合に、このスクロールによる表示は有効である。   Further, as shown in FIG. 4, a scroll button 22 a may be provided in a part of the pop-up window 22. By moving the button 22a up and down, the related information displayed in the pop-up window can be scrolled up and down. This scrolling display is effective when the data size of the related information that is the search result is large.

また、ポップアップウィンドウの挿入位置は、使用するリソース情報の種別に応じて変更してもよい。例えば、英文テキスト中の指定文字列についてその日本語訳を英和辞書から取得し、その取得した日本語訳をポップアップ表示する場合、図5に示すように、ポップアップウィンドウ22がテキストの表示ウィンドウの右上の位置に固定的に挿入されてもよい。この表示によれば、指定文字列の表示位置に関係なく、指定文字列の日本語訳が、常に、右上に表示される。したがって、英文テキストを読み進める場合に、あるページで指定した英単語の日本語訳を、別のページでも参照することができる。この場合も、電子テキストはポップアップウィンドウ22が挿入された領域以外の領域に表示される。したがって、テキスト表示領域の変更により、テキストの一部がポップアップウィンドウ22により隠れることはない。   Further, the insertion position of the pop-up window may be changed according to the type of resource information to be used. For example, when a Japanese translation of a specified character string in an English text is acquired from an English-Japanese dictionary and the acquired Japanese translation is displayed in a pop-up, a pop-up window 22 is displayed at the upper right of the text display window as shown in FIG. It may be fixedly inserted at the position. According to this display, the Japanese translation of the designated character string is always displayed on the upper right regardless of the display position of the designated character string. Therefore, when an English text is read, a Japanese translation of an English word specified on a certain page can be referred to on another page. Also in this case, the electronic text is displayed in an area other than the area where the pop-up window 22 is inserted. Therefore, a part of the text is not hidden by the pop-up window 22 by changing the text display area.

(第2の実施形態)
ポップアップウィンドウを指定文字列の隣接領域に挿入する場合、ポップアップウィンドウのサイズを大きくすると、テキストがポップアップウィンドウにより隔てられることにより、テキストが読み難くなる場合がある。例えば、図4に示した表示例において、ウィンドウサイズが20行程度のポップアップウィンドウ22が指定文字列21の直下に表示された場合、9行目の文と10行目の文の間が、20行程度のポップアップウィンドウ22によって隔てられることとなり、テキストが読み難くなる。テキストの読み易さを考慮すると、指定文字列の隣接領域に挿入されるポップアップウィンドウのサイズは小さくすることが望ましい。
(Second Embodiment)
When inserting a pop-up window into an adjacent area of a specified character string, if the size of the pop-up window is increased, the text may be difficult to read because the text is separated by the pop-up window. For example, in the display example shown in FIG. 4, when a pop-up window 22 having a window size of about 20 lines is displayed immediately below the specified character string 21, the space between the 9th sentence and the 10th sentence is 20 It will be separated by a pop-up window 22 of about lines, making it difficult to read the text. Considering the readability of the text, it is desirable to reduce the size of the pop-up window inserted in the adjacent area of the designated character string.

一方、関連情報を読み進めたり、読み返したりする場合、スクロールの操作回数は少ない方が好ましい。関連情報のデータサイズが大きい場合は、関連情報の大部分をスクロール操作によって表示することになり、スクロールの操作回数が増大する。このため、データサイズが大きな関連情報については、ポップアップウィンドウのサイズを大きくして、スクロールの操作範囲を小さくすることが望ましい。   On the other hand, when the related information is read or read back, it is preferable that the number of scroll operations is small. When the data size of the related information is large, most of the related information is displayed by scroll operation, and the number of scroll operations increases. Therefore, for related information with a large data size, it is desirable to increase the size of the pop-up window to reduce the scroll operation range.

本発明の第2の実施形態である情報処理装置は、上記の相反する要望を実現するものであって、指定文字列の検索結果である関連情報のデータサイズに応じてポップアップウィンドウのサイズおよび表示位置を切り替えるように構成されている。   The information processing apparatus according to the second embodiment of the present invention realizes the above conflicting demands, and the size and display of the pop-up window according to the data size of the related information that is the search result of the designated character string It is configured to switch positions.

本実施形態の情報処理装置は、図1に示した構成を有するが、関連情報のデータサイズに応じてポップアップウィンドウのサイズおよび表示位置を切り替える点が、第1の実施形態の情報処理装置と異なる。   The information processing apparatus according to the present embodiment has the configuration illustrated in FIG. 1, but is different from the information processing apparatus according to the first embodiment in that the size and display position of a pop-up window are switched according to the data size of related information. .

記憶部4は、データサイズが閾値未満の関連情報をポップアップ表示するために使用される第1のポップアップウィンドウの表示条件と、データサイズが閾値以上の関連情報をポップアップ表示するために使用される第2のポップアップウィンドウの表示条件を格納したテーブルを備える。   The storage unit 4 displays the first pop-up window display condition used for popping up related information whose data size is less than the threshold, and the first used for popping up related information whose data size is greater than or equal to the threshold. 2 has a table storing the display conditions of the pop-up window.

関連情報のデータサイズの閾値は、テキストの表示ウィンドウにおいて、10行程度の文が表示されるようなデータサイズに対応する値とされている。   The threshold value of the data size of the related information is set to a value corresponding to the data size at which about 10 sentences are displayed in the text display window.

第1のポップアップウィンドウの表示条件は、ウィンドウのサイズおよび表示位置、文字のサイズなどの項目からなり、各項目は任意に設定可能である。ここでは、第1のポップアップウィンドウの表示条件は、第1の実施形態で説明したポップアップウィンドウの表示条件と同じとする。   The display condition of the first pop-up window includes items such as the window size and display position, and the character size. Each item can be arbitrarily set. Here, the display conditions of the first pop-up window are the same as the display conditions of the pop-up window described in the first embodiment.

第2のポップアップウィンドウの表示条件も、ウィンドウのサイズおよび表示位置、文字のサイズなどの項目からなり、各項目は任意に設定可能である。ここでは、デフォルト状態として、ウィンドウサイズは表示テキストの10行程度の大きさ(第1のポップアップウィンドウの表示条件で規定されたサイズよりも大きなサイズ)とされ、ポップアップウィンドウの表示位置はテキスト表示領域の最下の位置とされている。文字のサイズは、テキストと同じ文字サイズとされている。この第2のポップアップウィンドウの表示条件によれば、テキスト表示領域の最下の領域に、10行程度の大きさのポップアップウィンドウが挿入されるように、テキスト表示領域が変更される。   The display condition of the second pop-up window also includes items such as the window size and display position, and the character size. Each item can be arbitrarily set. Here, as a default state, the window size is about 10 lines of display text (a size larger than the size specified in the display conditions of the first pop-up window), and the display position of the pop-up window is the text display area. It is the lowest position. The character size is the same character size as the text. According to the display condition of the second pop-up window, the text display area is changed so that a pop-up window having a size of about 10 lines is inserted in the lowermost area of the text display area.

図6は、本実施形態の情報処理装置の表示制御部11によって実行されるポップアップ表示処理の一手順を示すフローチャートである。以下、図1および図6を参照してポップアップ表示処理を説明する。   FIG. 6 is a flowchart illustrating a procedure of pop-up display processing executed by the display control unit 11 of the information processing apparatus according to the present embodiment. Hereinafter, the pop-up display process will be described with reference to FIGS. 1 and 6.

ポップアップ表示処理部11bは、指定文字列の関連情報の検索が行われたか否かを判定する(ステップ200)。このステップ200の処理は、図2のステップ100の処理と同じである。   The pop-up display processing unit 11b determines whether or not retrieval of related information of the designated character string has been performed (step 200). The process of step 200 is the same as the process of step 100 in FIG.

関連情報検索が行われた場合は、続いて、ポップアップ表示処理部11bは、検索結果として得られた関連情報のデータサイズが閾値以上であるか否かを判定する(ステップ201)。   When the related information search is performed, the pop-up display processing unit 11b subsequently determines whether or not the data size of the related information obtained as a search result is equal to or larger than the threshold (step 201).

関連情報のデータサイズが閾値未満である場合は、ポップアップ表示処理部11bは、指定文字列の表示位置を検出し(ステップ202)、第1のポップアップウィンドウの表示条件に従ってテキスト表示領域を変更して、その指定文字列の表示位置に隣接する領域にポップアップウィンドウを挿入する(ステップ203)。そして、ポップアップ表示処理部11bは、その挿入したポップアップウィンドウにおいて、指定文字列の関連情報を、テキストと同じ文字サイズで表示する(ステップ204)。このステップ202〜204の処理は、図2のステップ101〜103の処理と同じである。   When the data size of the related information is less than the threshold, the pop-up display processing unit 11b detects the display position of the designated character string (step 202), and changes the text display area according to the display condition of the first pop-up window. Then, a pop-up window is inserted in an area adjacent to the display position of the designated character string (step 203). Then, the pop-up display processing unit 11b displays the related information of the designated character string in the inserted pop-up window with the same character size as the text (step 204). The processing in steps 202 to 204 is the same as the processing in steps 101 to 103 in FIG.

関連情報のデータサイズが閾値以上である場合は、ポップアップ表示処理部11bは、第2のポップアップウィンドウの表示条件に従ってテキスト表示領域を変更して、最下の位置にポップアップウィンドウを挿入する(ステップ205)。その後、ステップ204で、その挿入したポップアップウィンドウにおいて、指定文字列の関連情報がテキストと同じ文字サイズで表示される。そして、ブラウザ部11aによって、電子テキストが、ポップアップウィンドウが挿入された領域以外の領域に表示される。   If the data size of the related information is greater than or equal to the threshold, the popup display processing unit 11b changes the text display area according to the display conditions of the second popup window and inserts the popup window at the lowest position (step 205). ). Thereafter, in step 204, the related information of the designated character string is displayed with the same character size as the text in the inserted pop-up window. The browser unit 11a displays the electronic text in an area other than the area where the pop-up window is inserted.

上記のポップアップ表示処理によれば、関連情報のデータサイズが閾値未満である場合は、第1の実施形態と同様のポップアップ表示処理が行われる。これにより、第1の実施形態と同様の作用効果を得ることができる。   According to the above pop-up display process, when the data size of the related information is less than the threshold value, the same pop-up display process as in the first embodiment is performed. Thereby, the effect similar to 1st Embodiment can be acquired.

また、関連情報のデータサイズが閾値以上である場合は、第2のポップアップウィンドウの表示条件に従ってポップアップ表示が行われる。この場合、第1のポップアップウィンドウの表示条件で規定されたサイズよりも大きなサイズで、ポップアップウィンドウを表示することができる。これにより、関連情報を読み進めたり、読み返したりする場合における、スクロールの操作回数を削減することが可能である。   When the data size of the related information is equal to or larger than the threshold value, the pop-up display is performed according to the display condition of the second pop-up window. In this case, the pop-up window can be displayed in a size larger than the size specified by the display condition of the first pop-up window. Thereby, it is possible to reduce the number of scroll operations when the related information is read or read back.

図7は、テキスト表示領域の最下の位置にポップアップウィンドウを挿入した様子を示す模式図である。この例では、テキスト表示領域の下から数行程度の領域において、各行の先頭に折り返しが挿入されており、この折り返しが挿入された領域に、ポップアップウィンドウ22が挿入されている。したがって、ポップアップウィンドウ22は、テキスト表示領域と重ならなることはない。また、ポップアップウィンドウ22を最下の位置に挿入する場合、ポップアップウィンドウ22によってテキストが分断されることはないので、ポップアップウィンドウ22のサイズを大きくすることが可能である。   FIG. 7 is a schematic diagram showing a pop-up window inserted at the lowest position of the text display area. In this example, a wrapping is inserted at the head of each line in an area of several lines from the bottom of the text display area, and a pop-up window 22 is inserted in the area where the wrapping is inserted. Therefore, the pop-up window 22 does not overlap with the text display area. Further, when the pop-up window 22 is inserted at the lowermost position, the text is not divided by the pop-up window 22, so that the size of the pop-up window 22 can be increased.

なお、第2のポップアップウィンドウの表示条件に基づくポップアップ表示において、テキストを分断することがないのであれば、ポップアップウィンドウ22はどのような位置に挿入されてもよい。   In the pop-up display based on the display conditions of the second pop-up window, the pop-up window 22 may be inserted at any position as long as the text is not divided.

(第3の実施形態)
関連情報のデータサイズはリソースの種類によって異なる。したがって、ポップアップウィンドウの表示条件は、リソース毎に設定することが望ましい。本発明の第3の実施形態である情報処理装置は、そのようなリソースの種別に応じたポップアップウィンドウの表示条件の設定が可能な構成とされている。
(Third embodiment)
The data size of the related information varies depending on the resource type. Therefore, it is desirable to set the pop-up window display conditions for each resource. The information processing apparatus according to the third embodiment of the present invention is configured to be able to set a pop-up window display condition in accordance with such a resource type.

本実施形態の情報処理装置は、図1に示した構成を有するが、リソースの種類に応じてポップアップウィンドウの表示条件を変更する点が、第1の実施形態の情報処理装置と異なる。   The information processing apparatus according to the present embodiment has the configuration illustrated in FIG. 1, but is different from the information processing apparatus according to the first embodiment in that the display condition of the pop-up window is changed according to the type of resource.

記憶部4は、リソース毎にポップアップウィンドウの表示条件を規定したテーブルを備える。テーブルには、情報検索部10による情報検索で使用可能なリソース(リソース情報40やサーバ等の外部装置により提供されるWeb情報等)のそれぞれについて、ポップアップウィンドウの表示条件が格納されている。ポップアップウィンドウの表示条件は、ウィンドウのサイズおよび表示位置、文字のサイズなどの情報を含む。   The storage unit 4 includes a table that defines display conditions for pop-up windows for each resource. The table stores pop-up window display conditions for each of the resources (such as resource information 40 and Web information provided by an external device such as a server) that can be used for information search by the information search unit 10. The display condition of the pop-up window includes information such as the window size and display position, and the character size.

例えば、英和辞典、英英辞典、百科事典、Web辞典(翻訳用)、Web情報(新聞記事)をリソースとして使用可能な場合は、それらリソースのそれぞれについて、ポップアップウィンドウの表示条件が設定される。ここでは、各リソースにおいて、ウィンドウの表示位置と文字のサイズは同じ値が設定されており、ウィンドウのサイズのみが異なる。具体的には、英和辞典は2行分のウィンドウサイズとされ、英英辞典は3行分のウィンドウサイズとされ、百科事典は5行分のウィンドウサイズとされ、翻訳は5行分のウィンドウサイズとされ、新聞記事は8行分のウィンドウサイズとされている。   For example, when an English-Japanese dictionary, English-English dictionary, encyclopedia, Web dictionary (for translation), and Web information (newspaper article) can be used as resources, a display condition of a popup window is set for each of these resources. Here, in each resource, the same value is set for the window display position and the character size, and only the window size is different. Specifically, the English-Japanese dictionary has a window size of 2 lines, the English-English dictionary has a window size of 3 lines, the encyclopedia has a window size of 5 lines, and the translation has a window size of 5 lines. The newspaper article has a window size of 8 lines.

記憶部4には、上記テーブルとは別に、その他のリソースの表示条件として、所定のポップアップウィンドウ表示条件が格納されている。ここで、その他のリソースは、ポップアップウィンドウの表示条件がテーブルに登録されていないリソースを示す。所定のポップアップウィンドウ表示条件の内容は、任意に設定可能である。   In addition to the above table, the storage unit 4 stores predetermined pop-up window display conditions as display conditions for other resources. Here, the other resources indicate resources whose pop-up window display conditions are not registered in the table. The contents of the predetermined pop-up window display condition can be arbitrarily set.

図8は、本実施形態の情報処理装置のポップアップ表示処理部11bによって実行されるポップアップ表示処理の一手順を示すフローチャートである。以下、図1および図8を参照してポップアップ表示処理を説明する。   FIG. 8 is a flowchart illustrating a procedure of the pop-up display process executed by the pop-up display processing unit 11b of the information processing apparatus according to the present embodiment. Hereinafter, the pop-up display process will be described with reference to FIGS. 1 and 8.

ポップアップ表示処理部11bは、指定文字列の関連情報の検索が行われたか否かを判定する(ステップ300)。このステップ300の処理は、図2のステップ100の処理と同じである。   The pop-up display processing unit 11b determines whether or not a search for related information of the designated character string has been performed (step 300). The process of step 300 is the same as the process of step 100 in FIG.

関連情報検索が行われた場合は、続いて、ポップアップ表示処理部11bは、情報検索部10が情報検索に使用したリソースを特定し(ステップ301)、その特定したリソースのポップアップウィンドウの表示条件が記憶部のテーブルに登録されているか否かを調べる(ステップ302)。情報検索に使用したリソースを特定するための情報は、情報検索部10からポップアップ表示処理部11bに供給される。   When the related information search is performed, subsequently, the pop-up display processing unit 11b specifies the resource used by the information search unit 10 for the information search (step 301), and the display condition of the pop-up window of the specified resource is It is checked whether or not it is registered in the table of the storage unit (step 302). Information for identifying the resource used for the information search is supplied from the information search unit 10 to the pop-up display processing unit 11b.

ポップアップウィンドウの表示条件がテーブルに登録されている場合は、ポップアップ表示処理部11bは、その登録されているポップアップウィンドウの表示条件に従ってテキスト表示領域を変更してポップアップウィンドウを挿入する(ステップ303)。そして、ポップアップ表示処理部11bは、その設定したポップアップウィンドウにおいて、指定文字列の関連情報を、テキストと同じ文字サイズで表示する(ステップ304)。   When the pop-up window display conditions are registered in the table, the pop-up display processing unit 11b changes the text display area according to the registered pop-up window display conditions and inserts the pop-up window (step 303). Then, the pop-up display processing unit 11b displays the related information of the designated character string with the same character size as the text in the set pop-up window (step 304).

ポップアップウィンドウの表示条件がテーブルに登録されていない場合は、ポップアップ表示処理部11bは、記憶部4から所定のポップアップウィンドウ表示条件(その他のリソースの表示条件)を取得し、このポップアップウィンドウ表示条件に従ってテキスト表示領域を変更してポップアップウィンドウを挿入する(ステップ305)。この後、ステップ304に移行して、指定文字列の関連情報がポップアップウィンドウ内に表示される。   When the display condition of the pop-up window is not registered in the table, the pop-up display processing unit 11b acquires a predetermined pop-up window display condition (other resource display condition) from the storage unit 4, and follows the pop-up window display condition. The text display area is changed and a pop-up window is inserted (step 305). Thereafter, the process proceeds to step 304, and the related information of the designated character string is displayed in the pop-up window.

ステップ304にてポップアップ表示がなされた後、ブラウザ部11aは、ポップアップウィンドウが挿入された領域以外の領域に電子テキストを表示する。   After the pop-up display is made in step 304, the browser unit 11a displays the electronic text in an area other than the area where the pop-up window is inserted.

ポップアップウィンドウを固定とした場合、ウィンドウサイズが、関連情報のデータサイズに対して無駄に大きかったり、スクロール範囲が必要以上に大きくなったりする。上記のポップアップ表示処理によれば、リソースに最適なサイズのポップアップウィンドウを表示することができる。   If the pop-up window is fixed, the window size is unnecessarily large relative to the data size of the related information, or the scroll range becomes larger than necessary. According to the above pop-up display processing, it is possible to display a pop-up window having a size optimal for the resource.

図9は、リソースの種別に応じたサイズでポップアップウィンドウを表示した様子を示す模式図である。この例では、指定文字列(英語)21aの直下に2行分のサイズのポップアップウィンドウ220aが挿入され、指定文字列21aの訳(日本語)として英和辞典で引いた関連情報が、ポップアップウィンドウ220a内に表示されている。また、指定文字列(日本語)21bの直下に5行分のサイズのポップアップウィンドウ220bが挿入され、百科事典から取得した指定文字列21bの関連情報が、ポップアップウィンドウ220b内に表示されている。このように、リソースに最適なサイズでポップアップウィンドウを表示することで、ウィンドウサイズが関連情報のデータサイズに対して無駄に大きかったり、スクロール範囲が必要以上に大きくなったりする問題を解決することができる。   FIG. 9 is a schematic diagram showing a state in which a pop-up window is displayed with a size corresponding to the resource type. In this example, a pop-up window 220a having a size of two lines is inserted immediately below the designated character string (English) 21a, and related information drawn in the English-Japanese dictionary as a translation (Japanese) of the designated character string 21a is displayed in the pop-up window 220a. It is displayed in. Further, a pop-up window 220b having a size of five lines is inserted immediately below the designated character string (Japanese) 21b, and related information of the designated character string 21b acquired from the encyclopedia is displayed in the pop-up window 220b. In this way, by displaying the pop-up window with the optimal size for the resource, it is possible to solve the problem that the window size is uselessly larger than the data size of the related information and the scroll range becomes larger than necessary. it can.

なお、上記の説明では、各リソースにおいて、ウィンドウの表示位置と文字のサイズは同じとされ、ウィンドウのサイズのみが異なるような表示条件を設定しているが、これに限定されるものではない。リソース毎に、最適なウィンドウ表示位置や最適な文字サイズを設定してもよい。   In the above description, the display conditions are set such that the window display position and the character size are the same and only the window size is different in each resource. However, the present invention is not limited to this. An optimal window display position and optimal character size may be set for each resource.

リソース毎に最適なウィンドウ表示位置を設定する場合は、例えば、英和辞典については、テキスト表示領域の右上の位置にポップアップウィンドウを挿入したり、百科事典については、テキスト表示領域の最下の位置にポップアップウィンドウを挿入したりする、といった表示処理が可能となる。   When setting the optimal window display position for each resource, for example, for English-Japanese dictionaries, a pop-up window is inserted in the upper right position of the text display area, and for encyclopedias, the bottom position of the text display area is inserted. Display processing such as inserting a pop-up window becomes possible.

リソース毎に最適な文字サイズを設定する場合は、関連情報のデータサイズが大きなリソース(例えば、新聞記事)については、文字サイズを小さくすることで、一度にウィンドウ内に表示される情報量を多くすることができ、また、スクロール範囲も小さくすることが可能となる。   When setting the optimal character size for each resource, for resources with large data size of related information (for example, newspaper articles), reducing the character size increases the amount of information displayed in the window at one time. It is also possible to reduce the scroll range.

以上説明した各実施形態の情報処理装置は本発明の一例であり、その構成および動作は、発明の趣旨を逸脱しない範囲で適宜に変更することができる。   The information processing apparatus of each embodiment described above is an example of the present invention, and the configuration and operation thereof can be changed as appropriate without departing from the spirit of the invention.

例えば、各実施形態において、ポップアップウィンドウには、ポップアップ表示を終了するためのボタンが設けられてもよい。このボタンにカーソルを合わせて所定の入力操作(例えばマウスによるクリック操作)を行うと、制御部が、ポップアップ表示を終了するための処理を実行する。ユーザは自由にポップアップ表示を終了することができる。   For example, in each embodiment, the pop-up window may be provided with a button for terminating the pop-up display. When the cursor is placed on this button and a predetermined input operation (for example, a click operation with a mouse) is performed, the control unit executes a process for terminating the pop-up display. The user can freely end the pop-up display.

また、各実施形態において、テキストを表示するウィンドウにスクロールボタンを設けても良い。この場合、テキストの表示をスクロールボタンにより上下方向に移動させた場合、指定文字列に隣接して表示されたポップアップウィンドウも、そのスクロールによる移動に同期して上下に移動する。   In each embodiment, a scroll button may be provided in a window that displays text. In this case, when the text display is moved up and down by the scroll button, the pop-up window displayed adjacent to the designated character string also moves up and down in synchronization with the scrolling movement.

また、第2の実施形態においては、関連情報のデータサイズに応じてポップアップウィンドウのサイズを変更しているが、関連情報のデータサイズに応じて、ポップアップウィンドウの表示位置や文字サイズを変更してもよい。   In the second embodiment, the size of the pop-up window is changed according to the data size of the related information. However, the display position and the character size of the pop-up window are changed according to the data size of the related information. Also good.

また、複数の異なる指定文字列のそれぞれについて、個別に、対応するリソースから関連情報を取得し、その取得した関連情報を別々のポップアップウィンドウにて表示する場合に、複数のポップアップウィンドウを隣接させて挿入していてもよい。   In addition, for each of a plurality of different designated character strings, when acquiring related information from the corresponding resource individually and displaying the acquired related information in separate pop-up windows, multiple pop-up windows are placed adjacent to each other. It may be inserted.

図10に、2つのポップアップウィンドウが隣接して挿入される一例を示す。この例では、6行分のサイズのポップアップウィンドウ322aおよび8行分のサイズのポップアップウィンドウ322bがテキストの表示ウィンドウの右上の領域に隣接して表示されている。指定文字列(英語)321aの訳文がポップアップウィンドウ322aに表示され、指定文字列(日本語)321bの意味がポップアップウィンドウ322bに表示される。ポップアップウィンドウ322aには、原文(指定文字列(英語)321a自体)も表示されている。   FIG. 10 shows an example in which two pop-up windows are inserted adjacent to each other. In this example, a pop-up window 322a having a size of 6 lines and a pop-up window 322b having a size of 8 lines are displayed adjacent to the upper right area of the text display window. The translated text of the designated character string (English) 321a is displayed in the pop-up window 322a, and the meaning of the designated character string (Japanese) 321b is displayed in the pop-up window 322b. The original text (designated character string (English) 321a itself) is also displayed in the pop-up window 322a.

図11に、2つのポップアップウィンドウが隣接して挿入される他の例を示す。この例では、8行分のサイズのポップアップウィンドウ422aおよび5行分のサイズのポップアップウィンドウ422bがテキストの表示ウィンドウの最下の位置に隣接して表示されている。指定文字列421aに関する新聞記事がポップアップウィンドウ422aに表示される。指定文字列421bについては、ユーザにリソースを選択させるために、ポップアップメニューがポップアップウィンドウ322bに表示される。ポップアップメニューは、英和辞典、英英辞典、百科事典、翻訳、新聞記事の各リソースの項目を含む。ポップアップメニューとして表示された項目のいずれかの項目にカーソルを合わせて所定の入力操作(例えばマウスによるクリック操作)を行うと、制御部は、カーソルで指定された項目に対応する処理を実行する。ユーザは自由にポップアップメニューを選択することができる。   FIG. 11 shows another example in which two pop-up windows are inserted adjacent to each other. In this example, a pop-up window 422a having a size of eight lines and a pop-up window 422b having a size of five lines are displayed adjacent to the lowermost position of the text display window. Newspaper articles relating to the designated character string 421a are displayed in the pop-up window 422a. For the designated character string 421b, a pop-up menu is displayed in the pop-up window 322b in order to make the user select a resource. The pop-up menu includes items for English-Japanese dictionary, English-English dictionary, encyclopedia, translation, and newspaper article resources. When the cursor is placed on any item displayed as a pop-up menu and a predetermined input operation (for example, a click operation with a mouse) is performed, the control unit executes processing corresponding to the item designated by the cursor. The user can freely select a pop-up menu.

本発明の一態様によれば、情報処理装置は、入力部と、表示部と、電子テキストを上記表示部に表示するブラウザ部と、上記電子テキストが表示されたウィンドウ内にサブウィンドウを表示するウィンドウ表示処理部を有し、上記ウィンドウ表示処理部は、上記入力部を通じて指定された文字列の上記ウィンドウ内における表示位置を検出し、該表示位置に隣接する領域に上記サブウィンドウを挿入し、上記ブラウザ部は、上記サブウィンドウが挿入されると、該挿入領域以外の領域に上記電子テキストを表示する。ここで、ウィンドウ表示処理部は、図1に示したポップアップ表示処理部11bに対応し、サブウィンドウはポップアップウィンドウに対応する。   According to one aspect of the present invention, an information processing apparatus includes an input unit, a display unit, a browser unit that displays electronic text on the display unit, and a window that displays a subwindow in a window on which the electronic text is displayed. A display processing unit, wherein the window display processing unit detects a display position of the character string designated through the input unit in the window, inserts the sub-window in an area adjacent to the display position, and the browser When the subwindow is inserted, the section displays the electronic text in an area other than the insertion area. Here, the window display processing unit corresponds to the pop-up display processing unit 11b shown in FIG. 1, and the sub-window corresponds to the pop-up window.

上記の情報処理装置において、上記入力部を通じて指定された文字列を検索用キーワードとして用いてデータ群から関連情報を検索する情報検索部をさらに有し、上記ウィンドウ表示処理部が、上記関連情報を上記サブウィンドウに表示してもよい。ここで、データ群は、図1に示した情報検索部10による情報検索で使用可能なリソース(リソース情報40やサーバ等の外部装置により提供されるWeb情報等)である。   The information processing apparatus further includes an information search unit that searches for related information from a data group using a character string designated through the input unit as a search keyword, and the window display processing unit stores the related information You may display on the said subwindow. Here, the data group is a resource (such as resource information 40 or Web information provided by an external device such as a server) that can be used for information retrieval by the information retrieval unit 10 illustrated in FIG.

さらに、上記の情報処理装置において、ウィンドウ表示処理部は、上記関連情報のデータサイズを検出し、該データサイズが閾値未満の場合に、上記サブウィンドウを上記文字列の表示位置に隣接する領域に挿入してもよい。また、上記データサイズが閾値以上の場合に、上記ウィンドウ表示処理部が、上記ウィンドウ内の予め定められた位置に上記サブウィンドウを挿入してもよい。   Further, in the information processing apparatus, the window display processing unit detects a data size of the related information, and inserts the sub-window in an area adjacent to the display position of the character string when the data size is less than a threshold value. May be. In addition, when the data size is equal to or larger than the threshold value, the window display processing unit may insert the sub-window at a predetermined position in the window.

また、上記の情報処理装置において、上記データ群は、複数の辞書データからなり、上記サブウィンドウを表示するためのウィンドウ表示条件として、少なくともウィンドウのサイズおよび表示位置を規定した情報が、上記辞書データ毎に格納されたテーブルをさらに備え、上記情報検索部が、上記複数の辞書データのうちから上記入力部を通じて指定された辞書データを用いて、上記文字列の関連情報を取得し、上記ウィンドウ表示処理部が、上記テーブルを参照して、上記情報検索部にて使用した辞書データについてのウィンドウ表示条件を取得し、該ウィンドウ表示条件に従って上記サブウィンドウを表示してもよい。この場合、上記ウィンドウ表示条件が、サブウィンドウに表示される文字のサイズを規定する情報を含み、上記ウィンドウ表示処理部が、上記ウィンドウ表示条件により規定された文字のサイズで上記サブウィンドウに上記関連情報を表示してもよい。   In the information processing apparatus, the data group includes a plurality of dictionary data, and at least information defining a window size and a display position is displayed for each dictionary data as a window display condition for displaying the subwindow. And the information search unit obtains the related information of the character string using the dictionary data designated through the input unit from the plurality of dictionary data, and the window display process. The unit may refer to the table, acquire window display conditions for the dictionary data used in the information search unit, and display the subwindow according to the window display conditions. In this case, the window display condition includes information defining the size of characters displayed in the sub-window, and the window display processing unit displays the related information in the sub-window at the character size defined by the window display condition. It may be displayed.

以上説明した本発明は、複数の辞書データを備え、これら辞書データを利用して情報検索を行うことが可能な情報処理装置全般に適用することができる。また、本発明は、デスクトップ型のパーソナルコンピュータだけでなく、ノート型のパーソナルコンピュータにも適用することができる。さらに、本発明は、携帯電話機等に代表される携帯情報端末に適用することができる。   The present invention described above can be applied to any information processing apparatus that includes a plurality of dictionary data and can perform information search using these dictionary data. Further, the present invention can be applied not only to a desktop personal computer but also to a laptop personal computer. Furthermore, the present invention can be applied to a portable information terminal represented by a mobile phone or the like.

本発明の第1の実施形態である情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which is the 1st Embodiment of this invention. 図1に示す情報処理装置の表示制御部によって実行されるポップアップ表示処理の一手順を示すフローチャートである。3 is a flowchart illustrating a procedure of pop-up display processing executed by a display control unit of the information processing apparatus illustrated in FIG. 1. テキスト表示の一例を示す模式図である。It is a schematic diagram which shows an example of a text display. 図3に示すテキスト中の指定文字列に関する関連情報のポップアップ表示の一例を示す模式図である。It is a schematic diagram which shows an example of the pop-up display of the relevant information regarding the designated character string in the text shown in FIG. ポップアップ表示の別の例を示す模式図である。It is a schematic diagram which shows another example of a pop-up display. 本発明の第2の実施形態である情報処理装置の表示制御部によって実行されるポップアップ表示処理の一手順を示すフローチャートである。It is a flowchart which shows one procedure of the pop-up display process performed by the display control part of the information processing apparatus which is the 2nd Embodiment of this invention. テキスト表示領域の最下の位置にポップアップウィンドウを挿入した様子を示す模式図である。It is a schematic diagram which shows a mode that the pop-up window was inserted in the lowest position of a text display area. 本発明の第3の実施形態である情報処理装置の表示制御部によって実行されるポップアップ表示処理の一手順を示すフローチャートである。It is a flowchart which shows one procedure of the pop-up display process performed by the display control part of the information processing apparatus which is the 3rd Embodiment of this invention. リソースの種別に応じたサイズでポップアップウィンドウを表示した様子を示す模式図である。It is a schematic diagram which shows a mode that the pop-up window was displayed with the size according to the kind of resource. 2つのポップアップウィンドウが隣接して挿入する場合の表示の一例を示す模式図である。It is a schematic diagram which shows an example of a display when two pop-up windows insert adjacently. 2つのポップアップウィンドウが隣接して挿入する場合の表示の他の例を示す模式図である。It is a schematic diagram which shows the other example of a display when two pop-up windows adjoin and insert.

符号の説明Explanation of symbols

1 制御部
2 入力部
3 表示部
4 記憶部
5 通信部
10 情報検索部
11 表示制御部
11a ブラウザ部
11b ポップアップ表示処理部
40 リソース情報
41 電子テキスト
DESCRIPTION OF SYMBOLS 1 Control part 2 Input part 3 Display part 4 Storage part 5 Communication part 10 Information search part 11 Display control part 11a Browser part 11b Pop-up display process part 40 Resource information 41 Electronic text

Claims (3)

入力部と、
表示部と、
電子テキストを前記表示部に表示するブラウザ部と、
前記電子テキストが表示されたウィンドウ内にサブウィンドウを表示するウィンドウ表示処理部と、
前記入力部を通じて指定された文字列を検索用キーワードとして用いてデータ群から関連情報を検索する情報検索部と、を有し、
前記ウィンドウ表示処理部は、前記関連情報のデータサイズを検出し、該データサイズが閾値未満の場合は、前記文字列の前記ウィンドウ内における表示位置を検出し、該表示位置に隣接する領域に前記サブウィンドウを挿入し、前記関連情報のデータサイズが閾値以上の場合には、前記ウィンドウ内の予め定められた位置に前記サブウィンドウを挿入し、
前記ブラウザ部は、前記サブウィンドウが挿入されると、該挿入領域以外の領域に前記電子テキストを表示する、情報処理装置。
An input section;
A display unit;
A browser unit for displaying electronic text on the display unit;
A window display processing unit for displaying a sub-window in the window in which the electronic text is displayed ;
An information search unit for searching related information from a data group using a character string designated through the input unit as a search keyword;
The window display processing unit detects a data size of the related information. When the data size is less than a threshold , the window display processing unit detects a display position of the character string in the window, and the area is adjacent to the display position. When a sub window is inserted and the data size of the related information is equal to or greater than a threshold value , the sub window is inserted at a predetermined position in the window,
The browser unit displays the electronic text in an area other than the insertion area when the subwindow is inserted.
ブラウザ部が、電子テキストを表示部に表示し、ウィンドウ表示処理部が、前記電子テキストが表示されたウィンドウ内にサブウィンドウを表示するウィンドウ表示方法であって、
情報検索部が、入力部を通じて指定された文字列を検索用キーワードとして用いてデータ群から関連情報を検索するステップと、
前記ウィンドウ表示処理部が、前記関連情報のデータサイズを検出し、該データサイズが閾値未満の場合は、前記文字列の前記ウィンドウ内における表示位置を検出し、該表示位置に隣接する領域に前記サブウィンドウを挿入し、前記関連情報のデータサイズが閾値以上の場合には、前記ウィンドウ内の予め定められた位置に前記サブウィンドウを挿入するステップと、
前記ブラウザ部が、前記サブウィンドウが挿入された領域以外の領域に前記電子テキストを表示するステップを含む、ウィンドウ表示方法。
Browser unit is to display an electronic text display unit, the window display processing unit, a display to roux Indou display method subwindows in the window of the electronic text is displayed,
An information search unit searching for related information from a data group using a character string designated through the input unit as a search keyword;
The window display processing unit detects the data size of the related information. If the data size is less than a threshold , the window display processing unit detects the display position of the character string in the window, and the area is adjacent to the display position. Inserting a subwindow, and if the data size of the related information is greater than or equal to a threshold, inserting the subwindow at a predetermined position in the window ;
The window display method including a step in which the browser unit displays the electronic text in an area other than an area in which the subwindow is inserted.
電子テキストを表示部に表示し、該電子テキストが表示されたウィンドウ内にサブウィンドウを表示する処理をコンピュータに実行させるプログラムであって、
入力部を通じて指定された文字列を検索用キーワードとして用いてデータ群から関連情報を検索する処理と、
前記関連情報のデータサイズを検出し、該データサイズが閾値未満の場合は、前記文字列の前記ウィンドウ内における表示位置を検出し、該表示位置に隣接する領域に前記サブウィンドウを挿入し、前記関連情報のデータサイズが閾値以上の場合には、前記ウィンドウ内の予め定められた位置に前記サブウィンドウを挿入する処理と、
前記サブウィンドウが挿入された領域以外の領域に前記電子テキストを表示する処理を前記コンピュータに実行させるプログラム。
A program for causing a computer to execute a process of displaying an electronic text on a display unit and displaying a sub-window in a window in which the electronic text is displayed.
A process of searching related information from a data group using a character string designated through the input unit as a search keyword;
The data size of the related information is detected, and when the data size is less than the threshold , the display position of the character string in the window is detected , the sub window is inserted in an area adjacent to the display position , and the related information If the data size of the information is greater than or equal to a threshold value , processing to insert the sub-window at a predetermined position in the window ;
A process of displaying the electronic text in a region other than the sub-window is inserted region, a program for causing the computer to execute.
JP2008221507A 2008-08-29 2008-08-29 Information processing apparatus, window display method, and program Active JP5056676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008221507A JP5056676B2 (en) 2008-08-29 2008-08-29 Information processing apparatus, window display method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008221507A JP5056676B2 (en) 2008-08-29 2008-08-29 Information processing apparatus, window display method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011246520A Division JP5348225B2 (en) 2011-11-10 2011-11-10 Information processing apparatus, window display method, and program

Publications (2)

Publication Number Publication Date
JP2010055488A JP2010055488A (en) 2010-03-11
JP5056676B2 true JP5056676B2 (en) 2012-10-24

Family

ID=42071313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008221507A Active JP5056676B2 (en) 2008-08-29 2008-08-29 Information processing apparatus, window display method, and program

Country Status (1)

Country Link
JP (1) JP5056676B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263705B (en) * 2010-05-25 2016-06-08 腾讯科技(深圳)有限公司 The method of display instant communication information and device
JPWO2012042599A1 (en) * 2010-09-28 2014-02-03 富士通株式会社 Information adding method, information processing apparatus, and program
JP5834394B2 (en) * 2010-11-01 2015-12-24 日本電気株式会社 Notification information display processing apparatus, notification information display processing method, and program
CN103886044A (en) * 2014-03-11 2014-06-25 百度在线网络技术(北京)有限公司 Method and device for providing search results
JP6851231B2 (en) * 2017-03-15 2021-03-31 Phcホールディングス株式会社 Prescription audit information display device, prescription audit information display method, and prescription audit information display program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3673535B2 (en) * 1994-11-09 2005-07-20 富士通株式会社 Window display device
JP4286752B2 (en) * 1998-05-08 2009-07-01 株式会社リコー Search support server and computer-readable recording medium
JP2001074476A (en) * 1999-08-31 2001-03-23 Matsushita Electric Ind Co Ltd Travel position display device
JP2003085174A (en) * 2001-09-07 2003-03-20 Noritake Co Ltd Data retrieving display device and data retrieving display program
JP2003256459A (en) * 2002-02-28 2003-09-12 Hitachi Ltd Pop-up display method and program
JP5119671B2 (en) * 2007-01-31 2013-01-16 カシオ計算機株式会社 Audio output device and audio output program

Also Published As

Publication number Publication date
JP2010055488A (en) 2010-03-11

Similar Documents

Publication Publication Date Title
US9910839B1 (en) Device and method for image search using one or more selected words
JP4814575B2 (en) System and method for displaying content on a small screen computing device
US20150012818A1 (en) System and method for semantics-concise interactive visual website design
US8416192B2 (en) Concurrently displaying multiple characters for input field positions
US20040130575A1 (en) Method of displaying a software keyboard
US9996522B2 (en) Dictionary device for determining a search method based on a type of a detected touch operation
CN111052064B (en) Method for automatically providing gesture-based auto-completion suggestion and electronic device thereof
US20110173558A1 (en) Input device for pictographic languages
JP2003223437A (en) Method of displaying candidate for correct word, method of checking spelling, computer device, and program
CN101706690A (en) Adaptive input method and adaptive input system
JPH10333799A (en) System and method for displaying plural dialog boxes on window display
KR20120054750A (en) Method and apparatus for selective display
JP5056676B2 (en) Information processing apparatus, window display method, and program
KR20180105546A (en) Element-noun reference numeral acquiring method for acquiring element-noun reference numeral of claim-element-noun
US8823713B2 (en) Information processing apparatus
US9135246B2 (en) Electronic device with a dictionary function and dictionary information display method
US9031831B1 (en) Method and system for looking up words on a display screen by OCR comprising a set of base forms of recognized inflected words
US20150178289A1 (en) Identifying Semantically-Meaningful Text Selections
JP2011170418A (en) Method for generating tag data for retrieving image
US20060104276A1 (en) Dynamic hover text for HTML table cells
JP2012098891A (en) Information processing system and information processing method
JP5348225B2 (en) Information processing apparatus, window display method, and program
CN109145241B (en) Browser and content display management method of browser
US20120209595A1 (en) Dictionary information display device and dictionary information display method
JP4972271B2 (en) Search result presentation device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110803

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111110

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

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

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

Free format text: PAYMENT UNTIL: 20150810

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5056676

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150