JP2011077708A - Relay server device and communication method - Google Patents

Relay server device and communication method Download PDF

Info

Publication number
JP2011077708A
JP2011077708A JP2009225368A JP2009225368A JP2011077708A JP 2011077708 A JP2011077708 A JP 2011077708A JP 2009225368 A JP2009225368 A JP 2009225368A JP 2009225368 A JP2009225368 A JP 2009225368A JP 2011077708 A JP2011077708 A JP 2011077708A
Authority
JP
Japan
Prior art keywords
client
server
relay server
login
session
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.)
Withdrawn
Application number
JP2009225368A
Other languages
Japanese (ja)
Inventor
Toshihiro Odaka
敏裕 小高
Akihiko Matsuo
昭彦 松尾
Tomohiro Otake
智裕 大嶽
Hiroshi Kuwabara
博 桑原
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 JP2009225368A priority Critical patent/JP2011077708A/en
Publication of JP2011077708A publication Critical patent/JP2011077708A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a load of a user at the time of realizing multi modal using a plurality of client terminals. <P>SOLUTION: A relay server device provided between a server and a plurality of clients has: a management portion associating a log-in ID input from each client with a session ID identifying each client to be held; a Web server portion relaying a request from a first client to the server and returning a response corresponding to the request received from the server to the first client; and a distribution portion transmitting the response to the second client when the log-in ID corresponding to the session ID identifying the second client held in the management portion is the same as the log-in ID corresponding to the session ID identifying the first client held in the management portion. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、マルチモーダルを提供するためのサーバ装置および通信方法に係わる。   The present invention relates to a server device and a communication method for providing multimodal.

近年、マルチモーダルシステムの提案または実用化が増えてきている。マルチモーダルシステムでは、ユーザは複数のクライアント端末を利用し、各端末において同一のまたは相異なるコミュニケーションモード(例えば、視覚、聴覚など)によってサーバシステムとのインタラクションが行われる。たとえば、ユーザは、複数のクライアント端末(例えば、電話機、TV受像機など)を利用してサーバとの間で通信を行う。   In recent years, proposals or practical applications of multimodal systems have increased. In a multimodal system, a user uses a plurality of client terminals, and each terminal interacts with the server system in the same or different communication mode (for example, visual, auditory, etc.). For example, a user communicates with a server using a plurality of client terminals (for example, a telephone, a TV receiver, etc.).

図1は、マルチモーダルを実現する技術の一例を示す図である。ここでは、ユーザが電話で商品(図1に示す例では、ピザ)を注文する際に、その商品の写真または注文内容をテレビ画面に表示するシステムについて説明する。   FIG. 1 is a diagram illustrating an example of a technique for realizing multimodal. Here, a system will be described in which when a user orders a product (pizza in the example shown in FIG. 1) by telephone, a picture of the product or the details of the order are displayed on a television screen.

ユーザは、電話機101およびテレビ受像機(以下、単に「テレビ」と呼ぶ。)102を操作可能である。電話機101およびテレビ102は、いずれもインターネットに接続されている。また、ピザ屋の注文サーバ103もインターネットに接続されている。   The user can operate the telephone set 101 and the television receiver (hereinafter simply referred to as “TV”) 102. Both the telephone 101 and the television 102 are connected to the Internet. A pizzeria order server 103 is also connected to the Internet.

ユーザは、ピザを注文する際、先ず、電話機101を利用してピザ屋に電話をかける。このとき、インターネットと連携可能なプロトコル(例えば、SIP(Session Initiation Protocol))が使用されるものとする。また、ユーザは、注文に際してピザの写真の画像を見たいときは、その旨を口頭でピザ屋の担当者に伝える。そうすると、ピザ屋の担当者は、注文サーバ103に指示を与えることにより、電話機101に画像送信先のIPアドレスを要求する。このとき、SIPを利用して要求メッセージが送信される。この要求に応じて、電話機101から注文サーバ103にテレビ102のIPアドレスが通知される。そして、注文サーバ103がテレビ102に画像データを送信すると、ピザの画像がテレビ102に表示される。   When ordering a pizza, the user first calls the pizzeria using the telephone 101. At this time, it is assumed that a protocol capable of cooperating with the Internet (for example, SIP (Session Initiation Protocol)) is used. In addition, when the user wants to see an image of a pizza photo when placing an order, he or she informs the person in charge of the pizza shop verbally. Then, the person in charge at the pizzeria requests the IP address of the image transmission destination from the telephone set 101 by giving an instruction to the order server 103. At this time, a request message is transmitted using SIP. In response to this request, the telephone 101 notifies the order server 103 of the IP address of the television 102. When the order server 103 transmits image data to the television 102, a pizza image is displayed on the television 102.

ただし、この方式では、テレビ102がグローバルIPアドレスを有している必要がある。このため、例えば、クライアント側にNAT(Network Address Translation)等が設けられており、テレビ102にローカルアドレスが割り当てられている場合には、注文サーバ103からテレビ102へ画像データを送信することはできない。   However, this method requires the television 102 to have a global IP address. For this reason, for example, when NAT (Network Address Translation) is provided on the client side and a local address is assigned to the television 102, image data cannot be transmitted from the order server 103 to the television 102. .

図2は、マルチモーダルを実現する他の技術を示す図である。このシステムでは、第1の端末(電話機101)から第2の端末(テレビ102)へ、SIPを利用してサーバの場所が通知される。すなわち、注文サーバ103は、画像にアクセスするためのURLを電話機101に通知する。そうすると、電話機101は、SIPを利用して、このURLをテレビ102に通知する。そして、テレビ102は、HTTPを利用してこのURLに接続して画像を取得する。この結果、要求した画像がテレビ102に表示される。   FIG. 2 is a diagram illustrating another technique for realizing multimodal. In this system, the location of the server is notified from the first terminal (telephone 101) to the second terminal (television 102) using SIP. That is, the order server 103 notifies the telephone 101 of a URL for accessing the image. Then, the telephone set 101 notifies the TV 102 of this URL using SIP. Then, the television 102 acquires an image by connecting to this URL using HTTP. As a result, the requested image is displayed on the television 102.

この方式によれば、テレビ102に対してグローバルIPアドレスが割り当てられていなくても、要求した画像がテレビ102に表示されが、以下の課題がある。すなわち、この方式では、テレビ102がSIP等の非同期通信をサポートする必要がある。しかし、既に出荷されているテレビの多くはSIPをサポートしていない。また、この方式は、電話機101にテレビ102のIPアドレスを予め設定または登録しておく必要があるが、多くのユーザにとってこの設定/登録作業は必ずしも簡単ではない。   According to this method, even if a global IP address is not assigned to the television 102, the requested image is displayed on the television 102, but there are the following problems. That is, in this system, the television 102 needs to support asynchronous communication such as SIP. However, many televisions already shipped do not support SIP. In this method, the IP address of the television 102 needs to be set or registered in advance in the telephone 101, but this setting / registration work is not always easy for many users.

なお、関連する技術として、セキュリティを確保する電子ショッピングシステムが提案されている。このシステムは、複数のユーザ端末をグルーピングして共通の表示画面を表示させ、ネットショッピングサイトとの間を仲介するプロキシサーバと、ネットショッピングサイトへのログイン時および決済時にグループのメンバを個別に認証する認証サーバとを有する。認証サーバは、さらに、グループのメンバを個別に認証し、正常に認証されたメンバに所定の認証完了情報をそれぞれ付与する。プロキシサーバはグループの各メンバの認証完了情報を用いて、ネットショッピングサイトとの間を仲介し、ネットショッピングサーバにおいて各メンバを識別可能する。   As a related technique, an electronic shopping system that secures security has been proposed. This system groups multiple user terminals, displays a common display screen, and authenticates group members individually when logging in and making payments to the online shopping site, and a proxy server that mediates between the online shopping site An authentication server. The authentication server further authenticates the members of the group individually, and assigns predetermined authentication completion information to the members who are normally authenticated. The proxy server uses the authentication completion information of each member of the group to mediate with the online shopping site, and can identify each member in the online shopping server.

特開2006−171829号公報JP 2006-171829 A

上述したマルチモーダルシステムでは、クライアント端末が特殊なソフトウェアまたはプロトコルを実装している必要がある。すなわち、ユーザは、マルチモーダルを実現するためには、特殊なソフトウェアまたはプロトコルを実装しているクライアント端末を用意する必要がある。或いは、ユーザは、クライアント端末において様々な設定/登録を行う必要がある。   In the above-described multimodal system, the client terminal needs to have special software or protocol installed. That is, the user needs to prepare a client terminal in which special software or protocol is implemented in order to realize multimodal. Alternatively, the user needs to perform various settings / registrations at the client terminal.

本発明の課題は、複数のクライアント端末を使用するマルチモーダルを実現する際のユーザの負担を小さくすることである。   An object of the present invention is to reduce a burden on a user when realizing multimodal using a plurality of client terminals.

本発明の1つの態様の中継サーバ装置は、サーバと複数のクライアントとの間に設けられ、各クライアントから入力されるログインIDと各クライアントを識別するセッションIDとを対応づけて保持する管理部と、第1のクライアントからのリクエストを前記サーバに中継すると共に、前記サーバから受信した前記リクエストに対応するレスポンスを、前記第1のクライアントに返送するWebサーバ部と、前記管理部に保持された第2のクライアントを識別するセッションIDに対応するログインIDが、前記管理部に保持された前記第1のクライアントを識別するセッションIDに対応するログインIDと同じであったときに、前記レスポンスを、前記第2のクライアントに送信する配信部、を有する。   A relay server device according to one aspect of the present invention is provided between a server and a plurality of clients, and includes a management unit that holds a login ID input from each client and a session ID that identifies each client in association with each other. Relaying a request from the first client to the server, and returning a response corresponding to the request received from the server to the first client; and a second server held in the management unit When the login ID corresponding to the session ID for identifying the second client is the same as the login ID corresponding to the session ID for identifying the first client held in the management unit, the response is A distribution unit for transmitting to the second client;

本出願において開示される構成または方法によれば、複数のクライアント端末を使用するマルチモーダルを実現する際のユーザの負担が小さくなる。   According to the configuration or method disclosed in the present application, the burden on the user when realizing multimodal using a plurality of client terminals is reduced.

マルチモーダルを実現する技術の一例を示す図である。It is a figure which shows an example of the technique which implement | achieves multimodal. マルチモーダルを実現する他の技術を示す図である。It is a figure which shows the other technique which implement | achieves multimodal. 中継サーバを利用してマルチモーダルを実現する方法を説明する図である。It is a figure explaining the method of implement | achieving multimodal using a relay server. 実施形態のマルチモーダルシステムの構成を示す図である。It is a figure which shows the structure of the multimodal system of embodiment. ポータル画面の一例を示す図である。It is a figure which shows an example of a portal screen. 第1の実施形態においてマルチモーダルを実現する方法のフローチャートである。It is a flowchart of the method of implement | achieving multimodal in 1st Embodiment. ログインIDおよびセッションIDを管理するテーブルの実施例である。It is an Example of the table which manages login ID and session ID. 管理テーブルの他の実施例である。It is another Example of a management table. 第2の実施形態においてマルチモーダルを実現する方法のフローチャート(その1)である。It is a flowchart (the 1) of the method of implement | achieving multimodal in 2nd Embodiment. 第2の実施形態においてマルチモーダルを実現する方法のフローチャート(その2)である。It is a flowchart (the 2) of the method of implement | achieving multimodal in 2nd Embodiment. HTMLドキュメントにスクリプトを注入する方法を説明する図である。It is a figure explaining the method to inject | pour a script into an HTML document. イベント発行スクリプトの実施例である。It is an Example of an event issue script. イベント受信スクリプトの実施例である。It is an Example of an event reception script. 各クライアント端末に実装されたガジェットの表示例である。It is an example of a display of the gadget implemented in each client terminal. 中継サーバのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a relay server.

図3は、中継サーバを利用してマルチモーダルを実現する方法を説明する図である。図3において、電話機1およびテレビ受像機(以下、単に「テレビ」と呼ぶ。)2は、ユーザが使用するクライアント端末である。ここでは、電話機1およびテレビ2には、それぞれブラウザが実装されているものとする。また、以下の例では、ユーザは、電話機1およびテレビ2を利用してピザを注文するものとする。注文サーバ3は、クライアントからの注文に応じて対応する処理を実行し、サービスを提供する。中継サーバ4は、クライアント(電話機1およびテレビ2)とサーバ(注文サーバ3)との間に設けられ、ポータルサーバとして動作する。そして、図3に示すシステムでは、以下の手順によりマルチモーダルが実現される。   FIG. 3 is a diagram for explaining a method of realizing multimodal using a relay server. In FIG. 3, a telephone 1 and a television receiver (hereinafter simply referred to as “TV”) 2 are client terminals used by a user. Here, it is assumed that the telephone 1 and the television 2 are each equipped with a browser. In the following example, it is assumed that the user orders a pizza using the telephone 1 and the television 2. The order server 3 executes a process corresponding to the order from the client and provides a service. The relay server 4 is provided between the client (telephone 1 and television 2) and the server (order server 3), and operates as a portal server. In the system shown in FIG. 3, multimodal is realized by the following procedure.

(1)ユーザは、電話機1のブラウザを利用してログインIDを入力することにより、中継サーバ4にログインする。   (1) The user logs in to the relay server 4 by inputting a login ID using the browser of the telephone 1.

(2)ユーザは、テレビ2のブラウザを利用してログインIDを入力することにより、中継サーバ4にログインする。なお、ユーザは、電話機1およびテレビ2を利用して同じログインIDを入力するものとする。また、各クライアント端末を利用して入力されたログインIDは、管理テーブルにより管理される。   (2) The user logs in to the relay server 4 by inputting a login ID using the browser of the television 2. The user inputs the same login ID using the telephone 1 and the television 2. The login ID input using each client terminal is managed by a management table.

(3)電話機1と注文サーバ3との間で、SIPを利用して、音声通話のためのコネクションが設定される。ユーザは、このコネクションを利用して、例えば口頭で、ピザの画像を要求する。   (3) A connection for voice call is set up between the telephone 1 and the order server 3 using SIP. Using this connection, the user requests a pizza image, for example, verbally.

(4)注文サーバ3から電話機1へ、ピザの画像を提供するガジェット(以下、ピザ画像ガジェット)のURL(Uniform Resource Locator)が通知される。なお、ガジェットは、特に限定されるものではないが、クライアント端末に配布されるアプリケーションプログラムであり、ウィジェットと呼ばれることもある。また、ガジェットは、Web上で実行されるプログラム部品を含んでもよい。さらに、ガジェットは、例えば、クライアント端末のDesktopに配置される。   (4) The order server 3 notifies the telephone 1 of a URL (Uniform Resource Locator) of a gadget that provides a pizza image (hereinafter, “pizza image gadget”). The gadget is not particularly limited, but is an application program distributed to the client terminal, and may be called a widget. The gadget may include a program component that is executed on the Web. Furthermore, the gadget is arranged, for example, on the desktop of the client terminal.

(5)電話機1のブラウザは、通知されたURLにアクセスし、ピザ画像ガジェットを取得する。このとき、電話機1と注文サーバ3との間の通信は、中継サーバ4を介して行われる。   (5) The browser of the telephone 1 accesses the notified URL and acquires the pizza image gadget. At this time, communication between the telephone 1 and the order server 3 is performed via the relay server 4.

(6)電話機1のブラウザには、ピザ画像ガジェットにより、ピザ注文ページが表示される。   (6) A pizza order page is displayed on the browser of the telephone 1 by the pizza image gadget.

(7)中継サーバ4は、上述した管理テーブルを参照し、電話機1を利用して入力されたログインIDと同じログインIDが登録されているかチェックする。この例では、電話機1およびテレビ2を利用して同じログインIDが入力されている。この場合、中継サーバ4は、テレビ2に対して、非同期で、ピザ画像ガジェットのURLを通知する。   (7) The relay server 4 refers to the management table described above and checks whether the same login ID as the login ID input using the telephone 1 is registered. In this example, the same login ID is input using the telephone 1 and the television 2. In this case, the relay server 4 asynchronously notifies the TV 2 of the URL of the pizza image gadget.

(8)テレビ2のブラウザは、通知されたURLにアクセスし、ピザ画像ガジェットを取得する。このとき、テレビ2と注文サーバ3との間の通信は、中継サーバ4を介して行われる。   (8) The browser of the television 2 accesses the notified URL and acquires the pizza image gadget. At this time, communication between the television 2 and the order server 3 is performed via the relay server 4.

(9)テレビ2のブラウザには、ピザ画像ガジェットにより、ピザ注文ページが表示される。このとき、テレビ2のブラウザには、電話機1とは異なる内容が表示されるようにしてもよい。例えば、テレビ2のブラウザには、より大きなピザ画像またはより詳細な注文情報が表示される。この後、ユーザは、テレビ2のブラウザに表示されるピザ画像を見ながら、所望のピザを注文することができる。   (9) A pizza order page is displayed on the browser of the television 2 by the pizza image gadget. At this time, content different from the telephone 1 may be displayed on the browser of the television 2. For example, a larger pizza image or more detailed order information is displayed on the browser of the television 2. Thereafter, the user can order a desired pizza while viewing the pizza image displayed on the browser of the television 2.

このように、図3に示す方式では、電話機1およびテレビ2を利用して入力されるログインIDが互いに同じであれば、中継サーバ4は、電話機1にピザ画像ガジェットを送信する際に、そのピザ画像ガジェットのURLをテレビ2に通知する。したがって、テレビ2のブラウザにも、ピザ画像ガジェットにより、ピザの画像が表示される。この方式によれば、電話機1とテレビ2との間で直接的な通信は行われない。   As described above, in the method shown in FIG. 3, if the login IDs input using the telephone 1 and the television 2 are the same, the relay server 4 transmits the pizza image gadget to the telephone 1. The TV 2 is notified of the URL of the pizza image gadget. Therefore, the pizza image is displayed on the browser of the television 2 by the pizza image gadget. According to this method, direct communication is not performed between the telephone 1 and the television 2.

<第1の実施形態>
図4は、実施形態のマルチモーダルシステムの構成を示す図である。なお、図4に示すシステム構成は、基本的に、第1の実施形態および後述する第2の実施形態において共通である。以下、ユーザが電話機1およびテレビ2を利用して商品(ここでは、ピザ)を注文するものとする。
<First Embodiment>
FIG. 4 is a diagram illustrating a configuration of the multimodal system according to the embodiment. The system configuration shown in FIG. 4 is basically common to the first embodiment and the second embodiment described later. Hereinafter, it is assumed that a user orders a product (here, pizza) using the telephone 1 and the television 2.

電話機1およびテレビ2は、ユーザが使用するクライアント端末である。また、電話機1およびテレビ2は、それぞれインターネットに接続されている。なお、電話機1およびテレビ2は、インターネットに直接的に接続されてもよいし、NAT等を介してインターネットに接続されてもよい。   The telephone 1 and the television 2 are client terminals used by the user. The telephone 1 and the television 2 are each connected to the Internet. Note that the telephone 1 and the television 2 may be directly connected to the Internet, or may be connected to the Internet via NAT or the like.

電話機1は、例えば、移動端末または携帯電話機であり、HTTP通信でインターネット上のページを閲覧するブラウザ11が実装されている。また、電話機1は、通話部12および受信部13を備えている。通話部12は、SIPで発呼および着呼を行う機能を備え、音声通話のためのコネクションを終端する。受信部13は、SIPを利用する非同期通信のパケットを受信する。   The telephone 1 is, for example, a mobile terminal or a mobile phone, and a browser 11 that browses pages on the Internet by HTTP communication is installed. Further, the telephone 1 includes a call unit 12 and a reception unit 13. The call unit 12 has a function of making and receiving calls by SIP, and terminates a connection for a voice call. The receiving unit 13 receives an asynchronous communication packet using SIP.

テレビ2は、インターネットに接続された受像機である。また、テレビ2には、HTTP通信でインターネット上のページを閲覧するブラウザ21が実装されている。
注文サーバ3は、インターネットに接続され、クライアントからの注文に応じて対応する処理を実行し、サービスを提供する。注文サーバ3は、SIPサーバ部を備え、SIPを利用したリクエストを、未使用状態のコールセンター端末5に転送する。なお、コールセンター端末5は、注文サーバ3に接続され、オペレータにより入力される指示に応じてクライアント端末との間の送受信を制御する機能を備えている。また、注文サーバ3は、Webサーバ部を備え、HTTPリクエストを受け付けて、対応するレスポンスを返送する。さらに、注文サーバ3が備えるメモリには、ピザ画像ガジェット31が格納されている。そして、注文サーバ3は、クライアントからの要求に応じて、ピザ画像ガジェット31を配信する。
The television 2 is a receiver connected to the Internet. The television 2 is also equipped with a browser 21 for browsing pages on the Internet by HTTP communication.
The order server 3 is connected to the Internet, executes a corresponding process in accordance with an order from a client, and provides a service. The order server 3 includes a SIP server unit, and transfers a request using SIP to the call center terminal 5 in an unused state. The call center terminal 5 is connected to the order server 3 and has a function of controlling transmission / reception with the client terminal in accordance with an instruction input by the operator. The order server 3 includes a Web server unit, receives an HTTP request, and returns a corresponding response. Further, the pizza image gadget 31 is stored in the memory provided in the order server 3. And the order server 3 delivers the pizza image gadget 31 according to the request | requirement from a client.

中継サーバ4は、クライアント(電話機1およびテレビ2)とサーバ(注文サーバ3)との間に設けられ、この例では、電話機1およびテレビ2のポータルサーバとして動作する。なお、中継サーバ4も、NAT等を介してインターネットに接続されてもよい。この場合、電話機1、テレビ2、中継サーバ4が、NATによるプライベートネットワーク内に配置されるようにしてもよい。   The relay server 4 is provided between the client (telephone 1 and television 2) and the server (order server 3), and operates as a portal server for the telephone 1 and television 2 in this example. Note that the relay server 4 may also be connected to the Internet via NAT or the like. In this case, the telephone 1, the television 2, and the relay server 4 may be arranged in a NAT private network.

中継サーバ4は、Webサーバ部41、配信部42、管理部43、スクリプト注入部44を備える。Webサーバ部41は、HTTPリクエストを受け付け、必要に応じてそのリクエストに対応するコンテンツを取得する。この例では、Webサーバ部41は、HTTPリクエストに対応するガジェット(ピザ画像ガジェット31)を取得する。配信部42は、Webサーバ部41が取得したコンテンツをクライアントに送信する。管理部43は、中継サーバ4にアクセスするクライアントのセッションを管理する。スクリプト注入部44は、Webサーバ部41または配信部42によりクライアントに配信されるコンテンツに、1または複数の予め用意してあるスクリプトを注入する。このスクリプトは、コンテンツを受信したクライアント端末において実行される。なお、スクリプト注入部44は、第2の実施形態において使用される。   The relay server 4 includes a Web server unit 41, a distribution unit 42, a management unit 43, and a script injection unit 44. The Web server unit 41 receives an HTTP request and acquires content corresponding to the request as necessary. In this example, the Web server unit 41 acquires a gadget (pizza image gadget 31) corresponding to the HTTP request. The distribution unit 42 transmits the content acquired by the Web server unit 41 to the client. The management unit 43 manages a session of a client that accesses the relay server 4. The script injection unit 44 injects one or a plurality of scripts prepared in advance into the content distributed to the client by the Web server unit 41 or the distribution unit 42. This script is executed in the client terminal that has received the content. The script injection unit 44 is used in the second embodiment.

上記構成のシステムにおいて、電話機1のブラウザ11およびテレビ2のブラウザ21には、ピザ画像ガジェット31が配信される。そうすると、ピザ画像ガジェット31は、ブラウザ11、21のポータル画面内に配置される。   In the system configured as described above, the pizza image gadget 31 is distributed to the browser 11 of the telephone 1 and the browser 21 of the television 2. Then, the pizza image gadget 31 is arranged in the portal screen of the browsers 11 and 21.

図5は、ポータル画面の一例を示す図である。ポータル画面は、1つのWebページである。そして、インターネット上のサーバから取得したガジェットは、通常、このポータル画面内に配置される。図4に示す例では、ブラウザ11、21によりそれぞれポータル画面が表示され、各ポータル画面内にピザ画像ガジェット31が配置される。なお、ポータル画面内には、複数のガジェットを配置することができる。図5では、ポータル画面内に3つのガジェットが配置されている。   FIG. 5 is a diagram illustrating an example of a portal screen. The portal screen is one web page. A gadget acquired from a server on the Internet is usually placed in this portal screen. In the example shown in FIG. 4, portal screens are displayed by the browsers 11 and 21, respectively, and a pizza image gadget 31 is arranged in each portal screen. A plurality of gadgets can be arranged in the portal screen. In FIG. 5, three gadgets are arranged in the portal screen.

図6は、第1の実施形態においてマルチモーダルを実現する方法を示すフローチャート図である。
ステップS1〜S2において、ユーザは、通信を始める前に、マルチモーダルを実現したい全てのクライアント端末(この例では、電話機1およびテレビ2)の各ブラウザ11、21を利用して、同一のログインIDで中継サーバ(Webポータルサーバ)4にログインする。ブラウザ11を利用するログインが先に行われてもよいし、ブラウザ21を利用するログインが先に行われてもよい。このとき、ユーザは、例えば、キーパッドまたはリモコン入力装置等を操作することにより、各ブラウザ11、21において、中継サーバ4を指示するURLを入力する。或いは、予め登録されている中継サーバ4のURLが選択されるようにしてもよい。これにより、各ブラウザ11、21から中継サーバ4へ、ログインのためのHTTPリクエストが送信される。
FIG. 6 is a flowchart showing a method for realizing multimodal in the first embodiment.
In steps S1 to S2, before starting communication, the user uses the browsers 11 and 21 of all client terminals (in this example, the telephone 1 and the television 2) that want to realize multimodal, and uses the same login ID. To log in to the relay server (Web portal server) 4. Login using the browser 11 may be performed first, or login using the browser 21 may be performed first. At this time, for example, the user inputs a URL indicating the relay server 4 in each of the browsers 11 and 21 by operating a keypad or a remote control input device. Alternatively, the URL of the relay server 4 registered in advance may be selected. Thereby, an HTTP request for login is transmitted from each browser 11, 21 to the relay server 4.

ユーザは、クライアント端末が備える入力デバイスを利用してログインIDを入力することができる。また、クライアント端末が、先に入力されたログインIDを保存する機能を備えている場合には、先に入力されたログインIDを読み出して使用するようにしてもよい。   The user can input the login ID using an input device provided in the client terminal. In addition, when the client terminal has a function of saving the login ID input earlier, the login ID input earlier may be read out and used.

中継サーバ4は、パスワード入力等の方法でユーザ認証を行い、ユーザのログインIDを特定する。また、中継サーバ4は、受信したリクエストに対応するHTTPレスポンスとして、ブラウザ11、21にポータル画面を返送する。ポータル画面は、例えば、図5を参照しながら説明したように、1つのページ内に1または複数のガジェットを配置することができる。このとき、中継サーバ4からブラウザ11、21へ、非同期通信を仮想的に実現するポータルアプリケーションがHTTPを利用してダウンロードされるようにしてもよい。この場合、このポータルアプリケーションは、例えば、ブラウザ11、21上のポータル画面内に配置される。また、このポータルアプリケーションは、ブラウザ内で実行可能なプログラム(例えば、JavaScript等)である。   The relay server 4 performs user authentication by a method such as password input, and identifies the login ID of the user. Further, the relay server 4 returns the portal screen to the browsers 11 and 21 as an HTTP response corresponding to the received request. In the portal screen, for example, as described with reference to FIG. 5, one or a plurality of gadgets can be arranged in one page. At this time, a portal application that virtually realizes asynchronous communication may be downloaded from the relay server 4 to the browsers 11 and 21 using HTTP. In this case, this portal application is arranged in a portal screen on the browsers 11 and 21, for example. The portal application is a program (for example, JavaScript) that can be executed in the browser.

中継サーバ4とブラウザ11、21との間で行われる非同期通信は、例えば、Cometである。この場合、ブラウザ11、21は、JavaScriptのXMLHttpRequest等の命令を使用して、中継サーバ4との間にHTTPのコネクションを設定し、HTTPレスポンスが返送されてくるのを待機する。また、中継サーバ4は、クッキー等を利用して、各クライアントのブラウザを一意に特定するためのセッションIDを生成する。これにより、ログインが成功した後は、ブラウザ11、21から発生するリクエストに対してセッションIDが付与され、中継サーバ4は、そのセッションIDを利用して、ブラウザ11、21へガジェット等を送信することが可能になる。   Asynchronous communication performed between the relay server 4 and the browsers 11 and 21 is, for example, Comet. In this case, the browsers 11 and 21 set an HTTP connection with the relay server 4 using a command such as JavaScript's XMLHttpRequest, and wait for an HTTP response to be returned. Further, the relay server 4 generates a session ID for uniquely identifying each client browser by using a cookie or the like. Thereby, after the login is successful, a session ID is given to the request generated from the browsers 11 and 21, and the relay server 4 transmits a gadget or the like to the browsers 11 and 21 using the session ID. It becomes possible.

ログインに成功すると、中継サーバ4の管理部43は、ログインIDおよびセッションIDを互いに関連づけて管理する。ログインIDおよびセッションIDは、例えば図7に示すように、テーブル形式で管理される。ここで、図7に示す管理テーブルの1行目は、電話機1のブラウザ11を利用してログインID「user001」でログインが行われ、その際にセッションIDとして「ab93jdh4sb」が生成された状態を表している。また、管理テーブルの2行目は、テレビ2のブラウザ21を利用してログインID「user001」でログインが行われ、その際にセッションIDとして「dk4jdsnskk」が生成された状態を表している。すなわち、図7に示す例では、ユーザは、ブラウザ11、21を利用して同じログインIDでログインを行っている。なお、管理部43が管理する情報は、例えば、当該セッションのログアウト時、または当該セッションの通信が一定時間行われなかったときに削除される。   If the login is successful, the management unit 43 of the relay server 4 manages the login ID and the session ID in association with each other. The login ID and session ID are managed in a table format as shown in FIG. 7, for example. Here, the first line of the management table shown in FIG. 7 shows a state in which login is performed with the login ID “user001” using the browser 11 of the telephone 1, and “ab93jdh4sb” is generated as the session ID at that time. Represents. The second row of the management table represents a state where login is performed with the login ID “user001” using the browser 21 of the television 2 and “dk4jdsnskk” is generated as the session ID at that time. That is, in the example illustrated in FIG. 7, the user logs in with the same login ID using the browsers 11 and 21. The information managed by the management unit 43 is deleted, for example, when the session is logged out or when communication for the session is not performed for a certain period of time.

ステップS3において、ユーザは、電話機1を利用してピザ屋のコールセンターに電話をかける。このとき、電話機1の通話部12から注文サーバ3に対して発呼が行われる。そうすると、ステップS4において、注文サーバ3は、電話機1からの呼を、未使用状態のコールセンター端末5に転送する。このとき、コールセンター端末5のオペレータ(すなわち、ピザ屋の担当者)が着信した呼を受け付けるものとする。これにより、ユーザとコールセンターの担当者との間の通話が確立され、注文が可能になる。   In step S <b> 3, the user uses the telephone 1 to call a pizzeria call center. At this time, a call is made from the call unit 12 of the telephone 1 to the order server 3. Then, in step S4, the order server 3 transfers the call from the telephone 1 to the call center terminal 5 in an unused state. At this time, an operator of the call center terminal 5 (that is, a person in charge at a pizzeria) accepts an incoming call. As a result, a call between the user and the person in charge at the call center is established, and an order can be made.

ユーザは、商品(ここでは、ピザ)の写真を見たいときは、例えば、コールセンターの担当者にその旨を伝える。そうすると、担当者は、ステップS5において、コールセンター端末5を操作して電話機1への画像送信を指示する。このとき、画像送信指示は、注文サーバ3に与えられる。   When a user wants to see a photograph of a product (here, pizza), he / she notifies the person in charge of the call center, for example. Then, the person in charge instructs the image transmission to the telephone 1 by operating the call center terminal 5 in step S5. At this time, an image transmission instruction is given to the order server 3.

ステップS6において、注文サーバ3は、上述の画像送信指示を受け取ると、SIPメッセージを利用して電話機1に対して画像を表示するためのURLを通知する。このURLは、例えば、図4に示すピザ画像ガジェット31の格納場所を表す。   In step S6, when the order server 3 receives the above-described image transmission instruction, the order server 3 notifies the telephone 1 of a URL for displaying an image using the SIP message. This URL represents the storage location of the pizza image gadget 31 shown in FIG. 4, for example.

ステップS7において、電話機1の受信部13は、注文サーバ3から送信されたSIPメッセージを受信する。そして、受信部13は、受信したSIPメッセージに含まれているURLをブラウザ11に通知する。すなわち、ブラウザ11は、ピザ画像ガジェット31のURLを取得する。このとき、ブラウザ11には、ポータル画面が表示されており、また、中継サーバ4から受信した非同期通信のためのポータルアプリケーションが実装されているものとする。   In step S <b> 7, the receiving unit 13 of the telephone 1 receives the SIP message transmitted from the order server 3. Then, the reception unit 13 notifies the browser 11 of the URL included in the received SIP message. That is, the browser 11 acquires the URL of the pizza image gadget 31. At this time, a portal screen is displayed on the browser 11 and a portal application for asynchronous communication received from the relay server 4 is installed.

ステップS8において、電話機1のポータルアプリケーションは、HTTPリクエストで、注文サーバ3から取得したURLを中継サーバ4に通知する。このとき、このURLは、アクセス先を表すパラメータとして、クッキー等と共に中継サーバ4に送信される。なお、電話機1から中継サーバ4への通知は、Webサーバ部41により受信される。   In step S8, the portal application of the telephone 1 notifies the relay server 4 of the URL acquired from the order server 3 by an HTTP request. At this time, this URL is transmitted to the relay server 4 together with a cookie or the like as a parameter indicating an access destination. Note that the notification from the telephone 1 to the relay server 4 is received by the Web server unit 41.

ステップS9において、中継サーバ4のWebサーバ部41は、電話機1から通知されたURLを利用してHTTPで注文サーバ3にアクセスする。そうすると、注文サーバ3は、HTTPリクエストに対応するレスポンスとして、アクセスされたコンテンツのHTMLドキュメントを中継サーバ4に送信する。これにより、中継サーバ4は、ピザ画像ガジェット31を受信する。そして、Webサーバ部41は、注文サーバ3から取得したピザ画像ガジェット31を、HTTPリクエストの送信元である電話機1のポータルアプリケーションに返送する。   In step S9, the Web server unit 41 of the relay server 4 accesses the order server 3 by HTTP using the URL notified from the telephone 1. Then, the order server 3 transmits the HTML document of the accessed content to the relay server 4 as a response corresponding to the HTTP request. Thereby, the relay server 4 receives the pizza image gadget 31. Then, the Web server unit 41 returns the pizza image gadget 31 acquired from the order server 3 to the portal application of the telephone 1 that is the transmission source of the HTTP request.

ステップS10において、電話機1のポータルアプリケーションは、ブラウザ11に表示されているポータル画面の中に、受信したガジェットを追加する。すなわち、ブラウザ11のポータル画面にピザ画像ガジェット31が追加される。このとき、ピザの画像を含むHTMLドキュメントがレンダリングされ、生成された画像がブラウザ11上に表示される。   In step S <b> 10, the portal application of the telephone 1 adds the received gadget to the portal screen displayed on the browser 11. That is, the pizza image gadget 31 is added to the portal screen of the browser 11. At this time, an HTML document including a pizza image is rendered, and the generated image is displayed on the browser 11.

ステップS11において、中継サーバ4は、電話機1との通信に対して生成されているクッキーに含まれるセッションIDを抽出する。そして、管理部43は、図7に示す管理テーブルを参照し、抽出されたセッションIDに対応するログインIDを特定する。さらに、管理部43は、特定されたログインIDと同じログインIDが管理テーブルに登録されているか否かを検索する。すなわち、中継サーバ4は、電話機1のユーザが他のクライアント端末を利用して同時にログインしているか否かを確認する。   In step S <b> 11, the relay server 4 extracts the session ID included in the cookie generated for communication with the telephone 1. Then, the management unit 43 refers to the management table shown in FIG. 7 and identifies the login ID corresponding to the extracted session ID. Further, the management unit 43 searches whether or not the same login ID as the specified login ID is registered in the management table. That is, the relay server 4 confirms whether the user of the telephone 1 is logged in simultaneously using another client terminal.

図4および図7に示す例では、まず、ブラウザ11との通信に対して生成されているセッションID「ab93jdh4sb」が抽出される。そうすると、管理テーブルの1行目が参照され、このセッションIDに対応するログインID「user001」が特定される。さらに、「user001」でログインが行われた他のクライアント端末が検索される。この結果、管理テーブルの2行目からセッションID「dk4jdsnskk」が特定される。すなわち、電話機1のブラウザ11およびテレビ2のブラウザ21がログインしていると判定される。   In the example illustrated in FIGS. 4 and 7, first, the session ID “ab93jdh4sb” generated for the communication with the browser 11 is extracted. Then, the first line of the management table is referred to, and the login ID “user001” corresponding to this session ID is specified. Furthermore, other client terminals that have logged in with “user001” are searched. As a result, the session ID “dk4jdsnskk” is specified from the second row of the management table. That is, it is determined that the browser 11 of the telephone 1 and the browser 21 of the television 2 are logged in.

ステップS12において、中継サーバ4の配信部42は、同じログインIDでログインしているテレビ2のブラウザ21に対して、非同期で、ピザ画像ガジェット31のHTMLドキュメントを送信する。すなわち、中継サーバ4からブラウザ11、21にピザ画像ガジェット31が配信される。なお、中継サーバ4からテレビ2へガジェット等を送信するための非同期通信方式としてCometを利用する場合には、ブラウザ21を利用してログインが行われたときに確立したHTTPセッションが保持される。そして、中継サーバ4は、所望のタイミングで、HTTPレスポンスとしてテレビ2へHTMLドキュメント等を送信する。   In step S <b> 12, the distribution unit 42 of the relay server 4 transmits the HTML document of the pizza image gadget 31 asynchronously to the browser 21 of the television 2 logged in with the same login ID. That is, the pizza image gadget 31 is distributed from the relay server 4 to the browsers 11 and 21. When Comet is used as an asynchronous communication method for transmitting a gadget or the like from the relay server 4 to the television 2, the HTTP session established when the login is performed using the browser 21 is held. Then, the relay server 4 transmits an HTML document or the like to the television 2 as an HTTP response at a desired timing.

ステップS13において、テレビ2のブラウザ21のポータルアプリケーションは、中継サーバ4からの非同期通信でHTTPレスポンスを受信する。このHTTPレスポンスは、ピザ画像ガジェット31(HTMLドキュメント)を含んでいる。そうすると、テレビ2のポータルアプリケーションは、ブラウザ21に表示されているポータル画面の中に受信したガジェットを追加する。すなわち、ブラウザ21のポータル画面にピザ画像ガジェット31が追加される。このとき、ピザの画像を含むHTMLドキュメントがレンダリングされ、生成された画像がブラウザ21上に表示される。   In step S <b> 13, the portal application of the browser 21 of the television 2 receives the HTTP response by asynchronous communication from the relay server 4. This HTTP response includes a pizza image gadget 31 (HTML document). Then, the portal application of the television 2 adds the received gadget to the portal screen displayed on the browser 21. That is, the pizza image gadget 31 is added to the portal screen of the browser 21. At this time, an HTML document including a pizza image is rendered, and the generated image is displayed on the browser 21.

このように、実施形態のマルチモーダルシステムにおいては、同じログインIDでログインした複数のブラウザに、ほぼ同時に、同じガジェットが配布される。図4に示す例では、ユーザにより操作されるクライアント端末(第1のクライアント端末)である電話機1のブラウザ11、および第1のクライアントと同時に使用されるクライアント端末(第2のクライアント端末)であるテレビ2のブラウザ21に、ピザ画像ガジェット31が表示される。このとき、テレビ2にインターネット上のページを閲覧するためのソフトウェア(例えば、ブラウザ)が実装されていれば、テレビ2は、ガジェットの画像を表示できる。すなわち、各クライアント端末にブラウザが実装されている環境においては、マルチモーダルを実現するために、ユーザが難しい操作または設定をする必要はなく、また、第2のクライアント端末にSIP等の通信プロトコルを実装する必要もない。さらに、第1のクライアント端末に第2クライアント端末のIPアドレスを予め登録しておく必要もない。   Thus, in the multimodal system of the embodiment, the same gadget is distributed almost simultaneously to a plurality of browsers logged in with the same login ID. In the example shown in FIG. 4, the browser 11 of the telephone set 1 is a client terminal (first client terminal) operated by a user, and the client terminal (second client terminal) used simultaneously with the first client. A pizza image gadget 31 is displayed on the browser 21 of the television 2. At this time, if software (for example, a browser) for browsing pages on the Internet is installed on the television 2, the television 2 can display an image of the gadget. That is, in an environment in which a browser is installed in each client terminal, it is not necessary for the user to perform difficult operations or settings in order to realize multimodal, and a communication protocol such as SIP is provided for the second client terminal. There is no need to implement it. Furthermore, it is not necessary to previously register the IP address of the second client terminal in the first client terminal.

なお、上述の例では、電話機1のブラウザ11およびテレビ2のブラウザ12にピザ画像ガジェット31が配信されているが、ブラウザ11、12に配信されるHTMLドキュメントは異なっていてもよい。例えば、各クライアント端末の表示能力が異なる場合は、中継サーバ4は、各クライアント端末の表示能力に応じて編集したHTMLドキュメントを送信するようにしてもよい。   In the above example, the pizza image gadget 31 is distributed to the browser 11 of the telephone 1 and the browser 12 of the television 2, but the HTML documents distributed to the browsers 11 and 12 may be different. For example, when the display capability of each client terminal is different, the relay server 4 may transmit an HTML document edited according to the display capability of each client terminal.

図8は、中継サーバ4の管理部43が備える管理テーブルの他の実施例である。この管理テーブルにおいては、ログインIDおよびセッションIDと共に、各クライアント端末の能力を表す情報が管理されている。なお、各クライアント端末から中継サーバ4に送信されるログイン情報の中にUser-Agent情報が含まれているものとする。この場合、中継サーバ4は、受信したUser-Agent情報に基づいて、クライアント端末の機種およびその能力を特定することができる。そして、中継サーバ4が備える編集部は、ガジェットを送信する際に、クライアント端末の能力(画像の解像度、通信速度など)に応じて、送信画像のサイズおよびテキストデータを編集する。この構成によれば、各クライアント端末にそれぞれ適切な情報が表示される。   FIG. 8 shows another example of the management table provided in the management unit 43 of the relay server 4. In this management table, information indicating the capability of each client terminal is managed together with the login ID and the session ID. It is assumed that the user-agent information is included in the login information transmitted from each client terminal to the relay server 4. In this case, the relay server 4 can specify the model of the client terminal and its capability based on the received User-Agent information. Then, when the gadget is transmitted, the editing unit included in the relay server 4 edits the size of the transmission image and the text data according to the capabilities of the client terminal (image resolution, communication speed, etc.). According to this configuration, appropriate information is displayed on each client terminal.

或いは、中継サーバ4は、各クライアント端末(電話機1、テレビ2)に同じHTMLドキュメントが送信されてもよい。このとき、各クライアント端末は、それぞれ、受信したHTMLドキュメントから表示可能な部分のみを抽出して表示するようにしてもよい。   Alternatively, the relay server 4 may transmit the same HTML document to each client terminal (telephone 1, television 2). At this time, each client terminal may extract and display only a displayable portion from the received HTML document.

<第2の実施形態>
第2の実施形態のシステム構成は、上述したように、基本的に第1の実施形態と同じである。すなわち、第2の実施形態のシステムも、図4に示すように、クライアント(電話機1およびテレビ2)とサーバ(注文サーバ3)との間に中継サーバ4を備えている。
<Second Embodiment>
As described above, the system configuration of the second embodiment is basically the same as that of the first embodiment. That is, the system of the second embodiment also includes a relay server 4 between a client (telephone 1 and television 2) and a server (order server 3), as shown in FIG.

ただし、第2の実施形態においては、各クライアントに配信されるHTMLドキュメントにスクリプトが注入される。スクリプトは、中継サーバ4のスクリプト注入部44により注入される。そして、各クライアントにおいてスクリプトが実行されることにより、1つのクライアントにおいて発生するイベントが他のクライアントに通知され、複数のクライアントが同期または連携して動作する。   However, in the second embodiment, a script is injected into an HTML document distributed to each client. The script is injected by the script injection unit 44 of the relay server 4. Then, by executing the script in each client, an event occurring in one client is notified to other clients, and a plurality of clients operate in synchronization or cooperation.

図9および図10は、第2の実施形態においてマルチモーダルを実現する方法を示すフローチャート図である。なお、ステップS1〜S8、S10〜S11、S13の処理は、第1の実施形態と同じであり、説明を省略する。   9 and 10 are flowcharts illustrating a method for realizing multimodal in the second embodiment. Note that the processes in steps S1 to S8, S10 to S11, and S13 are the same as those in the first embodiment, and a description thereof will be omitted.

ステップS8において、電話機1のポータルアプリケーションは、注文サーバ3からブラウザ11に通知されたURLを、HTTPリクエストを利用して中継サーバ4に通知する。そして、Webサーバ部41がこのHTTPリクエストを受信すると、ステップS21以降の処理が実行される。   In step S8, the portal application of the telephone 1 notifies the URL notified from the order server 3 to the browser 11 to the relay server 4 using an HTTP request. Then, when the Web server unit 41 receives this HTTP request, the processes after step S21 are executed.

ステップS21において、中継サーバ4のWebサーバ部41は、HTTPリクエストで通知されたURLで注文サーバ3にアクセスする。そうすると、注文サーバ3は、HTTPリクエストに対応するレスポンスとして、アクセスされたコンテンツのHTMLドキュメントを中継サーバ4に送信する。これにより、中継サーバ4は、ピザ画像ガジェット31のHTMLドキュメントを受信する。   In step S21, the Web server unit 41 of the relay server 4 accesses the order server 3 with the URL notified by the HTTP request. Then, the order server 3 transmits the HTML document of the accessed content to the relay server 4 as a response corresponding to the HTTP request. Thereby, the relay server 4 receives the HTML document of the pizza image gadget 31.

ステップS22〜S23において、中継サーバ4のスクリプト注入部44は、注文サーバ3から取得したHTMLドキュメントに、イベント発行スクリプトおよび/またはイベント受信スクリプトを挿入する。イベント発行スクリプトおよびイベント受信スクリプトは、予め作成されたJavaScriptである。   In steps S22 to S23, the script injection unit 44 of the relay server 4 inserts an event issuance script and / or an event reception script into the HTML document acquired from the order server 3. The event issuing script and the event receiving script are JavaScripts created in advance.

図11は、HTMLドキュメントにスクリプトを注入する方法を説明する図である。スクリプト注入部44は、HTMLドキュメントをクライアントに提供する際に、例えば、body部の末尾にイベント発行スクリプトおよびイベント受信スクリプトを注入する。ただし、スクリプトを注入する位置は、body部の末尾に限定されるものではなく、たとえば、body部の先頭にスクリプトが注入されてもよい。   FIG. 11 is a diagram illustrating a method for injecting a script into an HTML document. When providing the HTML document to the client, the script injection unit 44, for example, injects an event issue script and an event reception script at the end of the body part. However, the position where the script is injected is not limited to the end of the body part. For example, the script may be injected at the beginning of the body part.

ステップS22では、スクリプト注入部44は、注文サーバ3から取得したHTMLドキュメントにイベント発行スクリプトを注入することにより、イベント発行用HTMLドキュメントを作成する。ステップS23では、スクリプト注入部44は、注文サーバ3から取得したHTMLドキュメントにイベント受信スクリプトを注入することにより、イベント受信用HTMLドキュメントを作成する。   In step S <b> 22, the script injection unit 44 creates an event issuing HTML document by injecting the event issuing script into the HTML document acquired from the order server 3. In step S23, the script injection unit 44 generates an event reception HTML document by injecting the event reception script into the HTML document acquired from the order server 3.

図12および図13は、それぞれ、イベント発行スクリプトおよびイベント受信スクリプトの実施例である。これら1組のスクリプトを実行することにより、1つのクライアント端末において矢印キーを押圧するユーザ操作を、複数のクライアント端末で共有することができる。   12 and 13 are examples of an event issue script and an event reception script, respectively. By executing these one set of scripts, a user operation for pressing an arrow key in one client terminal can be shared by a plurality of client terminals.

図12に示すイベント発行スクリプトおいて、記述Aは、ユーザにより押圧されたキーに対応するキーコードを引数として関数sendKeyを呼び出すための命令を含んでいる。記述Bは、関数sendKeyの定義キーコードを取得するための命令を含んでいる。記述Cは、XMLHttpRequestを利用して中継サーバ4に接続し、その接続先に対してイベント情報(キーコード、イベント種別、ガジェット種別)を送信するための命令を含む。この例では、イベント情報の送信先として「iwc/InterWidgetCommunicationServlet(中継サーバ4)」が指定されている。また、イベント種別は「sendKey」であり、ガジェット種別は「PizzaShop」である。   In the event issuing script shown in FIG. 12, the description A includes an instruction for calling the function sendKey using as an argument the key code corresponding to the key pressed by the user. The description B includes an instruction for acquiring the definition key code of the function sendKey. The description C includes a command for connecting to the relay server 4 using XMLHttpRequest and transmitting event information (key code, event type, gadget type) to the connection destination. In this example, “iwc / InterWidgetCommunicationServlet (relay server 4)” is designated as the transmission destination of the event information. The event type is “sendKey” and the gadget type is “PizzaShop”.

図13に示すイベント受信スクリプトにおいて、記述Dは、受信情報において指定されているガジェット種別が「PizzaShop」であったときに記述Eの処理を実行するための命令を含む。したがって、図12に示すイベント発行スクリプトにより生成されたイベント情報が与えられると、イベント受信スクリプトの記述Eの処理が実行される。記述Eは、Comet経由でイベントを受信したときに呼び出され、通知されたキーコードに応じて変数moveを制御する命令を含む。この例では、キーコードが「38(上向き矢印キー)」であったときに変数moveが1だけデクリメントされ、キーコードが「40(下向き矢印キー)」であったときに変数moveが1だけインクリメントされる。   In the event reception script shown in FIG. 13, description D includes an instruction for executing the processing of description E when the gadget type specified in the reception information is “PizzaShop”. Therefore, when the event information generated by the event issuing script shown in FIG. 12 is given, the process of the description E of the event reception script is executed. The description E is called when an event is received via Comet, and includes a command for controlling the variable move according to the notified key code. In this example, the variable move is decremented by 1 when the key code is “38 (up arrow key)”, and the variable move is incremented by 1 when the key code is “40 (down arrow key)”. Is done.

記述Fは、配信されるガジェットが提供する複数のラジオボタンの中から選択されているラジオボタンの位置を取得する命令を含む。記述Gは、変数moveの値に応じて、ラジオボタンの選択位置を変化させる命令を含む。   The description F includes an instruction for acquiring the position of a radio button selected from a plurality of radio buttons provided by the distributed gadget. The description G includes an instruction for changing the selection position of the radio button in accordance with the value of the variable move.

図9に戻る。ステップS24において、中継サーバ4のWebサーバ部41は、ステップS8で受信したHTTPリクエストの送信元へ、イベント発行用HTMLドキュメントを送信する。ここで、HTTPリクエストの送信元は、電話機1のポータルアプリケーションである。また、イベント発行用HTMLドキュメントは、図12に示すイベント発行スクリプトが注入されたピザ画像ガジェット31である。すなわち、電話機1のポータルアプリケーションに、イベント発行スクリプトが注入されたピザ画像ガジェット31が送信される。この結果、ステップS10において、ブラウザ11のポータル画面にピザ画像ガジェット31が追加される。   Returning to FIG. In step S24, the Web server unit 41 of the relay server 4 transmits the event issuing HTML document to the transmission source of the HTTP request received in step S8. Here, the transmission source of the HTTP request is the portal application of the telephone set 1. The event issuing HTML document is a pizza image gadget 31 into which the event issuing script shown in FIG. 12 is injected. That is, the pizza image gadget 31 in which the event issuing script is injected is transmitted to the portal application of the telephone 1. As a result, the pizza image gadget 31 is added to the portal screen of the browser 11 in step S10.

ステップS25において、中継サーバ4の配信部42は、ステップS11で特定されるセッションIDに基づいて、イベント受信用HTMLドキュメントを送信する。この例では、ステップS11においてテレビ2のブラウザ21が特定される。また、イベント受信用HTMLドキュメントは、図13に示すイベント受信スクリプトが注入されたピザ画像ガジェット31である。すなわち、テレビ21のポータルアプリケーションに、イベント受信スクリプトが注入されたピザ画像ガジェット31が送信される。この結果、ステップS13において、ブラウザ21のポータル画面にピザ画像ガジェット31が追加される。   In step S25, the distribution unit 42 of the relay server 4 transmits the event receiving HTML document based on the session ID specified in step S11. In this example, the browser 21 of the television 2 is specified in step S11. Further, the event reception HTML document is a pizza image gadget 31 in which an event reception script shown in FIG. 13 is injected. That is, the pizza image gadget 31 in which the event reception script is injected is transmitted to the portal application of the television 21. As a result, the pizza image gadget 31 is added to the portal screen of the browser 21 in step S13.

このように、第2の実施形態においても、電話機1のブラウザ11およびテレビ2のブラウザ21にピザ画像ガジェット31が表示される。ただし、第2の実施形態では、ピザ画像ガジェット31には、イベント発行/受信スクリプトが注入されている。   Thus, also in the second embodiment, the pizza image gadget 31 is displayed on the browser 11 of the telephone 1 and the browser 21 of the television 2. However, in the second embodiment, an event issue / reception script is injected into the pizza image gadget 31.

ステップS31〜S35は、イベント発行/受信スクリプトが注入されガジェットが配信された後に実行される手順である。すなわち、ステップS31において、ユーザは、電話機1の入力キーを操作することにより、電話機1に配信されたピザ画像ガジェット31が提供する機能を使用する。ステップS32では、電話機1において、イベント発行スクリプトは、発生したイベントを検出し、そのイベント内容を中継サーバ4に通知する。検出されるイベントは、例えば、ユーザによるキー入力操作である。この場合、イベント発行スクリプトは、イベント情報として、ユーザにより押圧されたキーを識別するキーコード、イベント種別、ガジェット種別を中継サーバ4に通知する。また、イベント発行スクリプトは、この例では、XMLHttpRequestを利用して中継サーバ4にイベント情報を送信する。   Steps S31 to S35 are procedures executed after the event issuance / reception script is injected and the gadget is distributed. That is, in step S <b> 31, the user uses the function provided by the pizza image gadget 31 delivered to the telephone 1 by operating the input key of the telephone 1. In step S32, in the telephone 1, the event issuing script detects the event that has occurred and notifies the relay server 4 of the event content. The detected event is, for example, a key input operation by the user. In this case, the event issuing script notifies the relay server 4 of the key code for identifying the key pressed by the user, the event type, and the gadget type as event information. In this example, the event issuance script transmits event information to the relay server 4 using XMLHttpRequest.

ステップS33において、中継サーバ4は、上記XMLHttpRequestの送信元端末において入力されたログインIDと同じログインIDが入力されたクライアント端末を検索する。このとき、管理部43の管理テーブルが参照され、図7に示す例では、テレビ2が特定される。ステップS33の検索手順は、基本的に、ステップS11と同じである。   In step S33, the relay server 4 searches for a client terminal to which the same login ID as that input at the XMLHttpRequest transmission source terminal is input. At this time, the management table of the management unit 43 is referred to, and the television 2 is specified in the example shown in FIG. The search procedure in step S33 is basically the same as that in step S11.

ステップS34において、配信部42は、ステップS33で特定されたクライアント端末にイベント情報を送信する。このとき、配信部42は、Comet等の非同期通信方式でイベント情報をテレビ2へ送信する。このイベント情報は、テレビ2のポータルアプリケーションにより受信される。   In step S34, the distribution unit 42 transmits event information to the client terminal specified in step S33. At this time, the distribution unit 42 transmits the event information to the television 2 by an asynchronous communication method such as Comet. This event information is received by the portal application of the television 2.

ステップS35において、テレビ2のポータルアプリケーションは、イベント情報に含まれるガジェット種別が指示するガジェットを特定し、そのガジェットに対してイベント情報を通知する。このイベント情報を受信すると、上記特定されたガジェットに注入されているイベント受信スクリプトは、そのイベント情報に従って、電話機1で発生したイベントを再現する。すなわち、中継サーバ4を介して、電話機1において行われたユーザ操作と、テレビ2で実行されるガジェットの動作とが同期する。したがって、ユーザは、電話機1を操作することにより、実質的に、テレビ2を操作することができる。   In step S35, the portal application of the television 2 identifies the gadget indicated by the gadget type included in the event information, and notifies the gadget of the event information. When this event information is received, the event reception script injected into the specified gadget reproduces the event that occurred in the telephone set 1 according to the event information. That is, the user operation performed on the telephone 1 via the relay server 4 and the operation of the gadget executed on the television 2 are synchronized. Therefore, the user can substantially operate the television 2 by operating the telephone 1.

図14は、電話機1のブラウザ11およびテレビ2のブラウザ21に実装されたピザ画像ガジェット31の表示例である。ブラウザ11においては、ピザ屋が販売している複数のピザ(aaaピザ、bbbピザ、cccピザ)の名称、および各ピザを選択するためのラジオボタンが表示されている。また、ブラウザ21においては、上記複数のピザの画像、および各ピザを選択するためのラジオボタンが表示されている。なお、ブラウザ11、21において、ピザを選択するためのラジオボタンは、画面内で縦方向に並んでいる。   FIG. 14 is a display example of a pizza image gadget 31 installed in the browser 11 of the telephone 1 and the browser 21 of the television 2. In the browser 11, the names of a plurality of pizzas (aaa pizza, bbb pizza, ccc pizza) sold by the pizzeria and radio buttons for selecting each pizza are displayed. The browser 21 displays a plurality of pizza images and radio buttons for selecting each pizza. In the browsers 11 and 21, radio buttons for selecting pizza are arranged in the vertical direction on the screen.

ユーザは、ブラウザ11、21に実装されているピザ画像ガジェット31を参照してピザを注文する。この場合、ユーザは、例えば、電話機1の上向き矢印キーおよび下向き矢印キーを操作することにより、ブラウザ11上で所望のピザを選択する。そうすると、電話機1において、ピザ画像ガジェット31に注入されているイベント発行スクリプトは、ユーザにより指示されたキーを検出し、イベント情報として中継サーバ4に通知する。ここでは、ユーザにより下向き矢印キーが操作されたものとする。この場合、電話機1のブラウザ11において、aaaピザが選択されている状態から、bbbピザが選択された状態に変化する。   The user orders pizza with reference to the pizza image gadget 31 installed in the browsers 11 and 21. In this case, for example, the user selects a desired pizza on the browser 11 by operating the upward arrow key and the downward arrow key of the telephone 1. If it does so, the event issuing script inject | poured into the pizza image gadget 31 in the telephone 1 will detect the key instruct | indicated by the user, and will notify it to the relay server 4 as event information. Here, it is assumed that the user has operated the down arrow key. In this case, the browser 11 of the telephone 1 changes from the state where the aaa pizza is selected to the state where the bbb pizza is selected.

中継サーバ4の管理部43は、図7に示すように、ログインIDとセッションIDとの対応関係を管理している。したがって、中継サーバ4は、電話機1から受信したイベント情報をテレビ2に送信する。そうすると、テレビ2において、ピザ画像ガジェット31に注入されているイベント受信スクリプトは、テレビ2を操作するための入力装置が備える下向き矢印キーが指示されたときと同じ処理を実行する。すなわち、テレビ2のブラウザ21においても、電話機1のブラウザ11と同様に、aaaピザが選択されている状態から、bbbピザが選択された状態に変化する。   As shown in FIG. 7, the management unit 43 of the relay server 4 manages the correspondence between the login ID and the session ID. Therefore, the relay server 4 transmits the event information received from the telephone 1 to the television 2. Then, in the television 2, the event reception script injected into the pizza image gadget 31 performs the same processing as when the downward arrow key provided in the input device for operating the television 2 is instructed. That is, the browser 21 of the television 2 also changes from the state where the aaa pizza is selected to the state where the bbb pizza is selected, similarly to the browser 11 of the telephone 1.

上記状態に続いて、再度、ユーザが電話機1の下向き矢印キーを操作すると、ブラウザ11、21においてそれぞれcccピザが選択される。さらに、ユーザが電話機1の下向き矢印キーを操作すると、ブラウザ11、21上でそれぞれピザ画像ガジェット画面のスクロールが実行され、例えば、aaaピザの代わりにdddピザが表示される。   When the user again operates the down arrow key of the telephone 1 following the above state, ccc pizza is selected in the browsers 11 and 21, respectively. Further, when the user operates the down arrow key of the telephone 1, the pizza image gadget screen is scrolled on the browsers 11 and 21, respectively. For example, ddd pizza is displayed instead of aaa pizza.

このように、第2の実施形態においては、第1のクライアント端末(ここでは、電話機1)で発生するイベントが、第2のクライアント端末(ここでは、テレビ2)が通知され、第1および第2のクライアント端末間で同期動作が実現される。したがって、第2のクライアント端末のキーボードやリモコン入力装置等を使用することなく、第1のクライアント端末を操作すれば、実質的に、第1および第2のクライアント端末双方を操作することが可能となる。   As described above, in the second embodiment, an event occurring in the first client terminal (here, the telephone 1) is notified to the second client terminal (here, the television 2), and the first and first Synchronization operation is realized between the two client terminals. Therefore, if the first client terminal is operated without using the keyboard or remote control input device of the second client terminal, it is possible to substantially operate both the first and second client terminals. Become.

なお、中継サーバ4は、各クライアント端末にHTMLドキュメントを送信する際に、イベント発行スクリプトおよびイベント受信スクリプトの双方をそのHTMLドキュメントに注入してもよい。ただし、中継サーバ4は、イベント発行スクリプトまたはイベント受信スクリプトの一方のみをクライアント端末に送信するようにしてもよい。例えば、上述の例では、ステップS8のリクエストの送信元(ここでは、電話機1)に送信するHTMLドキュメントにイベント発行スクリプトのみを注入してもよい。また、ステップS11で検索されたクライアント端末(ここでは、テレビ2)に送信するHTMLドキュメントにイベント受信スクリプトのみを注入するようにしてもよい。   The relay server 4 may inject both the event issue script and the event reception script into the HTML document when transmitting the HTML document to each client terminal. However, the relay server 4 may transmit only one of the event issue script or the event reception script to the client terminal. For example, in the above-described example, only the event issuing script may be injected into the HTML document transmitted to the request transmission source (in this case, the telephone 1) in step S8. Further, only the event reception script may be injected into the HTML document transmitted to the client terminal (in this case, the television 2) searched in step S11.

<他の実施形態>
上述の例では、ピザ画像ガジェット31は、注文サーバ3が備えるメモリ領域に格納されているが、本発明はこれに限定されるものではない。すなわち、ピザ画像ガジェット31は、注文サーバ3とは異なるサーバ装置または記憶領域から提供されるようにしてもよい。
<Other embodiments>
In the above example, the pizza image gadget 31 is stored in a memory area provided in the order server 3, but the present invention is not limited to this. That is, the pizza image gadget 31 may be provided from a server device or a storage area different from the order server 3.

上述の例では、中継サーバ4は、HTTPリクエストの送信元および他の1つのクライアント端末(テレビ2)にピザ画像ガジェット31を送信するが、本発明はこれに限定されるものではない。すなわち、中継サーバ4は、同じログインIDでログインを行ったすべてのクライアント端末に対してピザ画像ガジェット31を送信することができる。   In the above-described example, the relay server 4 transmits the pizza image gadget 31 to the transmission source of the HTTP request and one other client terminal (TV 2), but the present invention is not limited to this. That is, the relay server 4 can transmit the pizza image gadget 31 to all client terminals that have logged in with the same login ID.

上述の例では、クライアント端末にガジェットが送信されるが、本発明はこれに限定されるものではない。すなわち、例えば、クライアント端末にWebアプリケーションが送信されるようにしてもよい。   In the above example, the gadget is transmitted to the client terminal, but the present invention is not limited to this. That is, for example, a Web application may be transmitted to the client terminal.

上述の例では、同じログインIDを利用してログインを行ったクライアント端末に対してガジェットが送信されるが、本発明はこれに限定されるものではない。すなわち、中継サーバ4は、例えば、同じユーザID(クライアント端末のユーザを直接的または間接的に識別する情報を含む)が入力されたクライアント端末に対して、ガジェット/Webアプリケーションを送信するようにしてもよい。なお、ログインIDは、一般に、初期登録時にユーザにより決定される情報であり、ユーザを間接的に識別する情報として使用することができる。   In the above example, the gadget is transmitted to the client terminal that has logged in using the same login ID, but the present invention is not limited to this. That is, for example, the relay server 4 transmits the gadget / Web application to the client terminal to which the same user ID (including information for directly or indirectly identifying the user of the client terminal) is input. Also good. The login ID is generally information determined by a user at the time of initial registration, and can be used as information for indirectly identifying the user.

<中継サーバ4のハードウェア構成>
図15は、中継サーバ4のハードウェア構成を示す図である。図4において、CPU51は、メモリ53を利用してマルチモーダル提供プログラムを実行することにより中継サーバに各処理手順を実行させる。記憶装置52は、例えばハードディスクであり、マルチモーダル提供プログラムを格納する。なお、記憶装置52は、外部記録装置であってもよい。メモリ53は、例えば半導体メモリであり、RAM領域およびROM領域を含んで構成される。
<Hardware configuration of relay server 4>
FIG. 15 is a diagram illustrating a hardware configuration of the relay server 4. In FIG. 4, the CPU 51 causes the relay server to execute each processing procedure by executing a multimodal providing program using the memory 53. The storage device 52 is, for example, a hard disk, and stores a multimodal providing program. The storage device 52 may be an external recording device. The memory 53 is a semiconductor memory, for example, and includes a RAM area and a ROM area.

読み取り装置54は、CPU51の指示に従って可搬型記録媒体55にアクセスする。可搬性記録媒体55は、例えば、半導体デバイス、磁気的作用により情報が入出力される媒体、光学的作用により情報が入出力される媒体を含むものとする。通信インタフェース56は、CPU51の指示に従って、ネットワークを介してデータを送受信する。入出力装置57は、例えば、ユーザからの指示を受け付けるデバイス等に相当する。   The reading device 54 accesses the portable recording medium 55 according to an instruction from the CPU 51. The portable recording medium 55 includes, for example, a semiconductor device, a medium in which information is input / output by a magnetic action, and a medium in which information is input / output by an optical action. The communication interface 56 transmits / receives data via a network in accordance with instructions from the CPU 51. The input / output device 57 corresponds to, for example, a device that receives an instruction from a user.

第1および第2の実施形態に係わるマルチモーダル提供プログラムは、例えば、下記の形態で提供される。
(1)記憶装置52に予めインストールされている。
(2)可搬型記録媒体55により提供される。
(3)プログラムサーバ60からダウンロードする。
The multimodal providing program according to the first and second embodiments is provided in the following form, for example.
(1) Installed in advance in the storage device 52.
(2) Provided by the portable recording medium 55.
(3) Download from the program server 60.

そして、上記構成のコンピュータでマルチモーダル提供プログラムを実行することにより、第1および第2の実施形態に係わる中継サーバ4が実現される。すなわち、上記構成のコンピュータでマルチモーダル提供プログラムを実行することにより、Webサーバ部41、配信部42、管理部43、スクリプト注入部44の一部または全部が実現される。   And the relay server 4 concerning 1st and 2nd embodiment is implement | achieved by running a multimodal provision program with the computer of the said structure. That is, a part or all of the Web server unit 41, the distribution unit 42, the management unit 43, and the script injection unit 44 is realized by executing the multimodal providing program on the computer having the above configuration.

以上の各実施例を含む実施形態に関し、さらに以下の付記を開示する。
(付記1)
サーバと複数のクライアントとの間に設けられる中継サーバ装置であって、
各クライアントから入力されるログインIDと各クライアントを識別するセッションIDとを対応づけて保持する管理部と、
第1のクライアントからのリクエストを前記サーバに中継すると共に、前記サーバから受信した前記リクエストに対応するレスポンスを、前記第1のクライアントに返送するWebサーバ部と、
前記管理部に保持された第2のクライアントを識別するセッションIDに対応するログインIDが、前記管理部に保持された前記第1のクライアントを識別するセッションIDに対応するログインIDと同じであったときに、前記レスポンスを、前記第2のクライアントに送信する配信部、
を有する中継サーバ装置。
(付記2)
付記1に記載の中継サーバ装置であって、
前記第1のクライアントへ送信されるレスポンスに、前記第1のクライアントで発生したイベントを表すイベント情報を前記中継サーバに送信させる第1のスクリプトを注入するとともに、前記第2のクライアントへ送信されるレスポンスに、前記第2のクライアントが前記中継サーバからイベント情報を受信したときに、前記第2のクライアントに前記イベント情報に対応する処理を実行させる第2のスクリプトを注入するスクリプト注入部をさらに備え、
前記配信部はさらに、前記第1のスクリプトに基づいて前記第1のクライアントから前記イベント情報を受信したときに、前記第2のクライアントに前記イベント情報を送信する
ことを特徴とする中継サーバ装置。
(付記3)
付記2に記載の中継サーバ装置であって、
前記配信部は、前記第1のクライアントから前記イベント情報を受信したときに、前記第1のクライアントを識別するセッションIDに対応するログインIDと同じログインIDに対応するセッションIDにより識別されるクライアントに対して、前記イベント情報を送信する
ことを特徴とする中継サーバ装置。
(付記4)
付記1に記載の中継サーバ装置であって、
前記第1または第2のクライアントの少なくとも一方に送信されるレスポンスを、前記第1または第2のクライアントの能力に応じて編集する編集部をさらに備える
ことを特徴とする中継サーバ装置。
(付記5)
サーバと複数のクライアントとの間に設けられる中継サーバ装置を利用した通信方法であって、
前記中継サーバ装置が、
第1のクライアントからのリクエストを前記サーバに中継すると共に、前記サーバから受信した前記リクエストに対応するレスポンスを、前記第1のクライアントに返送し、
各クライアントから入力されるログインIDと各クライアントを識別するセッションIDとを対応づけて保持したテーブルに基づいて、第2のクライアントを識別するセッションIDに対応するログインIDが、前記第1のクライアントを識別するセッションIDに対応するログインIDと同じであったと判断されたときに、前記レスポンスを、前記第2のクライアントに送信する、
ことを特徴とする通信方法。
(付記6)
付記5に記載の通信方法であって、
前記中継サーバ装置が、前記第1のクライアントへ送信されるレスポンスに、前記第1のクライアントで発生したイベントを表すイベント情報を前記中継サーバに送信させる第1のスクリプトを注入するとともに、前記第2のクライアントへ送信されるレスポンスに、前記第2のクライアントが前記中継サーバからイベント情報を受信したときに、前記第2のクライアントに前記イベント情報に対応する処理を実行させる第2のスクリプトを注入し、
前記中継サーバ装置が、前記第1のスクリプトに基づいて前記第1のクライアントから前記イベント情報を受信したときに、前記第2のクライアントに前記イベント情報を送信する
ことを特徴とする通信方法。
(付記7)
サーバと複数のクライアントとの間に設けられる中継サーバ装置に、
第1のクライアントからのリクエストを前記サーバに中継すると共に、前記サーバから受信した前記リクエストに対応するレスポンスを、前記第1のクライアントに返送するステップと、
各クライアントから入力されるログインIDと各クライアントを識別するセッションIDとを対応づけて保持したテーブルに基づいて、第2のクライアントを識別するセッションIDに対応するログインIDが、前記第1のクライアントを識別するセッションIDに対応するログインIDと同じであったと判断されたときに、前記レスポンスを、前記第2のクライアントに送信するステップと、
を実行させる通信プログラム。
(付記8)
付記7に記載の通信プログラムであって、
前記中継サーバ装置に、さらに、
前記第1のクライアントへ送信されるレスポンスに、前記第1のクライアントで発生したイベントを表すイベント情報を前記中継サーバに送信させる第1のスクリプトを注入するとともに、前記第2のクライアントへ送信されるレスポンスに、前記第2のクライアントが前記中継サーバからイベント情報を受信したときに、前記第2のクライアントに前記イベント情報に対応する処理を実行させる第2のスクリプトを注入するステップと、
前記第1のスクリプトに基づいて前記第1のクライアントから前記イベント情報を受信したときに、前記第2のクライアントに前記イベント情報を送信するステップと、
を実行させる通信プログラム。
The following supplementary notes are further disclosed with respect to the embodiments including the above examples.
(Appendix 1)
A relay server device provided between a server and a plurality of clients,
A management unit that holds a login ID input from each client in association with a session ID for identifying each client;
A Web server unit that relays a request from the first client to the server and returns a response corresponding to the request received from the server to the first client;
The login ID corresponding to the session ID for identifying the second client held in the management unit was the same as the login ID corresponding to the session ID for identifying the first client held in the management unit. Sometimes the delivery unit sends the response to the second client,
A relay server device.
(Appendix 2)
The relay server device according to attachment 1, wherein
The response transmitted to the first client is injected with a first script that causes the relay server to transmit event information representing an event that has occurred in the first client, and is transmitted to the second client. A script injection unit that injects a second script that causes the second client to execute processing corresponding to the event information when the second client receives event information from the relay server in response. ,
The relay server device, wherein the distribution unit further transmits the event information to the second client when the event information is received from the first client based on the first script.
(Appendix 3)
The relay server device according to attachment 2, wherein
When the distribution unit receives the event information from the first client, the distribution unit identifies the client identified by the session ID corresponding to the same login ID as the login ID corresponding to the session ID for identifying the first client. In contrast, a relay server device that transmits the event information.
(Appendix 4)
The relay server device according to attachment 1, wherein
The relay server device further comprising an editing unit that edits a response transmitted to at least one of the first or second client in accordance with the capability of the first or second client.
(Appendix 5)
A communication method using a relay server device provided between a server and a plurality of clients,
The relay server device is
Relaying a request from the first client to the server and returning a response corresponding to the request received from the server to the first client;
Based on a table in which a login ID input from each client is associated with a session ID for identifying each client, a login ID corresponding to a session ID for identifying the second client When it is determined that the login ID corresponding to the session ID to be identified is the same, the response is transmitted to the second client.
A communication method characterized by the above.
(Appendix 6)
The communication method according to attachment 5, wherein
The relay server device injects a first script that causes the relay server to transmit event information representing an event that has occurred in the first client, in the response transmitted to the first client, and the second script When the second client receives event information from the relay server, a second script that causes the second client to execute processing corresponding to the event information is injected into a response transmitted to the client. ,
When the relay server device receives the event information from the first client based on the first script, the event information is transmitted to the second client.
(Appendix 7)
In the relay server device provided between the server and multiple clients,
Relaying a request from a first client to the server and returning a response corresponding to the request received from the server to the first client;
Based on a table in which a login ID input from each client is associated with a session ID for identifying each client, a login ID corresponding to a session ID for identifying the second client Sending the response to the second client when it is determined that it is the same as the login ID corresponding to the identifying session ID;
Communication program that executes
(Appendix 8)
A communication program according to appendix 7,
In addition to the relay server device,
The response transmitted to the first client is injected with a first script that causes the relay server to transmit event information representing an event that has occurred in the first client, and is transmitted to the second client. Injecting a second script into the response to cause the second client to execute processing corresponding to the event information when the second client receives event information from the relay server;
Transmitting the event information to the second client when the event information is received from the first client based on the first script;
Communication program that executes

1 電話機
2 テレビ
3 注文サーバ
4 中継サーバ
5 コールセンター端末
11、21 ブラウザ
31 ピザ画像ガジェット
41 Webサーバ
42 配信部
43 管理部
44 スクリプト注入部
DESCRIPTION OF SYMBOLS 1 Telephone 2 Television 3 Order server 4 Relay server 5 Call center terminal 11, 21 Browser 31 Pizza image gadget 41 Web server 42 Distribution part 43 Management part 44 Script injection part

Claims (4)

サーバと複数のクライアントとの間に設けられる中継サーバ装置であって、
各クライアントから入力されるログインIDと各クライアントを識別するセッションIDとを対応づけて保持する管理部と、
第1のクライアントからのリクエストを前記サーバに中継すると共に、前記サーバから受信した前記リクエストに対応するレスポンスを、前記第1のクライアントに返送するWebサーバ部と、
前記管理部に保持された第2のクライアントを識別するセッションIDに対応するログインIDが、前記管理部に保持された前記第1のクライアントを識別するセッションIDに対応するログインIDと同じであったときに、前記レスポンスを、前記第2のクライアントに送信する配信部、
を有する中継サーバ装置。
A relay server device provided between a server and a plurality of clients,
A management unit that holds a login ID input from each client in association with a session ID for identifying each client;
A Web server unit that relays a request from the first client to the server and returns a response corresponding to the request received from the server to the first client;
The login ID corresponding to the session ID for identifying the second client held in the management unit was the same as the login ID corresponding to the session ID for identifying the first client held in the management unit. Sometimes the delivery unit sends the response to the second client,
A relay server device.
請求項1に記載の中継サーバ装置であって、
前記第1のクライアントへ送信されるレスポンスに、前記第1のクライアントで発生したイベントを表すイベント情報を前記中継サーバに送信させる第1のスクリプトを注入するとともに、前記第2のクライアントへ送信されるレスポンスに、前記第2のクライアントが前記中継サーバからイベント情報を受信したときに、前記第2のクライアントに前記イベント情報に対応する処理を実行させる第2のスクリプトを注入するスクリプト注入部をさらに備え、
前記配信部はさらに、前記第1のスクリプトに基づいて前記第1のクライアントから前記イベント情報を受信したときに、前記第2のクライアントに前記イベント情報を送信する
ことを特徴とする中継サーバ装置。
The relay server device according to claim 1,
The response transmitted to the first client is injected with a first script that causes the relay server to transmit event information representing an event that has occurred in the first client, and is transmitted to the second client. A script injection unit that injects a second script that causes the second client to execute processing corresponding to the event information when the second client receives event information from the relay server in response. ,
The relay server device, wherein the distribution unit further transmits the event information to the second client when the event information is received from the first client based on the first script.
サーバと複数のクライアントとの間に設けられる中継サーバ装置を利用した通信方法であって、
前記中継サーバ装置が、
第1のクライアントからのリクエストを前記サーバに中継すると共に、前記サーバから受信した前記リクエストに対応するレスポンスを、前記第1のクライアントに返送し、
各クライアントから入力されるログインIDと各クライアントを識別するセッションIDとを対応づけて保持したテーブルに基づいて、第2のクライアントを識別するセッションIDに対応するログインIDが、前記第1のクライアントを識別するセッションIDに対応するログインIDと同じであったと判断されたときに、前記レスポンスを、前記第2のクライアントに送信する、
ことを特徴とする通信方法。
A communication method using a relay server device provided between a server and a plurality of clients,
The relay server device is
Relaying a request from the first client to the server and returning a response corresponding to the request received from the server to the first client;
Based on a table in which a login ID input from each client is associated with a session ID for identifying each client, a login ID corresponding to a session ID for identifying the second client When it is determined that the login ID corresponding to the session ID to be identified is the same, the response is transmitted to the second client.
A communication method characterized by the above.
サーバと複数のクライアントとの間に設けられる中継サーバ装置に、
第1のクライアントからのリクエストを前記サーバに中継すると共に、前記サーバから受信した前記リクエストに対応するレスポンスを、前記第1のクライアントに返送するステップと、
各クライアントから入力されるログインIDと各クライアントを識別するセッションIDとを対応づけて保持したテーブルに基づいて、第2のクライアントを識別するセッションIDに対応するログインIDが、前記第1のクライアントを識別するセッションIDに対応するログインIDと同じであったと判断されたときに、前記レスポンスを、前記第2のクライアントに送信するステップと、
を実行させる通信プログラム。
In the relay server device provided between the server and multiple clients,
Relaying a request from a first client to the server and returning a response corresponding to the request received from the server to the first client;
Based on a table in which a login ID input from each client is associated with a session ID for identifying each client, a login ID corresponding to a session ID for identifying the second client Sending the response to the second client when it is determined that it is the same as the login ID corresponding to the identifying session ID;
Communication program that executes
JP2009225368A 2009-09-29 2009-09-29 Relay server device and communication method Withdrawn JP2011077708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009225368A JP2011077708A (en) 2009-09-29 2009-09-29 Relay server device and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009225368A JP2011077708A (en) 2009-09-29 2009-09-29 Relay server device and communication method

Publications (1)

Publication Number Publication Date
JP2011077708A true JP2011077708A (en) 2011-04-14

Family

ID=44021240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009225368A Withdrawn JP2011077708A (en) 2009-09-29 2009-09-29 Relay server device and communication method

Country Status (1)

Country Link
JP (1) JP2011077708A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013066128A (en) * 2011-09-20 2013-04-11 Oki Electric Ind Co Ltd Control server, control method, program, and control system
WO2014002240A1 (en) * 2012-06-28 2014-01-03 株式会社ソニー・コンピュータエンタテインメント Information processing system, information processing device, information terminal device, information processing method, and information processing program
JP2015534336A (en) * 2012-09-13 2015-11-26 ゼットティーイー コーポレーションZte Corporation Information processing method, priority information transmission method and apparatus
JP2016091449A (en) * 2014-11-10 2016-05-23 富士通株式会社 Local storage synchronization method, local storage synchronizer and local storage synchronization program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013066128A (en) * 2011-09-20 2013-04-11 Oki Electric Ind Co Ltd Control server, control method, program, and control system
WO2014002240A1 (en) * 2012-06-28 2014-01-03 株式会社ソニー・コンピュータエンタテインメント Information processing system, information processing device, information terminal device, information processing method, and information processing program
CN104380268A (en) * 2012-06-28 2015-02-25 索尼电脑娱乐公司 Information processing system, information processing device, information terminal device, information processing method, and information processing program
EP2869204A1 (en) * 2012-06-28 2015-05-06 Sony Computer Entertainment Inc. Information processing system, information processing device, information terminal device, information processing method, and information processing program
JP5841252B2 (en) * 2012-06-28 2016-01-13 株式会社ソニー・コンピュータエンタテインメント Information processing system, information processing apparatus, information terminal apparatus, information processing method, information processing program
EP2869204A4 (en) * 2012-06-28 2016-11-30 Sony Interactive Entertainment Inc Information processing system, information processing device, information terminal device, information processing method, and information processing program
US9559922B2 (en) 2012-06-28 2017-01-31 Sony Corporation Information processing system, information processing appartus, information terminal apparatus, information processing method, and information processing program
JP2015534336A (en) * 2012-09-13 2015-11-26 ゼットティーイー コーポレーションZte Corporation Information processing method, priority information transmission method and apparatus
US9736225B2 (en) 2012-09-13 2017-08-15 Zte Corporation Information processing method, and priority information sending method and device
JP2016091449A (en) * 2014-11-10 2016-05-23 富士通株式会社 Local storage synchronization method, local storage synchronizer and local storage synchronization program

Similar Documents

Publication Publication Date Title
JP6370033B2 (en) Information processing apparatus, information processing method, and program
US9807224B2 (en) Method and apparatus for accessing services of a device
US9621627B2 (en) Dynamically launching a server-based application on a mobile device
US9088458B2 (en) Method and apparatus for notifying remote user interface client about event of remote user interface server in home network
JP2003108520A (en) Information providing server, terminal device, its control method and information providing system
JP2003022228A (en) Status notification method in communication system, status notification server, communication system, recording medium, and program
EP2704033A1 (en) Method, apparatus and system for remote browsing
JP5909476B2 (en) Remote control system
JP2011077708A (en) Relay server device and communication method
JP2010176230A (en) Method for inter-terminal cooperation, terminal device, control device and program for inter-terminal cooperation
KR101001512B1 (en) System for transmitting/receiving contents connected in link structure in internet page and control method thereof, and browsing apparatus used in the system
GB2478767B (en) Method and apparatus for accessing services of a device
JP6862030B1 (en) Programs, methods, and information processing equipment
JP5009241B2 (en) Communication connection control device, communication connection method, communication service system, and program
JP6829359B2 (en) Screen sharing and remote control system
JP2011238201A (en) Web contents sharing system and web contents sharing method
JP4695153B2 (en) Toolbar providing server, toolbar providing program, toolbar providing method, toolbar providing system
WO2013168492A1 (en) Communication terminal, website device, and information distribution system
JP4098728B2 (en) Toolbar configuration information providing server and toolbar configuration information providing system
JP5251717B2 (en) Real-time web sharing system, real-time web sharing method, and program
JP5131884B1 (en) A computer program downloaded from a download site on the Internet to a mobile device
JP5521688B2 (en) Information browsing apparatus and information browsing control program
JP6861353B1 (en) Programs, methods, and information processing equipment
JP2015005150A (en) Document creating system
JP2006309546A (en) Method for providing content, information providing system and information providing program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20121204