WO2014030487A1 - プロキシ・サーバならびにその動作制御方法およびその動作制御プログラム - Google Patents

プロキシ・サーバならびにその動作制御方法およびその動作制御プログラム Download PDF

Info

Publication number
WO2014030487A1
WO2014030487A1 PCT/JP2013/070166 JP2013070166W WO2014030487A1 WO 2014030487 A1 WO2014030487 A1 WO 2014030487A1 JP 2013070166 W JP2013070166 W JP 2013070166W WO 2014030487 A1 WO2014030487 A1 WO 2014030487A1
Authority
WO
WIPO (PCT)
Prior art keywords
url
web page
storage location
content
host computer
Prior art date
Application number
PCT/JP2013/070166
Other languages
English (en)
French (fr)
Inventor
洋介 大橋
Original Assignee
富士フイルム株式会社
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 富士フイルム株式会社 filed Critical 富士フイルム株式会社
Publication of WO2014030487A1 publication Critical patent/WO2014030487A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Definitions

  • This invention relates to a proxy server, its operation control method, and its operation control program.
  • VPN Virtual Private Network
  • a proxy server that mediates communication between the Internet and an intranet can be considered as a lower cost method than VPN.
  • a simple code is input, and a URL page corresponding to the input simple code is transmitted to the information providing server (Patent Document 2).
  • the one-time URL and the video content confirmation information are the user terminal and the unauthorized operation management device. Are transmitted from each of them to the session control server and confirmed by the session control server (Patent Document 3).
  • An object of the present invention is to make it possible to switch a part of the display without transition of the entire web page based on a so-called dynamically executed request even when a one-time URL is used.
  • the proxy server according to the present invention is a dynamic transition area in which the display of a part of a web page is switched without transition of the entire web page in response to a browsing request, and the content displayed in the dynamic transition area
  • the storage location of the web page that includes the dynamic transition region that is the same host computer as the first host computer that is the storage location of the web page that includes the dynamic transition region, and that is identified by the actual URL URL changing means for changing the actual URL so that the page is specified by the one-time URL, and a content transmission command displayed in the dynamic transition area given in response to the browsing request is changed by the URL changing means.
  • the content transmission command is changed to the content transmission command stored in the same host computer as the third host computer that is the storage location specified by the actual URL before being changed by the URL changing means.
  • Change script adding means for adding the change script to the web page data representing the web page changed to the one-time URL by the URL changing means, and the web page to which the change script is added by the change script adding means
  • a web page data transmission means for transmitting data to the client terminal device is provided.
  • the first host computer, the second host computer, and the third host computer may be common.
  • the present invention also provides an operation control method suitable for a proxy server.
  • this method is a dynamic transition area in which the URL changing unit switches the display of a part of the web page without transition of the entire web page in response to a browsing request, and is displayed in the dynamic transition area.
  • the content storage location includes a dynamic transition region that is the same host computer as the first host computer that is the storage location of the web page that includes the dynamic transition region, and is identified by an actual URL
  • the real URL is changed so that the web page to be specified is specified by the one-time URL, and the change script addition means is given in response to the browsing request, and the content transmission command displayed in the dynamic transition area is the URL change
  • the same host computer as the second host computer which is the storage location specified by the one-time URL changed in the means Content stored in the same host computer as the third host computer which is the storage location specified by the actual URL before being changed by the URL changing means from the transmission command of the content stored in the data
  • the change script for changing to the transmission command is added to the web page data representing the web page changed to the one-time URL by the URL changing means, and the web page data transmitting means is added by the change script adding means.
  • the web page data to which the change script is added is transmitted to the client terminal device.
  • the present invention also provides a computer readable program for realizing a proxy server operation control method.
  • a recording medium storing such a program may be provided.
  • the web page includes a dynamic transition area in which a display of a part of the web page is switched without transition of the entire web page in accordance with the browsing command.
  • the storage location of the content displayed in the dynamic transition area is the same as that of the first host computer that stores the web page including the dynamic transition area (for example, defining such a web page). Specified in the lower layer of the URL).
  • the web page is specified by a real URL, and the real URL is changed to a one-time URL.
  • the content transmission command displayed in the dynamic transition area given in response to the browsing command is stored in the same host computer as the second host computer that is the storage location specified by the changed one-time URL.
  • the content transmission command displayed in the dynamic transition area is stored in the storage location specified by the changed one-time URL. Since the change script for changing from the content transmission command to the content transmission command stored in the storage location specified by the actual URL before the change is added to the web page data representing the web page, When the web page is displayed on the client terminal device and a browsing command is given, a transmission command for the content stored in the storage location specified by the actual URL before the change is transmitted from the client terminal device. In response to the transmission command, the content is read and transmitted to the client terminal device. Then, even if the real URL of the web page is changed to a one-time URL, the content is displayed in the dynamic transition area.
  • the real URL of a web page is changed to a one-time URL
  • a browsing instruction for a dynamic transition area is given, the content is stored in a storage location managed based on the one-time URL.
  • the content stored in the storage location managed based on the actual URL before the change is read out, so that the entire web page is not transitioned based on the so-called dynamically executed request. Even when a part of the display is repeated, the one-time URL can be used.
  • a transmission command receiving means for receiving a transmission command changed based on the change script added by the change script adding means, and a storage managed based on the actual URL in response to reception of the transmission command at the transmission command receiving means.
  • a storage location script transmission unit that transmits a storage location script indicating a storage location of content displayed in the dynamic transition area stored in the location to the client terminal device, and the storage location script is transmitted to the client terminal device by the storage location script transmission unit.
  • a content transmission request receiving means for receiving a changed content transmission request to a storage location specified by a one-time URL based on a change script according to the change script, and a content transmission request.
  • the URL reverse conversion means for returning the one-time URL to the URL before being changed, and the content reading for reading the content from the storage location specified by the URL returned by the URL reverse conversion means
  • content transmitting means for transmitting the content read by the content reading means to the client terminal device.
  • FIG. 1 shows an embodiment of the present invention and shows an outline of an information browsing system.
  • the information browsing system includes a mobile terminal 1, a proxy server 10, and a web server 20.
  • the mobile terminal 1 is, for example, a mobile phone including a smartphone, a client computer, and the like, and includes a display device, an input device such as a keypad or a keyboard, a memory, a communication device CPU, and the like.
  • the portable terminal 1 can be connected to the Internet, and the proxy server 10 can be connected to the Internet via the first firewall 2.
  • the proxy server 10 and the web server 20 can communicate with each other via the second firewall 3.
  • the web server 20 can be connected to the Internet via the first firewall 2 and the second firewall 3.
  • FIG. 2 is a block diagram showing an electrical configuration of the proxy server 10.
  • the overall operation of the proxy server 10 is controlled by the CPU 11.
  • the proxy server 10 includes a communication interface 12 for connecting to the Internet and a memory 13 for storing data and the like.
  • the proxy server 10 also includes a hard disk 15, a hard disk drive 14 for accessing the hard disk 15, and a compact disk drive 16 for accessing the compact disk 17.
  • a compact disk 16 storing a program for controlling operations to be described later is loaded into the proxy server 10, the program is read and installed in the proxy server 10.
  • a program for controlling the proxy server 10 is transmitted to the proxy server 10 via the Internet or the like without being recorded on a recording medium detachable to the proxy server 10 such as the compact disc 17, and the program is transmitted to the proxy server. It may be received at 10 and installed.
  • 3 to 6 are flowcharts showing processing procedures of the mobile terminal 1, the proxy server 10, and the web server 20.
  • This processing procedure makes it possible to switch the display of a dynamic transition area (an area in which a part of a web page is switched without transition of the entire web page) even when a one-time URL is used. Is.
  • FIG. 8 shows an example of the web page 90 for authentication.
  • an ID input area 91, a password input area 92, and an OK button 93 are formed.
  • the portable terminal 1 includes a keyboard (not shown), and an ID and a password can be input to the ID input area 91 and the password input area 92 using the keyboard.
  • the OK button 93 is clicked, data indicating the ID and password input in the ID input area 91 and the password input area 92 are transmitted from the portable terminal 1 to the proxy server 10.
  • authentication information of ID and password is input to the portable terminal 1 (step 32), and when the OK button 93 is clicked, authentication information data respectively indicating the input ID and password is displayed. It is transmitted from the portable terminal 1 to the proxy server 10 (step 33).
  • the proxy server 10 When the authentication information data transmitted from the portable terminal 1 is received by the proxy server 10, the proxy server 10 performs an authentication process based on the received authentication information data (step 51). If the authentication fails (NO in step 52), data indicating a web page indicating that the authentication has failed is transmitted from the proxy server 10 to the mobile terminal 1 (step 53).
  • a one-time URL (Uniform Resource Locator) is generated (step 54), and the generated one-time URL is embedded in the web page data indicating the authentication success.
  • Web page data indicating successful authentication in which the generated one-time URL is embedded as a link is transmitted from the proxy server 10 to the portable terminal 1 (step 55).
  • FIG. 7 is an example of a one-time URL storage table. This one-time URL storage table is stored in the hard disk 15 of the proxy server 10.
  • the one-time URL storage table stores data of original URL (URL before conversion to one-time URL, actual URL), one-time URL, and retention period.
  • the one-time URL storage table is used to return the generated one-time URL to the original URL.
  • the one-time URL is generated as described above, the generated one-time URL, the original URL, and the retention period are stored in the one-time URL storage table.
  • the one-time URL is a URL generated in the proxy server 10 in correspondence with the original URL.
  • the retention period indicates a period during which the original URL and the one-time URL retained in the one-time URL storage table are retained in the one-time URL storage table.
  • the retention period elapses, the original URL and the one-time URL are deleted from the one-time URL storage table. Thereby, the portable terminal 1 cannot access the original URL.
  • a one-time URL and a retention period are generated corresponding to the original URL, and the generated one-time URL and retention period are stored in the one-time URL storage table corresponding to the original URL.
  • an original URL is obtained from the given one-time URL.
  • step 34 when web page data indicating successful authentication transmitted from the proxy server 10 is received by the mobile terminal device 1 (YES in step 34), authentication is successful on the display screen of the mobile terminal 1. A web page is displayed (step 35).
  • FIG. 9 shows an example of the authentication success web page 100.
  • the authentication success web page 100 includes an OK button 101 under the character string “authentication was successful”.
  • the OK button 101 is linked with the one-time URL generated in the proxy server 10 as described above.
  • the linked one-time URL is, for example, http://ichijitime.com/sw/SW_abc/5/1.
  • the original URL of the one-time URL linked to the OK button 101 is http://motohoge.com/ as can be seen from the one-time URL storage table shown in FIG.
  • the one-time URL storage table is referred to return the one-time URL to the original URL (step 56).
  • the one-time URL linked to the OK button 101 of the successful authentication web page 100 shown in FIG. 9 is http://ichijitime.com/sw/SW_abc/5/1.
  • the one-time URL is returned to the original URL http://motohoge.com (step 56).
  • data requesting the web page of the returned original URL is transmitted from the proxy server 10 to the web server 20 (step 57).
  • the web page data specified by the original URL according to the request data are read from the web server 20.
  • the read web page data is transmitted from the web server 20 to the proxy server 10 (step 81).
  • FIG. 10 is an example of a web page represented by web page data transmitted from the web server 20 to the proxy server 10.
  • the URL of the web page 110 represented by the web page data transmitted from the web server 20 to the proxy server 10 is the URL of the original URL (http://motohoge.com/). is there.
  • an image reading button 111, a dynamic transition area 112, and a character string 113 of “return” are formed on the web page 110. Both the image reading button 111 and the “return” character string 113 are clickable.
  • FIG. 11 is a part of an image display script included in the web page data representing the web page 110 shown in FIG. The number of lines is displayed for clarity.
  • the image display script shown in FIG. 11 is executed when an image reading button 111 included in the web page 110 is clicked.
  • the first line indicates the function of the onButton function.
  • the second line generates a new XMLHttpRequest.
  • the third line generates another function when the XMLHttpRequest has been read.
  • the XMLHttpRequest is sent based on the send in the fifth line, and the function called onLoadFinish is returned when the result returns from the server based on the XMLHttpRequest. Indicates that it will be executed.
  • a program for displaying an image in a function called onLoadFinish is described.
  • the 5th line executes the request written in the Open method in the 4th line.
  • the image display script shown in FIG. 11 is included in the web page data representing the web page 110 shown in FIG. 10, when the image reading button 111 is clicked as described later, the web page 110 is displayed.
  • the image is displayed in the dynamic transition area 112 without the whole transition.
  • Http://motohoge.com/menu.html which is the URL of the authentication success web page 100 (see FIG. 9) before the web page 110, is linked to the character string 113 of “return”.
  • the URL linked to the web page represented by the received web page data is generated (a one-time URL such as a link is generated) (step 58).
  • the original URL is changed to the generated one-time URL.
  • FIG. 12 is an example of a web page 110 associated with a generated one-time URL such as a link.
  • the URL of the web page 110 itself and the URL linked to the web page 110 are changed to the generated one-time URL.
  • the URL of the web page 110 itself is changed from http://motohoge.com/ to http://ichijitime.com/sw/SW_abc5/1, which is a one-time URL.
  • the URL linked to the “return” character string 113 is changed from http://motohoge.com/menu.html to http://ichijitime.com/sw/SW_abc6/1, which is a one-time URL. Be made.
  • the change script is inserted into the web page data representing the web page 110 (step 59 in FIG. 4).
  • the URL of the web page 110 itself is changed to a one-time URL
  • the URL of the web page 110 itself changed to the one-time URL http://ichijitime.com/sw/SW_abc/5/1
  • the image reading button 111 is clicked, the image file representing the image displayed in the dynamic transition area 112 is stored in a directory below http://motohoge.com/ which is the URL before being changed to the one-time URL. Since the image is stored, even if the image reading button 111 is clicked on the web page 110 changed to the one-time URL, the image is not displayed in the dynamic transition area 112. Therefore, the change script is configured to display an image in the dynamic transition area 112 even when the image reading button 111 is clicked on the web page 110 changed to the one-time URL. .
  • Fig. 13 shows an example of a change script.
  • the first to ninth lines overwrite the browser XMLHttpRequest installed in the mobile terminal 1 and the like, and the tenth to seventeenth lines are dynamic transition areas (DOM: Document Object Model)) 112. Is rewritten to a one-time URL.
  • the first line is a comment, and the second to third lines name the original Open method openOrg. Lines 4 through 7 redefine the original Open method. Since the URL is changed to location.href, the URL specified by the Open method is changed to the URL of the displayed web page 110.
  • the eighth line indicates that a field called X-KR-REQUEST-URL is added to the header of HttpReuest.
  • the 10th line is a comment, and the 11th to 14th lines are for rewriting the URL set at the time of DOM rewriting to a one-time URL when onSubTreeModified is executed.
  • Line 15 is a comment and lines 16 through 17 add an event to the current web page. Specifically, a trigger is added to execute onSubTreeModified when a DOMSubTreeModified event is generated by rewriting something in the current web page.
  • the web page 110 represented by the web page data is displayed on the display screen of the mobile terminal 1 (step 38). ).
  • FIG. 14 is an example of the web page 110 displayed on the display screen of the mobile terminal 1.
  • the image reading button 111 can be clicked.
  • the cursor 114 is positioned on the image reading button 111, and the image reading button 111 is clicked (step 39 in FIG. 5).
  • the request is rewritten, and the rewritten request is transmitted from the mobile terminal 1 to the proxy server 10 (step 41 in FIG. 5).
  • Figure 15 is an example of a rewritten request.
  • the request rewritten in this way is transmitted from the portable terminal 1 to the proxy server 10 (step 41 in FIG. 5).
  • Step 82 When the request transmitted from the proxy server 10 is received by the web server 20, the requested content is read by the web server 20 and transmitted from the web server 20 to the proxy server 10 (FIG. 5). Step 82).
  • an XML (Extensible Markup Language) script (storage location script) shown in FIG. 16 is transmitted from the web server 20 to the proxy server 10.
  • the XML script (XML data) is transmitted in the image display program of the onLoadFinish function included in the image display script shown in FIG.
  • the XML script includes an image file representing an image displayed in the dynamic transition area 112 of the web page 110, and a lower layer of the URL of the web page 110 itself including the dynamic transition area 112. It is stored in the directory of and is specified by aaa.jpg.
  • the proxy server 10 When the XML script transmitted from the web server 20 is received by the proxy server 10, a one-time URL generation process is performed as described above (step 65 in FIG. 5), but the received data is the XML script. Therefore, the received XML script is transmitted as it is from the proxy server 10 to the portable terminal 1 without performing the one-time URL generation process (step 64 in FIG. 5).
  • the content displayed in the dynamic transition area 112 includes the dynamic transition area 112. Since the web page 110 itself is considered to be stored in a URL based on http://ichijitime.com/sw/SW_abc/5/1, which is the one-time URL of the web page 110 itself, , Http://ichijitime.com/aaa.jpg, the image represented by the image file stored in the location specified by the URL is displayed.
  • the image file representing the image displayed in the dynamic transition area 112 is stored in a directory below http://motohoge.com/, which is the original URL before the web page 110 is converted to a one-time URL. Therefore, the image file representing the image displayed in the dynamic transition area 112 is stored at a location specified by the URL http://motohoge.com/aaa.jpg. For this reason, an image that should originally be displayed is not displayed in the dynamic transition area 112 included in the web page 110 having the one-time URL http://ichijitime.com/sw/SW_abc/5/1. In addition, a crossed-out image 115 indicating that the image cannot be found is displayed.
  • a change script is inserted as shown in FIG.
  • the image 115 is displayed in the dynamic transition area 112
  • DOM rewriting detection a DOMSubtreeModified event included in the change script is generated.
  • the change script inserted in the script of the web page 110 sends the request shown in FIG. 18 to convert the URL “/aaa.jpg” detected in the DOM rewrite detection into a one-time URL. Will be generated.
  • an image request displayed in the dynamic transition area 112 by GET / sw / SW_abc / 5/1 is a web page currently being viewed displayed on the display screen of the mobile terminal 1.
  • URL of “.jpg” is set.
  • the request shown in FIG. 18 is transmitted from the mobile terminal 1 to the proxy server 10, and a request for a one-time URL of an image to be originally displayed in the dynamic transition area 112 is made (step 44 in FIG. 6).
  • the X-KR-ORG-URL field of the received request header is detected, and the requested URL is “/ sw / SW_abc / 5 From “/ aaa / jpg”, which is the relative URL described in the X-KR-ORG-URL field, with the URL “http://motohoge.com”, which is the URL that was restored to “/ 1” as the reference URL
  • the absolute URL http://motohoge.com/aaa.jpg is obtained, and the one-time URL “/ sw / SW_abc / 7/1” is generated from the absolute URL thus obtained.
  • the one-time URL “/ sw / SW_abc / 7/1” is transmitted from the proxy server 10 to the portable terminal 1 (step 66 in FIG. 6).
  • FIG. 19 shows a web page 110 in which an image tag representing an image to be displayed in the dynamic transition area 112 is rewritten.
  • the received one-time URL “/ sw / SW_abc / 7/1” is the original URL with reference to the one-time URL storage table. Return to http://motohoge.com/aaa.jpg.
  • a request for the content of the original URL http://motohoge.com/aaa.jpg is transmitted from the proxy server 10 to the web server 20 (step 68 in FIG. 6).
  • the read content is transmitted from the web server 20 to the proxy server 10 (step 83 in FIG. 6).
  • the one-time URL generation processing is attempted (step 69 in FIG. 6). However, since the received content is an image file, the one-time generation processing is performed. Is not done.
  • the received content is transmitted as it is from the proxy server 10 to the portable terminal 1 (step 70 in FIG. 6).
  • the dynamic transition area 112 is rewritten to the received content by the script of the web page 110 (step 47 in FIG. 6).
  • FIG. 20 is an example of the web page 110 in which the contents of the dynamic transition area 112 are rewritten.
  • the content of the dynamic transition area 112 is originally rewritten in the dynamic transition area 112 by rewriting the content (image file) transmitted from the web server 20 via the proxy server 10.
  • An image 116 to be displayed is displayed.
  • the storage location of the content displayed in the dynamic transition area is defined in the lower layer of the URL that identifies the web page including the dynamic transition area. It may be the same host computer as the host computer where the web page is stored.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

 ワンタイムURLを利用しても,ウェブ・ページの一部の表示を切り替えられるようにする。 ウェブ・ページ110に含まれる動的遷移領域112に記述されるコンテンツは,ウェブ・ページ110自体のURLを基準にして管理される。ウェブ・ページ110自体のURLはワンタイムURLに変えられているのでイメージ・タグ<img src="/aaa.jpg>は,ワンタイムURLを基準としてコンテンツを探してしまう。そのコンテンツは,ワンタイムURLに変えられる前の元のURLを基準とした保存場所なので,元のURLを基準とした保存場所に保存されているコンテンツを読み出すようにする。

Description

プロキシ・サーバならびにその動作制御方法およびその動作制御プログラム
 この発明は,プロキシ・サーバならびにその動作制御方法およびその動作制御プログラムに関する。
 スマートフォンに代表される高性能な携帯端末の普及に伴い,企業のイントラネット内の情報やデータに対する閲覧要求が高まっている。企業等のイントラネットに対し,携帯端末からアクセスする一般的な方法として通信を暗号化し,イントラネット内の端末と同等の接続を域外の端末から実施可能とするVPN(Virtual Private Network)が挙げられる。VPNは,様々な通信方式に対応し,社内と同様に各種サーバにアクセス可能な反面,専用の機器やインフラの拡張を必要とすることが多く,運用コストが導入上の問題となる。一方,たとえば,ウェブ・サイトの閲覧しか行わない場合,VPNよりも低コストの方法として,インターネットとイントラネットの間の通信を仲介するプロキシ・サーバの利用が考えられる。この際,セキュリティの観点から,URLの全部または一部を暗号化し,一時的にイントラネットへの接続を許可する,ワンタイムURL等の技術を併用することが好ましい(特許文献1)。
 また,簡潔コードを入力し,入力した簡潔コードに対応したURLのページを情報提供サーバに送信するもの(特許文献2),ワンタイムURLと映像コンテンツの確認情報とがユーザ端末および不正動作管理装置のそれぞれからセッション制御サーバに送信され,セッション制御サーバにおいて確認されるもの(特許文献3)などもある。
特開2000-20739号公報 特開2007-226563号公報 特開2008-186051号公報
 現状の技術では,ワンタイムURLを用いたウェブ・サイトの閲覧を行う際,ウェブ・ページ内のURL情報もあらかじめワンタイムURLに変換する必要がある。しかしながら,たとえば,AJAXなどのスクリプトにより動的に実行されるリクエストについては,事前にワンタイムURLに変更しておくことが困難なため,正しく目的のサーバにアクセスできないことがある。引用文献1から3のいずれにおいても,このような場合に正しく目的のサーバにアクセスできるようにすることは考えられていない。
 この発明は,ワンタイムURLを用いた場合でも,いわゆる動的に実行されるリクエストにもとづいてウェブ・ページ全体の遷移を伴わずに一部の表示を切り替え可能とすることを目的とする。
 この発明によるプロキシ・サーバは,閲覧要求に応じてウェブ・ページ全体の遷移を伴わずにウェブ・ページの一部の表示が切り替わる動的遷移領域であって,動的遷移領域に表示されるコンテンツの保存場所が,動的遷移領域が含まれるウェブ・ページの保存場所である第1のホスト・コンピュータと同一のホスト・コンピュータである動的遷移領域を含み,かつ実URLによって特定されるウェブ・ページがワンタイムURLによって特定されるように実URLを変更するURL変更手段,閲覧要求に応じて与えられる,動的遷移領域に表示されるコンテンツの送信指令が上記URL変更手段において変更されたワンタイムURLによって特定される保存場所である第2のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令から上記URL変更手段において変更される前の実URLによって特定される保存場所である第3のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令に変更する変更スクリプトを上記URL変更手段によってワンタイムURLに変更されたウェブ・ページを表すウェブ・ページ・データに追加する変更スクリプト追加手段,および上記変更スクリプト追加手段によって変更スクリプトが追加されたウェブ・ページ・データをクライアント端末装置に送信するウェブ・ページ・データ送信手段を備えていることを特徴とする。第1のホスト・コンピュータ,第2のホスト・コンピュータおよび第3のホスト・コンピュータは共通でもよい。
 この発明は,プロキシ・サーバに適した動作制御方法も提供している。すなわち,この方法は,URL変更手段が,閲覧要求に応じてウェブ・ページ全体の遷移を伴わずにウェブ・ページの一部の表示が切り替わる動的遷移領域であって,動的遷移領域に表示されるコンテンツの保存場所が,動的遷移領域が含まれるウェブ・ページの保存場所である第1のホスト・コンピュータと同一のホスト・コンピュータである動的遷移領域を含み,かつ実URLによって特定されるウェブ・ページがワンタイムURLによって特定されるように実URLを変更し,変更スクリプト追加手段が,閲覧要求に応じて与えられる,動的遷移領域に表示されるコンテンツの送信指令が上記URL変更手段において変更されたワンタイムURLによって特定される保存場所である第2のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令から上記URL変更手段において変更される前の実URLによって特定される保存場所である第3のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令に変更する変更スクリプトを上記URL変更手段によってワンタイムURLに変更されたウェブ・ページを表すウェブ・ページ・データに追加し,ウェブ・ページ・データ送信手段が,上記変更スクリプト追加手段によって変更スクリプトが追加されたウェブ・ページ・データをクライアント端末装置に送信するものである。
 この発明は,プロキシ・サーバの動作制御方法を実現するためのコンピュータが読み取り可能なプログラムも提供している。そのようなプログラムを格納した記録媒体を提供するようにしてもよい。
 この発明によると,ウェブ・ページには,閲覧指令に応じてウェブ・ページ全体の遷移を伴わずにウェブ・ページの一部の表示が切り替わる動的遷移領域が含まれている。この動的遷移領域に表示されるコンテンツの保存場所は,動的遷移領域を含むウェブ・ページの保存場所である第1のホスト・コンピュータと同一である(たとえば,そのようなウェブ・ページを規定するURLの下層に規定されている)。ウェブ・ページは,実URLによって特定され,その実URLがワンタイムURLに変更される。閲覧指令に応じて与えられる,動的遷移領域に表示されるコンテンツの送信指令は,変更されたワンタイムURLによって特定される保存場所である第2のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令から,変更前の実URLによって特定される保存場所である第3のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令に変更する変更スクリプトが,ウェブ・ページを表すウェブ・ページ・データに追加される。変更スクリプトが追加されたウェブ・ページ・データがプロキシ・サーバからクライアント端末装置に送信される。
 この発明によると,ウェブ・ページの実URLがワンタイムURLに変更させられると,動的遷移領域に表示されるコンテンツの送信指令が,変更されたワンタイムURLによって特定される保存場所に保存されているコンテンツの送信指令から,変更前の実URLによって特定される保存場所に保存されているコンテンツの送信指令に変更する変更スクリプトがウェブ・ページを表すウェブ・ページ・データに追加されるので,そのウェブ・ページがクライアント端末装置において表示され,閲覧指令が与えられると,変更前の実URLによって特定される保存場所に保存されているコンテンツの送信指令がクライアント端末装置から送信される。その送信指令に応じて,コンテンツが読み出され,クライアント端末装置に送信される。すると,ウェブ・ページの実URLがワンタイムURLに変更されても動的遷移領域にコンテンツが表示されるようになる。ウェブ・ページの実URLがワンタイムURLに変更されると,動的遷移領域の閲覧指令が与えられた場合には,コンテンツはワンタイムURLにもとづいて管理される保存場所に保存されていると判断されてしまうが,変更前の実URLにもとづいて管理される保存場所に保存されているコンテンツが読み出されるので,いわゆる動的に実行されるリクエストにもとづいてウェブ・ページ全体の遷移を伴わずに一部の表示が繰り替えられる場合でも,ワンタイムURLを利用できるようになる。
 変更スクリプト追加手段によって追加された変更スクリプトにもとづいて変更された送信指令を受信する送信指令受信手段,送信指令受信手段において送信指令を受信したことに応じて,実URLにもとづいて管理される保存場所に保存されている動的遷移領域に表示されるコンテンツの保存場所を示す保存場所スクリプトをクライアント端末装置に送信する保存場所スクリプト送信手段,保存場所スクリプト送信手段によって保存場所スクリプトがクライアント端末装置に送信されたことに応じて変更スクリプトにもとづいて保存場所スクリプトによって示される保存場所がワンタイムURLによって規定される保存場所に,変更されたコンテンツ送信リクエストを受信するコンテンツ送信リクエスト受信手段,コンテンツ送信リクエスト受信手段において受信したコンテンツ送信リクエストにもとづいてワンタイムURLを,変更される前のURLに戻すURL逆変換手段,URL逆変換手段によって戻されたURLによって特定される保存場所からコンテンツを読み取るコンテンツ読み取り手段,およびコンテンツ読み取り手段によって読み取られたコンテンツをクライアント端末装置に送信するコンテンツ送信手段をさらに備えてもよい。
情報閲覧システムの概要である。 プロキシ・サーバの電気的構成を示すブロック図である。 情報閲覧システムの処理手順を示すフローチャートである。 情報閲覧システムの処理手順を示すフローチャートである。 情報閲覧システムの処理手順を示すフローチャートである。 情報閲覧システムの処理手順を示すフローチャートである。 ワンタイムURL保存テーブルの一例である。 ウェブ・ページの一例である。 ウェブ・ページの一例である。 ウェブ・ページの一例である。 ウェブ・ページのスクリプトの一部である。 ウェブ・ページの一例である。 ウェブ・ページのスクリプトに挿入される変更スクリプトの一例である。 ウェブ・ページの一例である。 リクエストの一例である。 イメージ・タグの一例である。 ウェブ・ページの一例である。 リクエストの一例である。 ウェブ・ページの一例である。 ウェブ・ページの一例である。
 図1は,この発明の実施例を示すもので,情報閲覧システムの概要を示している。
 情報閲覧システムには,携帯端末1,プロキシ・サーバ10およびウェブ・サーバ20が含まれている。
 携帯端末1は,例えば,スマートフォンを含む携帯電話,クライアント・コンピュータなどであり,表示装置,キーパッドまたはキーボードなどの入力装置,メモリ,通信装置CPUなどを備えている。携帯端末1はインターネットに接続可能であり,プロキシ・サーバ10は第1のファイア・ウォール2を介してインターネットに接続可能である。プロキシ・サーバ10とウェブ・サーバ20とは第2のファイア・ウォール3を介して通信可能である。ウェブ・サーバ20は第1のファイア・ウォール2および第2のファイア・ウォール3を介してインターネットと接続可能である。
 図2は,プロキシ・サーバ10の電気的構成を示すブロック図である。
 プロキシ・サーバ10の全体の動作は,CPU11によって統括される。
 プロキシ・サーバ10には,インターネットと接続等のための通信インターフェイス12,データ等を記憶するメモリ13が含まれている。また,プロキシ・サーバ10には,ハードディスク15およびハードディスク15にアクセスするためのハードディスク・ドライブ14ならびにコンパクト・ディスク17にアクセスするコンパクト・ディスク・ドライブ16も含まれている。後述する動作を制御するプログラムが格納されているコンパクト・ディスク16がプロキシ・サーバ10に装填されると,そのプログラムが読み取られ,プロキシ・サーバ10にインストールされる。プロキシ・サーバ10を制御するプログラムはコンパクト・ディスク17のようにプロキシ・サーバ10に着脱自在な記録媒体に記録されずにインターネットなどを介してプロキシ・サーバ10に送信され,そのプログラムがプロキシ・サーバ10において受信されてインストールされるようにしてもよい。
 図3から図6は,携帯端末1,プロキシ・サーバ10およびウェブ・サーバ20の処理手順を示すフローチャートである。
 この処理手順は,ワンタイムURLを用いた場合でも動的遷移領域(ウェブ・ページ全体の遷移を伴わずにウェブ・ページの一部の表示が切り替わるような領域)の表示を切り替えられるようにするものである。
 携帯端末1は,すでにプロキシ・サーバ10にアクセスして,その表示画面に認証用ウェブ・ページが表示されているものとする(図3ステップ31)。
 図8は,認証用ウェブ・ページ90の一例である。
 認証用ウェブ・ページ90には,ID入力領域91,パスワード入力領域92およびOKボタン93が形成されている。携帯端末1にはキーボード(図示略)が含まれており,そのキーボードを利用してID入力領域91およびパスワード入力領域92にIDおよびパスワードをそれぞれ入力できる。OKボタン93がクリックされると,ID入力領域91およびパスワード入力領域92にそれぞれ入力されたIDおよびパスワードを示すデータが携帯端末1からプロキシ・サーバ10に送信される。
 図3に戻って,上述のようにIDおよびパスワードの認証情報が携帯端末1に入力され(ステップ32),OKボタン93がクリックされると,入力されたIDおよびパスワードをそれぞれ示す認証情報データが携帯端末1からプロキシ・サーバ10に送信される(ステップ33)。
 携帯端末1から送信された認証情報データがプロキシ・サーバ10において受信されると,その受信した認証情報データにもとづいてプロキシ・サーバ10は認証処理を行なう(ステップ51)。認証が失敗すると(ステップ52でNO),認証を失敗した旨のウェブ・ページを示すデータがプロキシ・サーバ10から携帯端末1に送信される(ステップ53)。
 認証が成功すると(ステップ52でYES),ワンタイムURL(Uniform Resource Locator)が生成され(ステップ54),認証成功を示すウェブ・ページ・データに,生成されたワンタイムURLが埋め込まれる。生成されたワンタイムURLがリンクとして埋め込まれた認証成功を示すウェブ・ページ・データがプロキシ・サーバ10から携帯端末1に送信される(ステップ55)。
 図7はワンタイムURL保存テーブルの一例である。このワンタイムURL保存テーブルは,プロキシ・サーバ10のハードディスク15に格納される。
 ワンタイムURL保存テーブルには,元URL(ワンタイムURLに変換される前のURL,実URL),ワンタイムURLおよび保持期間の各データが格納されている。ワンタイムURL保存テーブルは,生成されたワンタイムURLを元URLに戻すために利用されるものである。上述のようにワンタイムURLが生成されると,生成されたワンタイムURL,元URLおよび保持期間がワンタイムURL保存テーブルに格納される。
 ワンタイムURLは,プロキシ・サーバ10において,元URLに対応して生成されるURLである。保持期間は,ワンタイムURL保存テーブルに保持される元URLとワンタイムURLとがワンタイムURL保存テーブルに保持される期間を示す。保持期間を経過すると,ワンタイムURL保存テーブルから元URLおよびワンタイムURLとが削除される。これにより,携帯端末1は元URLにアクセスできなくなる。元URLに対応してワンタイムURLおよび保持期間が生成され,生成されたワンタイムURLおよび保持期間が元URLに対応してワンタイムURL保存テーブルに格納される。ワンタイムURLが与えられると,その与えられたワンタイムURLから元URLが得られる。
 図3に戻って,プロキシ・サーバ10から送信された認証成功を示すウェブ・ページ・データが携帯端末装置1において受信されると(ステップ34でYES),携帯端末1の表示画面には認証成功ウェブ・ページが表示される(ステップ35)。
 図9は認証成功ウェブ・ページ100の一例である。
 認証成功ウェブ・ページ100には,「認証に成功しました。」という文字列の下にOKボタン101が含まれている。このOKボタン101には,上述したようにプロキシ・サーバ10において生成されたワンタイムURLがリンク付けされている。リンク付けされているワンタイムURLは,たとえば,http://ichijitime.com/sw/SW_abc/5/1である。OKボタン101がクリックされると,OKボタン101にリンク付けされているワンタイムURLが携帯端末1からプロキシ・サーバ10に送信される。OKボタン101にリンク付けされているワンタイムURLの元のURLは,図7に示すワンタイムURL保存テーブルからわかるようにhttp://motohoge.com/である。
 図4を参照して,図9に示す認証成功ウェブ・ページ100に含まれるOKボタン101がクリックされると(ステップ36でYES),上述のようにOKボタン101にリンク付けされているワンタイムURLを示すデータが携帯端末1からプロキシ・サーバ10に送信される(ステップ37)。
 携帯端末1から送信されたワンタイムURLを示すデータがプロキシ・サーバ10において受信されると,ワンタイムURL保存テーブルが参照されてワンタイムURLが元URLに戻される(ステップ56)。上述のように,図9に示す認証成功ウェブ・ページ100のOKボタン101にリンク付けされているワンタイムURLは,http://ichijitime.com/sw/SW_abc/5/1であるから,そのワンタイムURLが元URLであるhttp://motohoge.comに戻される(ステップ56)。すると,プロキシ・サーバ10からウェブ・サーバ20に,戻された元URLのウェブ・ページを要求するデータが送信される(ステップ57)。
 プロキシ・サーバ10から送信された元URL(http://motohoge.com)の要求データがウェブ・サーバ20において受信されると,その要求データに応じて元URLによって特定されるウェブ・ページ・データがウェブ・サーバ20から読み取られる。読み取られたウェブ・ページ・データがウェブ・サーバ20からプロキシ・サーバ10に送信される(ステップ81)。
 図10は,ウェブ・サーバ20からプロキシ・サーバ10に送信されるウェブ・ページ・データによって表されるウェブ・ページの一例である。
 ウェブ・サーバ20からプロキシ・サーバ10に送信されたウェブ・ページ・データによって表されるウェブ・ページ110のURLは,上述したように,元URL(http://motohoge.com/)のURLである。ウェブ・ページ110には,画像読込ボタン111,動的遷移領域112および「戻る」の文字列113が形成されている。画像読込ボタン111および「戻る」の文字列113はいずれもクリッカブルである。
 図11は,図10に示すウェブ・ページ110を表わすウェブ・ページ・データに含まれる画像表示スクリプトの一部である。分りやすくするために行数が表示されている。
 図11に示す画像表示スクリプトは,ウェブ・ページ110に含まれる画像読込ボタン111がクリックされることにより実行される。第1行はonButton関数の機能であることを示し,画像読込ボタン111がクリックされることにより以下の関数が実行する。第2行はXMLHttpRequestを新規に発生させるものである。第3行はXMLHttpRequestを読み終えたことにより別の関数を生成するものであり,第5行のsendにもとづきXMLHttpRequestが送信され,そのXMLHttpRequestにもとづきサーバから結果が戻ってきたことによりonLoadFinishという関数が実行されることを示す。このonLoadFinishという関数に画像を表示するプログラムが記載されている。onLoadFinishの関数が実行されることにより,動的遷移領域112に画像が表示される処理が行われるようになる。第4行は,Openメソッドであり,XMLHttpRequestによりアクセスするサーバの中の”ajax?param=abc”で特定される保存場所にコンテンツをとりに行くことを示す。第5行は,第4行のOpenメソッドに書かれているリクエストを実行するものであり,sendを実行することにより,上述のようにXMLHttpRequestによりアクセスするサーバの中の”ajax?param=abc”で特定される保存場所にコンテンツをとりに行くこととなる。
 図10に示すウェブ・ページ110を表わすウェブ・ページ・データに,図11に示す画像表示スクリプトが含まれていることから,後述するように画像読込ボタン111がクリックされると,ウェブ・ページ110全体が遷移することなく,動的遷移領域112に画像が表示されることとなる。「戻る」の文字列113には,ウェブ・ページ110の前の認証成功ウェブ・ページ100(図9参照)のURLであるhttp://motohoge.com/menu.htmlがリンク付けされている。
 ウェブ・サーバ20から送信されたウェブ・ページ・データがプロキシ・サーバ10において受信されると,その受信したウェブ・ページ・データによって表わされるウェブ・ページにリンク付けされているURL,そのウェブ・ページ自体のURLなどのワンタイムURLが生成(リンク等ワンタイムURLの生成)される(ステップ58)。元URLから,生成されたワンタイムURLに変更させられる。
 図12は,生成されたリンク等ワンタイムURLが関連付けられたウェブ・ページ110の一例である。
 上述のようにワンタイムURLが生成されると,ウェブ・ページ110自体のURLおよびウェブ・ページ110にリンク付けされているURLのそれぞれが,生成されたワンタイムURLに変更させられる。ウェブ・ページ110自体のURLは,http://motohoge.com/だったものがワンタイムURLであるhttp://ichijitime.com/sw/SW_abc5/1に変更される。また,「戻る」の文字列113にリンク付けされているURLは,http://motohoge.com/menu.htmlからワンタイムURLであるhttp://ichijitime.com/sw/SW_abc6/1に変更させられる。
 さらに,この実施例では,変更スクリプトがウェブ・ページ110を表すウェブ・ページ・データに挿入させられる(図4ステップ59)。
 図12に示すように,ウェブ・ページ110自体のURLがワンタイムURLに変更させられると,画像読込ボタン111がクリックされた場合,ワンタイムURLに変更させられたウェブ・ページ110自体のURL(http://ichijitime.com/sw/SW_abc/5/1)の下層のディレクトリに保存されている画像ファイルを要求してしまうこととなる。しかしながら,画像読込ボタン111がクリックされ,動的遷移領域112に表示される画像を表す画像ファイルはワンタイムURLに変更させられる前のURLであるhttp://motohoge.com/の下層のディレクトリに保存されているから,ワンタイムURLに変更させられたウェブ・ページ110において画像読込ボタン111がクリックされても動的遷移領域112に画像は表示されない。このために,ワンタイムURLに変更させられたウェブ・ページ110において画像読込ボタン111がクリックされた場合であっても動的遷移領域112に画像が表示されるようにするのが変更スクリプトである。
 図13は,変更スクリプトの一例である。
 第1行から第9行は,携帯端末1等にインストールされているブラウザのXMLHttpRequestを上書きするものであり,第10行から第17行は,動的遷移領域(DOM:Document Object Model))112の書き換えを検知し,ワンタイムURLに書き換えるものである。第1行は,コメントであり,第2行から第3行は,オリジナルのOpenメソッドをopenOrgという名前にするものである。第4行から第7行は,元々のOpenメソッドを再定義するものである。urlであったものがlocation.hrefに変更されていることにより,Openメソッドにより指定されるURLが,表示されているウェブ・ページ110のURLに変更させられる。第8行は,HttpReuestのヘッダにX-KR-REQUEST-URLというフィールドを追加することを示している。第10行は,コメントであり,第11行から第14行は,onSubTreeModifiedが実行されたときにDOM書き換え時に設定されたURLをワンタイムURLに書き換えを行うものである。第15行は,コメントであり,第16行から第17行は,現在のウェブ・ページにイベントを追加するものである。具体的には,現在のウェブ・ページの中で何かの書き換えによりDOMSubTreeModifiedイベントが発生した場合にonSubTreeModifiedを実行させるトリガを追加するものである。
 図4に戻って,変更スクリプトが図12に示すウェブ・ページ110を表わすウェブ・ページ・データ(スクリプト)に挿入されると,そのウェブ・ページ・データがプロキシ・サーバ10から携帯端末1に送信される(ステップ60)。
 プロキシ・サーバ10から送信されたウェブ・ページ・データが携帯端末1において受信されると,そのウェブ・ページ・データによって表わされるウェブ・ページ110が携帯端末1の表示画面に表示される(ステップ38)。
 図14は,携帯端末1の表示画面に表示されるウェブ・ページ110の一例である。
 携帯端末1の表示画面にウェブ・ページ110が表示されると,画像読込ボタン111がクリック可能となる。カーソル114が画像読込ボタン111上に位置決めされ,画像読込ボタン111がクリックされる(図5ステップ39)。すると,図11に示すように,ウェブ・ページ110を表わすウェブ・ページ・データに含まれている画像表示スクリプトのonButton関数が呼び出され,XMLHttpRequestのopenメソッドにより”/ajax?parm=abc”というURLが指定される。しかしながら,図13に示すように変更スクリプトの「XMLHttpRequest上書き」においてopenメソッドが書き換えられているので,実際にはXMLHttpRequestのリクエスト先は現在閲覧中のウェブ・ページ110のURLであるhttp://ichijitime.com/sw/S_abc/5/1となり,元々のリクエスト先である”/ajax?param=abc”はHTTP(HyperText Transfer Protocol)リクエスト・ヘッダのX-KR-REQUEST-URLフィールドに設定される。
 この実施例では,図13に示す変更スクリプトがウェブ・ページ110を示すウェブ・ページ・データに挿入されているが,仮にその変更スクリプトがウェブ・ページ・データに挿入されていないとすると,XMLHttpRequestによるリクエストは現在表示されているウェブ・ページ110自体のURLを基準としてしまうので,http://ichijitime.com/ajax?param=abc”というURLに保存されているコンテンツをリクエストしてしまう。しかしながら,”/ajax?param=abc”は,ワンタイムURLへの変換前の元URLであるmotohoge.comの下層にあるから,リクエストしても適切なコンテンツが得られない。
 上述したようにAJAXリクエストが発生すると,そのリクエストが書き換えられ,書き換えられたリクエストが携帯端末1からプロキシ・サーバ10に送信される(図5ステップ41)。
 図15は,書き換えられたリクエストの一例である。
 上述のように,XMLHttpRequestのopenメソッドにより”/ajax?parm=abc”というURLが指定される代わりに,リクエスト先がウェブ・ページ110自体のワンタイムURL(sw/SW_abc5/1)とされ,元々のリクエスト先である”ajax?param=abc”はHTTPリクエスト・ヘッダのX-KR-REQUEST-URLフィールドに設定されるようになる。
 このように書き換えられたリクエストは,携帯端末1からプロキシ・サーバ10に送信される(図5ステップ41)。
 携帯端末1から送信された書き換えられたリクエストがプロキシ・サーバ10において受信されると,そのリクエストに含まれるURL(sw/SW_abc5/1)が元のURL(http://
motohoge.com/ajax?param=abc)に戻される(図5ステップ61)。すると,プロキシ・サーバ10からウェブ・サーバ20に,その元のURLによって指定される場所に保存されているコンテンツのリクエストが送信される(図5ステップ62)。
 プロキシ・サーバ10から送信されたリクエストがウェブ・サーバ20において受信されると,そのリクエストされたコンテンツがウェブ・サーバ20によって読み取られ,ウェブ・サーバ20からプロキシ・サーバ10に送信される(図5ステップ82)。この実施例においては,図16に示すXML(Extensible Markup Language)スクリプト(保存場所スクリプト)がウェブ・サーバ20からプロキシ・サーバ10に送信されるものとする。上述のように図11に示す画像表示スクリプトに含まれるonLoadFinishの関数の画像表示プログラムにおいてXMLスクリプト(XMLデータ)が送信されるように規定されている。
 図16を参照して,XMLスクリプトは,ウェブ・ページ110の動的遷移領域112に表示される画像を表わす画像ファイルが,その動的遷移領域112が含まれるウェブ・ページ110自体のURLの下層のディレクトに保存され,かつaaa.jpgによって特定されることを示している。
 ウェブ・サーバ20から送信されたXMLスクリプトがプロキシ・サーバ10において受信されると,上述したのと同様にワンタイムURLの生成処理が行われるが(図5ステップ65),受信したデータがXMLスクリプトであるためにワンタイムURLの生成処理が行われずにその受信したXMLスクリプトがそのままプロキシ・サーバ10から携帯端末1に送信される(図5ステップ64)。
 プロキシ・サーバ10から送信されたXMLスクリプトが携帯端末1において受信されると,その受信したXMLスクリプトをもとにウェブ・ページ110の動的遷移領域112に<img src=”/aaa.jpg”>というHTML(HyperText Markup Language)スクリプトが挿入される。これにより,ウェブ・ページ110の動的遷移領域112のコンテンツが書き換えられる(図5ステップ42)。
 図17は,動的遷移領域112のHTMLスクリプトに<img src=”/aaa.jpg”>というHTMLスクリプトが挿入されたウェブ・ページ110の一例である。
 動的遷移領域112のHTMLスクリプトに<img src="/aaa.jpg">というHTMLスクリプトが挿入されると,動的遷移領域112に表示されるコンテンツは,動的遷移領域112が含まれているウェブ・ページ110自体のワンタイムURLであるhttp://ichijitime.com/sw/SW_abc/5/1を基準としたURLに保存されていることと見なされるので,動的遷移領域112には,http://ichijitime.com/aaa.jpgというURLによって特定される場所に保存されている画像ファイルによって表わされる画像が表示されることとなる。しかしながら,動的遷移領域112に表示される画像を表わす画像ファイルは,ウェブ・ページ110がワンタイムURLに変換される前の元URLであるhttp://motohoge.com/の下層のディレクトリに保存されているから,動的遷移領域112に表示される画像を表わす画像ファイルはhttp://motohoge.com/aaa.jpgというURLによって特定される場所に保存されていることとなる。このために,ワンタイムURLであるhttp://ichijitime.com/sw/SW_abc/5/1をもつウェブ・ページ110に含まれる動的遷移領域112には本来表示されるべき画像が表示されずに,画像が見つからないことを示すばつ印の画像115が表示されてしまう。
 ウェブ・ページ110を表わすスクリプトには,図13に示したように変更スクリプトが挿入されている。動的遷移領域112に画像115が表示されると,動的遷移領域112における書換が検知されるので(DOM書換検知)(図6ステップ43),その変更スクリプトに含まれるDOMSubtreeModifiedイベントが発生する。図17に示したように新たに挿入されたHTMLタグ<img src=”/aaa.jpg”>の中の”/aaa/jpg”というワンタイムURLではないURLが検知されることとなる。
 図13に示したようにウェブ・ページ110のスクリプトに挿入された変更スクリプトはDOM書換検知において検知された”/aaa.jpg”というURLをワンタイムURLに変換するために図18に示すリクエストを発生させることとなる。
 図18を参照して,GET/sw/SW_abc/5/1により,動的遷移領域112に表示される画像のリクエストは,携帯端末1の表示画面に表示されている現在閲覧中のウェブ・ページ110自体のワンタイムURLであるhttp://ichijitime.com/sw/SW_abc/5/1に変更され,リクエスト・ヘッダのX-KR-ORG-URLフィールドに,ワンタイムURLに変換したい”/aaa.jpg”というURLが設定されることとなる。
 携帯端末1からプロキシ・サーバ10に図18に示したリクエストが送信され,動的遷移領域112に本来表示されるべき画像のワンタイムURLの要求が行われる(図6ステップ44)。
 携帯端末1から送信されたリクエストがプロキシ・サーバ10において受信されると,受信したリクエスト・ヘッダのX-KR-ORG-URLフィールドが検知され,リクエストされたURLである”/sw/SW_abc/5/1”が元に戻されたURLであるhttp://motohoge.com”というURLを基準URLとして,X-KR-ORG-URLフィールドに記載された相対URLである”/aaa/jpg”から絶対URLであるhttp://motohoge.com/aaa.jpgが得られる。このようにして得られた絶対URLからワンタイムURLである”/sw/SW_abc/7/1”が生成される。生成されたワンタイムURL”/sw/SW_abc/7/1”がプロキシ・サーバ10から携帯端末1に送信される(図6ステップ66)。
 ウェブ・ページ110を表わすスクリプトに挿入された変更スクリプト(図13参照)によって,プロキシ・サーバ10から送信されたワンタイムURL”/sw/SW_abc/7/1”が携帯端末1において受信したことが検知され,動的遷移領域112に表示する画像を表わすイメージ・タグのsrc属性のURLが上述の”/aaa.jpg”から”/sw/SW_abc/7/1”に書き換えられる。
 図19は,動的遷移領域112に表示する画像を表わすイメージ・タグが書き換えられたウェブ・ページ110を示している。
 イメージ・タグがワンタイムURLに書き換えられると,イメージ・タグのsrc属性に記述された”/sw/SW_abc/7/1”というURLへのリクエストが発行され,発行されたリクエストが携帯端末1からプロキシ・サーバ10に送信される(ステップ46)。
 携帯端末1から送信されたリクエストがプロキシ・サーバ10において受信されると,ワンタイムURL保存テーブルを参照して,受信したワンタイムURL”/sw/SW_abc/7/1”が元のURLであるhttp://motohoge.com/aaa.jpgに戻される。元URLが得られると,プロキシ・サーバ10からウェブ・サーバ20にその元URLであるhttp://motohoge.com/aaa.jpgのコンテンツのリクエストが送信される(図6ステップ68)。
 プロキシ・サーバ10から送信されたリクエストがウェブ・サーバ20において受信されると,そのリクエストに応じてhttp://motohoge.com/aaa.jpgのURLによって特定される保存場所に保存されているコンテンツが読み取られる。読み取られたコンテンツがウェブ・サーバ20からプロキシ・サーバ10に送信される(図6ステップ83)。
 ウェブ・サーバ20から送信されたコンテンツがプロキシ・サーバ10において受信されると,ワンタイムURL生成処理を実行しようとするが(図6ステップ69),受信したコンテンツは,画像ファイルなのでワンタイム生成処理は行われない。受信したコンテンツがそのままプロキシ・サーバ10から携帯端末1に送信される(図6ステップ70)。
 プロキシ・サーバ10から送信されたコンテンツが携帯端末1において受信されると,ウェブ・ページ110のスクリプトによって動的遷移領域112が,受信したコンテンツに書き換えられる(図6ステップ47)。
 図20は,動的遷移領域112のコンテンツが書き換えられたウェブ・ページ110の一例である。
 上述したように,動的遷移領域112のコンテンツが,プロキシ・サーバ10を介してウェブ・サーバ20から送信されたコンテンツ(画像ファイル)に書き換えられたことにより,動的遷移領域112には,本来表示されるべき画像116が表示されるようになる。
 上述の実施例では,動的遷移領域に表示されるコンテンツの保存場所等が,動的遷移領域が含まれるウェブ・ページを特定するURLの下層に規定されているが,必ずしも下層でなくとも,そのウェブ・ページの保存場所であるホスト・コンピュータと同一のホスト・コンピュータであればよい。
1 携帯端末(クライアント端末装置)
10 プロキシ・サーバ
11 CPU
12 通信インターフェイス
20 ウェブ・サーバ(第1のホスト・コンピュータ,第2のホスト・コンピュータ,第3のホスト・コンピュータ)

Claims (4)

  1.  閲覧要求に応じてウェブ・ページ全体の遷移を伴わずにウェブ・ページの一部の表示が切り替わる動的遷移領域であって,動的遷移領域に表示されるコンテンツの保存場所が,動的遷移領域が含まれるウェブ・ページの保存場所である第1のホスト・コンピュータと同一のホスト・コンピュータである動的遷移領域を含み,かつ実URLによって特定されるウェブ・ページがワンタイムURLによって特定されるように実URLを変更するURL変更手段,
     閲覧要求に応じて与えられる,動的遷移領域に表示されるコンテンツの送信指令が上記URL変更手段において変更されたワンタイムURLによって特定される保存場所である第2のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令から上記URL変更手段において変更される前の実URLによって特定される保存場所である第3のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令に変更する変更スクリプトを上記URL変更手段によってワンタイムURLに変更されたウェブ・ページを表すウェブ・ページ・データに追加する変更スクリプト追加手段,および
     上記変更スクリプト追加手段によって変更スクリプトが追加されたウェブ・ページ・データをクライアント端末装置に送信するウェブ・ページ・データ送信手段,
     を備えたプロキシ・サーバ。
  2.  上記変更スクリプト追加手段によって追加された変更スクリプトにもとづいて変更された送信指令を受信する送信指令受信手段,
     上記送信指令受信手段において送信指令を受信したことに応じて,実URLにもとづいて管理される保存場所に保存されている動的遷移領域に表示されるコンテンツの保存場所を示す保存場所スクリプトをクライアント端末装置に送信する保存場所スクリプト送信手段,
     上記保存場所スクリプト送信手段によって保存場所スクリプトがクライアント端末装置に送信されたことに応じて上記変更スクリプトにもとづいて保存場所スクリプトによって示される保存場所がワンタイムURLによって規定される保存場所に,変更されたコンテンツ送信リクエストを受信するコンテンツ送信リクエスト受信手段,
     上記コンテンツ送信リクエスト受信手段において受信したコンテンツ送信リクエストにもとづいてワンタイムURLを,変更される前のURLに戻すURL逆変換手段,
     上記URL逆変換手段によって戻されたURLによって特定される保存場所からコンテンツを読み取るコンテンツ読み取り手段,および
     上記コンテンツ読み取り手段によって読み取られたコンテンツをクライアント端末装置に送信するコンテンツ送信手段,
     を備えた請求項1に記載のプロキシ・サーバ。
  3.  URL変更手段が,閲覧要求に応じてウェブ・ページ全体の遷移を伴わずにウェブ・ページの一部の表示が切り替わる動的遷移領域であって,動的遷移領域に表示されるコンテンツの保存場所が,動的遷移領域が含まれるウェブ・ページの保存場所である第1のホスト・コンピュータと同一のホスト・コンピュータである動的遷移領域を含み,かつ実URLによって特定されるウェブ・ページがワンタイムURLによって特定されるように実URLを変更し,
     変更スクリプト追加手段が,閲覧要求に応じて与えられる,動的遷移領域に表示されるコンテンツの送信指令が上記URL変更手段において変更されたワンタイムURLによって特定される保存場所である第2のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令から上記URL変更手段において変更される前の実URLによって特定される保存場所である第3のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令に変更する変更スクリプトを上記URL変更手段によってワンタイムURLに変更されたウェブ・ページを表すウェブ・ページ・データに追加し,
     ウェブ・ページ・データ送信手段が,上記変更スクリプト追加手段によって変更スクリプトが追加されたウェブ・ページ・データをクライアント端末装置に送信する,
     プロキシ・サーバの動作制御方法。
  4.  プロキシ・サーバを制御するコンピュータ読み取り可能なプログラムであって,
     閲覧要求に応じてウェブ・ページ全体の遷移を伴わずにウェブ・ページの一部の表示が切り替わる動的遷移領域であって,動的遷移領域に表示されるコンテンツの保存場所が,動的遷移領域が含まれるウェブ・ページの保存場所である第1のホスト・コンピュータと同一のホスト・コンピュータである動的遷移領域を含み,かつ実URLによって特定されるウェブ・ページがワンタイムURLによって特定されるように実URLを変更させ,
     閲覧要求に応じて与えられる,動的遷移領域に表示されるコンテンツの送信指令が,変更されたワンタイムURLによって特定される保存場所である第2のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令から変更される前の実URLによって特定される保存場所である第3のホスト・コンピュータと同一のホスト・コンピュータに保存されているコンテンツの送信指令に変更する変更スクリプトを,ワンタイムURLに変更されたウェブ・ページを表すウェブ・ページ・データに追加させ,
     変更スクリプトが追加されたウェブ・ページ・データをクライアント端末装置に送信させるようにプロキシ・サーバを制御するプログラム。
PCT/JP2013/070166 2012-08-24 2013-07-25 プロキシ・サーバならびにその動作制御方法およびその動作制御プログラム WO2014030487A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012-185457 2012-08-24
JP2012185457 2012-08-24

Publications (1)

Publication Number Publication Date
WO2014030487A1 true WO2014030487A1 (ja) 2014-02-27

Family

ID=50149798

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/070166 WO2014030487A1 (ja) 2012-08-24 2013-07-25 プロキシ・サーバならびにその動作制御方法およびその動作制御プログラム

Country Status (1)

Country Link
WO (1) WO2014030487A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822553A (zh) * 2020-12-30 2021-05-18 四川长虹网络科技有限责任公司 一种iptv动态控制页面切换过渡效果的方法
JP2022099435A (ja) * 2020-12-23 2022-07-05 合同会社ラムタフ 動画配信システム

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150492A (ja) * 2001-11-14 2003-05-23 Nippon Telegr & Teleph Corp <Ntt> ストリーミングコンテンツアクセス制御方法及びストリーミングコンテンツ配信システム
JP2010102625A (ja) * 2008-10-27 2010-05-06 Fujitsu Ltd ユニフォームリソースロケータ書換方法及び装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150492A (ja) * 2001-11-14 2003-05-23 Nippon Telegr & Teleph Corp <Ntt> ストリーミングコンテンツアクセス制御方法及びストリーミングコンテンツ配信システム
JP2010102625A (ja) * 2008-10-27 2010-05-06 Fujitsu Ltd ユニフォームリソースロケータ書換方法及び装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022099435A (ja) * 2020-12-23 2022-07-05 合同会社ラムタフ 動画配信システム
JP7321461B2 (ja) 2020-12-23 2023-08-07 合同会社ラムタフ 動画配信システム
CN112822553A (zh) * 2020-12-30 2021-05-18 四川长虹网络科技有限责任公司 一种iptv动态控制页面切换过渡效果的方法

Similar Documents

Publication Publication Date Title
US10613916B2 (en) Enabling a web application to call at least one native function of a mobile device
KR101616580B1 (ko) 원격 사용자 인터페이스 관리방법 및 장치
US20130262696A1 (en) Proxy server apparatus, client terminal apparatus, remote access system, transfer control method, access method, and recording medium
JP5122146B2 (ja) 状態情報の保存を要請する方法及び装置、状態情報を復旧する方法及び装置並びに記録媒体
US20140298188A1 (en) Remote operation method and system
WO2013169827A1 (en) Enhanced document and event mirroring for accessing content
CN102473171A (zh) 将有关本地机器的信息传达给浏览器应用
CN102710736A (zh) 头戴型显示装置和客户端装置
JP2018180820A (ja) 情報処理装置及び情報処理装置の制御方法
US8103954B2 (en) Proxy server, and method and program for controlling same
CA2938293A1 (en) Control program for accessing browser data and for controlling appliance
JP2006018795A (ja) Web共有システム、Web共有方法、Web共有プログラム、中継サーバ、及びWWWブラウザ表示装置
WO2014030487A1 (ja) プロキシ・サーバならびにその動作制御方法およびその動作制御プログラム
JP2007079988A (ja) Wwwブラウザ、htmlページ共有システムおよびhtmlページ共有方法
JP6317506B2 (ja) 中継装置、中継方法および中継プログラム
KR20120094281A (ko) 캔버스 오브젝트를 이용하는 그래픽 기반의 원격 사용자 인터페이스를 저장 및 복원하는 방법 및 그 서버, 캔버스 오브젝트를 이용하는 그래픽 기반의 원격 사용자 인터페이스를 저장 및 복원하는 방법 및 그 클라이언트
EP1368746A1 (en) System and method for realtime-controlling web browser of user
JP6365259B2 (ja) ローカルストレージ管理方法、ローカルストレージ管理装置およびローカルストレージ管理プログラム
JP6358049B2 (ja) ローカルストレージ同期方法、ローカルストレージ同期装置およびローカルストレージ同期プログラム
JP2014115898A (ja) Webデータ検証支援装置及びwebデータ検証支援プログラム
JP2014178983A (ja) 端末装置、端末制御プログラム及び端末制御方法
JP6151508B2 (ja) 中継装置、中継方法および中継プログラム
CN116938602B (zh) 一种基于云桌面的数据传输方法和装置
US20130227001A1 (en) Apparatus and method for moving a ui by using html
JP6608476B2 (ja) 中継装置、中継方法および中継プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13831329

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13831329

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP