JP6729490B2 - Web page display control device and web page display control program - Google Patents

Web page display control device and web page display control program Download PDF

Info

Publication number
JP6729490B2
JP6729490B2 JP2017103596A JP2017103596A JP6729490B2 JP 6729490 B2 JP6729490 B2 JP 6729490B2 JP 2017103596 A JP2017103596 A JP 2017103596A JP 2017103596 A JP2017103596 A JP 2017103596A JP 6729490 B2 JP6729490 B2 JP 6729490B2
Authority
JP
Japan
Prior art keywords
hyperlink
page
web page
display
web
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.)
Expired - Fee Related
Application number
JP2017103596A
Other languages
Japanese (ja)
Other versions
JP2018200500A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2017103596A priority Critical patent/JP6729490B2/en
Publication of JP2018200500A publication Critical patent/JP2018200500A/en
Application granted granted Critical
Publication of JP6729490B2 publication Critical patent/JP6729490B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、ウェブページ表示制御装置及びウェブページ表示制御プログラムに関し、特に、ウェブブラウザーにおいてユーザーがページを戻す操作を短時間に繰り返したときにウェブページの戻り過ぎを防ぐ技術に関する。 The present invention relates to a web page display control device and a web page display control program, and more particularly to a technique for preventing a web page from returning too much when a user repeatedly performs a page returning operation in a web browser.

一般にインターネットで公開されているウェブページは、テキストデータ、静止画像データ、動画像データなどの様々な形式のデータが複合して構成されている。そのようなウェブページをインターネットから読み込んでユーザー端末に表示する場合、ウェブページを構成するすべてのデータの読み込みが完了してから表示するのではユーザーがウェブページを要求してからウェブページが表示されるまでの時間がかかってしまう。そこで、一般にウェブブラウザーは、データサイズが小さいテキストを先に読み込んで表示し、データサイズの大きい画像などは読み込みが完了するごとにウェブページ中の所定位置に差し込んで表示するようになっている。 Generally, a web page published on the Internet is composed of various types of data such as text data, still image data, and moving image data. When loading such a web page from the Internet and displaying it on the user terminal, it is necessary to display it after all the data that composes the web page has been loaded. It will take some time to get there. Therefore, in general, a web browser first reads a text having a small data size and displays it, and inserts an image having a large data size at a predetermined position in a web page every time the reading is completed and displays the text.

ウェブページのダウンロードに必要な時間を短縮する技術として、例えば下記特許文献1には、ウェブ端末機器に画面として表示されるウェブページをダウンロードする時に、データ量の小さな代理コンテンツをダウンロードしてウェブページ上に表示し、続いて、データ量の大きな実コンテンツのダウンロードを開始する技術が開示されている。 As a technique for shortening the time required to download a web page, for example, in Patent Document 1 below, when downloading a web page displayed as a screen on a web terminal device, a proxy content having a small amount of data is downloaded to the web page. A technique of displaying the above and subsequently starting downloading of a large content-content real content is disclosed.

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

上記特許文献1のようにウェブページのダウンロードに必要な時間を短縮するために実画像のダウンロードが完了するまでの間、代用画像を表示すると、実画像と代用画像とで表示枠の大きさが異なることにより、代用画像から実画像に表示が切り替わる際にウェブページのレイアウトが崩れることがある。例えば、ユーザーがウェブページ中のハイパーリンクをクリックしようとしているときに代用画像から実画像に表示が切り替わるとそのハイパーリンクの表示位置がずれてしまい、別のハイパーリンクをクリックしてユーザーが意図しないウェブページに切り換わるおそれがある。例えば誤ってバナー広告をクリックして広告ページに切り換わってしまった場合などは、ユーザーは元のウェブページに戻ろうとして慌ててウェブブラウザーのページを戻す操作を短時間に繰り返すことがあり、その結果、元のウェブページよりもさらに前のウェブページに戻ってしまう。 When the substitute image is displayed until the download of the actual image is completed in order to reduce the time required to download the web page as in the above-mentioned Patent Document 1, the size of the display frame between the actual image and the substitute image becomes large. Due to the difference, the layout of the web page may collapse when the display is switched from the substitute image to the actual image. For example, when the user tries to click a hyperlink on a web page and the display switches from the substitute image to the actual image, the display position of the hyperlink shifts, and the user does not intend to click another hyperlink. You may switch to a web page. For example, if a user mistakenly clicks on a banner ad and switches to the advertising page, the user may panic to return to the original web page and repeatedly return the page in the web browser. As a result, you are returned to a web page that is even earlier than the original web page.

本発明は、上記の事情に鑑みてなされたものであり、ウェブブラウザーのページを戻す操作を短時間に繰り返したときにウェブページの戻り過ぎを防止することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to prevent excessive return of a web page when the operation of returning a page of a web browser is repeated in a short time.

本発明の一局面に係るウェブページ表示制御装置は、ウェブブラウザーがウェブページを読み込みながら描画処理している最中に、前記ウェブページに含まれる各ハイパーリンクの、前記ウェブブラウザーのウィンドウ内での表示位置を記憶するハイパーリンク表示位置記憶部と、前記ウェブブラウザーのウィンドウにおいてポインティングデバイスでポイントされた位置を検出するポイント位置検出部と、前記ウェブページにおいて前記ポイント位置検出部により検出されたポイント位置にある第1のハイパーリンクと、前記ハイパーリンク表示位置記憶部により記憶された、前記ポインティングデバイスでポイントされる直前に前記ポイント位置にあった第2のハイパーリンクとが、同一のハイパーリンクであるか否かを判定するハイパーリンク判定部と、前記ウェブブラウザーの表示が前記第1のハイパーリンクによるリンク先のウェブページに切り換わった後に前記ウェブブラウザーに対するページを戻す操作が、当該リンク先のウェブページに切り換わった時点から予め定められた時間内に繰り返し行われた場合において、前記ハイパーリンク判定部により前記第1のハイパーリンクと前記第2のハイパーリンクとが同一のハイパーリンクではないと判定されているときは、前記ページを戻す操作の回数にかかわらず前記ページを戻す操作を1回のみ受け付けて、前記ウェブブラウザーの表示を切り換え直前のウェブページに戻すページ戻し制御部とを備えたものである。 A web page display control device according to an aspect of the present invention, in the middle of drawing processing while the web browser is reading the web page, each hyperlink included in the web page, in the window of the web browser. A hyperlink display position storage unit that stores a display position, a point position detection unit that detects a position pointed by a pointing device in the window of the web browser, and a point position detected by the point position detection unit on the web page And the second hyperlink stored in the hyperlink display position storage unit and located at the point position immediately before being pointed at by the pointing device are the same hyperlink. The hyperlink determination unit that determines whether or not the display of the web browser is switched to the web page of the link destination by the first hyperlink, and the operation of returning the page to the web browser is the web of the link destination. When repeatedly performed within a predetermined time from the time of switching to the page, the hyperlink determination unit determines that the first hyperlink and the second hyperlink are not the same hyperlink. A page return control unit for accepting only one operation for returning the page regardless of the number of operations for returning the page and returning the display of the web browser to the immediately preceding web page. Is.

本発明の一局面に係るウェブページ表示制御プログラムは、ウェブブラウザーがウェブページを読み込みながら描画処理している最中に、前記ウェブページに含まれる各ハイパーリンクの、前記ウェブブラウザーのウィンドウ内での表示位置を記憶するハイパーリンク表示位置記憶部と、前記ウェブブラウザーのウィンドウにおいてポインティングデバイスでポイントされた位置を検出するポイント位置検出部と、前記ウェブページにおいて前記ポイント位置検出部により検出されたポイント位置にある第1のハイパーリンクと、前記ハイパーリンク表示位置記憶部により記憶された、前記ポインティングデバイスでポイントされる直前に前記ポイント位置にあった第2のハイパーリンクとが、同一のハイパーリンクであるか否かを判定するハイパーリンク判定部と、前記ウェブブラウザーの表示が前記第1のハイパーリンクによるリンク先のウェブページに切り換わった後に前記ウェブブラウザーに対するページを戻す操作が、当該リンク先のウェブページに切り換わった時点から予め定められた時間内に繰り返し行われた場合において、前記ハイパーリンク判定部により前記第1のハイパーリンクと前記第2のハイパーリンクとが同一のハイパーリンクではないと判定されているときは、前記ページを戻す操作の回数にかかわらず前記ページを戻す操作を1回のみ受け付けて、前記ウェブブラウザーの表示を切り換え直前のウェブページに戻すページ戻し制御部として、コンピューターを機能させるものである。 A web page display control program according to an aspect of the present invention, in the middle of the drawing process while the web browser is reading the web page, each hyperlink included in the web page, in the window of the web browser. A hyperlink display position storage unit that stores a display position, a point position detection unit that detects a position pointed by a pointing device in the window of the web browser, and a point position detected by the point position detection unit on the web page And the second hyperlink stored in the hyperlink display position storage unit and located at the point position immediately before being pointed at by the pointing device are the same hyperlink. The operation of returning the page to the web browser after the display of the web browser is switched to the web page of the link destination by the first hyperlink, and the operation of returning the page to the web browser is performed. When repeatedly performed within a predetermined time from the time of switching to the page, the hyperlink determination unit determines that the first hyperlink and the second hyperlink are not the same hyperlink. If it is set, the computer functions as a page return control unit that accepts only one operation to return the page regardless of the number of operations to return the page and returns the web page to the screen immediately before switching the display of the web browser. It is what makes me.

上記の本発明によれば、ウェブブラウザーのページを戻す操作を短時間に繰り返したときにウェブページの戻り過ぎを防止することができる。 According to the present invention described above, it is possible to prevent the web page from returning too much when the operation of returning the page of the web browser is repeated in a short time.

本発明の一実施形態に係るウェブページ表示制御装置を含むユーザー端末のブロック図である。1 is a block diagram of a user terminal including a web page display control device according to an exemplary embodiment of the present invention. ウェブページ表示制御装置によるページを戻す制御処理のフローチャートである。It is a flow chart of control processing which returns a page by a web page display control device. ウェブサイト内の画像データを読み込んでいる最中のウェブブラウザー表示例を示す図である。It is a figure which shows the example of a web browser display in the middle of reading the image data in a website. 画像データの読み込みが完了して代用画像から実画像に切り替わったときのウェブブラウザー表示例を示す図である。It is a figure which shows the example of a web browser display when the reading of image data is completed and it changes to a real image from a substitute image. 代用画像から実画像への切り替わり時に誤ってバナー広告をクリックしたときのウェブブラウザー表示例を示す図である。It is a figure which shows the example of a web browser display when a banner advertisement is mistakenly clicked at the time of switching from a substitute image to a real image. 広告ページから元のウェブページに戻ろうとして慌ててウェブブラウザーの戻りボタンを連打している様子を示す図である。It is a figure which shows a mode that the return button of a web browser is hit in a hurry in an attempt to return to the original web page from an advertisement page. ページを戻す操作が1回のみ受け付けられて元のウェブページに戻ったときのウェブブラウザー表示例を示す図である。It is a figure which shows the example of a web browser display when the operation of returning a page is accepted only once and it returns to the original web page.

以下、本発明の一実施形態に係るウェブページ表示制御装置について図面を参照して説明する。図1は、本発明の一実施形態に係るウェブページ表示制御装置としてのユーザー端末のブロック図である。 Hereinafter, a web page display control device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a user terminal as a web page display control device according to an embodiment of the present invention.

ユーザー端末100は、本発明に係るウェブページ表示制御装置の一実施形態であり、例えば、パーソナルコンピュータ、スマートフォン、タブレット端末などの通信機能を有するコンピューター機器である。ユーザー端末100は、CPU10、メモリー20、ストレージ30、ディスプレイ40、ネットワークインターフェイス50、及びユーザーインターフェイス60を備える。これら要素はバス70に接続されている。 The user terminal 100 is an embodiment of the web page display control device according to the present invention, and is a computer device having a communication function, such as a personal computer, a smartphone, or a tablet terminal. The user terminal 100 includes a CPU 10, a memory 20, a storage 30, a display 40, a network interface 50, and a user interface 60. These elements are connected to the bus 70.

メモリー20は、CPU10で処理されるデータを一時的に保存する。ストレージ30は、例えば、ソリッドステートドライブ(SSD)やハードディスクドライブ(HDD)などで構成され、CPU10で実行されるコンピュータープログラムや長期間保存すべきデータや電子ファイルなどを格納する。ディスプレイ40は、液晶ディスプレイや有機ELディスプレイなどで構成され、CPU10で処理されたテキストデータや画像などを表示する。 The memory 20 temporarily stores the data processed by the CPU 10. The storage 30 is composed of, for example, a solid state drive (SSD) or a hard disk drive (HDD), and stores a computer program executed by the CPU 10, data to be stored for a long time, an electronic file, and the like. The display 40 is composed of a liquid crystal display, an organic EL display, or the like, and displays text data, images, etc. processed by the CPU 10.

ネットワークインターフェイス50は、有線LANや無線LANなどの通信インターフェイスである。すなわち、ユーザー端末100は、ネットワークインターフェイス50を通じてインターネットに接続して、インターネット上の任意のウェブサイトにアクセスすることができる。 The network interface 50 is a communication interface such as a wired LAN or a wireless LAN. That is, the user terminal 100 can connect to the Internet through the network interface 50 and access any website on the Internet.

ユーザーインターフェイス60は、キーボードやマウスなどのユーザーがユーザー端末100を操作するためのデバイスである。ユーザー端末100がスマートフォンやタブレット端末の場合、ディスプレイ40のタッチパネルがユーザーインターフェイス60に該当する。ユーザーはユーザーインターフェイス60を通じて、ユーザー端末100に文字を入力し、また、ディスプレイ40上の任意の箇所をポインティングしてユーザー端末100に命令を与えることができる。 The user interface 60 is a device for a user to operate the user terminal 100, such as a keyboard or a mouse. When the user terminal 100 is a smartphone or a tablet terminal, the touch panel of the display 40 corresponds to the user interface 60. The user can input characters to the user terminal 100 through the user interface 60, and can point to any part of the display 40 to give a command to the user terminal 100.

CPU10は、ストレージ30に格納された各種のコンピュータープログラムを実行して、ユーザー端末100に様々な機能を実現させる。その一例がウェブブラウザー101である。ウェブブラウザー101は、インターネット上の各ウェブサイトで公開されている、HTML(Hyper Text Markup Language)で記述されたウェブページを読み込んでディスプレイ40にウェブページを表示する。 The CPU 10 executes various computer programs stored in the storage 30 to cause the user terminal 100 to realize various functions. One example is the web browser 101. The web browser 101 reads a web page written in HTML (Hyper Text Markup Language) published on each website on the Internet and displays the web page on the display 40.

ウェブページには所々に別のウェブページのURL(Uniform Resource Locator)を示すハイパーリンクが埋め込まれている。ユーザーはマウスやタッチパネルなどのポインティングデバイスを用いて、ディスプレイ40に表示されたウェブブラウザー101のウィンドウにおいて任意のハイパーリンクをクリックすることができる。ポインティングデバイスによりハイパーリンクがポインティングされると、ウェブブラウザー101は当該ハイパーリンク先のウェブページを読み込んでディスプレイ40に表示する。 Hyperlinks indicating the URL (Uniform Resource Locator) of another web page are embedded in the web page in various places. The user can use a pointing device such as a mouse or a touch panel to click an arbitrary hyperlink in the window of the web browser 101 displayed on the display 40. When the hyperlink is pointed by the pointing device, the web browser 101 reads the hyperlink destination web page and displays it on the display 40.

上述のように、ユーザーはウェブページのハイパーリンクを辿って次々と新たなウェブページへ切り換わって所望のウェブページを閲覧可能である。一方、ウェブブラウザー101が提供する、ページを戻す機能を利用することにより、ユーザーは切り換え先のウェブページから切り換え前のウェブページへ戻ることができる。例えば、ユーザーは、ディスプレイ40に表示されるページを戻すボタンをクリックするかキーボードショートカットキーを使用すると、ウェブブラウザー101は、直前のウェブページに戻す。 As described above, a user can follow a hyperlink of a web page and switch to a new web page one after another to browse a desired web page. On the other hand, by using the page returning function provided by the web browser 101, the user can return from the web page before switching to the web page before switching. For example, when the user clicks the page return button displayed on the display 40 or uses a keyboard shortcut key, the web browser 101 returns to the previous web page.

ところで、ウェブブラウザー101は、テキストデータ、静止画像データ、動画像データなどの様々な形式のデータが複合して構成されるウェブページをディスプレイ40に表示する際、データサイズの小さいテキストデータなどを先に読み込んで表示し、データサイズが大きく読み込みに時間のかかる画像データなどは代用画像を表示しておいて画像データの読み込みが完了した時点で代用画像から実画像に切り替えて表示する。このため、ユーザーがウェブページ中のハイパーリンクをクリックしようとしているときに代用画像から実画像に表示が切り替わるとそのハイパーリンクの表示位置がずれることで別のハイパーリンクをクリックしてしまい意図しないウェブページに切り換わることがある。その場合、ユーザーは元のウェブページに戻ろうとして慌ててウェブブラウザー101のページを戻す操作を短時間に繰り返して、元のウェブページよりもさらに前のウェブページに戻ってしまうことがある。本実施形態に係るウェブページ表示制御部110はそのようなページの戻り過ぎを防ぐものである。 By the way, when the web browser 101 displays on the display 40 a web page composed of various types of data such as text data, still image data, moving image data, etc., the text data having a small data size is sent first. When the image data having a large data size and a long time to read is displayed as a substitute image and the image data is completely read, the substitute image is switched to the actual image to be displayed. Therefore, when the user tries to click a hyperlink on a web page and the display switches from the substitute image to the actual image, the display position of that hyperlink shifts, causing another hyperlink to be clicked It may switch to a page. In that case, the user may hurry to return to the original web page and repeat the operation of returning the page of the web browser 101 in a short period of time to return to the web page further forward than the original web page. The web page display control unit 110 according to the present embodiment prevents excessive return of such pages.

ウェブページ表示制御部110は、ウェブブラウザー101と同様に、CPU10がストレージ30に格納されたウェブページ表示制御プログラムを実行することで実現される。より詳細には、ウェブページ表示制御部110は、ハイパーリンク表示位置記憶部111、ポイント位置検出部112、ハイパーリンク判定部113、及びページ戻し制御部114を備える。 The web page display control unit 110 is realized by the CPU 10 executing the web page display control program stored in the storage 30, similarly to the web browser 101. More specifically, the web page display control unit 110 includes a hyperlink display position storage unit 111, a point position detection unit 112, a hyperlink determination unit 113, and a page return control unit 114.

ハイパーリンク表示位置記憶部111は、ウェブブラウザー101がウェブページを読み込みながら描画処理している最中に、ウェブページに含まれる各ハイパーリンクの、ウェブブラウザー101のウィンドウ内での表示位置を記憶する。 The hyperlink display position storage unit 111 stores the display position of each hyperlink included in the web page in the window of the web browser 101 while the web browser 101 is performing drawing processing while reading the web page. ..

ポイント位置検出部112は、ウェブブラウザー101のウィンドウにおいて、マウスやタッチパネルなどのポインティングデバイスでポイントされた位置を検出する。 The point position detection unit 112 detects a position pointed by a pointing device such as a mouse or a touch panel in the window of the web browser 101.

なお、ハイパーリンク表示位置記憶部111が記憶するハイパーリンクの表示位置及びポイント位置検出部112が検出するポイント位置はいずれもウェブブラウザー101のウィンドウ内での相対位置であり、ディスプレイ40におけるウェブブラウザー101のウィンドウの表示位置には依存しない。すなわち、ディスプレイ40においてウェブブラウザー101のウィンドウが移動してもハイパーリンク表示位置記憶部111が記憶するハイパーリンクの表示位置は影響を受けない。 The display position of the hyperlink stored in the hyperlink display position storage unit 111 and the point position detected by the point position detection unit 112 are both relative positions in the window of the web browser 101, and the web browser 101 in the display 40. Does not depend on the display position of the window. That is, even if the window of the web browser 101 moves on the display 40, the display position of the hyperlink stored in the hyperlink display position storage unit 111 is not affected.

ハイパーリンク判定部113は、ウェブページにおいてポイント位置検出部112により検出されたポイント位置にある第1のハイパーリンクと、ハイパーリンク表示位置記憶部111により記憶された、ポインティングデバイスでポイントされる直前に当該検出されたポイント位置にあった第2のハイパーリンクとが同一のハイパーリンクであるか否か、すなわち、第1及び第2のハイパーリンクによるリンク先が一致するか否かを判定する。 The hyperlink determination unit 113 detects the first hyperlink at the point position detected by the point position detection unit 112 on the web page, and immediately before being pointed by the pointing device stored in the hyperlink display position storage unit 111. It is determined whether or not the second hyperlink at the detected point position is the same hyperlink, that is, whether or not the link destinations of the first and second hyperlinks match.

ページ戻し制御部114は、ウェブブラウザー101の表示が第1のハイパーリンクによるリンク先であるウェブページに切り換わった直後にウェブブラウザー101に対するページを戻す操作が、第1のハイパーリンクによるリンク先のウェブページに切り換わった時点から予め定められた時間(例えば1秒間)内にユーザーにより繰り返し行われたか(予め定められた時間内に少なくとも2回以上連続してページを戻す操作が行われたか)を判断する。ページ戻し制御部114は、ページを戻す操作が繰り返して行われたと判断した場合であって、ハイパーリンク判定部113により、第1のハイパーリンクと第2のハイパーリンクとが同一のハイパーリンクではないと判定されている場合には、ページを戻す操作回数にかかわらずページを戻す操作を1回のみ受け付けて、ウェブブラウザー101に、表示を切り換え直前(1つ前の)のウェブページに戻させる。 The page return control unit 114 performs the operation of returning the page to the web browser 101 immediately after the display of the web browser 101 is switched to the web page which is the link destination of the first hyperlink, to the link destination of the first hyperlink. Is it repeated by the user within a predetermined time (for example, 1 second) from the time of switching to the web page (whether the operation of returning the page at least twice continuously within the predetermined time has been performed)? To judge. The page return control unit 114 determines that the operation of returning the page is repeated, and the hyperlink determination unit 113 determines that the first hyperlink and the second hyperlink are not the same hyperlink. If it is determined that the page returning operation is performed only once, the web browser 101 causes the web browser 101 to return to the web page immediately before (one before) the display switching.

また、ページ戻し制御部114は、ウェブブラウザー101の表示が第1のハイパーリンクによるリンク先のウェブページに切り換わった後にウェブブラウザー101に対するページを戻す操作が予め定められた時間内に繰り返し行われた場合において、ハイパーリンク判定部113により第1のハイパーリンクと第2のハイパーリンクとが同一のハイパーリンクであると判定されているときは、ページを戻す操作を上記繰り返し行われた回数分受け付けて、ウェブブラウザー101に、当該回数分前のウェブページに表示を戻させる。 In addition, the page return control unit 114 repeats the operation of returning the page to the web browser 101 within a predetermined time after the display of the web browser 101 is switched to the linked web page by the first hyperlink. In such a case, if the hyperlink determining unit 113 determines that the first hyperlink and the second hyperlink are the same hyperlink, the operation of returning the page is accepted by the number of times that the above-described repeated operation is performed. Then, the web browser 101 is caused to return the display to the web page of the number of times before.

次に、ウェブページ表示制御部110によるページを戻す制御処理について説明する。図2は、ウェブページ表示制御部110によるページを戻す制御処理のフローチャートである。図3A乃至図3Eは、各処理工程におけるウェブブラウザー101の表示例を示す図である。 Next, a control process of returning the page by the web page display control unit 110 will be described. FIG. 2 is a flowchart of a control process of returning a page by the web page display control unit 110. 3A to 3E are diagrams showing display examples of the web browser 101 in each processing step.

ウェブブラウザー101は、ユーザーから任意のウェブページの表示要求を受けると(S1でYES)、当該ウェブページを提供するウェブサイトにアクセスしてウェブページを読み込みつつ描画処理を行って当該ウェブページをディスプレイ40に表示する(S2)。図3Aは、ウェブサイト内の画像データを読み込んでいる最中のウェブブラウザー表示例を示す図である。ウェブブラウザー101は、ユーザーのウェブページ表示要求に即応するために、データサイズの小さいテキストは先に読み込んで表示しつつ、読み込みに時間のかかる画像データについては読み込みが完了するまで代用画像を表示する。 When the web browser 101 receives a request for displaying an arbitrary web page from the user (YES in S1), the web browser 101 accesses the website that provides the web page, performs the drawing process while reading the web page, and displays the web page. 40 is displayed (S2). FIG. 3A is a diagram showing a web browser display example while image data in a website is being read. In order to immediately respond to the user's request for displaying a web page, the web browser 101 first reads and displays the text having a small data size, and displays the substitute image for the image data that takes time to read until the reading is completed. ..

ウェブブラウザー101がウェブページの画像データを読み込みつつウェブページの描画処理をしている最中に、ハイパーリンク表示位置記憶部111が、ウェブページに含まれる各ハイパーリンクの、ウェブブラウザーのウィンドウ内での表示位置を記憶する(S3)。 While the web browser 101 is performing the drawing process of the web page while reading the image data of the web page, the hyperlink display position storage unit 111 displays the hyperlinks included in the web page in the window of the web browser. The display position of is stored (S3).

さらに、ウェブブラウザー101がウェブページの画像データを読み込みつつウェブページの描画処理をしている最中に、ウェブブラウザー101は、表示中のウィンドウにおいてポインティングデバイスによる任意の箇所のポインティングがあったか否かを検出する。ポインティングが検出されなければ(S4でNO)、ウェブブラウザー101は引き続き画像データの読み込み及びウェブページの描画処理を続ける(S2)。 Further, while the web browser 101 is performing the drawing process of the web page while reading the image data of the web page, the web browser 101 determines whether or not there is pointing at any position by the pointing device in the window being displayed. To detect. If pointing is not detected (NO in S4), the web browser 101 continues to read image data and draw web pages (S2).

ウェブブラウザー101のウィンドウにおいて任意の箇所がポインティングされた場合(S4でYES)、ポイント位置検出部112が、ウェブブラウザー101のウィンドウにおいてポインティングデバイスでポイントされた位置を検出する(S5)。続いてウェブブラウザー101は、ポイントされた位置にハイパーリンクがあるか否かを判断し、ハイパーリンクがなければ(S6でNO)引き続き画像データの読み込み及びウェブページの描画処理を続け(S2)、ハイパーリンクがあれば(S6でYES)当該ハイパーリンクで指定されるウェブページに切り換わる(S7)。 When an arbitrary position is pointed in the window of the web browser 101 (YES in S4), the point position detection unit 112 detects the position pointed by the pointing device in the window of the web browser 101 (S5). Subsequently, the web browser 101 determines whether or not there is a hyperlink at the pointed position, and if there is no hyperlink (NO in S6), the image data is continuously read and the web page drawing process is continued (S2), If there is a hyperlink (YES in S6), the web page designated by the hyperlink is switched to (S7).

ここで、ユーザーが例えば図3Aの表示例においてあるハイパーリンクをクリックしようとしたときに画像データの読み込みが完了して代用画像から実画像に切り替わってウェブページのレイアウトが崩れることがある。 Here, when the user tries to click a hyperlink in the display example of FIG. 3A, for example, the image data may be completely read and the substitute image may be switched to the actual image, and the layout of the web page may be broken.

図3Bは、画像データの読み込みが完了して代用画像から実画像に切り替わったときのウェブブラウザー表示例を示す図である。図3Bは、図3Aの表示例における代用画像が実画像に切り替わってハイパーリンクが下にずれた様子を表している。ユーザーが図3Aの表示例におけるハイパーリンクをクリックしようとしたときにウェブブラウザー101の表示が図3Bに切り替わると、ユーザーはクリックしようとしていたハイパーリンク以外をクリックしてしまうこととなる。例えば、ユーザーは図3Bの表示例において実画像をクリックして、この実画像に貼られているリンクが案内する、意図しないウェブページに切り換わってしまうことがある。 FIG. 3B is a diagram illustrating a web browser display example when the image data is completely read and the substitute image is switched to the actual image. FIG. 3B shows a state in which the substitute image in the display example of FIG. 3A is switched to the real image and the hyperlink is shifted downward. If the display of the web browser 101 switches to that of FIG. 3B when the user tries to click the hyperlink in the display example of FIG. 3A, the user will click on a hyperlink other than the one that was being clicked. For example, the user may click the actual image in the display example of FIG. 3B and switch to an unintended web page guided by the link attached to the actual image.

図3Cは、代用画像から実画像への切り替わり時に誤ってバナー広告をクリックしたときのウェブブラウザー表示例を示す図である。このように意図せずバナー広告に切り換わった場合には、ユーザーは元のウェブページに戻ろうとして慌ててウェブブラウザー101のページを戻す操作を短時間に繰り返すことがある。図3Dは、広告ページから元のウェブページに戻ろうとして、ユーザーがウェブブラウザー101の戻りボタンを何度も連続して操作する様子を示す図である。 FIG. 3C is a diagram showing a web browser display example when a banner advertisement is mistakenly clicked at the time of switching from the substitute image to the actual image. When the banner advertisement is unintentionally switched in this way, the user may rush to return to the original web page and repeat the operation of returning the page of the web browser 101 in a short time. FIG. 3D is a diagram showing how the user repeatedly operates the return button of the web browser 101 many times in an attempt to return to the original web page from the advertisement page.

ページ戻し制御部114は、ユーザーがクリックしたハイパーリンクによるリンク先であるウェブページに切り換わった直後にページを戻す操作が、予め定められた時間内に繰り返し行われたか否かを判断する。ここで予め定められた時間を設ける理由は、ユーザーが慌ててページを戻す操作を行ったものであるか否かを区別するためである。例えば、予め定められた時間として1秒以内にページを戻す操作が繰り返された場合には、ページ戻し制御部114は、ユーザーが慌ててページを戻す操作を行っていると判定する。 The page return control unit 114 determines whether or not the operation of returning the page immediately after switching to the web page that is the link destination by the hyperlink clicked by the user has been repeatedly performed within a predetermined time. The reason for providing the predetermined time here is to distinguish whether or not the user hastily performed the operation of returning the page. For example, when the operation of returning the page is repeated within 1 second as the predetermined time, the page return control unit 114 determines that the user is in a hurry to perform the operation of returning the page.

ページ戻し制御部114が、ページを戻す操作が予め定められた時間内に繰り返してされていないと判断した場合は(S8でNO)、ウェブブラウザー101はユーザーの指示通りに直前のウェブページに戻す(S12)。 When the page return control unit 114 determines that the page returning operation has not been repeated within the predetermined time (NO in S8), the web browser 101 returns to the immediately preceding web page as instructed by the user. (S12).

一方、ページ戻し制御部114が、ページを戻す操作が予め定められた時間以内に繰り返されたと判断した場合は(S8でYES)、ハイパーリンク判定部113が、ウェブページにおいてポイント位置検出部112により検出されたポイント位置にある第1のハイパーリンクと、ハイパーリンク表示位置記憶部111により記憶された、ポインティングデバイスでポイントされる直前に当該検出されたポイント位置にあった第2のハイパーリンクとが同一のハイパーリンクであるか否かを判定する(S9)。 On the other hand, when the page return control unit 114 determines that the page returning operation has been repeated within the predetermined time (YES in S8), the hyperlink determination unit 113 causes the point position detection unit 112 to detect the web page. The first hyperlink at the detected point position and the second hyperlink stored at the detected point position immediately before being pointed by the pointing device, which are stored by the hyperlink display position storage unit 111, are It is determined whether the hyperlinks are the same (S9).

ハイパーリンク判定部113が、第1のハイパーリンクと第2のハイパーリンクとが同一のハイパーリンクであると判定した場合(S10でYES)、ウェブページのレイアウトが崩れて誤ったハイパーリンクをクリックしたとは考えられない、すなわち、ユーザーが意図してそのハイパーリンクをクリックしたものと想定される。この場合、ウェブブラウザー101は、ユーザーの指示通りに、上記繰り返されたページを戻す操作に従って、ウェブページの表示を戻す(S12)。すなわち、ページ戻し制御部114は、ページを戻す操作を、当該繰り返し行われた回数分受け付けて、ウェブブラウザー101に、当該回数分前のウェブページに表示を戻させる。 When the hyperlink determination unit 113 determines that the first hyperlink and the second hyperlink are the same hyperlink (YES in S10), the layout of the web page is broken and the wrong hyperlink is clicked. Is unlikely, that is, it is assumed that the user intentionally clicked on the hyperlink. In this case, the web browser 101 returns the display of the web page according to the operation of returning the repeated page as instructed by the user (S12). That is, the page return control unit 114 receives the operation of returning the page for the number of times that the operation has been repeated, and causes the web browser 101 to return the display to the web page before the number of times.

一方、ハイパーリンク判定部113が、第1のハイパーリンクと第2のハイパーリンクとが同一のハイパーリンクではないと判断した場合(S10でNO)、ユーザーがウェブページ中における、あるハイパーリンク(第2のハイパーリンク)をクリックしようとしたときにウェブページのレイアウトが崩れ、別のハイパーリンク(第1のハイパーリンク)をクリックしたと想定される。この場合、ページ戻し制御部114は、ページを戻す操作回数にかかわらずページを戻す操作を1回のみ受け付ける(S11)。ページ戻し制御部114は、ウェブブラウザー101に、ウェブページを直前(1つ前)のウェブページに戻させる(S12)。図3Eは、ページを戻す操作が1回のみ受け付けられて、直前(1つ前)のウェブページに戻ったときのウェブブラウザー表示例を示す図である。 On the other hand, when the hyperlink determination unit 113 determines that the first hyperlink and the second hyperlink are not the same hyperlink (NO in S10), the user may search for a hyperlink (first hyperlink) in the web page. It is assumed that the web page layout collapsed when the user tried to click the second hyperlink) and another hyperlink (first hyperlink) was clicked. In this case, the page return control unit 114 accepts only one page return operation regardless of the number of page return operations (S11). The page return control unit 114 causes the web browser 101 to return the web page to the immediately preceding (one before) web page (S12). FIG. 3E is a diagram showing a web browser display example when the operation of returning the page is accepted only once and the previous (one previous) web page is returned.

なお、ページ戻し制御部114は、第1のハイパーリンクがバナー広告である場合には、ハイパーリンク判定部113による判定結果の如何を問わず、すなわち、第1のハイパーリンクと第2のハイパーリンクとが同一のハイパーリンクであったとしても、ページを戻す操作の回数にかかわらず、ページを戻す操作を1回のみ受け付けるようにしてもよい。 When the first hyperlink is a banner advertisement, the page return control unit 114 does not care about the determination result by the hyperlink determination unit 113, that is, the first hyperlink and the second hyperlink. Even if and are the same hyperlink, the page returning operation may be accepted only once regardless of the number of page returning operations.

以上のように本実施形態に係るウェブページ表示制御部110によると、ウェブブラウザー101のページを戻す操作を短時間に繰り返したときにウェブページの戻り過ぎを防止することができる。 As described above, according to the web page display control unit 110 according to the present embodiment, it is possible to prevent the web page from returning too much when the operation of returning the page of the web browser 101 is repeated in a short time.

<その他の変形例>
上記の実施の形態で説明したウェブページ表示制御プログラムをコンピューター読み取り可能な非一時的な記録媒体、例えば、ハードディスク、CD-ROM、DVD-ROM、半導体メモリー等に記録されたものとしてもよい。この場合、当該ウェブページ表示制御プログラムを記録したコンピューター読み取り可能な非一時的な記録媒体が、本発明の一実施形態となる。
<Other modifications>
The web page display control program described in the above embodiments may be recorded in a computer-readable non-transitory recording medium, for example, a hard disk, a CD-ROM, a DVD-ROM, a semiconductor memory or the like. In this case, a computer-readable non-transitory recording medium recording the web page display control program is an embodiment of the present invention.

また、ウェブページ表示制御部110はCPU10で実行されるコンピュータープログラムとして実現される以外にハード回路で構成することも可能である。 Further, the web page display control unit 110 can be configured by a hardware circuit instead of being realized as a computer program executed by the CPU 10.

101 ウェブブラウザー
110 ウェブページ表示制御部
111 ハイパーリンク表示位置記憶部
112 ポイント位置検出部
113 ハイパーリンク判定部
114 ページ戻し制御部
101 web browser 110 web page display control unit 111 hyperlink display position storage unit 112 point position detection unit 113 hyperlink determination unit 114 page return control unit

Claims (4)

ウェブブラウザーがウェブページを読み込みながら描画処理している最中に、前記ウェブページに含まれる各ハイパーリンクの、前記ウェブブラウザーのウィンドウ内での表示位置を記憶するハイパーリンク表示位置記憶部と、
前記ウェブブラウザーのウィンドウにおいてポインティングデバイスでポイントされた位置を検出するポイント位置検出部と、
前記ウェブページにおいて前記ポイント位置検出部により検出されたポイント位置にある第1のハイパーリンクと、前記ハイパーリンク表示位置記憶部により記憶された、前記ポインティングデバイスでポイントされる直前に前記ポイント位置にあった第2のハイパーリンクとが、同一のハイパーリンクであるか否かを判定するハイパーリンク判定部と、
前記ウェブブラウザーの表示が前記第1のハイパーリンクによるリンク先のウェブページに切り換わった後に前記ウェブブラウザーに対するページを戻す操作が、当該リンク先のウェブページに切り換わった時点から予め定められた時間内に繰り返し行われた場合において、前記ハイパーリンク判定部により前記第1のハイパーリンクと前記第2のハイパーリンクとが同一のハイパーリンクではないと判定されているときは、前記ページを戻す操作の回数にかかわらず前記ページを戻す操作を1回のみ受け付けて、前記ウェブブラウザーの表示を切り換え直前のウェブページに戻すページ戻し制御部とを備えたウェブページ表示制御装置。
A hyperlink display position storage unit that stores the display position of each hyperlink included in the web page in the window of the web browser while the web browser is performing drawing processing while reading the web page,
A point position detection unit for detecting a position pointed by a pointing device in the window of the web browser,
The first hyperlink at the point position detected by the point position detection unit on the web page and the first hyperlink stored in the hyperlink display position storage unit at the point position immediately before being pointed by the pointing device. A hyperlink determination unit that determines whether the second hyperlink is the same hyperlink;
The operation of returning the page to the web browser after the display of the web browser is switched to the linked web page by the first hyperlink is a predetermined time from the time of switching to the linked web page. If the hyperlink determination unit determines that the first hyperlink and the second hyperlink are not the same hyperlink, the operation of returning the page is repeated. A web page display control device comprising: a page return control unit that accepts only one operation for returning the page regardless of the number of times and returns the web page to the web page immediately before switching the display of the web browser.
前記ページ戻し制御部は、前記第1のハイパーリンクがバナー広告である場合には、前記ハイパーリンク判定部による判定結果の如何を問わず、前記ページを戻す操作回数にかかわらず前記ページを戻す操作を1回のみ受け付ける請求項1に記載のウェブページ表示制御装置。 When the first hyperlink is a banner advertisement, the page return control unit returns the page regardless of the number of times the page is returned regardless of the determination result by the hyperlink determination unit. The web page display control device according to claim 1, wherein the web page display control device receives only once. ウェブブラウザーがウェブページを読み込みながら描画処理している最中に、前記ウェブページに含まれる各ハイパーリンクの、前記ウェブブラウザーのウィンドウ内での表示位置を記憶するハイパーリンク表示位置記憶部と、
前記ウェブブラウザーのウィンドウにおいてポインティングデバイスでポイントされた位置を検出するポイント位置検出部と、
前記ウェブページにおいて前記ポイント位置検出部により検出されたポイント位置にある第1のハイパーリンクと、前記ハイパーリンク表示位置記憶部により記憶された、前記ポインティングデバイスでポイントされる直前に前記ポイント位置にあった第2のハイパーリンクとが、同一のハイパーリンクであるか否かを判定するハイパーリンク判定部と、
前記ウェブブラウザーの表示が前記第1のハイパーリンクによるリンク先のウェブページに切り換わった後に前記ウェブブラウザーに対するページを戻す操作が、当該リンク先のウェブページに切り換わった時点から予め定められた時間内に繰り返し行われた場合において、前記ハイパーリンク判定部により前記第1のハイパーリンクと前記第2のハイパーリンクとが同一のハイパーリンクではないと判定されているときは、前記ページを戻す操作の回数にかかわらず前記ページを戻す操作を1回のみ受け付けて、前記ウェブブラウザーの表示を切り換え直前のウェブページに戻すページ戻し制御部として、コンピューターを機能させるウェブページ表示制御プログラム。
A hyperlink display position storage unit that stores the display position of each hyperlink included in the web page in the window of the web browser while the web browser is performing drawing processing while reading the web page,
A point position detection unit for detecting a position pointed by a pointing device in the window of the web browser,
The first hyperlink at the point position detected by the point position detection unit on the web page and the first hyperlink stored in the hyperlink display position storage unit at the point position immediately before being pointed by the pointing device. A hyperlink determination unit that determines whether the second hyperlink is the same hyperlink;
The operation of returning the page to the web browser after the display of the web browser is switched to the linked web page by the first hyperlink is a predetermined time from the time of switching to the linked web page. If the hyperlink determination unit determines that the first hyperlink and the second hyperlink are not the same hyperlink, the operation of returning the page is repeated. A web page display control program that causes a computer to function as a page return control unit that receives only one operation to return the page regardless of the number of times and returns the web page to the immediately preceding web page by switching the display of the web browser.
前記ページ戻し制御部は、前記第1のハイパーリンクがバナー広告である場合には、前記ハイパーリンク判定部による判定結果の如何を問わず、前記ページを戻す操作の回数にかかわらず前記ページを戻す操作を1回のみ受け付ける請求項3に記載のウェブページ表示制御プログラム。 When the first hyperlink is a banner advertisement, the page return control unit returns the page regardless of the number of times the page is returned regardless of the determination result by the hyperlink determination unit. The web page display control program according to claim 3, wherein the operation is accepted only once.
JP2017103596A 2017-05-25 2017-05-25 Web page display control device and web page display control program Expired - Fee Related JP6729490B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017103596A JP6729490B2 (en) 2017-05-25 2017-05-25 Web page display control device and web page display control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017103596A JP6729490B2 (en) 2017-05-25 2017-05-25 Web page display control device and web page display control program

Publications (2)

Publication Number Publication Date
JP2018200500A JP2018200500A (en) 2018-12-20
JP6729490B2 true JP6729490B2 (en) 2020-07-22

Family

ID=64667234

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017103596A Expired - Fee Related JP6729490B2 (en) 2017-05-25 2017-05-25 Web page display control device and web page display control program

Country Status (1)

Country Link
JP (1) JP6729490B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7184024B2 (en) * 2000-06-30 2007-02-27 Nokia Corporation Method and apparatus for mapping an input location with a displayed functional representation
US6925594B2 (en) * 2001-02-28 2005-08-02 International Business Machines Corporation Saving selected hyperlinks for retrieval of the hyperlinked documents upon selection of a finished reading button in a web browser
JP2014006816A (en) * 2012-06-26 2014-01-16 Panasonic Corp Electronic apparatus
WO2014024281A1 (en) * 2012-08-08 2014-02-13 富士通株式会社 Electronic apparatus, display control method and program
CN103885992A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Method and device for controlling page display

Also Published As

Publication number Publication date
JP2018200500A (en) 2018-12-20

Similar Documents

Publication Publication Date Title
JP5816670B2 (en) Method and device for selecting and displaying a region of interest in an electronic document
US10460001B2 (en) Window switching method and device and storage medium thereof
US9575944B2 (en) Directional navigation of page content
US9189564B2 (en) Method and apparatus for providing user interface for internet service
US9262051B2 (en) Method and apparatus for displaying pop-up
US20170060412A1 (en) System for capturing and replaying screen gestures
US8949858B2 (en) Augmenting user interface elements with information
CN106844635B (en) Method and device for editing elements in webpage
KR20130116241A (en) Branded browser frame
US20140359408A1 (en) Invoking an Application from a Web Page or other Application
WO2008029773A1 (en) Add-in program for upload, auxiliary program for upload and upload method
JP6015967B2 (en) Device and program for displaying web pages
US20130111333A1 (en) Scaling objects while maintaining object structure
CN106855885B (en) Page processing method of browser and terminal
JP4691071B2 (en) Page action activation device, page action activation control method, and page action activation control program
US10303346B2 (en) Information processing apparatus, non-transitory computer readable storage medium, and information display method
JP6729490B2 (en) Web page display control device and web page display control program
JP2017037521A (en) Printing system, printer, and program
JP2012181693A (en) Web page display control device and scroll control method
JP2012173946A (en) Web page display device and focus control method
JP4205712B2 (en) Character input method and apparatus
JP5001747B2 (en) Web page browsing device
JP2013134657A (en) Device, method and program for information processing
WO2018025316A1 (en) Page display program, page display device, and page display method
JP6844699B2 (en) Display device and display method of display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190529

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200325

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200615

R150 Certificate of patent or registration of utility model

Ref document number: 6729490

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees