JP2015056056A - Relay program, relay method and relay server - Google Patents

Relay program, relay method and relay server Download PDF

Info

Publication number
JP2015056056A
JP2015056056A JP2013189657A JP2013189657A JP2015056056A JP 2015056056 A JP2015056056 A JP 2015056056A JP 2013189657 A JP2013189657 A JP 2013189657A JP 2013189657 A JP2013189657 A JP 2013189657A JP 2015056056 A JP2015056056 A JP 2015056056A
Authority
JP
Japan
Prior art keywords
communication record
communication
authentication
relay
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013189657A
Other languages
Japanese (ja)
Other versions
JP6136793B2 (en
Inventor
昌弘 田中
Masahiro Tanaka
昌弘 田中
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2013189657A priority Critical patent/JP6136793B2/en
Publication of JP2015056056A publication Critical patent/JP2015056056A/en
Application granted granted Critical
Publication of JP6136793B2 publication Critical patent/JP6136793B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a relay program, a relay method and a relay server capable of improving the accuracy to omit a representation of communication.SOLUTION: The relay program causes a computer to execute: processing to detect a communication record relevant to a predetermined authentication from a communication record made between a web server and a web browser stored in a storage; and processing to add a piece of transition information containing a piece of link information included in a communication record prior to a communication record containing no transition information in the communication record which does not contain any piece of transition information used for managing the image transition in a web browser in the communication record relevant to the authentication.

Description

本発明は、ウェブサーバとウェブブラウザ間の通信を中継する中継プログラム、中継方法及び中継サーバに関する。   The present invention relates to a relay program, a relay method, and a relay server that relay communication between a web server and a web browser.

コンピュータシステムにおいて、ユーザの操作などの動作履歴をもとに、システムの動作を再現する技術が開示されている。   In a computer system, a technique for reproducing the operation of the system based on an operation history such as a user operation is disclosed.

ウェブシステムにおいても、ユーザの操作を再現する技術がある。ウェブシステムでは、ウェブサーバが、ウェブブラウザでの操作のもと、当該ウェブブラウザとの間でHTTP(Hyper Text Transfer Protocol)によりデータの送受信を行い、該当するサービスを提供する。この際、ウェブサーバとウェブブラウザとの間に、データを中継する中継サーバが設置される場合がある。   There is also a technique for reproducing user operations in a web system. In the web system, a web server transmits / receives data to / from the web browser by an HTTP (Hyper Text Transfer Protocol) and provides a corresponding service. At this time, a relay server that relays data may be installed between the web server and the web browser.

中継サーバは、ウェブサーバとウェブブラウザとの間の通信メッセージの履歴を通信記録として記録し、この通信履歴を用いて通信を再現する。これにより、ユーザがウェブサーバへの操作を再現したい場合に、ウェブブラウザでのウェブサーバへの操作を再び行う代わりに、中継サーバが通信履歴を用いて通信を再現することで自動的に該当するサービスへの操作を再現できる。   The relay server records a communication message history between the web server and the web browser as a communication record, and reproduces communication using the communication history. As a result, when the user wants to reproduce the operation to the web server, the relay server automatically reproduces the communication using the communication history instead of performing the operation to the web server with the web browser again. You can reproduce the service operations.

特開平7−84838号公報JP-A-7-84838

従来の技術では、例えば操作の再現に用いられる通信記録に、ユーザの操作と無関係な通信記録が含まれることがあるが、中継サーバは、ユーザの操作と無関係の不要な通信まで再現するため、通信の再現に時間がかかる。そこで、不要な通信の再現を省略し、通信の再現にかかる時間を短縮することが考えられる。この場合は、どの通信が不要な通信であるかを正しく判別することが望まれる。例えばユーザの操作と関係する通信の再現を誤って省略した場合等には、通信が正しく再現されないからである。   In the conventional technology, for example, the communication record used for reproducing the operation may include a communication record irrelevant to the user's operation, but the relay server reproduces even unnecessary communication irrelevant to the user's operation. It takes time to reproduce the communication. Thus, it is conceivable to omit unnecessary communication reproduction and shorten the time required for communication reproduction. In this case, it is desirable to correctly determine which communication is unnecessary. This is because, for example, when the reproduction of the communication related to the user operation is mistakenly omitted, the communication is not correctly reproduced.

1つの側面では、通信の再現を省略する精度を向上させることが可能な中継プログラム、中継方法及び中継サーバを提供することを目的とする。   In one aspect, an object is to provide a relay program, a relay method, and a relay server that can improve the accuracy of omitting communication reproduction.

開示の技術は、記憶部に格納された、ウェブサーバとウェブブラウザとの間の通信記録から、所定の認証に関する通信記録を検出する処理と、前記認証に係る通信記録のうち、前記ウェブブラウザにおける画面遷移の管理に用いられる遷移情報を含まない通信記録に、前記遷移情報を含まない通信記録の前の通信記録が有するリンク情報を含む遷移情報を追加する処理と、をコンピュータに実行させる。   The disclosed technology includes a process for detecting a communication record related to predetermined authentication from a communication record between a web server and a web browser stored in a storage unit, and the communication record related to the authentication in the web browser. Processing for adding transition information including link information included in a communication record before the communication record not including the transition information to a communication record not including the transition information used for managing the screen transition is executed by the computer.

上記各処理は、上記各処理を実現する機能部、上記各処理を手順としてンピュータにより実行させる方法、プログラムを記憶したコンピュータ読み取り可能な記憶媒体とすることもできる。   Each of the above processes may be a functional unit that realizes each of the above processes, a method of causing each computer to execute each of the processes as a procedure, and a computer-readable storage medium that stores the program.

通信の再現を省略する精度を向上させることができる。   The accuracy of omitting communication reproduction can be improved.

ウェブ中継システムにおけるログイン画面の表示について説明する図である。It is a figure explaining the display of the login screen in a web relay system. シングルサインオンを用いたログインについて説明する図である。It is a figure explaining the login using single sign-on. ウェブ中継システムの構成例を示す図である。It is a figure which shows the structural example of a web relay system. 中継サーバのハードウェアの構成例を示す図である。It is a figure which shows the structural example of the hardware of a relay server. 中継サーバの機能構成を説明する図である。It is a figure explaining the function structure of a relay server. 認証検出部による通信記録の検出を説明する図である。It is a figure explaining the detection of the communication record by an authentication detection part. リファラ追加部によるリファラの追加を説明する図である。It is a figure explaining the addition of a referrer by a referrer addition part. 認証検出部の処理を説明するフローチャートである。It is a flowchart explaining the process of an authentication detection part. リファラ追加部の処理を説明するフローチャートである。It is a flowchart explaining the process of a referrer addition part.

以下に本実施例の概要について説明する。本実施例では、ウェブサーバとウェブブラウザとの間の通信を再現する際に、ウェブブラウザにおけるユーザの操作と関係した通信を再現し、ユーザの操作と無関係な通信の再現を省略する。   The outline of the present embodiment will be described below. In this embodiment, when reproducing the communication between the web server and the web browser, the communication related to the user operation in the web browser is reproduced, and the reproduction of the communication unrelated to the user operation is omitted.

本実施例では、ユーザの操作と無関係な通信の一つとして、ウェブサーバが提供するサービスへログインする際のログイン画面表示を再現する通信に着目した。以下にログイン画面の表示について説明する。   In the present embodiment, attention is focused on communication that reproduces a login screen display when logging in to a service provided by a web server, as one of communications unrelated to user operations. The display of the login screen will be described below.

図1は、ウェブ中継システムにおけるログイン画面表示について説明する図である。   FIG. 1 is a diagram for explaining a login screen display in the web relay system.

ウェブ中継システム10において、ユーザがウェブブラウザ110に表示されたログイン画面にアクセスしてログイン操作を行うと、ウェブブラウザ110は中継サーバ20へログインを要求するリクエストデータを送信する(ステップS11)。中継サーバ20は、プロキシ部210により、受信したリクエストデータをウェブサーバ130へ転送する(ステップS12)。プロキシ部210は、通信記録を記録するものである。プロキシ部210の詳細は後述する。   In the web relay system 10, when the user accesses the login screen displayed on the web browser 110 and performs a login operation, the web browser 110 transmits request data for requesting login to the relay server 20 (step S11). The relay server 20 uses the proxy unit 210 to transfer the received request data to the web server 130 (step S12). The proxy unit 210 records communication records. Details of the proxy unit 210 will be described later.

ウェブサーバ130は、リクエストデータを受けると、これに応答したレスポンスデータを中継サーバ20へ送信する(ステップS13)。中継サーバ20において、プロキシ部210は、レスポンスデータをウェブブラウザ110へ転送する(ステップS14)。ここでウェブブラウザ110にはログイン画面が表示される。   Upon receiving the request data, the web server 130 transmits response data in response to the request data to the relay server 20 (step S13). In the relay server 20, the proxy unit 210 transfers the response data to the web browser 110 (step S14). Here, a login screen is displayed on the web browser 110.

中継サーバ20においてプロキシ部210は、中継サーバ20が転送したリクエストデータと、レスポンスデータとを通信記録221として通信記録データベース220に格納する(ステップS15)。通信記録221は、ログイン画面をウェブブラウザ110に表示させるための通信記録である。   In the relay server 20, the proxy unit 210 stores the request data transferred by the relay server 20 and the response data in the communication record database 220 as the communication record 221 (step S15). The communication record 221 is a communication record for causing the web browser 110 to display a login screen.

ウェブブラウザ110は、ユーザによりログイン情報(例えばIDとパスワード)が入力されると、ログイン情報と共にログインリクエストデータを中継サーバ20に送信する(ステップS16)。中継サーバ20は、プロキシ部210により、ログインリクエストデータをウェブサーバ130へ転送する(ステップS17)。   When login information (for example, ID and password) is input by the user, the web browser 110 transmits login request data together with the login information to the relay server 20 (step S16). The relay server 20 uses the proxy unit 210 to transfer the login request data to the web server 130 (step S17).

ウェブサーバ130は、ログイン後のメニュー画面のレスポンスデータを中継サーバ20へ送信する(ステップS18)。中継サーバ20のプロキシ部210は、このレスポンスデータをウェブブラウザ110へ転送する(ステップS19)。   The web server 130 transmits response data on the menu screen after login to the relay server 20 (step S18). The proxy unit 210 of the relay server 20 transfers this response data to the web browser 110 (step S19).

中継サーバ20においてプロキシ部210は、中継サーバ20がステップS17で転送したリクエストデータとステップS19で転送したレスポンスデータとを通信記録222として通信記録データベース220に格納する(ステップS20)。通信記録222は、ログイン情報をウェブサーバ130へ通知し、ログイン後の画面をウェブブラウザ110に表示させるための通信記録である。   In the relay server 20, the proxy unit 210 stores the request data transferred by the relay server 20 in step S17 and the response data transferred in step S19 in the communication record database 220 as the communication record 222 (step S20). The communication record 222 is a communication record for notifying the web server 130 of login information and causing the web browser 110 to display a screen after login.

中継サーバ20は、ログイン操作を再現する際は、通信記録から通信を再現させる再現モジュールにより通信記録221と通信記録222を再現すれば良い。再現モジュールの詳細は後述する。   When reproducing the login operation, the relay server 20 may reproduce the communication record 221 and the communication record 222 by a reproduction module that reproduces the communication from the communication record. Details of the reproduction module will be described later.

ところで近年のウェブシステムでは、ログイン情報を含むリクエストデータを直接ウェブサーバ130へ送信することでログイン操作を再現するものがある。この場合には、ログイ情報を入力させるためのログイン画面を表示させるための通信記録221の再現は不要となる。ログイン操作の再現に際し、ログイン画面表示のための通信記録221が不要か否かを判断し、ログイン画面表示が不要であった場合に、再現モジュールが再現する通信記録から通信記録221を削除して、通信記録221による通信の再現を省略できる。   By the way, some recent web systems reproduce the login operation by transmitting request data including login information directly to the web server 130. In this case, it is not necessary to reproduce the communication record 221 for displaying a login screen for inputting log-in information. When reproducing the login operation, it is determined whether or not the communication record 221 for displaying the login screen is necessary. When the login screen display is unnecessary, the communication record 221 is deleted from the communication record reproduced by the reproduction module. The reproduction of communication by the communication record 221 can be omitted.

実施例では、ログイン操作の再現に関し、シングルサインオン等の機能を用いた通信記録を検出し、検出された通信記録に画面遷移の管理に用いる情報を付与する。   In the embodiment, regarding the reproduction of the login operation, a communication record using a function such as single sign-on is detected, and information used for managing screen transition is added to the detected communication record.

以下に図2を参照してシングルサインオン等の機能を用いたログイン処理について説明する。尚シングルサインオンとは、一度のユーザ認証により、許可されているすべての機能を利用できるようにする認証機能である。   Hereinafter, a login process using a function such as single sign-on will be described with reference to FIG. Single sign-on is an authentication function that enables all permitted functions to be used by one-time user authentication.

図2は、シングルサインオンを用いたログインについて説明する図である。   FIG. 2 is a diagram illustrating login using single sign-on.

ユーザがウェブブラウザ110に表示されたログイン画面にアクセスしてログイン操作を行うと、ウェブブラウザ110はウェブサーバ130にログインを要求するリクエストデータを送信する(ステップS21)。ウェブサーバ130は、この時点ではユーザ認証が行われていないため、未認証とするレスポンスデータをウェブブラウザ110に送信する(ステップS22)。ウェブブラウザ110は、このレスポンスデータを認証を要求するリクエストデータとし、認証サーバ120に自動的に転送する(ステップS23)。   When the user accesses the login screen displayed on the web browser 110 and performs a login operation, the web browser 110 transmits request data for requesting login to the web server 130 (step S21). Since the user authentication is not performed at this time, the web server 130 transmits response data to be unauthenticated to the web browser 110 (step S22). The web browser 110 uses the response data as request data for requesting authentication, and automatically transfers it to the authentication server 120 (step S23).

認証サーバ120は、リクエストデータを受けて、ユーザ認証画面をレスポンスデータとしてウェブブラウザ110に送信し、ウェブブラウザ110にユーザ認証画面を表示させる(ステップS24)。ユーザ認証画面にユーザ情報が入力されると、ウェブブラウザ110は、認証を要求するリクエストデータとして、認証サーバ120へ送信する(ステップS25)。尚ステップS25で認証サーバ120に送信されるリクエストデータには、ユーザ情報が含まれる。ユーザ情報は、例えばユーザ識別情報(ユーザID)とパスワード等である。   The authentication server 120 receives the request data, transmits a user authentication screen as response data to the web browser 110, and causes the web browser 110 to display the user authentication screen (step S24). When user information is input on the user authentication screen, the web browser 110 transmits the request data requesting authentication to the authentication server 120 (step S25). Note that the request data transmitted to the authentication server 120 in step S25 includes user information. The user information is, for example, user identification information (user ID) and a password.

認証サーバ120は、ユーザ情報に基づく認証が成功すると、ユーザ認証に必要な情報を生成し、レスポンスデータとしてウェブブラウザ110へ送信する(ステップS26)。尚ユーザ認証に必要な情報とは、例えばトークン等である。   If the authentication based on the user information is successful, the authentication server 120 generates information necessary for the user authentication and transmits it as response data to the web browser 110 (step S26). The information necessary for user authentication is, for example, a token.

ウェブブラウザ110は、ユーザ認証に必要な情報を含むリクエストデータを自動的にウェブサーバ130へ転送する(ステップS27)。   The web browser 110 automatically transfers request data including information necessary for user authentication to the web server 130 (step S27).

ウェブサーバ130は、認証サーバ120にアクセスし、受信したユーザ認証に必要な情報を照合する(ステップS28)。認証サーバ120は、ユーザ認証に必要な情報を照合した結果、正しいと判断し、ユーザIDをウェブサーバ130に送信する(ステップS29)。ウェブサーバ130は、ユーザIDを受けて、ユーザIDと対応した認証後のページを、ステップS27において受信したリクエストデータに対するレスポンスデータとして、ウェブブラウザ110に送信する(ステップS30)。   The web server 130 accesses the authentication server 120 and collates the received information necessary for user authentication (step S28). The authentication server 120 determines that the information necessary for user authentication is correct, and transmits the user ID to the web server 130 (step S29). Upon receiving the user ID, the web server 130 transmits the authenticated page corresponding to the user ID to the web browser 110 as response data for the request data received in step S27 (step S30).

尚図2では図示していないが、ウェブブラウザ110とウェブサーバ130との通信は、中継サーバ20の通信記録データベース220に格納される。   Although not shown in FIG. 2, communication between the web browser 110 and the web server 130 is stored in the communication record database 220 of the relay server 20.

図2に示すように、シングルサインオン等の機能を用いた場合、ログイン画面表示のための通信記録にウェブブラウザ110から自動的に転送されるリクエストデータが含まれる。ウェブブラウザ110から自動的に転送されるリクエストデータには、ウェブブラウザ110が出力する画面の遷移を管理するために用いられる遷移情報が含まれておらず、ログイン画面表示のための通信記録との関連を判断することが困難であった。   As shown in FIG. 2, when a function such as single sign-on is used, request data automatically transferred from the web browser 110 is included in the communication record for displaying the login screen. The request data automatically transferred from the web browser 110 does not include transition information used for managing the transition of the screen output by the web browser 110, and the communication data for displaying the login screen is not included. It was difficult to determine the relationship.

そこで以下に説明する本実施例では、自動転送されるリクエストデータに、このリクエストデータが生成されたページを示すリンク情報を含む遷移情報を追加することで、自動転送されるリクエストデータとログイン画面表示のための通信記録との関連を明らかにする。リンク情報とは例えばURLであり、遷移情報とは例えばリファラ等である。   Therefore, in this embodiment described below, by adding transition information including link information indicating the page where the request data is generated to the automatically transmitted request data, the automatically transmitted request data and the login screen display are displayed. To clarify the relationship with communication records for. The link information is, for example, a URL, and the transition information is, for example, a referrer.

以下の本実施例では、自動転送されるリクエストデータとログイン画面表示のための通信記録との関連を明らかにすることで、例えば通信の再現を誤って省略することや、不要な通信を再現することを抑制でき、通信の再現の省略の精度を向上させることができる。   In the following embodiment, by clarifying the relationship between the automatically transferred request data and the communication record for displaying the login screen, for example, the communication reproduction is omitted by mistake or unnecessary communication is reproduced. This can be suppressed, and the accuracy of omission of communication reproduction can be improved.

(実施例)
以下に図面を参照して本実施例のウェブ中継システム100について説明する。図3は、ウェブ中継システムの構成例を示す図である。
(Example)
The web relay system 100 of the present embodiment will be described below with reference to the drawings. FIG. 3 is a diagram illustrating a configuration example of the web relay system.

本実施例のウェブ中継システム100は、ウェブブラウザ110と、認証サーバ120と、ウェブサーバ130と、中継サーバ200とを有する。中継サーバ200は、ウェブブラウザ110とウェブサーバ130との間の通信を中継する。ウェブブラウザ110は、ウェブサービスを利用するパーソナルコンピュータなどのユーザ端末である。ウェブサーバ130は、ウェブサービスを提供する。認証サーバ120は、ウェブサーバ130により提供されるサービスに対するログイン処理を行う際のユーザ認証を行う。   The web relay system 100 according to this embodiment includes a web browser 110, an authentication server 120, a web server 130, and a relay server 200. The relay server 200 relays communication between the web browser 110 and the web server 130. The web browser 110 is a user terminal such as a personal computer that uses a web service. The web server 130 provides web services. The authentication server 120 performs user authentication when performing login processing for a service provided by the web server 130.

尚ウェブ中継システム100では、認証サーバ120及びウェブサーバ130を中継サーバ200及びウェブブラウザ110と同一のネットワーク上に適用した場合であっても良いし、認証サーバ120及びウェブサーバ130を外部装置として異なるネットワーク上に適用した場合であっても良い。   In the web relay system 100, the authentication server 120 and the web server 130 may be applied to the same network as the relay server 200 and the web browser 110, and the authentication server 120 and the web server 130 are different as external devices. It may be applied to the network.

図4は、中継サーバのハードウェアの構成例を示す図である。本実施例の中継サーバ200は、それぞれバスBで相互に接続されている入力装置21、出力装置22、ドライブ装置23、補助記憶装置24、メモリ装置25、演算処理装置26及びインターフェース装置27で構成される。   FIG. 4 is a diagram illustrating a hardware configuration example of the relay server. The relay server 200 according to this embodiment includes an input device 21, an output device 22, a drive device 23, an auxiliary storage device 24, a memory device 25, an arithmetic processing device 26, and an interface device 27 that are connected to each other via a bus B. Is done.

入力装置21はキーボードやマウスなどで構成され、各種信号を入力するために用いられる。出力装置22はディスプレイ装置などで構成され、各種ウインドウやデータ等を表示するために用いられる。インターフェース装置27は、モデム,LAN(Local Area Network)カードなどで構成されており、ネットワークに接続する為に用いられる。   The input device 21 includes a keyboard and a mouse, and is used for inputting various signals. The output device 22 includes a display device and is used to display various windows, data, and the like. The interface device 27 includes a modem, a LAN (Local Area Network) card, and the like, and is used to connect to a network.

本発明の中継プログラムは、中継サーバ200を制御する各種プログラムの少なくとも一部である。中継プログラムは例えば記録媒体28の配布やネットワークからのダウンロードなどによって提供される。中継プログラムを記録した記録媒体28は、CD−ROM(Compact Disc Read Only Memory)、フレキシブルディスク、光磁気ディスク等の様に情報を光学的,電気的或いは磁気的に記録する記録媒体、ROM、フラッシュメモリ等の様に情報を電気的に記録する半導体メモリ等、様々なタイプの記録媒体を用いることができる。   The relay program of the present invention is at least a part of various programs that control the relay server 200. The relay program is provided, for example, by distributing the recording medium 28 or downloading from the network. The recording medium 28 on which the relay program is recorded is a recording medium such as a CD-ROM (Compact Disc Read Only Memory), a flexible disk, a magneto-optical disk, etc., which records information optically, electrically or magnetically, ROM, flash Various types of recording media such as a semiconductor memory that electrically records information, such as a memory, can be used.

また、中継プログラムを記録した記録媒体28がドライブ装置23にセットされると、中継プログラムは記録媒体28からドライブ装置23を介して補助記憶装置24にインストールされる。ネットワークからダウンロードされた中継プログラムは、インターフェース装置27を介して補助記憶装置24にインストールされる。   When the recording medium 28 on which the relay program is recorded is set in the drive device 23, the relay program is installed in the auxiliary storage device 24 from the recording medium 28 via the drive device 23. The relay program downloaded from the network is installed in the auxiliary storage device 24 via the interface device 27.

中継サーバ200は、インストールされた中継プログラムを格納すると共に、必要なファイル、データ等を格納する。メモリ装置25は、コンピュータの起動時に補助記憶装置24から中継プログラムを読み出して格納する。そして、演算処理装置26はメモリ装置25に格納された中継プログラムに従って、後述するような各種処理を実現している。   The relay server 200 stores the installed relay program and stores necessary files, data, and the like. The memory device 25 reads and stores the relay program from the auxiliary storage device 24 when the computer is activated. The arithmetic processing unit 26 implements various processes as will be described later in accordance with the relay program stored in the memory device 25.

以下に図5を参照して本実施例の中継サーバ200の機能構成を説明する。図4は、中継サーバの機能構成を説明する図である。   The functional configuration of the relay server 200 according to this embodiment will be described below with reference to FIG. FIG. 4 is a diagram illustrating the functional configuration of the relay server.

本実施例の中継サーバ200は、プロキシ部210、認証検出部230、リファラ追加部240、再現モジュール生成部250、ログイン画面検出部260、通信抽出部270、テスト実行部280、通信記録データベース220を有する。   The relay server 200 of this embodiment includes a proxy unit 210, an authentication detection unit 230, a referrer addition unit 240, a reproduction module generation unit 250, a login screen detection unit 260, a communication extraction unit 270, a test execution unit 280, and a communication record database 220. Have.

本実施例のプロキシ部210は、ウェブブラウザ110が行う一連の操作に関わるウェブブラウザ110と、認証サーバ120及びウェブサーバ130と間の通信の履歴を通信記録として通信記録データベース220に記録する。   The proxy unit 210 according to this embodiment records a history of communication between the web browser 110 related to a series of operations performed by the web browser 110, the authentication server 120, and the web server 130 in the communication record database 220 as a communication record.

本実施例の認証検出部230は、通信記録データベース220に格納された通信記録から、認証サーバ120を用いた認証の通信記録を検出する。認証サーバ120を用いた認証とは、例えばシングルサインオンを用いた認証であっても良い。本実施例のリファラ追加部240は、認証検出部230により検出された通信記録に、画面遷移の管理に用いられる情報であるリファラを追加する。本実施例の認証検出部230及びリファラ追加部240の処理の詳細は後述する。   The authentication detection unit 230 according to the present embodiment detects a communication record of authentication using the authentication server 120 from the communication record stored in the communication record database 220. The authentication using the authentication server 120 may be, for example, authentication using single sign-on. The referrer adding unit 240 according to the present embodiment adds a referrer, which is information used for managing screen transitions, to the communication record detected by the authentication detecting unit 230. Details of the processing of the authentication detection unit 230 and the referrer addition unit 240 of this embodiment will be described later.

本実施例の再現モジュール生成部250は、通信記録データベース220に格納された通信記録に基づき、通信を再現する再現モジュール291を生成する。また本実施例の再現モジュール生成部250は、通信抽出部270により通信記録データベース220から抽出された通信記録に基づき、後述する再現モジュール292を生成する。   The reproduction module generation unit 250 according to the present exemplary embodiment generates a reproduction module 291 that reproduces communication based on the communication record stored in the communication record database 220. In addition, the reproduction module generation unit 250 according to the present exemplary embodiment generates a reproduction module 292 to be described later based on the communication record extracted from the communication record database 220 by the communication extraction unit 270.

ログイン画面検出部260は、通信記録データベース220に格納された通信記録からログイン画面表示に関する通信記録を検出する。   The login screen detection unit 260 detects a communication record related to the login screen display from the communication record stored in the communication record database 220.

具体的には本実施例のログイン画面検出部260は、所定のログイン画面判定条件を満たす通信記録をログイン画面表示に関する通信記録として検出する。所定のログイン画面判定条件とは、例えば通信記録R[i]のレスポンスデータのヘッダにSet-cookieが含まれず、且つ通信記録R[i+1]のレスポンスデータのヘッダにSet-cookieが含まれることであっても良い。尚Rは通信記録の集合を示し、iは通信記録の要素数を示す。また所定のログイン画面判定条件は、通信記録R[n]のレスポンスデータにpassword型のinputタグが含まれ、且つ通信記録R[n+1]のリクエストデータにpassword型のinputタグのname属性値と同じ名前のバラメータが存在することであっても良い。   Specifically, the login screen detection unit 260 of the present embodiment detects a communication record that satisfies a predetermined login screen determination condition as a communication record related to the login screen display. The predetermined login screen determination condition is, for example, that Set-cookie is not included in the response data header of the communication record R [i] and Set-cookie is included in the response data header of the communication record R [i + 1]. There may be. R indicates a set of communication records, and i indicates the number of elements of the communication records. The predetermined login screen determination condition includes the password type input tag in the response data of the communication record R [n], and the request attribute of the communication record R [n + 1] has the same name attribute value as the password type input tag. There may be a name parameter.

通信抽出部270は、通信記録データベース220に記録された通信記録のうち、ログイン画面検出部260で検出された通信記録以外の通信記録を抽出する。すなわち本実施例の通信抽出部270は、通信記録データベース220に記録された通信記録から、ログイン画面表示に関する通信記録を除いた通信記録を抽出する。   The communication extraction unit 270 extracts communication records other than the communication record detected by the login screen detection unit 260 from the communication records recorded in the communication record database 220. That is, the communication extraction unit 270 of the present embodiment extracts a communication record excluding the communication record related to the login screen display from the communication record recorded in the communication record database 220.

よって本実施例の再現モジュール生成部250は、ログイン画面表示に関する通信記録を含む通信記録に基づき生成された再現モジュール291と、ログイン画面表示に関する通信記録を除いた通信記録に基づき生成された再現モジュール292とを生成する。   Therefore, the reproduction module generation unit 250 of the present embodiment includes the reproduction module 291 generated based on the communication record including the communication record related to the login screen display, and the reproduction module generated based on the communication record excluding the communication record related to the login screen display. 292.

本実施例のテスト実行部280は、ウェブブラウザ110とウェブサーバ130とを有するウェブシステムにおいてログイン操作を再現する際に、ログイン画面表示の通信記録が不要か否かを判断するテストを実行する。具体的にはテスト実行部280は、再現モジュール生成部250に2つの再現モジュール291、292を生成させ、それぞれの再現モジュール291、292を実行させる。   The test execution unit 280 according to the present embodiment executes a test for determining whether or not a communication record for displaying a login screen is necessary when reproducing a login operation in a web system having the web browser 110 and the web server 130. Specifically, the test execution unit 280 causes the reproduction module generation unit 250 to generate two reproduction modules 291 and 292, and causes the reproduction modules 291 and 292 to be executed.

本実施例のテスト実行部280は、2つの再現モジュール291、292の実行結果が一致していた場合、ログイン画面表示に関する通信記録を除いた通信記録に基づき生成された再現モジュール292でも正常にログイン操作を再現できると判断する。そして、再現モジュール292を中継サーバ200の有する再現モジュールとして選択し、再現モジュール291を削除する。   When the execution results of the two reproduction modules 291 and 292 match, the test execution unit 280 of the present embodiment logs in normally even with the reproduction module 292 generated based on the communication record excluding the communication record related to the login screen display. Judge that the operation can be reproduced. Then, the reproduction module 292 is selected as the reproduction module included in the relay server 200, and the reproduction module 291 is deleted.

以上のように本実施例では、再現モジュールを生成する際に、ログイン画面表示の通信記録が不要か否かを判断する。そして本実施例では、ログイン画面表示の通信記録が不要であった場合には、この通信記録を除いた通信記録に基づき再現モジュールを生成する。よって本実施例の中継サーバ200によれば、不要な通信の再現を削減し、通信の再現にかかる時間を短くすることができる。   As described above, in this embodiment, it is determined whether or not a communication record for displaying a login screen is necessary when generating a reproduction module. In this embodiment, when the communication record for displaying the login screen is unnecessary, a reproduction module is generated based on the communication record excluding the communication record. Therefore, according to the relay server 200 of the present embodiment, unnecessary communication reproduction can be reduced, and the time required for communication reproduction can be shortened.

以下に図6を参照して本実施例の認証検出部230の処理を説明する。図6は、認証検出部による通信記録の検出を説明する図である。   The processing of the authentication detection unit 230 of this embodiment will be described below with reference to FIG. FIG. 6 is a diagram for explaining the detection of the communication record by the authentication detection unit.

本実施例の認証検出部230は、予め決められた所定パターンの通信記録を認証サーバ120を用いた認証の通信記録として検出する。以下に所定パターンについて説明する。   The authentication detection unit 230 according to the present embodiment detects a predetermined communication record of a predetermined pattern as an authentication communication record using the authentication server 120. The predetermined pattern will be described below.

図6には、通信記録61、通信記録62、通信記録63及び通信記録64が示されている。通信記録61〜64は、認証検出部230により検出された通信記録の例である。通信記録62は、通信記録61で示される通信の次に行われた通信の記録であり、通信記録63は、通信記録62で示される通信の次に行われた通信の記録であり、通信記録64は、通信記録63で示される通信の次に行われた通信の記録である。   FIG. 6 shows a communication record 61, a communication record 62, a communication record 63, and a communication record 64. Communication records 61 to 64 are examples of communication records detected by the authentication detection unit 230. The communication record 62 is a record of communication performed after the communication indicated by the communication record 61, and the communication record 63 is a record of communication performed subsequent to the communication indicated by the communication record 62. Reference numeral 64 denotes a record of communication performed after the communication indicated by the communication record 63.

通信記録61は、ウェブブラウザ110から送信されるリクエストデータ611と、ウェブブラウザ110に送信されるレスポンスデータ612とを含む。通信記録62は、リクエストデータ621とレスポンスデータ622とを含む。通信記録63は、リクエストデータ631とレスポンスデータ632とを含む。通信記録64は、リクエストデータ641とレスポンスデータ642とを含む。   The communication record 61 includes request data 611 transmitted from the web browser 110 and response data 612 transmitted to the web browser 110. The communication record 62 includes request data 621 and response data 622. The communication record 63 includes request data 631 and response data 632. The communication record 64 includes request data 641 and response data 642.

本実施例の認証検出部230は、以下の6つの条件を満たすパターンの通信記録を認証サーバ120を用いた認証の通信記録として検出する。   The authentication detection unit 230 according to the present exemplary embodiment detects a communication record having a pattern that satisfies the following six conditions as a communication record for authentication using the authentication server 120.

条件1.第1のリクエストデータと、第1のリクエストデータが含まれる第1の通信記録の次の通信の記録である第2の通信記録に含まれる第2のリクエストデータのそれぞれに含まれるドメイン名が異なる。   Condition 1. The domain name included in each of the first request data and the second request data included in the second communication record that is a record of the communication subsequent to the first communication record including the first request data is different. .

条件2.第1の通信記録に含まれる第1のレスポンスデータに第2のリクエストデータに含まれるURL(Uniform Resource Locator)が含まれる。   Condition 2. The first response data included in the first communication record includes a URL (Uniform Resource Locator) included in the second request data.

条件3.第2のリクエストデータと、第2の通信記録の次の通信の記録である第3の通信記録に含まれる第3のリクエストデータのそれぞれに含まれるドメイン名が同じである。   Condition 3. The domain name included in each of the second request data and each of the third request data included in the third communication record that is a record of the communication subsequent to the second communication record is the same.

条件4.第3のリクエストデータのパラメータ名が第2のレスポンスデータのHTML(HyperText Markup Language)に含まれる。   Condition 4. The parameter name of the third request data is included in HTML (HyperText Markup Language) of the second response data.

条件5.第3のリクエストデータと、第3の通信記録の次の通信の記録である第4の通信記録に含まれる第4のリクエストデータのそれぞれに含まれるドメイン名が異なる。   Condition 5. The domain name included in each of the third request data and the fourth request data included in the fourth communication record that is a record of the communication subsequent to the third communication record is different.

条件6.第3のレスポンスデータに第4のリクエストデータに含まれるURLが含まれる。   Condition 6. The third response data includes the URL included in the fourth request data.

以下に図6に示す通信記録61〜64を参照して具体的に上記条件について説明する。通信記録61のリクエストデータ611には、「sample.com」というドメイン名が含まれており、通信記録62のリクエストデータ621には「SSO.com」というドメイン名が含まれる。よって通信記録61と通信記録62は条件1を満たす。尚本実施例では、ウェブサーバ130のドメイン名を「sample.com」とし、認証サーバ120のドメイン名を「SSO.com」とした。   The above conditions will be specifically described below with reference to communication records 61 to 64 shown in FIG. The request data 611 of the communication record 61 includes a domain name “sample.com”, and the request data 621 of the communication record 62 includes a domain name “SSO.com”. Therefore, the communication record 61 and the communication record 62 satisfy the condition 1. In this embodiment, the domain name of the web server 130 is “sample.com”, and the domain name of the authentication server 120 is “SSO.com”.

通信記録61のレスポンスデータ612は、通信記録62のリクエストデータ621に含まれるURL「http://sample.com」を含む。よって通信記録61と通信記録62は条件2を満たす。   The response data 612 of the communication record 61 includes the URL “http://sample.com” included in the request data 621 of the communication record 62. Therefore, the communication record 61 and the communication record 62 satisfy the condition 2.

リクエストデータ621と通信記録63のリクエストデータ631には、それぞれに「SSO.com」というドメイン名が含まれている。よって通信記録62と通信記録63は条件3を満たす。   The request data 621 and the request data 631 of the communication record 63 each include a domain name “SSO.com”. Therefore, the communication record 62 and the communication record 63 satisfy the condition 3.

リクエストデータ622には、リクエストデータ631に含まれるパラメータ名「pw」が含まれる。よって通信記録62と通信記録63は条件4を満たす。   The request data 622 includes the parameter name “pw” included in the request data 631. Therefore, the communication record 62 and the communication record 63 satisfy the condition 4.

リクエストデータ631には「SSO.com」というドメイン名が含まれ、通信記録64のリクエストデータ641には「sample.com」というドメイン名が含まれる。よって通信記録63と通信記録64は条件5を満たす。   The request data 631 includes a domain name “SSO.com”, and the request data 641 of the communication record 64 includes a domain name “sample.com”. Therefore, the communication record 63 and the communication record 64 satisfy the condition 5.

レスポンスデータ632には、リクエストデータ641に含まれるURL「http://sample.com」が含まれる。よって通信記録63と通信記録64は条件6を満たす。   The response data 632 includes the URL “http://sample.com” included in the request data 641. Therefore, the communication record 63 and the communication record 64 satisfy the condition 6.

よって本実施例の認証検出部230は、通信記録61〜64を認証サーバ120を用いた認証の通信記録として検出する。   Therefore, the authentication detection unit 230 of this embodiment detects the communication records 61 to 64 as authentication communication records using the authentication server 120.

次に図7を参照して本実施例のリファラ追加部240によるリファラの追加について説明する。図7は、リファラ追加部によるリファラの追加を説明する図である。   Next, referring to FIG. 7 will be described with reference to the referrer adding unit 240 of the present embodiment. FIG. 7 is a diagram for explaining referrer addition by the referrer adding unit.

図7は、認証検出部230により検出された通信記録61〜64のうち、通信記録62、64に画面遷移の管理に用いられる情報としてリファラを付与された例を示している。   FIG. 7 shows an example in which a referrer is given to the communication records 62 and 64 among the communication records 61 to 64 detected by the authentication detection unit 230 as information used for managing screen transitions.

本実施例のリファラ追加部240は、認証検出部230により検出された第1〜第4の通信記録について、以下の処理を行う。   The referrer adding unit 240 according to the present embodiment performs the following process on the first to fourth communication records detected by the authentication detection unit 230.

処理1.第2の通信記録の第2のリクエストデータにおいて、リファラヘッダと、リファラヘッダの値となる第1の通信記録の第1のリクエストデータに含まれるURLと、を追加する。   Process 1. In the second request data of the second communication record, a referrer header and a URL included in the first request data of the first communication record serving as the value of the referrer header are added.

処理2.第4の通信記録の第4のリクエストデータにおいて、リファラヘッダと、リファラヘッダの値となる第3の通信記録の第3のリクエストデータに含まれるURLと、を追加する。   Process 2. In the fourth request data of the fourth communication record, a referrer header and a URL included in the third request data of the third communication record that becomes the value of the referrer header are added.

図7に示すリクエストデータ621Aは、リファラ71として、リファラヘッダにリクエストデータ611に含まれるURL「http://sample.com」が指定されている。また図7に示すリクエストデータ641Aは、リファラ72として、リファラヘッダにリクエストデータ631に含まれるURL「http://SSO.com/login」が指定されている。   In the request data 621 </ b> A shown in FIG. 7, the URL “http://sample.com” included in the request data 611 is specified in the referrer header as the referer 71. In the request data 641A shown in FIG. 7, the URL “http://SSO.com/login” included in the request data 631 is specified in the referrer header as the referrer 72.

すなわちリファラ71は、リクエストデータ621Aの送信元となるページを示しており、リファラ72は、リクエストデータ641Aの送信元となるページを示している。よって本実施例の中継サーバ200は、リクエストデータ621Aはウェブサーバ130において生成されたリクエストデータであり、リクエストデータ641Aは認証サーバ120において生成されたリクエストデータであることが判断できる。   That is, the referrer 71 indicates a page that is the transmission source of the request data 621A, and the referrer 72 indicates a page that is the transmission source of the request data 641A. Therefore, in the relay server 200 of this embodiment, it can be determined that the request data 621A is request data generated in the web server 130, and the request data 641A is request data generated in the authentication server 120.

本実施例では、このように認証サーバ120を用いた認証の通信記録にリファラを付与することで、中継サーバ200に通信記録がユーザの操作と無関係な通信の記録であるか否かを判断させることができる。また本実施例では、リファラを追加することにより、ウェブブラウザ110から自動転送されるリクエストデータがユーザの操作と無関係な通信と判断されて再現が省略されしまうことを防止できる。したがって本実施例では、通信の再現を省略する精度を向上させることができ、通信の再現を安定させ、且つ再現に係る時間を短縮することができる。   In this embodiment, the referrer is added to the communication record of authentication using the authentication server 120 in this way, so that the relay server 200 determines whether the communication record is a communication record unrelated to the user's operation. be able to. Further, in this embodiment, by adding a referrer, it is possible to prevent the request data automatically transferred from the web browser 110 from being determined as communication unrelated to the user operation and being reproduced. Therefore, in this embodiment, it is possible to improve the accuracy of omitting communication reproduction, to stabilize communication reproduction, and to shorten the time required for reproduction.

以下に図8を参照して本実施例の認証検出部230の処理を説明する。図8は、認証検出部の処理を説明するフローチャートである。図8では、通信記録の集合をRとし、所定のパターンを満たす通信記録の集合をSとし、通信記録の要素数をnとした。   Hereinafter, the processing of the authentication detection unit 230 of this embodiment will be described with reference to FIG. FIG. 8 is a flowchart for explaining processing of the authentication detection unit. In FIG. 8, the set of communication records is R, the set of communication records satisfying a predetermined pattern is S, and the number of elements of the communication record is n.

本実施例の認証検出部230は、通信記録データベース220から通信記録の集合Rを取得する(ステップS801)。続いて認証検出部230は、所定のパターンを満たす通信記録の数を4とする(ステップS802)。   The authentication detection unit 230 according to the present exemplary embodiment acquires a communication record set R from the communication record database 220 (step S801). Subsequently, the authentication detection unit 230 sets the number of communication records satisfying a predetermined pattern to 4 (step S802).

続いて認証検出部230は、変数iに0を代入する(ステップS803)。続いて認証検出部230は、通信記録の集合Rのうちi番目の通信記録を通信記録S[1]とする(ステップS804)。   Subsequently, the authentication detection unit 230 substitutes 0 for the variable i (step S803). Subsequently, the authentication detection unit 230 sets the i-th communication record in the communication record set R as the communication record S [1] (step S804).

次に認証検出部230は、変数jに0を代入する(ステップS805)。続いて認証検出部230は、通信記録の集合Rのうちj番目の通信記録を通信記録S[2]とする(ステップS806)。続いて認証検出部230は、通信記録S[1]と通信記録S[2]とが、上述した条件1及び条件2の両方を満たすか否かを判断する(ステップS807)。   Next, the authentication detection unit 230 substitutes 0 for the variable j (step S805). Subsequently, the authentication detection unit 230 sets the jth communication record in the communication record set R as the communication record S [2] (step S806). Subsequently, the authentication detection unit 230 determines whether or not the communication record S [1] and the communication record S [2] satisfy both the condition 1 and the condition 2 described above (step S807).

ステップS807において通信記録S[1],S[2]が条件1及び条件の両方を満たす場合、認証検出部230は、後述するステップS813へ進む。   If the communication records S [1] and S [2] satisfy both the condition 1 and the condition in step S807, the authentication detection unit 230 proceeds to step S813 described later.

ステップS807において通信記録S[1],S[2]が条件1及び条件2の両方を満たさない場合、認証検出部230は、変数jにj+1を代入する(ステップS808)。続いて認証検出部230は、jがn以上であるか否かを判断する(ステップS809)。   When the communication records S [1] and S [2] do not satisfy both the condition 1 and the condition 2 in step S807, the authentication detection unit 230 substitutes j + 1 for the variable j (step S808). Subsequently, the authentication detection unit 230 determines whether j is n or more (step S809).

ステップS809においてjがn以上でない場合、認証検出部230はステップS806の処理へ戻る。ステップS809において、jがn以上であった場合、認証検出部230はiにi+1を代入し(ステップS810)、iがn以上であるか否かを判断する(ステップS811)。   If j is not greater than or equal to n in step S809, the authentication detection unit 230 returns to the process of step S806. In step S809, if j is n or more, the authentication detection unit 230 substitutes i + 1 for i (step S810), and determines whether i is n or more (step S811).

ステップS811においてiがn以上である場合、認証検出部230は、全ての通信記録について所定のパターンを満たすか否かを判断する処理を実行したものとして、処理を終了する。   If i is greater than or equal to n in step S811, the authentication detection unit 230 ends the process assuming that the process of determining whether or not a predetermined pattern is satisfied for all communication records is performed.

ステップS811においてiがn以上でない場合、認証検出部230はステップS804の処理へ戻る。   If i is not greater than or equal to n in step S811, the authentication detection unit 230 returns to the process of step S804.

ステップS807において通信記録S[1],S[2]が条件1及び条件2の両方を満たす場合、認証検出部230は、変数kに0を代入する(ステップS812)。続いて認証検出部230は、通信記録の集合Rのうちk番目の通信記録を通信記録S[3]とする(ステップS813)。続いて認証検出部230は、通信記録S[2]と通信記録S[3]とが、上述した条件3及び条件4の両方を満たすか否かを判断する(ステップS814)。   When the communication records S [1] and S [2] satisfy both the condition 1 and the condition 2 in step S807, the authentication detection unit 230 substitutes 0 for the variable k (step S812). Subsequently, the authentication detection unit 230 sets the kth communication record in the communication record set R as the communication record S [3] (step S813). Subsequently, the authentication detection unit 230 determines whether or not the communication record S [2] and the communication record S [3] satisfy both the condition 3 and the condition 4 described above (step S814).

ステップS814において通信記録S[2],S[3]が条件3及び条件4の両方を満たす場合、認証検出部230は後述するステップS817へ進む。   If the communication records S [2] and S [3] satisfy both the condition 3 and the condition 4 in step S814, the authentication detection unit 230 proceeds to step S817 described later.

ステップS814において通信記録S[2],S[3]が条件3及び条件4の両方を満たさない場合、認証検出部230は、変数kにk+1を代入する(ステップS815)。続いて認証検出部230は、kがn以上であるか否かを判断する(ステップS816)。   When the communication records S [2] and S [3] do not satisfy both the condition 3 and the condition 4 in step S814, the authentication detection unit 230 substitutes k + 1 for the variable k (step S815). Subsequently, the authentication detection unit 230 determines whether k is n or more (step S816).

ステップS816においてkがn以上でない場合、認証検出部230は、ステップS813の処理へ戻る。ステップS816においてkがn以上である場合、認証検出部230はステップS808の処理へ進む。   If k is not greater than or equal to n in step S816, the authentication detection unit 230 returns to the process of step S813. If k is greater than or equal to n in step S816, the authentication detection unit 230 proceeds to the process of step S808.

ステップS814において通信記録S[2],S[3]が条件3及び条件4の両方を満たす場合、認証検出部230は、変数mに0を代入する(ステップS817)。続いて認証検出部230は、通信記録の集合Rのうちm番目の通信記録を通信記録S[4]とする(ステップS818)。続いて認証検出部230は、通信記録S[3]と通信記録S[4]とが、上述した条件5及び条件6の両方を満たすか否かを判断する(ステップS819)。   When the communication records S [2] and S [3] satisfy both the condition 3 and the condition 4 in step S814, the authentication detection unit 230 substitutes 0 for the variable m (step S817). Subsequently, the authentication detection unit 230 sets the mth communication record in the communication record set R as the communication record S [4] (step S818). Subsequently, the authentication detection unit 230 determines whether or not the communication record S [3] and the communication record S [4] satisfy both the condition 5 and the condition 6 described above (step S819).

ステップS819において、通信記録S[2],S[3]が条件3及び条件4の両方を満たす場合、認証検出部230は、通信記録S[1],S[2],S[3],S[4]を所定のパターンを満たす通信記録の集合Sとして出力する(ステップS820)。ステップS820で出力された通信記録の集合Sは、認証サーバ120を用いた認証の通信記録であり、リファラ追加部240によるリファラの追加対象となる通信記録である。   If the communication records S [2] and S [3] satisfy both the condition 3 and the condition 4 in step S819, the authentication detection unit 230 determines that the communication records S [1], S [2], S [3], S [4] is output as a set S of communication records satisfying a predetermined pattern (step S820). The set S of communication records output in step S820 is a communication record of authentication using the authentication server 120, and is a communication record to which a referrer adding unit 240 adds a referrer.

ステップS819において、通信記録S[2],S[3]が条件3及び条件4の両方を満たさない場合、認証検出部230は、変数mにm+1を代入する(ステップS821)。続いて認証検出部230は、mがn以上であるか否かを判断する(ステップS822)。ステップS822においてmがn以上でない場合、認証検出部230は、ステップS818の処理へ戻る。ステップS822においてkがn以上である場合、認証検出部230はステップS815の処理へ進む。   In step S819, when the communication records S [2] and S [3] do not satisfy both the condition 3 and the condition 4, the authentication detection unit 230 substitutes m + 1 for the variable m (step S821). Subsequently, the authentication detection unit 230 determines whether m is greater than or equal to n (step S822). If m is not greater than or equal to n in step S822, the authentication detection unit 230 returns to the process of step S818. If k is greater than or equal to n in step S822, the authentication detection unit 230 proceeds to the process of step S815.

次に図9を参照して本実施例のリファラ追加部240の処理を説明する。図9は、リファラ追加部の処理を説明するフローチャートである。   Next, the processing of the referrer adding unit 240 of this embodiment will be described with reference to FIG. FIG. 9 is a flowchart illustrating the processing of the referrer adding unit.

本実施例のリファラ追加部240は、認証検出部230により検出された通信記録の集合Sを取得する(ステップS91)。次にリファラ追加部240は、変数iに0を代入する(ステップS92)。続いてリファラ追加部240は、通信記録S[i+1]のリファラが存在するか否かを判断する(ステップS93)。   The referrer adding unit 240 of the present embodiment acquires a set S of communication records detected by the authentication detection unit 230 (step S91). Next, the referrer adding unit 240 assigns 0 to the variable i (step S92). Subsequently, the referrer adding unit 240 determines whether or not the referrer of the communication record S [i + 1] exists (step S93).

ステップS93においてリファラが存在しない場合、リファラ追加部240は、通信記録S[i+1]のリクエストデータのヘッダ部分に、「Referer:S[i]のURL」を追加し(ステップS94)、ステップS95へ進む。ステップS93においてリファラが存在する場合、リファラ追加部240は、変数iにi+1を代入する(ステップS95)。   When there is no referrer in step S93, the referrer adding unit 240 adds “Referer: URL of S [i]” to the header portion of the request data of the communication record S [i + 1] (step S94), and proceeds to step S95. move on. If the referrer exists in step S93, the referrer adding unit 240 substitutes i + 1 for the variable i (step S95).

続いてリファラ追加部240は、変数iが3以上であるか否かを判断する(ステップS96)。ステップS96においてiが3以上でない場合、リファラ追加部240は、ステップS93の処理へ戻る。ステップS96においてiが3以上である場合、リファラ追加部240は、認証検出部230により検出された通信記録の集合Sについて、リファラの追加処理を実行したとして、処理を終了する。   Subsequently, the referrer adding unit 240 determines whether or not the variable i is 3 or more (step S96). When i is not 3 or more in step S96, the referrer adding unit 240 returns to the process of step S93. If i is 3 or more at step S96, the referrer adding unit 240 terminates the process, assuming that the referrer adding process has been executed for the set S of communication records detected by the authentication detecting unit 230.

本実施例では、リファラが追加された通信記録の集合Sは、通信記録データベース220に再び格納される。   In this embodiment, the communication record set S to which the referrer is added is stored again in the communication record database 220.

以上のように本実施例の中継サーバ200は、認証サーバ120を用いた認証の通信記録を検出する。そして中継サーバ200は、検出されたリクエストデータに画面遷移の管理に用いられる情報(リファラ)が含まれていない場合、この通信記録のリクエストデータに、このリクエストデータの前のリクエストデータに含まれるURLを含むリファラを追加する。リファラの追加により、リクエストデータとレスポンスデータの複数の組間の関連性と連続性が判断できる。   As described above, the relay server 200 according to the present embodiment detects a communication record of authentication using the authentication server 120. When the detected request data does not include information (referrer) used for managing the screen transition, the relay server 200 includes the URL included in the request data before the request data in the request data of the communication record. Add a referrer that contains. By adding a referrer, the relevance and continuity between multiple sets of request data and response data can be determined.

尚認証検出部230による認証サーバ120を用いた認証の通信記録の検出方法は、本実施例に限定されない。例えば認証検出部230は、通信を記録中に、予め登録された認証サーバ120のドメインにアクセスしたとき、認証サーバ120を用いた認証の通信であると判断しても良い。また認証検出部230は、通信を記録中に、予め登録されたフォーマットのトークンで通信が行われた場合に認証サーバ120を用いた認証の通信であると判断しても良い。   Note that the method for detecting the communication record of authentication using the authentication server 120 by the authentication detection unit 230 is not limited to the present embodiment. For example, the authentication detection unit 230 may determine that the communication is authentication using the authentication server 120 when accessing a domain of the authentication server 120 registered in advance while recording the communication. The authentication detection unit 230 may determine that the communication is an authentication communication using the authentication server 120 when the communication is performed with a token having a pre-registered format while the communication is being recorded.

このような方法で認証サーバ120を用いた認証の通信記録を検出すれば、認証サーバ120を別のサーバにした場合や、認証のトークンのフォーマットが変わった場合でも、該当する通信記録を検出することができる。   If a communication record of authentication using the authentication server 120 is detected in this way, the corresponding communication record is detected even when the authentication server 120 is changed to another server or the format of the authentication token is changed. be able to.

本実施例のログイン画面検出部260は、認証検出部230とリファラ追加部240の処理が終了した後の通信記録データベース220に格納された通信記録からログイン画面表示に関する通信記録を検出する。通信記録に含まれるリファラやログイン処理特有のパラメータから、リクエストデータとレスポンスデータの複数の組が、一連のログイン処理に関するものである判断でき、前後関係からいずれの通信記録がログイン画面表示に関わるものであるかも判断できる。よって本実施例では、例えばシングルサインオン等の機能を用いてログインを行った場合にも、ユーザの操作と関係した通信と、ユーザの操作と無関係な通信とを高精度に判別することができ、通信の再現を省略する精度を向上させることができる。   The login screen detection unit 260 of the present embodiment detects a communication record related to the login screen display from the communication record stored in the communication record database 220 after the processing of the authentication detection unit 230 and the referrer addition unit 240 is completed. From the referrer included in the communication record and the parameters specific to the login process, it is possible to determine that multiple sets of request data and response data are related to a series of login processes. It can also be judged. Therefore, in this embodiment, for example, even when login is performed using a function such as single sign-on, it is possible to accurately determine communication related to the user's operation and communication unrelated to the user's operation. Therefore, the accuracy of omitting the reproduction of communication can be improved.

開示の技術では、以下に記載する付記のような形態が考えられる。
(付記1)
記憶部に格納された、ウェブサーバとウェブブラウザとの間の通信記録から、所定の認証に関する通信記録を検出する処理と、
前記認証に係る通信記録のうち、前記ウェブブラウザにおける画面遷移の管理に用いられる遷移情報を含まない通信記録に、前記遷移情報を含まない通信記録の前の通信記録が有するリンク情報を含む遷移情報を追加する処理と、をコンピュータに実行させる中継プログラム。
(付記2)
前記通信記録は、前記ウェブブラウザから前記ウェブサーバへ送信されるリクエストデータと、前記ウェブサーバから前記ウェブブラウザへ送信されるレスポンスデータの組みであって、
前記リンク情報は、
前記前の通信記録のリクエストデータに含まれる付記1記載の中継プログラム。
(付記3)
前記検出する処理は、
前記通信記録において、予め決められた所定条件を満たす通信記録を前記所定の認証に関する通信記録として検出する付記1又は2記載の中継プログラム。
(付記4)
前記所定条件は、
第1のリクエストデータと、第1のリクエストデータが含まれる第1の通信記録の次の通信の記録である第2の通信記録に含まれる第2のリクエストデータのそれぞれに含まれるドメイン名が異なること、と、
前記第1の通信記録に含まれる第1のレスポンスデータに、前記第2のリクエストデータに含まれるリンク情報が含まれること、と、
前記第2のリクエストデータと、前記第2の通信記録の次の通信の記録である第3の通信記録に含まれる第3のリクエストデータのそれぞれに含まれるドメイン名が同じであること、と、
前記第3のリクエストデータのパラメータ名が前記第2のレスポンスデータのHTMLに含まれること、と、
前記第3のリクエストデータと、前記第3の通信記録の次の通信の記録である第4の通信記録に含まれる第4のリクエストデータのそれぞれに含まれるドメイン名が異なること、と、
前記第3のレスポンスデータに前記第4のリクエストデータに含まれるリンク情報が含まれること、である付記3記載の中継プログラム。
(付記5)
前記記憶部に格納された前記通信記録を参照し、前記ウェブブラウザにおける所定の入力操作に係る通信記録を検出する処理と、
前記通信記録を用いて通信を再現する第一の再現部の実行結果と、前記検出部に検出された通信記録を除いた通信記録を用いて通信を再現する第二の再現部の実行結果とが一致するとき、前記第二の再現部を選択する処理と、を実行させる付記1乃至4の何れか一項に記載の中継プログラム。
(付記6)
コンピュータによる中継方法であって、該コンピュータが、
記憶部に格納された、ウェブサーバとウェブブラウザとの間の通信記録から、所定の認証に関する通信記録を検出し、
前記認証に係る通信記録のうち、前記ウェブブラウザにおける画面遷移の管理に用いられる遷移情報を含まない通信記録に、前記遷移情報を含まない通信記録の前の通信記録が有するリンク情報を含む遷移情報を追加する中継方法。
(付記7)
記憶部に格納された、ウェブサーバとウェブブラウザとの間の通信記録から、所定の認証に関する通信記録を検出する検出部と、
前記認証に係る通信記録のうち、前記ウェブブラウザにおける画面遷移の管理に用いられる遷移情報を含まない通信記録に、前記遷移情報を含まない通信記録の前の通信記録が有するリンク情報を含む遷移情報を追加する追加部と、を有する中継サーバ。
In the disclosed technology, forms such as the following supplementary notes are conceivable.
(Appendix 1)
A process of detecting a communication record related to predetermined authentication from a communication record stored in the storage unit between the web server and the web browser;
Among the communication records related to the authentication, the transition information including the link information included in the communication record before the communication record not including the transition information is included in the communication record not including the transition information used for managing the screen transition in the web browser. A relay program that causes a computer to execute the process of adding
(Appendix 2)
The communication record is a set of request data transmitted from the web browser to the web server and response data transmitted from the web server to the web browser,
The link information is
The relay program according to supplementary note 1 included in the request data of the previous communication record.
(Appendix 3)
The process to detect is
The relay program according to appendix 1 or 2, wherein in the communication record, a communication record that satisfies a predetermined condition is detected as a communication record related to the predetermined authentication.
(Appendix 4)
The predetermined condition is:
The domain name included in each of the first request data and the second request data included in the second communication record that is a record of the communication subsequent to the first communication record including the first request data is different. That,
The link information included in the second request data is included in the first response data included in the first communication record;
The domain name included in each of the second request data and the third request data included in a third communication record that is a record of communication subsequent to the second communication record; and
The parameter name of the third request data is included in the HTML of the second response data;
A domain name included in each of the third request data and each of the fourth request data included in a fourth communication record that is a record of communication subsequent to the third communication record;
The relay program according to supplementary note 3, wherein the third response data includes link information included in the fourth request data.
(Appendix 5)
A process of referring to the communication record stored in the storage unit and detecting a communication record related to a predetermined input operation in the web browser;
The execution result of the first reproduction unit that reproduces communication using the communication record, and the execution result of the second reproduction unit that reproduces communication using the communication record excluding the communication record detected by the detection unit; The relay program according to any one of appendices 1 to 4, which executes a process of selecting the second reproduction unit when the two match.
(Appendix 6)
A relay method by a computer, wherein the computer
From a communication record between the web server and the web browser stored in the storage unit, a communication record related to predetermined authentication is detected,
Among the communication records related to the authentication, the transition information including the link information included in the communication record before the communication record not including the transition information is included in the communication record not including the transition information used for managing the screen transition in the web browser. Relay method to add.
(Appendix 7)
A detection unit for detecting a communication record related to predetermined authentication from a communication record between the web server and the web browser stored in the storage unit;
Among the communication records related to the authentication, the transition information including the link information included in the communication record before the communication record not including the transition information is included in the communication record not including the transition information used for managing the screen transition in the web browser. And an addition unit for adding the relay server.

本発明は、具体的に開示された実施例に限定されるものではなく、特許請求の範囲から
逸脱することなく、種々の変形や変更が可能である。
The present invention is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.

100 ウェブ中継システム
120 認証サーバ
130 ウェブサーバ
200 中継サーバ
210 プロキシ部
220 通信記録データベース
230 認証検出部
240 リファラ追加部
DESCRIPTION OF SYMBOLS 100 Web relay system 120 Authentication server 130 Web server 200 Relay server 210 Proxy part 220 Communication recording database 230 Authentication detection part 240 Referrer addition part

Claims (5)

記憶部に格納された、ウェブサーバとウェブブラウザとの間の通信記録から、所定の認証に関する通信記録を検出する処理と、
前記認証に係る通信記録のうち、前記ウェブブラウザにおける画面遷移の管理に用いられる遷移情報を含まない通信記録に、前記遷移情報を含まない通信記録の前の通信記録が有するリンク情報を含む遷移情報を追加する処理と、をコンピュータに実行させる中継プログラム。
A process of detecting a communication record related to predetermined authentication from a communication record stored in the storage unit between the web server and the web browser;
Among the communication records related to the authentication, the transition information including the link information included in the communication record before the communication record not including the transition information is included in the communication record not including the transition information used for managing the screen transition in the web browser. A relay program that causes a computer to execute the process of adding
前記通信記録は、前記ウェブブラウザから前記ウェブサーバへ送信されるリクエストデータと、前記ウェブサーバから前記ウェブブラウザへ送信されるレスポンスデータの組みであって、
前記リンク情報は、
前記前の通信記録のリクエストデータに含まれる請求項1記載の中継プログラム。
The communication record is a set of request data transmitted from the web browser to the web server and response data transmitted from the web server to the web browser,
The link information is
The relay program according to claim 1, which is included in the request data of the previous communication record.
前記検出する処理は、
前記通信記録において、予め決められた所定条件を満たす通信記録を前記所定の認証に関する通信記録として検出する請求項1又は2記載の中継プログラム。
The process to detect is
The relay program according to claim 1 or 2, wherein in the communication record, a communication record satisfying a predetermined condition is detected as a communication record related to the predetermined authentication.
コンピュータによる中継方法であって、該コンピュータが、
記憶部に格納された、ウェブサーバとウェブブラウザとの間の通信記録から、所定の認証に関する通信記録を検出し、
前記認証に係る通信記録のうち、前記ウェブブラウザにおける画面遷移の管理に用いられる遷移情報を含まない通信記録に、前記遷移情報を含まない通信記録の前の通信記録が有するリンク情報を含む遷移情報を追加する中継方法。
A relay method by a computer, wherein the computer
From a communication record between the web server and the web browser stored in the storage unit, a communication record related to predetermined authentication is detected,
Among the communication records related to the authentication, the transition information including the link information included in the communication record before the communication record not including the transition information is included in the communication record not including the transition information used for managing the screen transition in the web browser. Relay method to add.
記憶部に格納された、ウェブサーバとウェブブラウザとの間の通信記録から、所定の認証に関する通信記録を検出する検出部と、
前記認証に係る通信記録のうち、前記ウェブブラウザにおける画面遷移の管理に用いられる遷移情報を含まない通信記録に、前記遷移情報を含まない通信記録の前の通信記録が有するリンク情報を含む遷移情報を追加する追加部と、を有する中継サーバ。
A detection unit for detecting a communication record related to predetermined authentication from a communication record between the web server and the web browser stored in the storage unit;
Among the communication records related to the authentication, the transition information including the link information included in the communication record before the communication record not including the transition information is included in the communication record not including the transition information used for managing the screen transition in the web browser. And an addition unit for adding the relay server.
JP2013189657A 2013-09-12 2013-09-12 Relay program, relay method, and relay server Expired - Fee Related JP6136793B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013189657A JP6136793B2 (en) 2013-09-12 2013-09-12 Relay program, relay method, and relay server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013189657A JP6136793B2 (en) 2013-09-12 2013-09-12 Relay program, relay method, and relay server

Publications (2)

Publication Number Publication Date
JP2015056056A true JP2015056056A (en) 2015-03-23
JP6136793B2 JP6136793B2 (en) 2017-05-31

Family

ID=52820408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013189657A Expired - Fee Related JP6136793B2 (en) 2013-09-12 2013-09-12 Relay program, relay method, and relay server

Country Status (1)

Country Link
JP (1) JP6136793B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2020245952A1 (en) * 2019-06-05 2020-12-10

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006107007A (en) * 2004-10-04 2006-04-20 Hitachi Ltd Authentication procedure analyzing device and method
JP2013178668A (en) * 2012-02-28 2013-09-09 Fujitsu Ltd Repeating device, information reproduction program and information reproduction method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006107007A (en) * 2004-10-04 2006-04-20 Hitachi Ltd Authentication procedure analyzing device and method
JP2013178668A (en) * 2012-02-28 2013-09-09 Fujitsu Ltd Repeating device, information reproduction program and information reproduction method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2020245952A1 (en) * 2019-06-05 2020-12-10
JP7264245B2 (en) 2019-06-05 2023-04-25 富士通株式会社 Log Acquisition Program, Log Acquisition Method, Information Processing Device

Also Published As

Publication number Publication date
JP6136793B2 (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US8621589B2 (en) Cross domain single sign on
US9979712B2 (en) Synchronizing authentication sessions between applications
JP6397456B2 (en) Account management for multiple network sites
US9692740B2 (en) Account management for network sites
JP6256116B2 (en) Communication terminal, secure login method, and program
CN105472052B (en) Cross-domain server login method and system
CN104426862B (en) Realize method, system and browser that cross-domain request logs in
CN104519050B (en) Login method and login system
US20090293108A1 (en) Method and System for User Management of Authentication Tokens
US8468360B2 (en) Client terminal, server, server-client system, cooperation processing method, program and recording medium
US9059987B1 (en) Methods and systems of using single sign-on for identification for a web server not integrated with an enterprise network
WO2014048749A1 (en) Inter-domain single sign-on
US8966593B2 (en) Delivering author specific content
CN104618412A (en) Page skipping method and device
CN109672658B (en) JSON hijacking vulnerability detection method, device, equipment and storage medium
US10614417B2 (en) System and method for electronic lead verification
CN102739678A (en) Single sign-on processing system and single sign-on processing method
US8763151B2 (en) Mediation processing method, mediation apparatus and system
JP5709448B2 (en) Access analysis device, access analysis method, and access analysis program
JP2008015733A (en) Log management computer
JP5845742B2 (en) Information processing apparatus, information processing method, and program
JP6136793B2 (en) Relay program, relay method, and relay server
JP2005267529A (en) Login authentication method, login authentication system, authentication program, communication program, and storage medium
JP6079267B2 (en) Relay server, relay program, and relay method
JP6041634B2 (en) Tamper detection device and tamper detection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160606

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170317

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170417

R150 Certificate of patent or registration of utility model

Ref document number: 6136793

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees