JP2014086025A - Information processor, information processing method and program - Google Patents

Information processor, information processing method and program Download PDF

Info

Publication number
JP2014086025A
JP2014086025A JP2012236900A JP2012236900A JP2014086025A JP 2014086025 A JP2014086025 A JP 2014086025A JP 2012236900 A JP2012236900 A JP 2012236900A JP 2012236900 A JP2012236900 A JP 2012236900A JP 2014086025 A JP2014086025 A JP 2014086025A
Authority
JP
Japan
Prior art keywords
information
tag
information processing
designated area
position coordinates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012236900A
Other languages
Japanese (ja)
Other versions
JP5463405B1 (en
Inventor
Ryosuke Aoki
良輔 青木
Shunichi Seko
俊一 瀬古
Yasuyuki Kataoka
泰之 片岡
Ryo Hashimoto
遼 橋本
Masayuki Ihara
雅行 井原
Masahiro Watanabe
昌洋 渡辺
Toru Kobayashi
透 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2012236900A priority Critical patent/JP5463405B1/en
Application granted granted Critical
Publication of JP5463405B1 publication Critical patent/JP5463405B1/en
Publication of JP2014086025A publication Critical patent/JP2014086025A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To easily extract desired information from a browsing page on a touch screen.SOLUTION: An information processor 100 comprises: a touch screen which displays a page described in a markup language and inputs information of a position touched on a screen; generation means which generates, when a start point and an end point of movement are determined to coincide with each other on the basis of the position information, a specified area comprised of a closed area having the start point and the end point coincided with each other; conversion means which converts position coordinates of the specified area to position coordinates corresponding to original points on the page; and extraction means which extracts information indicated by a tug corresponding to the specified area on the basis of the position coordinates converted by the conversion means.

Description

この発明は、タッチスクリーンに表示されたWebページから所望の情報を抽出する情報処理装置、情報処理方法およびプログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, and a program for extracting desired information from a Web page displayed on a touch screen.

スマートフォンやタブレットのようなインターネット接続端末が普及し、いつでもどこでも情報検索が可能となっている。取得した情報を保存する方法として、その情報を閲覧できるページをブックマーク登録する方法がある。しかしながら、インターネット接続できない環境では登録したページを閲覧することができず、また閲覧ページによっては更新されてしまい、保存したときの情報が失われる可能性もある。一方で、インターネットのページを登録すると不必要な情報も含めて保存することになり、保存した情報が何か明確にならない。   Internet connection terminals such as smartphones and tablets have become widespread, and information can be searched anytime and anywhere. As a method for storing the acquired information, there is a method for bookmarking a page where the information can be browsed. However, in an environment where the Internet connection is not possible, the registered page cannot be browsed, and depending on the browse page, it may be updated, and there is a possibility that information when saved is lost. On the other hand, if you register an Internet page, it will be stored including unnecessary information, and the stored information is not clear.

マルチタッチスクリーンを持つインターネット接続端末にはいくつか情報を保存する方法がある。1つ目は、スクリーンに表示されている情報を画像として保存するスクリーンショットがある。例えば、iPad(登録商標)ではHOMEボタンとSleep/wakeボタンを同時に押下することでスクリーンに表示されている情報を画像として保存できる(例えば、非特許文献1を参照)。近年では、画面全体ではなく、指で指定した領域の画像を保存するスクリーンショットがある。例えばXPeria(登録商標) Tablet Sのスモールアプリに登録されている『クリップ』アプリである(例えば、非特許文献2を参照)。これは、スクリーンに表示されている情報の中で、指で指定した領域のみを画像情報として切り取り、保存できるアプリケーションである。   There are several ways to save information on Internet-connected terminals with multi-touch screens. The first is a screen shot that stores information displayed on the screen as an image. For example, in the iPad (registered trademark), information displayed on the screen can be saved as an image by simultaneously pressing the HOME button and the Sleep / wake button (see, for example, Non-Patent Document 1). In recent years, there is a screen shot that saves an image of an area designated by a finger instead of the entire screen. For example, it is a “clip” application registered in the small application of XPeria (registered trademark) Tablet S (for example, see Non-Patent Document 2). This is an application that can cut and save only the area specified by a finger as image information in the information displayed on the screen.

「アップル - iPhone 5 - iPhoneの便利な使い方をご紹介します。」、[online]、[平成24年9月24日検索]、インターネット〈URL:http://www.apple.com/jp/iphone/iphone-5/tips/〉"Apple-iPhone 5-Introducing convenient usage of iPhone", [online], [Search September 24, 2012], Internet <URL: http://www.apple.com/jp/ iphone / iphone-5 / tips /〉 「Xperia Tabletの新アプリ『スクラップブック』:C-TECバックルーム3:So-netブログ」[online]、[平成24年9月24日検索]、インターネット〈URL:http://ctec3.blog.so-net.ne.jp/2012-09-13-5〉"Xperia Tablet's new app" Scrapbook ": C-TEC Back Room 3: So-net Blog" [online], [Searched on September 24, 2012], Internet <URL: http://ctec3.blog. so-net.ne.jp/2012-09-13-5>

ところが、上述した方法では、スクリーン内に表示されている情報を画像として切り取るので、閲覧性及び可読性が失われる場合がある。例えば、スマートフォンやタブレット端末は表示可能なスクリーンが小さいために、保存したい情報を全てスクリーン上に表示できない場合がある。画面を縮小する方法も考えられるが、文字が小さくなって読みづらくなり、また、写真の画像も荒くなるため、閲覧性、可読性が低くなる。   However, in the above-described method, information displayed in the screen is cut out as an image, so that the viewability and readability may be lost. For example, since a screen that can be displayed on a smartphone or a tablet terminal is small, there is a case where not all of the information to be stored can be displayed on the screen. Although a method of reducing the screen is also conceivable, it becomes difficult to read because the characters are small, and the image of the photograph becomes rough, so that readability and readability are lowered.

この発明は上記事情に着目してなされたもので、その目的とするところは、タッチスクリーン上の閲覧ページから所望の情報を簡易に抽出できる情報処理装置、情報処理方法およびプログラムを提供することにある。   The present invention has been made paying attention to the above circumstances, and an object thereof is to provide an information processing apparatus, an information processing method, and a program capable of easily extracting desired information from a browsing page on a touch screen. is there.

上記目的を達成するためにこの発明の第1の態様は、マークアップ言語で記述されたページを表示し、触れられた画面上の位置情報を入力するタッチスクリーンと、前記位置情報をもとに移動の始点と終点とが一致する場合に、前記始点と終点とが一致した閉領域からなる指定領域を作成する作成手段と、前記指定領域の位置座標を、前記ページの原点に対する位置座標に変換する変換手段と、前記変換手段により変換された位置座標に基づいて前記指定領域に対応するタグが示す情報を抽出する抽出手段とを具備するものである。   In order to achieve the above object, according to a first aspect of the present invention, there is provided a touch screen that displays a page described in a markup language and inputs position information on a touched screen, and based on the position information. When the start point and end point of movement coincide with each other, a creation means for creating a designated area consisting of a closed area where the start point and the end point coincide with each other, and the position coordinates of the designated area are converted into position coordinates with respect to the origin of the page And converting means for extracting the information indicated by the tag corresponding to the designated area based on the position coordinates converted by the converting means.

第1の態様によれば、画面上で指定された領域の情報を保存する際に、指定された領域に一部が含まれているような要素(タグが示す画像やテキスト等)も欠落の無い形で保存することが可能となる。画像を直接切出す技術に比べると、領域を荒っぽく指定しても情報の欠落が出ない、ウインドウ枠外に隠れている要素も一部が領域にかかっていれば欠落しない等の利点がある。したがって、簡単な操作で、指定された領域に対応する情報を有意性及び可読性の高い情報として抽出することが可能となる。   According to the first aspect, when information on a specified area on the screen is saved, elements (such as an image or text indicated by the tag) partially included in the specified area are also missing. It is possible to save in a form that does not exist. Compared to the technique of directly cutting out an image, there are advantages such as no information is lost even if the area is specified roughly, and elements hidden outside the window frame are not lost if part of the area is covered. Therefore, it is possible to extract information corresponding to the designated region as highly significant and readable information with a simple operation.

本発明の第2の態様は、上記第1の態様において、前記抽出手段において、タグの抽出対象は、テキスト、画像、及び図形を示すタグのうちの少なくとも1つである。
第2の態様によれば、一部のテキストを指定領域とすることで文脈全部を切り取ることができ、一部の画像を指定領域とすることで画面表示上の拡大縮小率やスクロール状態にかかわらず画質を落とさずに元画像の画質で画像を切り取ることが可能となる。図形にリンクが張られていれば、そのリンクを抽出して保存し、図形が単なる図形であれば、その図形の全体を切り取る。
According to a second aspect of the present invention, in the first aspect, in the extraction unit, the extraction target of the tag is at least one of a tag indicating text, an image, and a graphic.
According to the second aspect, it is possible to cut out the entire context by setting a part of text as a designated area, and regardless of the enlargement / reduction ratio or scroll state on the screen display by setting a part of the image as a designated area. Therefore, it is possible to cut out the image with the original image quality without degrading the image quality. If a link is attached to the graphic, the link is extracted and stored. If the graphic is a simple graphic, the entire graphic is cut out.

本発明の第3の態様は、上記第1又は第2の態様において、前記抽出手段で抽出したタグが示す情報に対応する見出しを補完情報として抽出し、前記タグが示す情報に前記補完情報を対応付ける補完手段をさらに具備するものである。
例えば、保存したい情報のみを切り取って保存しても、後でその情報を見返した時に、その情報を保存した理由がわかりにくくなることがある。これは、保存したいと考えたきっかけがその保存した情報に含まれていないことが問題である。このように第3の態様によれば、切り取った情報を理解しやすい形で補完することができる。
According to a third aspect of the present invention, in the first or second aspect, a headline corresponding to the information indicated by the tag extracted by the extraction unit is extracted as complementary information, and the complementary information is added to the information indicated by the tag. It further includes a complementary means for associating.
For example, even if only the information to be saved is cut out and saved, when the information is later reviewed, the reason for saving the information may be difficult to understand. The problem is that the saved information is not included in the saved information. As described above, according to the third aspect, the cut information can be complemented in an easily understandable form.

本発明の第4の態様は、上記第3の態様において、前記タグが示す情報と前記補完情報とを対応付けて表示する表示手段をさらに具備するものである。
第4の態様によれば、タグが示す情報が補完情報と共に表示されるため、切り取った情報の有意性をさらに高めることが可能となる。
According to a fourth aspect of the present invention, in the third aspect, the information processing device further includes display means for displaying the information indicated by the tag and the complementary information in association with each other.
According to the 4th aspect, since the information which a tag shows is displayed with complementary information, it becomes possible to further raise the significance of the cut-out information.

すなわちこの発明によれば、タッチスクリーン上の閲覧ページから所望の情報を簡易に抽出できる情報処理装置、情報処理方法およびプログラムを提供することができる。   That is, according to the present invention, it is possible to provide an information processing apparatus, an information processing method, and a program that can easily extract desired information from a browsing page on a touch screen.

この発明の一実施形態に係る情報処理装置の機能構成を示すブロック図。The block diagram which shows the function structure of the information processing apparatus which concerns on one Embodiment of this invention. 図1の情報処理装置のタッチスクリーンの画面表示内容の一例を示す図。The figure which shows an example of the screen display content of the touch screen of the information processing apparatus of FIG. 図1の情報処理装置の処理概要を示すフローチャート。The flowchart which shows the process outline | summary of the information processing apparatus of FIG. 操作種類判別処理を示すフローチャート。The flowchart which shows the operation kind discrimination | determination process. 指定領域切り取り処理を示すフローチャート。The flowchart which shows a designated area cutting process. 指定領域データ投入判定処理を示すフローチャート。The flowchart which shows a designated area | region data input determination process. 作成ボタン押下判定処理を示すフローチャート。The flowchart which shows a creation button press determination process. 指定領域を作成した状態を示す図。The figure which shows the state which created the designated area. 始点と終点が一致した状態の判断方法を説明するための図。The figure for demonstrating the judgment method of the state in which the start point and the end point corresponded. 指定領域作成後にデータ投入する状態を示す図。The figure which shows the state which inputs data after creating a designated area. HTMLタグの抽出方法を説明するための図。The figure for demonstrating the extraction method of an HTML tag. 抽出した情報の一例を示す図。The figure which shows an example of the extracted information. 切り取った情報に補完情報を加えた情報を示す図。The figure which shows the information which added complementary information to the cut information. 切り取った情報の再レイアウトを示す図。The figure which shows the re-layout of the cut information.

以下、図面を参照してこの発明に係る実施形態を説明する。
図1は、本発明の一実施形態に係る情報処理装置の機能構成を示すブロック図である。情報処理装置100は、制御部1、タッチスクリーン2および記憶部3を備え、例えば、スマートフォンやタブレットのようなインターネットに接続可能な端末で構成される。タッチスクリーン2は、タッチ操作による操作情報を入力する操作入力部21と、制御部1による表示制御に従って文字や画像等を表示する表示部22とを有する。制御部1は、操作種類判別部11と、指定領域切り取り処理部12と、指定領域データ投入判定処理部13と、作成ボタン押下判定処理部14とを有し、一般的なWebブラウザ機能を備えている。記憶部3は、指定領域を作成する際に指の位置を保存する第1のデータベース31と、切り取った情報に補完情報を追加して保存する第2のデータベース32とを有する。
Embodiments according to the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a functional configuration of an information processing apparatus according to an embodiment of the present invention. The information processing apparatus 100 includes a control unit 1, a touch screen 2, and a storage unit 3, and includes, for example, a terminal that can be connected to the Internet, such as a smartphone or a tablet. The touch screen 2 includes an operation input unit 21 that inputs operation information by a touch operation, and a display unit 22 that displays characters, images, and the like according to display control by the control unit 1. The control unit 1 includes an operation type determination unit 11, a specified area cut-out processing unit 12, a specified area data input determination processing unit 13, and a creation button press determination processing unit 14, and has a general Web browser function. ing. The storage unit 3 includes a first database 31 that stores the position of a finger when creating a designated area, and a second database 32 that stores supplemented information added to the cut information.

図2に、情報処理装置100のタッチスクリーン2の画面表示内容の一例を示す。端末の画面のレイアウトは、ブラウザによるインターネットの閲覧ページの表示に加え、利用者が切り取った保存したい情報を格納するデータ投入領域とデータ投入領域に投入された複数の情報を再表示するための作成ボタンで構成される。例えば、このWebブラウザ上に表示されている情報は、HTML等のマークアップ言語で記述された文書(Webページ)であるものとする。   FIG. 2 shows an example of screen display content of the touch screen 2 of the information processing apparatus 100. In addition to displaying the Internet browsing page by the browser, the terminal screen layout is created to redisplay the data input area that stores information that the user wants to save and multiple information input to the data input area Consists of buttons. For example, it is assumed that the information displayed on the Web browser is a document (Web page) described in a markup language such as HTML.

利用者が行う操作は一般的なブラウザ操作(ピンチイン/アウトで拡大縮小、指を弾いた方向に画面のスクロール)と、指定領域を切り取る操作と、切り取った指定領域をデータ投入する操作と、データ投入した複数の切り取った情報を再表示するために作成ボタンを押下する操作である。   The operations performed by the user are general browser operations (enlargement / reduction by pinching in / out, scrolling the screen in the direction of the finger), an operation to cut out the designated area, an operation to input data into the cut out designated area, and data This is an operation of pressing a creation button to redisplay a plurality of pieces of cut information that has been input.

以下、図3乃至図7のフローチャートを用いて、このように構成された情報処理装置100の動作について説明する。先ず、図3に情報処理装置100の処理概要を示す。処理101において、指がタッチスクリーンに触れていない状態から指が触れると、Touch Startイベントが起きる(処理102)。その後、処理112にて、操作種類判別部11は、上記に示した操作の種類を判別する操作種類判別処理を行う。   Hereinafter, the operation of the information processing apparatus 100 configured as described above will be described with reference to the flowcharts of FIGS. 3 to 7. First, FIG. 3 shows an outline of processing of the information processing apparatus 100. In the process 101, when a finger touches from a state where the finger is not touching the touch screen, a Touch Start event occurs (process 102). Thereafter, in process 112, the operation type determination unit 11 performs an operation type determination process for determining the type of operation described above.

[操作種類判別処理]
図4に、操作種類判別処理(処理112)の詳細を示す。処理201において、操作種類判別部11は、タッチスクリーンに触れたときがシングルタップか、ダブルタップか、それ以外かを判断する(処理201、処理202)。ダブルタップと判断されたとき、操作種類判別部11は、指定領域を切り取る操作と判断し、画面上に存在する指定領域を削除した(処理203)後に、状態S1に遷移する(処理121)。
[Operation type discrimination process]
FIG. 4 shows details of the operation type discrimination process (process 112). In process 201, the operation type determination unit 11 determines whether the touch screen is a single tap, a double tap, or any other (process 201, process 202). When it is determined that the operation is a double tap, the operation type determination unit 11 determines that the operation is to cut out the designated area, deletes the designated area existing on the screen (process 203), and transitions to the state S1 (process 121).

一方、操作種類判別部11は、シンブルタップと判断したときは、さらに指が指定領域内に存在するかどうかを判断する。このとき、指定領域内に指が存在した場合は切り取った指定領域をデータ投入する操作と判断し、処理122にて状態S2に遷移する。また、指が指定領域内に存在しないが、処理206において作成ボタンに指が存在する場合は()、データ投入した複数の切り取った情報を再表示するために作成ボタンを押下する操作と判断し、処理123にて状態S3に遷移する。指定領域内にも作成ボタン上にも指が存在しない場合は一般的なブラウザ操作と判断し、処理124にて状態S4に遷移する。この場合、処理116にて、制御部は、通常のブラウザ操作処理を行う。   On the other hand, when the operation type determination unit 11 determines that it is a thimble tap, the operation type determination unit 11 further determines whether or not the finger exists in the designated area. At this time, if a finger is present in the designated area, it is determined that the cut designated area is an operation for inputting data, and the process transitions to state S2 in process 122. If the finger does not exist in the designated area, but the finger is present on the creation button in process 206 (), it is determined that the operation is to press the creation button in order to redisplay the plurality of pieces of information that have been input. In the process 123, the state transits to the state S3. If there is no finger in the designated area or on the creation button, it is determined that the operation is a general browser operation, and the process proceeds to state S4 in processing 124. In this case, in process 116, the control unit performs a normal browser operation process.

[指定領域切り取り処理]
図5に、指定領域切り取り処理(処理113)の詳細を示す。処理301において、指定領域切り取り処理部12は、指がタッチスクリーンから離れずに移動しているかを判断する。指がタッチスクリーンから離れずに移動している場合は、すでに指定領域が作成されているか判断する(処理302)。まだ指定領域が作成されていない場合、指定領域切り取り処理部12は、処理303おいて指の現在位置を第1のデータベース31に保存する。そして、処理304おいて第1のデータベース31に保存されている指の現在位置において、最新のTouch Startイベント時の指の現在位置から現在の指の位置までの位置情報を時系列に線でつなぎ画面に表示する。指定領域切り取り処理部12は、処理305にて図8のような始点と終点が一致した状態と判断すると、処理306にてその始点と終点が一致した閉領域からなる指定領域を作成して切り取り、その状態を保持する。処理305の始点と終点が一致しているかの判断方法は、例えば、図9のように始点を中心とした円領域を作成し、その範囲に指が戻ってきたら始点と終点が一致したと判断する方法がある。
[Specified area cut processing]
FIG. 5 shows details of the designated area cut-out process (process 113). In process 301, the designated area cut-out processing unit 12 determines whether the finger is moving without leaving the touch screen. If the finger is moving without leaving the touch screen, it is determined whether the designated area has already been created (process 302). If the designated area has not yet been created, the designated area cut-out processing unit 12 stores the current position of the finger in the first database 31 in process 303. Then, in the current position of the finger stored in the first database 31 in the process 304, the position information from the current finger position to the current finger position at the time of the latest Touch Start event is connected in a time-series line. Display on the screen. When the designated area cut processing unit 12 determines in process 305 that the start point and the end point are in agreement with each other as shown in FIG. , Hold that state. For example, the process 305 determines whether the start point and the end point match with each other. For example, as shown in FIG. 9, a circular region centered on the start point is created, and when the finger returns to the range, the start point and end point are determined to match. There is a way to do it.

[指定領域データ投入判定処理]
次に、図6に指定領域データ投入判定処理(処理114)の詳細を示す。この処理は処理113で作成されて切り取られた指定領域の上に指が触れると起こる処理である。指定領域データ投入判定処理部13は、図10に示すように、その指が指定領域に触れた状態から指を離さずに移動しているかを処理401で判断する。移動している場合は、指の現在位置がデータ投入領域内に有るかどうか判断する(処理402)。指の現在位置がデータ投入領域内に無い場合は処理407にて指の現在位置に上記切り取られた指定領域の中心が重なるように移動させる。このようにすることで、データ投入までの指が指定領域を動かしていることが利用者に提示される。
[Specified area data entry judgment processing]
Next, FIG. 6 shows details of the designated area data input determination process (process 114). This process is a process that occurs when a finger touches the designated area created and cut out in process 113. As shown in FIG. 10, the designated area data input determination processing unit 13 determines in process 401 whether the finger has moved without touching the designated area. If it has moved, it is determined whether or not the current position of the finger is within the data input area (process 402). If the current position of the finger is not within the data input area, in step 407, the finger is moved so that the center of the clipped designated area overlaps the current position of the finger. By doing in this way, it is shown to the user that the finger until data input moves the designated area.

利用者が指定領域の移動を確認しながら、指をデータ投入領域に移動させると、指定領域データ投入判定処理部13は、処理404にて指定領域がデータ投入されたと判断し、処理405に遷移する。処理405にて、指定領域内の情報から指定領域に含まれているテキスト又は画像のHTMLのタグを抽出する。なお、1つの指定領域に複数のテキスト又は画像が含まれる場合には、その全てのHTMLのタグを抽出する。   When the user moves the finger to the data entry area while confirming the movement of the designated area, the designated area data entry determination processing unit 13 determines in step 404 that the designated area has been entered, and transitions to process 405. To do. In process 405, an HTML tag of text or an image included in the designated area is extracted from information in the designated area. When a plurality of texts or images are included in one designated area, all HTML tags are extracted.

ここで、HTMLタグの抽出方法について述べる。指定領域を図11に示すようにメッシュ状に分割し、各点はスクリーン座標系の原点からの位置座標になるので、スクロール量及び拡大縮小率から各点の閲覧ページの原点に対する位置座標に変換する。一方で、各タグには、各HTMLタグの閲覧ページの原点に対するタグの原点の位置および幅と高さを持つ。ゆえに、各点がどのHTMLタグの領域にあるかを調べることで、指定領域として切り取った箇所がどのHTMLタグの部分であるかを抽出できる。また他の抽出手法として、指定領域に含まれているテキスト/画像を文字/画像認識し、文字/画像の認識結果と閲覧ページに含まれるタグ内に記述されているテキスト/画像データを照合することにより、指定領域がどのHTMLタグの部分であるかを抽出することができる。   Here, an HTML tag extraction method will be described. The designated area is divided into meshes as shown in FIG. 11, and each point becomes a position coordinate from the origin of the screen coordinate system. Therefore, the scroll amount and the enlargement / reduction ratio are converted into a position coordinate with respect to the origin of the viewing page of each point. To do. On the other hand, each tag has the position, width, and height of the origin of the tag with respect to the origin of the viewing page of each HTML tag. Therefore, by checking which HTML tag region each point is in, it is possible to extract which HTML tag portion the portion cut out as the designated region is. As another extraction method, the text / image included in the designated area is recognized as characters / images, and the recognition result of the characters / images is collated with the text / image data described in the tag included in the browsing page. Thus, it is possible to extract which HTML tag part the specified area is.

そして、指定領域データ投入判定処理部13は、抽出したHTMLタグが<img>であれば、そのタグが読み込んでいる画像情報を保存する。抽出したHTMLタグが<p>や<textarea>であればそのタグ内に書かれているテキストデータを保存する。抽出したタグが<canvas>であればgetImageData()関数で画像の有無を判断し、有りの場合は画像データを保存し、またmasureText()関数でテキストの有無(返り値が0ならばテキスト無し)を判断し、有りの場合はテキストデータを保存する。なお、上記タグは一例であり、抽出するタグは、これらに限定されるものではない。   Then, if the extracted HTML tag is <img>, the designated area data input determination processing unit 13 stores the image information read by the tag. If the extracted HTML tag is <p> or <textarea>, the text data written in the tag is saved. If the extracted tag is <canvas>, use the getImageData () function to determine the presence or absence of the image. If there is, save the image data. Use the masureText () function to display the presence or absence of text (if the return value is 0, there is no text). ), And if yes, save the text data. Note that the above tags are examples, and the tags to be extracted are not limited to these.

次に、指定領域データ投入判定処理部13は、抽出したタグが書かれている行より小さい行の中で最も近いHTMLタグ<h1>、<h2>、<h3>、<h4>、<h5>、<h6>、<article>のいずれかのタグを探索し、発見した場合は上記抽出したHTMLタグの情報の補完情報として保存する。<h1>、<h2>、<h3>、<h4>、<h5>、<h6>、<article>は、一般的に見出しやタイトルとして使われるタグである。保存方法は、例えば図12のように、タイトル等の補完情報と抽出したタグの情報(テキストまたは画像)とを対応付けて第2のデータベース32に登録する。最後に処理406で指定領域を削除する。   Next, the designated area data input determination processing unit 13 selects the closest HTML tag <h1>, <h2>, <h3>, <h4>, <h5 among the lines smaller than the line where the extracted tag is written. >, <H6>, or <article> tag is searched, and if found, it is stored as complementary information of the extracted HTML tag information. <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, and <article> are tags that are generally used as headings and titles. For example, as shown in FIG. 12, the storage method registers complementary information such as a title and the extracted tag information (text or image) in the second database 32 in association with each other. Finally, in step 406, the designated area is deleted.

[作成ボタン押下判定処理]
次に、作成ボタン押下判定処理(処理115)の詳細を図7に示す。この処理は処理114でデータ投入された情報をもとに再表示する。作成ボタン押下判定処理部14は、処理501にて指が離れたこと検知するTouch Endイベントが起きたかどうかを判断し、指が離れる前の指の位置座標が作成ボタン上にあるの否かを処理502で判断する。作成ボタンが押下されたと判断すると、図12のような第2のデータベース32からタイトル、次にテキストまたは画像という順番に逐次的に並べ直し(処理503)、再構成した情報を画面に表示する(処理504)。例えば、図13のように、例えば、指定領域に対応する段落が抽出された場合は、この段落に最も近いタイトルが補完情報として追加され、タイトル、段落の順番に再レイアウトされる。
[Create button press judgment process]
Next, details of the creation button press determination process (process 115) are shown in FIG. This process is redisplayed based on the information input in process 114. The creation button press determination processing unit 14 determines whether or not a Touch End event for detecting that the finger has been released has occurred in the process 501, and determines whether or not the position coordinates of the finger before the finger is released are on the creation button. This is determined in process 502. If it is determined that the creation button has been pressed, titles are sequentially rearranged from the second database 32 as shown in FIG. 12 in the order of text and image (process 503), and the reconstructed information is displayed on the screen (step 503). Process 504). For example, as shown in FIG. 13, for example, when a paragraph corresponding to the designated area is extracted, the title closest to this paragraph is added as supplementary information, and the layout is re-laid out in the order of the title and the paragraph.

以上述べたように、本実施形態の情報処理装置100によれば、例えば、図14に示すように、一部のテキストを指定領域とすることで文脈全部を切り取ることができ、一部の画像を指定領域とすることで画面表示上の拡大縮小率やスクロール状態にかかわらず画質を落とさずに元画像の画質で画像を切り取り保存することができる。さらに、切り取った情報は、後でその情報を見返した時にも理解しやすいように補完情報を付加した後に、再レイアウトして表示される。   As described above, according to the information processing apparatus 100 of the present embodiment, for example, as illustrated in FIG. 14, the entire context can be cut out by setting a part of text as a designated area, and a part of the image is displayed. By setting as the designated area, it is possible to cut and save the image with the image quality of the original image without degrading the image quality regardless of the enlargement / reduction ratio on the screen display or the scroll state. Further, the clipped information is displayed again after adding supplementary information so that it can be easily understood when the information is later reviewed.

したがって、上記実施形態によれば、画面上で指定された領域の情報を保存する際に、指定された領域に一部が含まれているような要素(タグが示す画像やテキスト等)も欠落の無い形で保存することが可能となる。画像を直接切出す技術に比べると、領域を荒っぽく指定しても情報の欠落が出ない、ウインドウ枠外に隠れている要素も一部が領域にかかっていれば欠落しない等の利点がある。したがって、簡単な操作で、指定された領域に対応する情報を有意性及び可読性の高い情報として抽出することが可能となる。   Therefore, according to the above-described embodiment, when information on a specified area on the screen is saved, elements (such as an image or text indicated by the tag) that are partially included in the specified area are also missing. It is possible to save in a form without Compared to the technique of directly cutting out an image, there are advantages such as no information is lost even if the area is specified roughly, and elements hidden outside the window frame are not lost if part of the area is covered. Therefore, it is possible to extract information corresponding to the designated region as highly significant and readable information with a simple operation.

なお、この発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を適宜組み合せてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.

100…情報処理装置、1…制御部、2…タッチスクリーン、3…記憶部、11…操作種類判別部、12…指定領域切り取り処理部、13…指定領域データ投入判定処理部、14…作成ボタン押下判定処理部、21…操作入力部、22…表示部、31…第1のデータベース、32…第2のデータベース。   DESCRIPTION OF SYMBOLS 100 ... Information processing apparatus, 1 ... Control part, 2 ... Touch screen, 3 ... Memory | storage part, 11 ... Operation type discrimination | determination part, 12 ... Designated area cut-out process part, 13 ... Designated area data input determination process part, 14 ... Create button Press determination processing unit, 21 ... operation input unit, 22 ... display unit, 31 ... first database, 32 ... second database.

Claims (9)

マークアップ言語で記述されたページを表示し、触れられた画面上の位置情報を入力するタッチスクリーンと、
前記位置情報をもとに移動の始点と終点とが一致する場合に、前記始点と終点とが一致した閉領域からなる指定領域を作成する作成手段と、
前記指定領域の位置座標を、前記ページの原点に対する位置座標に変換する変換手段と、
前記変換手段により変換された位置座標に基づいて前記指定領域に対応するタグが示す情報を抽出する抽出手段と
を具備することを特徴とする情報処理装置。
A touch screen that displays a page written in a markup language and inputs position information on the touched screen;
Creating means for creating a designated region consisting of a closed region in which the start point and the end point match when the start point and the end point of movement match based on the position information;
Conversion means for converting the position coordinates of the designated area into position coordinates with respect to the origin of the page;
An information processing apparatus comprising: extraction means for extracting information indicated by a tag corresponding to the designated area based on the position coordinates converted by the conversion means.
前記抽出手段において、タグの抽出対象は、テキスト、画像、及び図形を示すタグのうちの少なくとも1つであることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the extraction unit includes at least one of tags indicating text, images, and graphics. 前記抽出手段で抽出したタグが示す情報に対応する見出しを補完情報として抽出し、前記タグが示す情報に前記補完情報を対応付ける補完手段をさらに具備することを特徴とする請求項1又は2に記載の情報処理装置。   The supplementary means which extracts the headline corresponding to the information which the tag extracted by the said extraction means shows as supplementary information, and matches the said supplementary information with the information which the said tag shows is further provided. Information processing device. 前記タグが示す情報と前記補完情報とを対応付けて表示する表示手段をさらに具備することを特徴とする請求項3に記載の情報処理装置。   The information processing apparatus according to claim 3, further comprising display means for displaying the information indicated by the tag and the complementary information in association with each other. マークアップ言語で記述されたページを表示し、触れられた画面上の位置情報を入力するタッチスクリーンを有する情報処理装置により実行される方法であって、
前記位置情報をもとに移動の始点と終点とが一致する場合に、前記始点と終点とが一致した閉領域からなる指定領域を作成する作成ステップと、
前記指定領域の位置座標を、前記ページの原点に対する位置座標に変換する変換ステップと、
前記変換ステップにより変換された位置座標に基づいて前記指定領域に対応するタグが示す情報を抽出するステップと
を有することを特徴とする情報処理方法。
A method executed by an information processing apparatus having a touch screen that displays a page described in a markup language and inputs position information on a touched screen,
A creation step of creating a designated region consisting of a closed region in which the start point and the end point match when the start point and the end point of movement match based on the position information;
A conversion step of converting the position coordinates of the designated area into position coordinates with respect to the origin of the page;
Extracting the information indicated by the tag corresponding to the designated area based on the position coordinates converted by the converting step.
前記抽出ステップにおいて、タグの抽出対象は、テキスト、画像、及び図形を示すタグのうちの少なくとも1つであることを特徴とする請求項5に記載の情報処理方法。   6. The information processing method according to claim 5, wherein in the extraction step, a tag extraction target is at least one of a tag indicating text, an image, and a graphic. 前記抽出ステップで抽出したタグの直前の見出しを補完情報として抽出し、前記タグが示す情報に前記補完情報を対応付ける補完ステップをさらに有することを特徴とする請求項5又は6に記載の情報処理方法。   The information processing method according to claim 5 or 6, further comprising: a complementing step of extracting a heading immediately before the tag extracted in the extracting step as complementary information, and associating the complementary information with information indicated by the tag. . 前記タグが示す情報と前記補完情報とを対応付けて表示する表示ステップをさらに具備することを特徴とする請求項7に記載の情報処理方法。   The information processing method according to claim 7, further comprising a display step of displaying the information indicated by the tag and the complementary information in association with each other. 請求項1乃至4のいずれか1項に記載の情報処理装置を構成する各手段としてコンピュータを機能させるプログラム。   The program which makes a computer function as each means which comprises the information processing apparatus of any one of Claims 1 thru | or 4.
JP2012236900A 2012-10-26 2012-10-26 Information processing apparatus, information processing method, and program Active JP5463405B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012236900A JP5463405B1 (en) 2012-10-26 2012-10-26 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012236900A JP5463405B1 (en) 2012-10-26 2012-10-26 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP5463405B1 JP5463405B1 (en) 2014-04-09
JP2014086025A true JP2014086025A (en) 2014-05-12

Family

ID=50619392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012236900A Active JP5463405B1 (en) 2012-10-26 2012-10-26 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP5463405B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016085547A (en) * 2014-10-24 2016-05-19 株式会社東芝 Electronic apparatus and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3588337B2 (en) * 2000-05-25 2004-11-10 インターナショナル・ビジネス・マシーンズ・コーポレーション Method and system for capturing graphical printing techniques in a web browser
JP2010286903A (en) * 2009-06-09 2010-12-24 Canon Inc Display controller, display control method, and program
JP2011050038A (en) * 2009-07-27 2011-03-10 Sanyo Electric Co Ltd Image reproducing apparatus and image sensing apparatus
JP2012088790A (en) * 2010-10-15 2012-05-10 Canon Inc Information processor, information processing method thereof, and program
JP2012164143A (en) * 2011-02-07 2012-08-30 Brother Ind Ltd Image processing program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3588337B2 (en) * 2000-05-25 2004-11-10 インターナショナル・ビジネス・マシーンズ・コーポレーション Method and system for capturing graphical printing techniques in a web browser
JP2010286903A (en) * 2009-06-09 2010-12-24 Canon Inc Display controller, display control method, and program
JP2011050038A (en) * 2009-07-27 2011-03-10 Sanyo Electric Co Ltd Image reproducing apparatus and image sensing apparatus
JP2012088790A (en) * 2010-10-15 2012-05-10 Canon Inc Information processor, information processing method thereof, and program
JP2012164143A (en) * 2011-02-07 2012-08-30 Brother Ind Ltd Image processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016085547A (en) * 2014-10-24 2016-05-19 株式会社東芝 Electronic apparatus and method

Also Published As

Publication number Publication date
JP5463405B1 (en) 2014-04-09

Similar Documents

Publication Publication Date Title
JP5638648B2 (en) Advertisement generation device, advertisement generation program, and terminal device
US20110283228A1 (en) Information processing apparatus and method, and program
US20120235933A1 (en) Mobile terminal and recording medium
WO2016022217A1 (en) Navigation interfaces for ebooks
US20120032983A1 (en) Information processing apparatus, information processing method, and program
CN101523336A (en) Terminal, content display method, and content display program
CN106663292B (en) Summary views for electronic books
CN106681616B (en) Method, device and equipment for displaying function bar of browser
US20150067483A1 (en) Electronic device and method for displaying electronic document
CN113536173B (en) Page processing method and device, electronic equipment and readable storage medium
EP3043251A1 (en) Method of displaying content and electronic device implementing same
US20160117093A1 (en) Electronic device and method for processing structured document
JP2015049593A (en) Electronic apparatus, method, and program
JP5463405B1 (en) Information processing apparatus, information processing method, and program
JP5997328B2 (en) Program and terminal device
JP2011028356A (en) Information processor, program, and decoration method for display element
JP2015057713A (en) Advertisement generation apparatus, advertisement generation program, and terminal device
US10019423B2 (en) Method and apparatus for creating electronic document in mobile terminal
US20190163338A1 (en) Page display device and page display method
JP2015106397A (en) Web content display device, operation method of web content display device, and computer program
JP2013077231A (en) Display method of document data, display device of portable terminal
JP2014071755A (en) Editing device and method for controlling editing device
JP5925096B2 (en) Editing device and editing device control method
JP6223007B2 (en) Document display apparatus and method, program and data structure thereof
US9411885B2 (en) Electronic apparatus and method for processing documents

Legal Events

Date Code Title Description
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: 20140114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140120

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5463405

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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