JP7710582B2 - Server management device, system, and program - Google Patents
Server management device, system, and programInfo
- Publication number
- JP7710582B2 JP7710582B2 JP2024160454A JP2024160454A JP7710582B2 JP 7710582 B2 JP7710582 B2 JP 7710582B2 JP 2024160454 A JP2024160454 A JP 2024160454A JP 2024160454 A JP2024160454 A JP 2024160454A JP 7710582 B2 JP7710582 B2 JP 7710582B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- content providing
- token
- authentication code
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Description
本発明は、サーバ管理装置、システム、およびプログラムに関する。 The present invention relates to a server management device, a system, and a program.
近年、受信機と端末とが連携して、情報を送受信する技術があり、例えば、受信機がウェブサイトから受信した情報を端末へ送信する。 In recent years, there has been technology that allows a receiver and a terminal to work together to send and receive information. For example, a receiver transmits information received from a website to a terminal.
上記のように受信機と、端末と、ウェブサイト等のコンテンツを提供するコンテンツ提供装置とが連携して情報を送受信するためには、事前に端末のユーザの識別子と受信機の識別子とを連携させる必要があり、適切に連携処理をすることが望まれる。 As described above, in order for the receiver, the terminal, and the content providing device that provides content such as a website to cooperate to transmit and receive information, it is necessary to link the identifier of the terminal user with the identifier of the receiver in advance, and it is desirable to carry out the linking process appropriately.
そこで、本発明が解決しようとする課題は、受信機の識別子と、端末の識別子とを連携する処理を適切に実行することができるサーバ管理装置、システム、およびプログラムを提供することである。 The problem that the present invention aims to solve is to provide a server management device, system, and program that can properly execute a process for linking a receiver identifier and a terminal identifier.
実施形態のサーバ管理装置は、コンテンツ提供装置、サーバ装置と送受信可能であるサーバ管理装置であって、認証コードを取得した端末装置から、認証コードと、コンテンツ提供装置の識別子と、サーバ装置の識別子とを含む認証リクエストを取得し、当該認証リクエストを取得した後に、認証リクエストに対応するサーバ装置から認証コードに対応す
るトークンを取得し、認証リクエストに対応するコンテンツ提供装置から、端末装置のユーザ識別子に対応するトークンを取得し、認証コードに対応したトークンに対応する放送受信装置の識別子をサーバ装置から取得し、端末装置のユーザ識別子に対応したトークンに対応する端末装置のユーザ識別子を前記コンテンツ提供装置から取得する取得部と、取得した放送受信装置の識別子と、端末装置のユーザ識別子とを対応付けて記憶部へ登録する生成部と、を備える。
The server management device of the embodiment is a server management device that is capable of transmitting and receiving data to and from a content providing device and a server device, and is equipped with an acquisition unit that acquires an authentication request including an authentication code, an identifier of the content providing device, and an identifier of the server device from a terminal device that has acquired the authentication code , and after acquiring the authentication request, acquires a token corresponding to the authentication code from the server device corresponding to the authentication request, acquires a token corresponding to a user identifier of the terminal device from the content providing device corresponding to the authentication request , acquires an identifier of a broadcast receiving device corresponding to the token corresponding to the authentication code from the server device, and acquires a user identifier of the terminal device corresponding to the token corresponding to the user identifier of the terminal device from the content providing device, and a generation unit that associates the acquired identifier of the broadcast receiving device with the user identifier of the terminal device and registers them in a memory unit .
以下、本発明のサーバ装置、放送受信装置、サーバ管理装置、情報連携システム、およびプログラムの実施形態(第1実施形態、第2実施形態)について、図面を参照して、詳細に説明する。 Below, embodiments (first and second embodiments) of the server device, broadcast receiving device, server management device, information linkage system, and program of the present invention will be described in detail with reference to the drawings.
(第1実施形態)
まず、図1を参照して、第1実施形態の情報連携システムSの全体構成例について説明する。図1は、第1実施形態の情報連携システムSの全体構成例の概要を示す図である。情報連携システムSは、スマートフォン1(端末)と、テレビジョン装置2(放送受信装置)と、TVクラウド3(サーバ装置)と、EC(Electronic Commerce)サイトサーバ等のコンテンツ提供装置であるコンテンツ提供サーバ4と、を備える。TVクラウド3は、テレビジョン装置2、コンテンツ提供サーバ4とインターネットなどの公衆通信回線で通信可能である。また、スマートフォン1は、コンテンツ提供サーバ4やTVクラウド3と基地局を介して無線通信可能である。
First Embodiment
First, an example of the overall configuration of the information linkage system S of the first embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing an overview of an example of the overall configuration of the information linkage system S of the first embodiment. The information linkage system S includes a smartphone 1 (terminal), a television device 2 (broadcast receiving device), a TV cloud 3 (server device), and a content providing server 4 which is a content providing device such as an EC (Electronic Commerce) site server. The TV cloud 3 can communicate with the television device 2 and the content providing server 4 via a public communication line such as the Internet. In addition, the smartphone 1 can wirelessly communicate with the content providing server 4 and the TV cloud 3 via a base station.
スマートフォン1は、テレビジョン装置2のユーザが所有する情報端末の例である。スマートフォン1は、通信I/F(InterFace)、音声入力部(マイクロフォン)、センサ群、表示部、グラフィックコントローラ、タッチパネルコントローラ、CPU(Central Processing Unit)、メモリ、カメラ、スピーカなどを備える。第1実施形態では、ユーザがスマートフォン1を用いてインターネットショッピングを行うことを想定する。 The smartphone 1 is an example of an information terminal owned by a user of the television device 2. The smartphone 1 includes a communication I/F (Interface), a voice input unit (microphone), a group of sensors, a display unit, a graphics controller, a touch panel controller, a CPU (Central Processing Unit), a memory, a camera, a speaker, and the like. In the first embodiment, it is assumed that the user uses the smartphone 1 to do internet shopping.
TVクラウド3は、テレビジョン装置2とネットワークを介して送受信可能なサーバ装置であり、いわゆるクラウドサーバである。TVクラウド3は、例えば、テレビジョン装置2の製造元メーカで運用しているサーバ装置でもよい。TVクラウド3は、テレビジョン装置2から視聴に関する情報(視情報)を収集した結果に基づいて、テレビジョン装置2に対してネットワークを経由して視聴番組、予約番組の推薦情報、視聴番組内容に基づく商品推薦情報等の各種サービスを提供する。 The TV cloud 3 is a server device capable of transmitting and receiving information to and from the television device 2 via a network, and is a so-called cloud server. The TV cloud 3 may be, for example, a server device operated by the manufacturer of the television device 2. Based on the results of collecting viewing information (viewing information) from the television device 2, the TV cloud 3 provides various services to the television device 2 via the network, such as recommended information for viewed programs and scheduled programs, and product recommendation information based on the content of the viewed programs.
コンテンツ提供サーバ4は、インターネット上のECサイト(ネットショップ)を運営するためのコンピュータ装置である。コンテンツ提供サーバ4は、例えば、ECのプラットフォーマのサーバ装置である。コンテンツ提供サーバ4は、ユーザ(消費者)による端末装置(スマートフォン1等)の操作に応じて、ネットワークを介して商品やサービスを購入するためのプラットフォームとなる。また、コンテンツ提供サーバ4は、動画等のコンテンツを提供するビデオプラットフォームでもよい。コンテンツ提供サーバ4は、例えば、スマートフォン1における操作に応じて、スマートフォン1に商品の画像を送信する。コンテンツ提供サーバ4は、redirect_uriをTVクラウド3に予め登録する。 The content providing server 4 is a computer device for operating an EC site (online shop) on the Internet. The content providing server 4 is, for example, a server device of an EC platformer. The content providing server 4 is a platform for purchasing products and services via a network in response to the operation of a terminal device (smartphone 1, etc.) by a user (consumer). The content providing server 4 may also be a video platform that provides content such as videos. The content providing server 4 transmits product images to the smartphone 1 in response to, for example, an operation on the smartphone 1. The content providing server 4 registers the redirect_uri in advance in the TV cloud 3.
以下、図2以降を参照して、情報連携システムSにおける各構成の詳細について説明する。図2は、第1実施形態のテレビジョン装置2の全体構成例を示すブロック図である。テレビジョン装置2は、スマートフォン1が備える表示部よりも大きな映像表示部233に対する表示制御を実行する(詳細は後述)。 The components of the information linkage system S will be described in detail below with reference to FIG. 2 and subsequent figures. FIG. 2 is a block diagram showing an example of the overall configuration of a television device 2 according to a first embodiment. The television device 2 performs display control on a video display unit 233 that is larger than the display unit of the smartphone 1 (details will be described later).
図2に示すように、テレビジョン装置2は、入力端子202、チューナ203a~203g、信号処理部207、グラフィック処理部208、音声処理部209、OSD(On Screen Display)信号生成部210、および映像処理部211を備える。 As shown in FIG. 2, the television device 2 includes an input terminal 202, tuners 203a to 203g, a signal processing unit 207, a graphics processing unit 208, an audio processing unit 209, an OSD (On Screen Display) signal generating unit 210, and a video processing unit 211.
入力端子202には、地上放送受信アンテナ213で受信した地上デジタル放送信号が入力される。地上デジタル放送信号は、入力端子202を介してチューナ203a~203gに供給される。 A terrestrial digital broadcast signal received by a terrestrial broadcast receiving antenna 213 is input to the input terminal 202. The terrestrial digital broadcast signal is supplied to tuners 203a to 203g via the input terminal 202.
チューナ203a~203gは、地上デジタル放送用のチューナであって、入力端子202から供給される地上デジタル放送信号から、後述する制御部216から指示されたチャンネルの放送信号を選局する。 Tuners 203a to 203g are tuners for terrestrial digital broadcasting, and select the broadcasting signal of the channel specified by the control unit 216, which will be described later, from the terrestrial digital broadcasting signal supplied from the input terminal 202.
ただし、テレビジョン装置2は、BS/CSデジタル放送受信アンテナで受信した衛星デジタル放送信号が入力される入力端子を有していてもよい。衛星デジタル放送信号は、かかる入力端子を介して衛星デジタル放送用のチューナに供給される。 However, the television device 2 may also have an input terminal to which a satellite digital broadcast signal received by a BS/CS digital broadcast receiving antenna is input. The satellite digital broadcast signal is supplied to a satellite digital broadcast tuner via this input terminal.
信号処理部207は、チューナ203a~203gから供給される放送信号から、デジタルの映像信号および音声信号を含む放送信号を復調する。また、信号処理部207は、デジタル放送信号が含む映像信号に対して、選択的に所定のデジタル信号処理を施してグラフィック処理部208に出力する。また、信号処理部207は、デジタル放送信号が含む音声信号に対して、選択的に所望のデジタル信号処理を施して音声処理部209に出力する。 The signal processing unit 207 demodulates the broadcast signals supplied from the tuners 203a to 203g to a broadcast signal including a digital video signal and audio signal. The signal processing unit 207 also selectively applies a predetermined digital signal processing to the video signal included in the digital broadcast signal and outputs the result to the graphics processing unit 208. The signal processing unit 207 also selectively applies a desired digital signal processing to the audio signal included in the digital broadcast signal and outputs the result to the audio processing unit 209.
信号処理部207には、複数の外部入力端子214a~214dが接続されている。これらの外部入力端子214a~214dは、外部装置の一例としてのDVD(Digital Versatile Disk)レコーダなどから、アナログの映像信号および音声信号が入力可能である。信号処理部207は、外部入力端子214a~214dから入力されたアナログの映像信号および音声信号をデジタル化する。また、信号処理部207は、デジタル化した映像信号に対して所定のデジタル信号処理を施してグラフィック処理部208に出力する。また、信号処理部207は、デジタル化した音声信号に対して所定のデジタル信号処理を施して音声処理部209に出力する。 The signal processing unit 207 is connected to a plurality of external input terminals 214a-214d. These external input terminals 214a-214d can input analog video signals and audio signals from an external device such as a DVD (Digital Versatile Disk) recorder. The signal processing unit 207 digitizes the analog video signals and audio signals input from the external input terminals 214a-214d. The signal processing unit 207 also performs a predetermined digital signal processing on the digitized video signals and outputs the result to the graphics processing unit 208. The signal processing unit 207 also performs a predetermined digital signal processing on the digitized audio signals and outputs the result to the audio processing unit 209.
グラフィック処理部208は、信号処理部207から供給されるデジタルの映像信号に対して、OSD信号生成部210で生成されるOSD信号を重畳して映像処理部211に出力する。グラフィック処理部208は、信号処理部207から供給されるデジタルの映像信号およびOSD信号生成部210で生成されるOSD信号のいずれか一方を映像処理部211に出力することも可能である。 The graphics processing unit 208 superimposes the OSD signal generated by the OSD signal generating unit 210 onto the digital video signal supplied from the signal processing unit 207 and outputs the superimposed signal to the video processing unit 211. The graphics processing unit 208 can also output either the digital video signal supplied from the signal processing unit 207 or the OSD signal generated by the OSD signal generating unit 210 to the video processing unit 211.
映像処理部211は、グラフィック処理部208から入力されるデジタルの映像信号またはOSD信号を、映像表示部233の表示画面において表示可能なフォーマットのアナログの映像信号またはOSD信号に変換して、映像表示部233に出力する。映像表示部233は、例えば、LCDまたは有機ELディスプレイ等である。 The video processing unit 211 converts the digital video signal or OSD signal input from the graphics processing unit 208 into an analog video signal or OSD signal in a format that can be displayed on the display screen of the video display unit 233, and outputs it to the video display unit 233. The video display unit 233 is, for example, an LCD or an organic EL display.
音声処理部209は、信号処理部207から入力されるデジタルの音声信号を、スピーカ215で再生可能なフォーマットのアナログの音声信号に変換して、スピーカ215に出力する。 The audio processing unit 209 converts the digital audio signal input from the signal processing unit 207 into an analog audio signal in a format that can be played by the speaker 215, and outputs it to the speaker 215.
テレビジョン装置2は、さらに、制御部216、カードホルダ217、各種インターフェース218~221、および明るさセンサ230を備える。制御部216は、CPU216a、ROM216b、RAM216c、および不揮発性メモリ216dを備える。 The television device 2 further includes a control unit 216, a card holder 217, various interfaces 218 to 221, and a brightness sensor 230. The control unit 216 includes a CPU 216a, a ROM 216b, a RAM 216c, and a non-volatile memory 216d.
制御部216は、地上デジタル放送信号および衛星デジタル放送信号等の放送信号の受信動作などのテレビジョン装置2の各種動作を統括的に制御する。また、制御部216は、操作部222からの操作情報、または受光部223を介してリモコン238から入力された操作情報に従って、テレビジョン装置2の各部を制御する。 The control unit 216 comprehensively controls various operations of the television device 2, such as the reception of broadcast signals, such as terrestrial digital broadcast signals and satellite digital broadcast signals. The control unit 216 also controls each part of the television device 2 according to operation information from the operation unit 222 or operation information input from the remote control 238 via the light receiving unit 223.
CPU216aは、ROM216bに記憶されているプログラムを実行することにより、テレビジョン装置2全体の動作を制御する。ROM216bは、主としてCPU216aが実行するプログラムを記憶している。RAM216cは、CPU216aがプログラムを実行する際に作業エリアを提供する。不揮発性メモリ216dは、テレビジョン装置2の各種の設定情報および制御情報等を記憶している。 The CPU 216a controls the overall operation of the television device 2 by executing programs stored in the ROM 216b. The ROM 216b mainly stores the programs executed by the CPU 216a. The RAM 216c provides a working area when the CPU 216a executes the programs. The non-volatile memory 216d stores various setting information, control information, etc. of the television device 2.
制御部216は、カードI/F225を介して、メモリカード234が着脱可能なカードホルダ217に接続されている。これにより、制御部216は、カードI/F225を介して、カードホルダ217に装着されたメモリカード234との間で各種情報を送受信することができる。 The control unit 216 is connected to a card holder 217 to which a memory card 234 can be attached and detached via a card I/F 225. This allows the control unit 216 to send and receive various information to and from the memory card 234 attached to the card holder 217 via the card I/F 225.
制御部216は、通信I/F218を介してLAN端子226に接続されている。これにより、制御部216は、通信I/F218を介して、LAN端子226に接続された上述の中継装置400やLAN対応HDD(Hard Disk Drive)等の外部装置と各種情報を送受信することができる。ただし、通信I/F218が、中継装置400等の外部装置と無線で接続可能に構成されていてもよい。 The control unit 216 is connected to the LAN terminal 226 via the communication I/F 218. This allows the control unit 216 to send and receive various information via the communication I/F 218 to and from external devices such as the relay device 400 and LAN-compatible HDD (Hard Disk Drive) connected to the LAN terminal 226. However, the communication I/F 218 may be configured to be wirelessly connectable to external devices such as the relay device 400.
制御部216は、HDMI(登録商標)(High-Definition Multimedia Interface) I/F221を介してHDMI端子227に接続されている。これにより、制御部216は、HDMI I/F221を介して、HDMI端子227に接続されている外部装置と各種情報を送受信することができる。 The control unit 216 is connected to the HDMI terminal 227 via an HDMI (registered trademark) (High-Definition Multimedia Interface) I/F 221. This allows the control unit 216 to send and receive various information to and from an external device connected to the HDMI terminal 227 via the HDMI I/F 221.
制御部216は、USB(Universal Serial Bus) I/F219を介して、USB端子228に接続されている。これにより、制御部216は、USB I/F219を介して、USB端子228に接続されたUSB HDD等を備えるストレージ装置237と各種情報を送受信することができる。 The control unit 216 is connected to a USB terminal 228 via a USB (Universal Serial Bus) I/F 219. This allows the control unit 216 to send and receive various information to and from a storage device 237 including a USB HDD or the like connected to the USB terminal 228 via the USB I/F 219.
ストレージ装置237は、例えばHDDやSSD(Solid State Drive)などを備え、テレビジョン装置2が受信したデジタル信号を録画データとして記録するように構成されている。ただし、ストレージ装置237はテレビジョン装置2に内蔵されていてもよい。 The storage device 237 includes, for example, an HDD or SSD (Solid State Drive), and is configured to record the digital signal received by the television device 2 as recording data. However, the storage device 237 may be built into the television device 2.
図3は、第1実施形態のテレビジョン装置2の部分構成例を示すブロック図である。テレビジョン装置2は、記憶部241(図2のROM216b、RAM216c、および不揮発性メモリ216d、ストレージ装置237)と、記憶部241に記憶されたプログラムがCPU216aによって実行された結果として生成される機能モジュールとして、送信部242と、取得部243と、表示制御部244と、を備える。 Fig. 3 is a block diagram showing an example of a partial configuration of the television device 2 of the first embodiment. The television device 2 includes a storage unit 241 (ROM 216b, RAM 216c, non-volatile memory 216d, and storage device 237 in Fig. 2), and a transmission unit 242, an acquisition unit 243, and a display control unit 244 as functional modules generated as a result of the program stored in the storage unit 241 being executed by the CPU 216a.
送信部242は、外部装置へ各種情報を送信する。取得部243は、外部装置から各種情報を取得したり、記憶部241に記憶されている各種情報を読み出したりする。 The transmitting unit 242 transmits various information to an external device. The acquiring unit 243 acquires various information from an external device and reads out various information stored in the memory unit 241.
表示制御部244は、各種情報を映像表示部233に表示する表示処理を実行する。表示制御部244は、例えば、スマートフォン1からの画像表示要求に応じて、映像表示部233に画像を表示させる(詳細は後述)。 The display control unit 244 executes a display process to display various information on the video display unit 233. For example, the display control unit 244 causes the video display unit 233 to display an image in response to an image display request from the smartphone 1 (details will be described later).
図4は、第1実施形態のTVクラウド3の全体構成例を示すブロック図である。図4に示すように、TVクラウド3は、通信I/F301、操作部302、CPU303、メモリ304、およびストレージ装置305を備える。 FIG. 4 is a block diagram showing an example of the overall configuration of the TV cloud 3 of the first embodiment. As shown in FIG. 4, the TV cloud 3 includes a communication I/F 301, an operation unit 302, a CPU 303, a memory 304, and a storage device 305.
通信I/F301は、外部装置との間の通信に用いられるインターフェースである。操作部302は、キーボードやマウス等の等の入力デバイスと、ディスプレイ等の表示デバイスと、を有する。 The communication I/F 301 is an interface used for communication with an external device. The operation unit 302 has input devices such as a keyboard and a mouse, and a display device such as a display.
ストレージ装置305は、例えばHDDやSSD等を備え、各種情報を記憶する。CPU303は、各種プログラムを実行することにより、TVクラウド3の各コンポーネントを制御する。メモリ304は、ROMやRAM等を備え、CPU303による各種演算処理に用いられる各種プログラムおよび各種データ等を記憶する。 The storage device 305 includes, for example, an HDD or SSD, and stores various information. The CPU 303 executes various programs to control each component of the TV cloud 3. The memory 304 includes, for example, a ROM or RAM, and stores various programs and data used in various arithmetic processing by the CPU 303.
図5は、第1実施形態のTVクラウド3の部分構成例を示すブロック図である。TVクラウド3は、記憶部311(メモリ304、ストレージ装置305)と、記憶部311に記憶されたプログラムがCPU303によって実行された結果として生成される機能モジュールとして、取得部312と、送信部313と、生成部314と、を備える。 Fig. 5 is a block diagram showing an example of a partial configuration of the TV cloud 3 in the first embodiment. The TV cloud 3 includes a storage unit 311 (memory 304, storage device 305), and an acquisition unit 312, a transmission unit 313, and a generation unit 314 as functional modules generated as a result of the program stored in the storage unit 311 being executed by the CPU 303.
記憶部311は、CPU303によって実行されるプログラムやDB(DataBase)を記憶する。ここで、DBのデータ構成例について、図6を用いて説明する。図6に示すように、DBでは、TVIDと、認証コードと、ECサーバIDと、トークンとを含む情報を記憶する。なお、DBでは、TVIDと共に、当該TVIDに対応するテレビジョン装置2の属性情報(テレビのモデル等)を有してもよい。 The storage unit 311 stores programs executed by the CPU 303 and a DB (DataBase). An example of the data configuration of the DB will now be described with reference to FIG. 6. As shown in FIG. 6, the DB stores information including a TV ID, an authentication code, an EC server ID, and a token. The DB may also store attribute information (such as the TV model) of the television device 2 that corresponds to the TV ID, along with the TV ID.
TVIDは、テレビジョン装置2を識別する情報である。認証コードは、後述するトークンを取得するために必要となるコードである。ECサーバIDは、コンテンツ提供サーバ4を識別する情報である。すなわち、ECサイトサーバ等のIDである。トークンは、認証に用いるための情報である。図5に戻り、取得部312は、外部装置から各種情報を取得する。送信部313は、外部装置へ各種情報を送信する。生成部314は、DBに対して情報の生成動作を実行する。 The TVID is information that identifies the television device 2. The authentication code is a code required to acquire a token, which will be described later. The EC server ID is information that identifies the content providing server 4. In other words, it is an ID of an EC site server, etc. The token is information used for authentication. Returning to FIG. 5, the acquisition unit 312 acquires various information from an external device. The transmission unit 313 transmits various information to an external device. The generation unit 314 executes an information generation operation for the DB.
次に、情報連携システムSにおける各構成の処理の流れについて説明する。図7は、第1実施形態の情報連携システムSにおける全体処理を示すフローチャートである。ここでは、ユーザがテレビジョン装置2のリモコン等を操作して、いわゆるポータル画面(ECサイト等と連携するための画面)で、ユーザがスマートフォン1と連携させたいECサイトを指定する場面をスタートとする。なお、図7に示すスマートフォン1の処理は、スマートフォン1にインストールされたアプリケーションプログラムにより実行してもよい。 Next, the process flow of each component in the information linkage system S will be described. FIG. 7 is a flowchart showing the overall process in the information linkage system S of the first embodiment. Here, the process starts when the user operates a remote control or the like for the television device 2 to specify an EC site with which the user wants to link the smartphone 1 on a so-called portal screen (a screen for linking with EC sites, etc.). Note that the process of the smartphone 1 shown in FIG. 7 may be executed by an application program installed on the smartphone 1.
テレビジョン装置2は、上記のように、ユーザによりECサイトが指定されると、ステップS1において、テレビジョン装置2の送信部242は、当該ECサイトの情報(例えば、ECサイトのID、ECサイトのURL等)と、テレビジョン装置2の識別子であるTVIDとをTVクラウド3へ送信する。このように、送信部242は、ECサイト中の画像を提供する画像提供装置であるコンテンツ提供サーバ4に関する情報をTVクラウド3へ送信する。 When an EC site is specified by the user as described above, in step S1, the transmission unit 242 of the television device 2 transmits information about the EC site (e.g., the EC site ID, the EC site URL, etc.) and a TV ID, which is an identifier for the television device 2, to the TV cloud 3. In this way, the transmission unit 242 transmits information about the content providing server 4, which is an image providing device that provides images in the EC site, to the TV cloud 3.
TVクラウド3の取得部312は、テレビジョン装置2からECサイトの情報と、TVIDとを取得する。TVクラウド3の生成部314は、認証コードを生成し、上記TVIDと、上記ECサイトのコンテンツ提供サーバ4を識別する情報であるECサーバIDと、認証コードとを含む情報を記憶部311のDBに記憶する。また、生成部314は、当該認証コードと、上記ECサイトのアクセス先であるURLとに基づいた2次元コードであるQRコード(登録商標)を生成する。なお、QRコードは、一例であり、他の表示情報でもよい。すなわち、当該認証コードと、ECサイトのアクセス先情報とを伝達可能な他の形式の表示情報でもよい。上記認証コードは、メーカを判別するための部分とテレビジョン装置2を判別するための部分を含むようにしてもよい。 The acquisition unit 312 of the TV cloud 3 acquires information about the EC site and the TV ID from the television device 2. The generation unit 314 of the TV cloud 3 generates an authentication code and stores information including the TV ID, an EC server ID that is information for identifying the content providing server 4 of the EC site, and the authentication code in the DB of the storage unit 311. The generation unit 314 also generates a QR code (registered trademark), which is a two-dimensional code based on the authentication code and a URL that is an access destination of the EC site. Note that the QR code is an example, and other display information may be used. In other words, display information of another format that can transmit the authentication code and the access destination information of the EC site may be used. The authentication code may include a portion for identifying the manufacturer and a portion for identifying the television device 2.
ステップS2において、TVクラウド3の送信部313は、上記QRコードを要求元のテレビジョン装置2へ送信する。テレビジョン装置2からの要求に応じて、ECサイトへのアクセス先となるURLと、認証コードとを含むQRコードを送信する。 In step S2, the transmission unit 313 of the TV cloud 3 transmits the QR code to the television device 2 that made the request. In response to a request from the television device 2, the transmission unit 313 transmits a QR code including a URL to access the EC site and an authentication code.
テレビジョン装置2の取得部243は、TVクラウド3からQRコードを取得する。このように、テレビジョン装置2の取得部243は、認証コードと、上記ECサイトのアクセス先であるURLとに基づいたアクセス情報となるQRコードを取得する。テレビジョン装置2の表示制御部244は、当該QRコードを映像表示部233に表示させる。このように、表示制御部244は、QRコードを表示出力する。 The acquisition unit 243 of the television device 2 acquires a QR code from the TV cloud 3. In this way, the acquisition unit 243 of the television device 2 acquires a QR code that is access information based on the authentication code and the URL that is the access destination of the EC site. The display control unit 244 of the television device 2 causes the QR code to be displayed on the video display unit 233. In this way, the display control unit 244 displays and outputs the QR code.
ステップS3において、スマートフォン1は、撮像手段などにより実現するQRコード読み取り機能により、映像表示部233に表示されたQRコードを読み取る。これにより、スマートフォン1は、ECサイトのURLおよび認証コードを取得する。ステップS4において、スマートフォン1は、ECサイトのURLおよび認証コードを取得すると、当該URLに基づいて、コンテンツ提供サーバ4へアクセスすると共に、認証コードを送信する。 In step S3, the smartphone 1 reads the QR code displayed on the video display unit 233 using a QR code reading function implemented by an imaging means or the like. As a result, the smartphone 1 obtains the URL and authentication code of the EC site. In step S4, after obtaining the URL and authentication code of the EC site, the smartphone 1 accesses the content providing server 4 based on the URL and transmits the authentication code.
コンテンツ提供サーバ4は、スマートフォン1から認証コードを取得すると、ステップS5において、コンテンツ提供サーバ4を識別する情報と共に、当該認証コードをTVクラウド3へ送信し、認証リクエストをする。また、TVクラウド3の取得部312は、コンテンツ提供サーバ4を識別する情報と共に、当該認証コードを取得する。このように、TVクラウド3の取得部312は、コンテンツ提供サーバ4から送信された認証コードを取得する。 When the content providing server 4 acquires the authentication code from the smartphone 1, in step S5, it transmits the authentication code to the TV cloud 3 together with information identifying the content providing server 4, and makes an authentication request. In addition, the acquisition unit 312 of the TV cloud 3 acquires the authentication code together with information identifying the content providing server 4. In this way, the acquisition unit 312 of the TV cloud 3 acquires the authentication code transmitted from the content providing server 4.
TVクラウド3の生成部314は、記憶部311のDBを参照し、取得部312により取得されたコンテンツ提供サーバ4を識別する情報および認証コードに対応する情報があるか否かを判断することで認証する。生成部314は、記憶部311のDBを参照し、取得部312により取得されたコンテンツ提供サーバ4を識別する情報および認証コードに対応する情報がある場合、公知技術により、トークンを生成する。また、生成部314は、上記DBにおける取得部312により取得されたコンテンツ提供サーバ4を識別する情報および認証コードを有する情報に、上記トークンをさらに対応付ける。上記取得部312により取得されたコンテンツ提供サーバ4を識別する情報および認証コードを有する情報に、上記トークンをさらに対応付けた情報には、要求元のテレビジョン装置2のTVIDも含む。 The generation unit 314 of the TV cloud 3 performs authentication by referring to the DB of the storage unit 311 and determining whether there is information corresponding to the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312. The generation unit 314 refers to the DB of the storage unit 311, and if there is information corresponding to the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312, generates a token using publicly known technology. The generation unit 314 also associates the token with the information identifying the content providing server 4 and the information having the authentication code acquired by the acquisition unit 312 in the DB. The information further associating the token with the information identifying the content providing server 4 and the information having the authentication code acquired by the acquisition unit 312 includes the TVID of the television device 2 that made the request.
よって、生成部314は、上記認証コードに対応するテレビジョン装置2と、当該認証コードに基づくトークンとを対応付けた対応情報を生成する。 Therefore, the generation unit 314 generates correspondence information that associates the television device 2 corresponding to the above authentication code with a token based on the authentication code.
ステップS6において、TVクラウド3の送信部313は、生成部314により生成されたトークンをコンテンツ提供サーバ4へ送信する。このように、送信部313は、認証コードに基づくトークンをコンテンツ提供サーバ4へ送信する。コンテンツ提供サーバ4は、当該トークンと、認証コードの送信元のスマートフォン1のユーザIDとを対応付けた情報を保持しておく。 In step S6, the transmission unit 313 of the TV cloud 3 transmits the token generated by the generation unit 314 to the content providing server 4. In this manner, the transmission unit 313 transmits a token based on the authentication code to the content providing server 4. The content providing server 4 retains information associating the token with the user ID of the smartphone 1 that transmitted the authentication code.
ステップS7において、スマートフォン1は、コンテンツ提供サーバ4へログインして、ECサイトへアクセスする。これにより、スマートフォン1は、ECサイト画面を表示する。ここで、スマートフォン1のユーザは、当該ECサイト画面における所定のリンク先について、テレビ表示要求を示す指示を選択する。ステップS8において、スマートフォン1は、当該選択に応じて、リンク先のURLをコンテンツ提供サーバ4へ送信することで、テレビ表示要求(TV表示要求)をする。コンテンツ提供サーバ4は、スマートフォン1からテレビ表示要求と共に、画像表示対象のURLを取得する。 In step S7, the smartphone 1 logs in to the content providing server 4 and accesses the EC site. As a result, the smartphone 1 displays the EC site screen. Here, the user of the smartphone 1 selects an instruction indicating a television display request for a specific link destination on the EC site screen. In step S8, in response to the selection, the smartphone 1 makes a television display request (TV display request) by sending the URL of the link destination to the content providing server 4. The content providing server 4 obtains the URL of the image display target from the smartphone 1 along with the television display request.
ステップS9において、コンテンツ提供サーバ4は、要求元のスマートフォン1に対応するトークンと、画像表示対象のURLとをTVクラウド3へ送信し、表示要求する。TVクラウド3の取得部312は、コンテンツ提供サーバ4により送信されたトークンとURLとを取得する。このように、取得部312は、コンテンツ提供サーバ4により送信されたトークンと、スマートフォン1からの要求に基づく表示対象の画像のアクセス先のURLとを取得する。 In step S9, the content providing server 4 transmits a token corresponding to the requesting smartphone 1 and the URL of the image to be displayed to the TV cloud 3, and requests display. The acquisition unit 312 of the TV cloud 3 acquires the token and URL transmitted by the content providing server 4. In this way, the acquisition unit 312 acquires the token transmitted by the content providing server 4 and the URL of the access destination of the image to be displayed based on the request from the smartphone 1.
ステップS10において、TVクラウド3は、記憶部311のDBを参照し、取得部312が取得したトークンに対応するTVIDを特定する。そして、TVクラウド3の送信部313は、当該TVIDに対応するテレビジョン装置2に対して表示対象の画像のアクセス先のURLを送信する。 In step S10, the TV cloud 3 refers to the DB of the storage unit 311 and identifies the TV ID corresponding to the token acquired by the acquisition unit 312. The transmission unit 313 of the TV cloud 3 then transmits the URL of the access destination of the image to be displayed to the television device 2 corresponding to the TV ID.
テレビジョン装置2の取得部243は、表示対象の画像のアクセス先のURLを取得する。また、テレビジョン装置2の送信部242が、当該URLに基づいて、コンテンツ提供サーバ4へアクセスすることで、取得部243は、表示対象の画像のアクセス先に基づく画像をコンテンツ提供サーバ4から取得する。そして、テレビジョン装置2の表示制御部244は、取得部243により取得された画像を映像表示部233に表示させる。 The acquisition unit 243 of the television device 2 acquires the URL of the access destination of the image to be displayed. Furthermore, the transmission unit 242 of the television device 2 accesses the content providing server 4 based on the URL, and the acquisition unit 243 acquires an image based on the access destination of the image to be displayed from the content providing server 4. The display control unit 244 of the television device 2 then causes the image acquired by the acquisition unit 243 to be displayed on the video display unit 233.
第1の実施形態に係るTVクラウド3は、認証コードに対応するテレビジョン装置2と、当該認証コードに基づくトークンとを対応付けた対応情報を生成し、コンテンツ提供サーバ4から当該トークンとスマートフォン1からの要求に基づく表示対象の画像のアクセス先とを取得すると、テレビジョン装置2へ当該画像のアクセス先を通知することで、テレビジョン装置2にスマートフォン1の要求に応じた画像を表示させることができる。これにより、TVクラウド3は、スマートフォン1の画面より大きく表示できるテレビジョン装置2にスマートフォン1の要求に基づく画像を表示させることができる。 The TV cloud 3 according to the first embodiment generates correspondence information that associates the television device 2 corresponding to an authentication code with a token based on the authentication code, and upon acquiring the token and the access destination of the image to be displayed based on a request from the smartphone 1 from the content providing server 4, notifies the television device 2 of the access destination of the image, thereby allowing the television device 2 to display the image according to the request of the smartphone 1. This allows the TV cloud 3 to display the image based on the request of the smartphone 1 on the television device 2, which can display an image larger than the screen of the smartphone 1.
また、テレビジョン装置2は、コンテンツ提供サーバ4へのアクセス先と、認証コードとを含むアクセス情報を出力し、TVクラウド3からスマートフォン1からの要求に基づく表示対象の画像のアクセス先を取得し、当該画像を映像表示部233に表示させる。これにより、テレビジョン装置2は、スマートフォン1の画面より大きく表示できる映像表示部233にスマートフォン1の要求に基づく画像を表示させることができる。 The television device 2 also outputs access information including the access destination to the content providing server 4 and an authentication code, acquires the access destination of the image to be displayed based on the request from the smartphone 1 from the TV cloud 3, and displays the image on the video display unit 233. This allows the television device 2 to display the image based on the request from the smartphone 1 on the video display unit 233, which can display an image larger than the screen of the smartphone 1.
(第2実施形態)
第2実施形態にかかる情報連携システムSは、第1実施形態とは異なり、テレビジョン装置2のメーカ毎にTVクラウド3が異なる。すなわち、第2実施形態にかかる情報連携システムSは、複数のTVクラウド3を有する。
Second Embodiment
The information link system S according to the second embodiment differs from the first embodiment in that the TV cloud 3 is different for each manufacturer of the television device 2. That is, the information link system S according to the second embodiment has a plurality of TV clouds 3.
ここで、第2実施形態の情報連携システムSの全体構成例について説明する。図8は、第2実施形態の情報連携システムSの全体構成例の概要を示す図である。なお、第1実施形態と同一の構成については同一の符号を付与し説明を省略する。図8に示すように、情報連携システムSは、TVクラウド3(TVクラウド3a、TVクラウド3b)を複数有する。TVクラウド3bは、当該TVクラウド3bに関連するメーカの図示しないテレビであるテレビジョン装置2と接続可能である。 Here, an example of the overall configuration of the information linkage system S of the second embodiment will be described. FIG. 8 is a diagram showing an overview of an example of the overall configuration of the information linkage system S of the second embodiment. Note that the same components as those in the first embodiment are given the same reference numerals and will not be described. As shown in FIG. 8, the information linkage system S has multiple TV clouds 3 (TV cloud 3a, TV cloud 3b). TV cloud 3b can be connected to a television device 2, which is a television (not shown) made by a manufacturer related to TV cloud 3b.
2はテレビである。
3は、いわゆるプッシュ配信サーバであるTVクラウドである。TVクラウド3はテレビジョン装置2を製造し、さらに、テレビジョン装置2から視情報を収集した結果からテレビジョン装置2に対してネットワークを経由して視聴番組や予約番組推薦、視聴番組内容に基づく商品推薦の等の各種サービスを提供しているテレビメーカのサーバである。
Number two is a television.
A TV cloud 3 is a so-called push distribution server. The TV cloud 3 is a server of a television manufacturer that manufactures the television device 2 and provides various services to the television device 2 via a network based on viewing information collected from the television device 2, such as recommendations for programs to be viewed or reserved, and product recommendations based on the contents of the viewed programs.
また、5は、共通受付サーバであるテレビゲートウェイである。テレビゲートウェイ5は、複数のテレビメーカのTVクラウド3を統合してEコマース(EC)に接続するためのテレビジョン装置のメーカのメーカ共通サイトのサーバである。情報連携システムSは、当該複数のTVクラウド3とネットワークを介して情報を送受信可能なテレビゲートウェイ5(サーバ管理装置)を有する。また、テレビゲートウェイ5は、広告表示した結果を集計する計測処理をするための計測サーバ6ともネットワークを介して情報を送受信可能である。このテレビゲートウェイ5は、各メーカを連合したクラウドサーバである。すなわち、テレビゲートウェイ5は、複数のテレビメーカのTVクラウド3を統合してコンテンツ提供サーバ4に接続するためのサーバである。テレビゲートウェイ5は、コンテンツ提供サーバ4にクライアントクレデンシャル(client_id、client_secret)を発行する。 5 is a television gateway, which is a common reception server. The television gateway 5 is a server at a common manufacturer site of television device manufacturers for integrating the TV clouds 3 of multiple television manufacturers and connecting to e-commerce (EC). The information linkage system S has a television gateway 5 (server management device) that can transmit and receive information to the multiple TV clouds 3 via a network. The television gateway 5 can also transmit and receive information to a measurement server 6 via a network for performing measurement processing to tally up the results of advertisement display. This television gateway 5 is a cloud server that integrates each manufacturer. In other words, the television gateway 5 is a server for integrating the TV clouds 3 of multiple television manufacturers and connecting to the content providing server 4. The television gateway 5 issues client credentials (client_id, client_secret) to the content providing server 4.
また、TVクラウド3とテレビゲートウェイ5との間でx-api-keyに設置するランダム秘密が予め定められている。テレビゲートウェイ5とコンテンツ提供サーバ4との間で受け渡されるx-api-keyは、pass-keyになる。 In addition, a random secret to be set in the x-api-key between the TV cloud 3 and the TV gateway 5 is determined in advance. The x-api-key passed between the TV gateway 5 and the content providing server 4 becomes a pass-key.
4はECサイトサーバ等のコンテンツ提供サーバである。コンテンツ提供サーバ4は、ECのプラットフォーマのサーバである。ユーザ即ち消費者にとって、商品やサービスを購入するためのプラットフォームとなるサーバがコンテンツ提供サーバ4である。また、コンテンツ提供サーバ4は、redirect_uriをテレビゲートウェイ5に予め登録させる。 4 is a content providing server such as an EC site server. The content providing server 4 is a server of an EC platform provider. For users, i.e., consumers, the content providing server 4 is a server that serves as a platform for purchasing products and services. In addition, the content providing server 4 pre-registers the redirect_uri in the TV gateway 5.
1050はユーザ端末である。ユーザ端末1050は、テレビジョン装置2とユーザ端末1050とをつなぐためのアプリケーションプログラムと、カメラ等の光学的な読み取り装置とを有する端末である。ユーザ端末1050の一例として、スマートフォン1が該当する。第1実施形態では、ユーザ端末1050が、スマートフォン1であるものとして説明しているがスマートフォンに限定されない。ユーザ端末1050は、PC、タブレット端末等で状況の条件を満たすものであればよい。また、これらの端末は、第1実施形態で示したスマートフォンを置き換えることができる。 1050 is a user terminal. The user terminal 1050 is a terminal having an application program for connecting the television device 2 and the user terminal 1050, and an optical reading device such as a camera. An example of the user terminal 1050 is a smartphone 1. In the first embodiment, the user terminal 1050 is described as being the smartphone 1, but is not limited to a smartphone. The user terminal 1050 may be a PC, a tablet terminal, or the like, as long as it satisfies the conditions of the situation. Furthermore, these terminals can replace the smartphone shown in the first embodiment.
図9は、第2実施形態のテレビゲートウェイ5の全体構成例を示すブロック図である。図9に示すように、テレビゲートウェイ5は、通信I/F501、操作部502、CPU503、メモリ504、およびストレージ装置505を備える。 Fig. 9 is a block diagram showing an example of the overall configuration of the TV gateway 5 of the second embodiment. As shown in Fig. 9, the TV gateway 5 includes a communication I/F 501, an operation unit 502, a CPU 503, a memory 504, and a storage device 505.
通信I/F501は、外部装置との間の通信に用いられるインターフェースである。操作部502は、キーボードやマウス等の等の入力デバイスと、ディスプレイ等の表示デバイスと、を有する。 The communication I/F 501 is an interface used for communication with an external device. The operation unit 502 has input devices such as a keyboard and a mouse, and a display device such as a display.
ストレージ装置505は、例えばHDDやSSD等を備え、各種情報を記憶する。CPU503は、各種プログラムを実行することにより、テレビゲートウェイ5の各コンポーネントを制御する。メモリ504は、ROMやRAM等を備え、CPU503による各種演算処理に用いられる各種プログラムおよび各種データ等を記憶する。 The storage device 505 includes, for example, an HDD or SSD, and stores various information. The CPU 503 executes various programs to control each component of the TV gateway 5. The memory 504 includes, for example, a ROM or RAM, and stores various programs and data used in various arithmetic processing by the CPU 503.
図10は、第2実施形態のテレビゲートウェイ5の部分構成例を示すブロック図である。テレビゲートウェイ5は、記憶部511(メモリ504、ストレージ装置505)と、記憶部511に記憶されたプログラムがCPU503によって実行された結果として生成される機能モジュールとして、取得部512と、送信部513と、生成部514とを備える。 Fig. 10 is a block diagram showing an example of a partial configuration of the TV gateway 5 of the second embodiment. The TV gateway 5 includes a storage unit 511 (memory 504, storage device 505), and an acquisition unit 512, a transmission unit 513, and a generation unit 514 as functional modules generated as a result of a program stored in the storage unit 511 being executed by the CPU 503.
記憶部511は、CPU503によって実行されるプログラムやDB(DataBase)を記憶する。 The memory unit 511 stores programs executed by the CPU 503 and a DB (database).
取得部512は、外部装置から各種情報を取得する。送信部513は、外部装置へ各種情報を送信する。生成部514は、DBに対して情報の生成動作を実行する。 The acquisition unit 512 acquires various information from an external device. The transmission unit 513 transmits various information to an external device. The generation unit 514 executes an information generation operation for the DB.
次に、第2実施形態の情報連携システムSにおける各構成の処理の流れについて説明する。図11は、第2実施形態の情報連携システムSにおける全体処理を示すフローチャートである。図11に示すフローチャートも、ユーザがテレビジョン装置2のリモコン等を操作して、いわゆるポータル画面で、ユーザがスマートフォン1と連携させたいECサイトを指定する場面をスタートとする。なお、TVクラウド3が生成する認証コードおよびトークンは、メーカを識別する情報を含むものとする。すなわち、TVクラウド3は、自装置を識別する情報を認証コードおよびトークンに含めるものとする。 Next, the process flow of each component in the information linking system S of the second embodiment will be described. FIG. 11 is a flowchart showing the overall process in the information linking system S of the second embodiment. The flowchart shown in FIG. 11 also starts when the user operates the remote control of the television device 2 or the like to specify, on a so-called portal screen, the EC site that the user wants to link with the smartphone 1. Note that the authentication code and token generated by the TV cloud 3 include information that identifies the manufacturer. In other words, the TV cloud 3 includes information that identifies its own device in the authentication code and token.
また、図11のステップS21は、図7のステップS1と同様のため、説明を省略する。ステップS22において、URL認証コードがTVクラウド3からテレビジョン装置2に送付される。URL認証コード2010はコンテンツ提供サーバ4を特定するURL情報とコンテンツ提供サーバ4とTVクラウド3間の認証を行うための認証コードを含んだ情報である。認証コードは、テレビジョン装置2のメーカを判別するための部分とテレビジョン装置2を判別するための部分を含むようにしてもよい。また、認証コードに含まれるテレビジョン装置2を判別するため部分は、ランダムな値である。また、TVクラウド3は、この値をテレビジョン装置2へ送信した時刻を記憶部311のDBの情報として対応付けてもよい。 Also, step S21 in FIG. 11 is similar to step S1 in FIG. 7, so a description thereof will be omitted. In step S22, a URL authentication code is sent from the TV cloud 3 to the television device 2. The URL authentication code 2010 is information including URL information identifying the content providing server 4 and an authentication code for performing authentication between the content providing server 4 and the TV cloud 3. The authentication code may include a portion for identifying the manufacturer of the television device 2 and a portion for identifying the television device 2. Furthermore, the portion included in the authentication code for identifying the television device 2 is a random value. Furthermore, the TV cloud 3 may associate the time when this value is sent to the television device 2 as information in the DB of the memory unit 311.
URL認証コード2010の情報の例は、以下の通りである。
https://XXXXXXX YYYYYYYYY
Xの部分にはコンテンツ提供サーバ4のURL、Yの部分にはOAuth2のauthorization codeが入っている。authorization codeの部分にはメーカとテレビを特定できる情報が入っている。メーカとテレビジョン装置2を特定できる情報はどちらか1つでもよい。URL認証コード2010の送付形式は上記の情報が含まれていれば、どのような形式でもよい。
An example of the information of the URL authentication code 2010 is as follows:
https://XXXXXXXX YYYYYYYYY
The X portion contains the URL of the content providing server 4, and the Y portion contains the OAuth2 authorization code. The authorization code portion contains information that can identify the manufacturer and the television. Either one of the information that can identify the manufacturer and the television device 2 may be used. The sending format of the URL authentication code 2010 may be any format as long as it contains the above information.
テレビジョン装置2の取得部243は、TVクラウド3からURL認証コード2010を取得すると、表示制御部244は、当該URL認証コード2010の内容を映像表示部233で光学的に画像または映像として表示出力する。なお、表示制御部244での表示形態は、QRコード、バーコード、テキスト等で、上記URL認証コード2010に含まれる情報を光学的に画像または映像として表示出力できればよい。また、第1実施形態では、QRコードで説明しているが、本実施形態と同様にQRコードに限定されるものではない。 When the acquisition unit 243 of the television device 2 acquires the URL authentication code 2010 from the TV cloud 3, the display control unit 244 optically displays and outputs the contents of the URL authentication code 2010 as an image or video on the video display unit 233. The display form of the display control unit 244 may be a QR code, a barcode, text, or the like, as long as it is possible to optically display and output the information contained in the URL authentication code 2010 as an image or video. Also, although the first embodiment is described using a QR code, it is not limited to a QR code as in this embodiment.
また、図7のステップS3と同様、ステップS23において、ユーザ端末1050は、撮像手段で光学的に撮影した画像情報からURL認証コード読み取り機能により、映像表示部233に光学的に表示されたURL認証コード2011の情報を読み取る。これにより、ユーザ端末1050は、ECサイトのURLおよび認証コードを取得する。当該認証コード部分は、時限付き認証コードで以下のように構成されている。
“code” : <authorization code>,
“state” : <string> // 乱数
7, in step S23, the user terminal 1050 reads the information of the URL authentication code 2011 optically displayed on the video display unit 233 from the image information optically captured by the imaging means using the URL authentication code reading function. As a result, the user terminal 1050 obtains the URL and authentication code of the EC site. The authentication code portion is a time-limited authentication code and is configured as follows:
“code”: <authorization code>,
"state" : <string> // Random number
ステップS24において、ユーザ端末1050は、ECサイトのURLおよび認証コードを取得すると、当該URLに基づいて、コンテンツ提供サーバ4へアクセスすると共に、認証コード2020を送信する。 In step S24, when the user terminal 1050 acquires the URL and authentication code of the EC site, it accesses the content providing server 4 based on the URL and transmits the authentication code 2020.
認証コード2020は、URL認証コード2010、URL認証コード2011の認証コード部分(<authorization code>)である。認証コード2021は、以下の通りである。
“code” : <authorization code>,
“state” : <string> // 乱数
なお、認証コード2020には、上記に加えコンテンツ提供サーバ4のURL情報が含まれていてもよい。
The authentication code 2020 is the authentication code portion (<authorization code>) of the URL authentication code 2010 and the URL authentication code 2011. The authentication code 2021 is as follows.
“code”: <authorization code>,
"state": <string> // random number The authentication code 2020 may also include URL information of the content providing server 4 in addition to the above.
ステップS25において、コンテンツ提供サーバ4は、認証コード2020を受信すると、認証コード2021をテレビゲートウェイ5へ送信し、認証リクエストをする。コンテンツ提供サーバ4は、例えば、テレビゲートウェイ5のOAuth2のToken Endpointに認証リクエストの情報を送る。認証コード2021の情報は、以下の構成である。
Authorization: “Basic ” + Base64(<client_id> + “:” + <client_secret>)
Content-type: application/x-www-form-urlencoded
・grant_type:“authorization_code”
・code :<authorization code> (認証コード)
・redirect_uri:コンテンツ提供サーバ4のECサイトに戻るときの入口、テレビゲートウェイ5に事前登録のもの。
・client_id:コンテンツ提供サーバ4のECサイト別に割り当てた識別子。テレビゲートウェイ5に事前登録のもの。
client_secretは、コンテンツ提供サーバ4のサイト別にclient_idに基づきテレビゲートウェイ5が割り当てたもの。テレビゲートウェイ5のサイトはcodeのメーカ拡張子を見てリダイレクトする。
In step S25, upon receiving the authentication code 2020, the content providing server 4 transmits an authentication code 2021 to the television gateway 5 to request authentication. The content providing server 4 transmits information of the authentication request to, for example, the Token Endpoint of OAuth2 of the television gateway 5. Information of the authentication code 2021 has the following structure.
Authorization: “Basic” + Base64 (<client_id> + “:” + <client_secret>)
Content-type: application/x-www-form-urlencoded
・grant_type: “authorization_code”
・code :<authorization code> (authentication code)
redirect_uri: an entrance for returning to the EC site of the content providing server 4, which is preregistered in the television gateway 5.
client_id: an identifier assigned to each EC site of the content providing server 4 and pre-registered in the TV gateway 5.
The client_secret is assigned by the television gateway 5 based on the client_id for each site of the content providing server 4. The site of the television gateway 5 checks the manufacturer extension of the code and performs redirection.
ステップS26において、テレビゲートウェイ5の送信部313は、取得した認証コード2021を参照し、認証コード2021に含まれるメーカを識別する情報を参照し、送信先のTVクラウド3を特定する。具体的に、テレビゲートウェイ5の送信部313は、authorization code即ち、認証コードを確認し、どのTVクラウド3であるかを判定する。 In step S26, the transmission unit 313 of the TV gateway 5 refers to the acquired authentication code 2021, refers to the information identifying the manufacturer included in the authentication code 2021, and identifies the destination TV cloud 3. Specifically, the transmission unit 313 of the TV gateway 5 checks the authorization code, i.e., the authentication code, and determines which TV cloud 3 it is.
そして、ステップS27において、テレビゲートウェイ5の送信部313は、送信先のTVクラウド3へ認証リクエスト2022を送信することで認証リクエストをする。
このように、テレビゲートウェイ5の送信部513は、認証コード2021のAuthorization_code(認証コード)に基づいて特定された送信先のTVクラウド3へ認証リクエスト2022を送信する。テレビゲートウェイ5の送信部313が送信する認証リクエスト2022の情報は、コンテンツ提供サーバ4から取得した認証コード2021の情報と同じである。その他の認証リクエスト2022の情報の例としては、以下のものがある。
GET https://each-maker.example.com/common/devices/id
Authorization:“Bearer ”+<access_token>
TVクラウド3の取得部312は、コンテンツ提供サーバ4を識別する情報と共に、URL認証コード2010に記載された認証コードを取得する。
Then, in step S27, the transmission unit 313 of the television gateway 5 makes an authentication request by transmitting an authentication request 2022 to the destination TV cloud 3.
In this way, the transmission unit 513 of the television gateway 5 transmits the authentication request 2022 to the destination TV cloud 3 specified based on the Authorization_code (authentication code) of the authentication code 2021. Information of the authentication request 2022 transmitted by the transmission unit 313 of the television gateway 5 is the same as the information of the authentication code 2021 acquired from the content providing server 4. Other examples of the information of the authentication request 2022 include the following.
GET https://each-maker. example. com/common/devices/id
Authorization: “Bearer” + <access_token>
The acquisition unit 312 of the TV cloud 3 acquires the authentication code written in the URL authentication code 2010 together with the information for identifying the content providing server 4 .
TVクラウド3の生成部314は、記憶部311のDBを参照し、取得部312により取得されたコンテンツ提供サーバ4を識別する情報および認証コードに対応する情報があるか否かを判断することで認証する。生成部314は、記憶部311のDBを参照し、取得部312により取得されたコンテンツ提供サーバ4を識別する情報および認証コードに対応する情報がある場合、トークン2030を生成する。また、生成部314は、上記DBにおける取得部312により取得されたコンテンツ提供サーバ4を識別する情報および認証コードを有する情報に、トークン2030をさらに対応付ける。 The generation unit 314 of the TV cloud 3 performs authentication by referring to the DB of the storage unit 311 and determining whether or not there is information corresponding to the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312. The generation unit 314 refers to the DB of the storage unit 311, and generates a token 2030 if there is information corresponding to the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312. The generation unit 314 further associates the token 2030 with information having the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312 in the above DB.
ステップS28において、TVクラウド3の送信部313は、生成部314により生成されたトークン2030をテレビゲートウェイ5へ送信する。 In step S28, the transmission unit 313 of the TV cloud 3 transmits the token 2030 generated by the generation unit 314 to the TV gateway 5.
具体的に、TVクラウド3の送信部313は、OAuth2のToken Responseをトークン2030としてテレビゲートウェイ5に送付する。このレスポンスのOAuth2 Access Token Responseは以下のように構成される。
{“access_token”: <access token>,
“token_type”: “Bearer”,
“expires_in”: 3600,
“refresh_token”: <refresh token>}
TVクラウド3がテレビゲートウェイ5にアクセスするときはaccess_token を付ける。expires_inは、access_token の有効期間(秒)であり、access_tokenを受け取ったときに無効になる時刻と共に記憶しておき、それまではこのaccess_tokenを繰り返し使う。refresh_tokenは、コンテンツ提供サーバ4が秘密に保管する。セキュリティ上、単純にlocal storageに置いておくのは良くないためである。access_token、refresh_tokenを各メーカで発行時、先頭にテレビメーカを識別する識別子を付けることでテレビメーカを特定することができる。
Specifically, the transmission unit 313 of the TV cloud 3 sends the OAuth2 Token Response to the TV gateway 5 as the token 2030. This response, the OAuth2 Access Token Response, has the following configuration.
{“access_token”: <access token>,
“token_type”: “Bearer”,
“expires_in”: 3600,
“refresh_token”: <refresh token>}
When the TV cloud 3 accesses the TV gateway 5, it attaches the access_token. expires_in is the validity period (seconds) of the access_token, and is stored together with the time at which the access_token becomes invalid when it is received, and until then, the access_token is used repeatedly. The refresh_token is stored secretly by the content providing server 4. For security reasons, it is not good to simply leave it in local storage. When the access_token and refresh_token are issued by each manufacturer, the TV manufacturer can be identified by attaching an identifier that identifies the TV manufacturer to the beginning of the token.
テレビゲートウェイ5の取得部512は、トークン2030を取得する。そして、ステップS29において、テレビゲートウェイ5は、トークン2030をトークン2031としてコンテンツ提供サーバ4へ送信し、コンテンツ提供サーバ4は、トークン2031を取得する。なお、TVクラウド3の送信部313は、直接コンテンツ提供サーバ4へトークンを送信するようにしてもよい。 The acquisition unit 512 of the TV gateway 5 acquires the token 2030. Then, in step S29, the TV gateway 5 transmits the token 2030 to the content providing server 4 as the token 2031, and the content providing server 4 acquires the token 2031. Note that the transmission unit 313 of the TV cloud 3 may transmit the token directly to the content providing server 4.
コンテンツ提供サーバ4は、トークン2031と、認証コードの送信元のユーザ端末1050のユーザIDとを対応付けた情報を保持しておく。 The content providing server 4 stores information associating the token 2031 with the user ID of the user terminal 1050 that sent the authentication code.
そして、ステップS30において、コンテンツ提供サーバ4は、トークン2031と、ユーザIDとをレスポンスとしてトークン+ユーザID2040をテレビゲートウェイ5へ送信する。これにより、コンテンツ提供サーバ4は、ユーザ端末1050のユーザのユーザIDをテレビゲートウェイ5へ送信することができる。 Then, in step S30, the content providing server 4 transmits the token 2031 and the user ID as a response, i.e., the token + user ID 2040, to the television gateway 5. This enables the content providing server 4 to transmit the user ID of the user of the user terminal 1050 to the television gateway 5.
コンテンツ提供サーバ4が送信するトークン+ユーザID2040の情報の構成は、以下の通りである。
POST https://tv-common.example.com/common/users/id
Authorization:“Basic ”+Base64(<client_id>+“:”+<client_secret>)
Content-type:application/x-www-form-urlencoded
{grant_type:“access_token”,
access_token:<access token>(ステップS28でaccess tokenとして発行された情報),
client_id: コンテンツ提供サーバ4のサイト別に割り当てた識別子。メーカ共通サイトに事前登録,
user_id:コンテンツ提供サーバ4のサイトにおけるユーザID,
Preference:<現在のユーザ属性(現在のユーザ属性:ユーザの生年月日、性別、郵便番号、購買履歴等)>}
The information of the token+user ID 2040 transmitted by the content providing server 4 has the following structure:
POST https://tv-common. example. com/common/users/id
Authorization: “Basic” + Base64 (<client_id> + “:” + <client_secret>)
Content-type:application/x-www-form-urlencoded
{grant_type: “access_token”,
access_token: <access token> (information issued as the access token in step S28),
client_id: An identifier assigned to each site of the content providing server 4. Pre-registered at the manufacturer's common site.
user_id: User ID at the site of the content providing server 4,
Preference: <Current user attributes (current user attributes: user's date of birth, gender, zip code, purchase history, etc.)>}
テレビゲートウェイ5の取得部512は、コンテンツ提供サーバ4からトークン+ユーザID2040を取得する。ステップS31において、テレビゲートウェイ5の送信部513は、トークン+ユーザID2040から送信先のTVクラウド3を特定し、送信先のTVクラウド3へデバイスID要求2041(TVID)を送信する。なお、テレビゲートウェイ5の送信部513は、デバイスID要求2041の送信する際、トークンを送信するようにしてもよい。 The acquisition unit 512 of the TV gateway 5 acquires the token+user ID 2040 from the content providing server 4. In step S31, the transmission unit 513 of the TV gateway 5 identifies the destination TV cloud 3 from the token+user ID 2040, and transmits a device ID request 2041 (TV ID) to the destination TV cloud 3. Note that the transmission unit 513 of the TV gateway 5 may transmit the token when transmitting the device ID request 2041.
デバイスID要求2041は、テレビゲートウェイ5がOAuth2のaccess_tokenで各メーカ(TVクラウド3)にTVのdevice_id(TVID)を問い合わせるための要求であり、例えば、以下のものである。
GET https://each-maker.example.com/common/devices/id
・Authorization:“Bearer ”+<access_token>
・x-api-key:<メーカ共通サイトと各メーカで定めたランダム秘密>
・Content-type:application/json
・client_id:メーカ共通サイト別に割り当てた識別子
The device ID request 2041 is a request for the television gateway 5 to inquire of each manufacturer (TV cloud 3) about the device_id (TVID) of the TV using the access_token of OAuth2, and is, for example, as follows:
GET https://each-maker. example. com/common/devices/id
・Authorization: “Bearer” + <access_token>
・x-api-key: <Random secret determined by the manufacturer's common site and each manufacturer>
・Content-type: application/json
client_id: Identifier assigned to each manufacturer's common site
TVクラウド3は、記憶部311のDBを参照し、取得したトークンに対応するTVIDを取得する。また、TVクラウド3は、取得したTVIDに対応するデバイスの情報(当該TVIDのテレビジョン装置2の属性情報)も取得するようにしてもよい。ステップS32において、TVクラウド3の送信部313は、TVID等の情報をデバイスID応答2050として、テレビゲートウェイ5へ送信する。デバイスID応答2050の例として以下のようなものがある。
・“device_id”:<id>(テレビジョン装置2にTVクラウド3が付与したTVID)
・“model”:<model name>(テレビジョン装置2のモデル即ち表示画面インチや2K、4K、8K等の画素数情報等)
The TV cloud 3 refers to the DB of the storage unit 311 and acquires a TV ID corresponding to the acquired token. The TV cloud 3 may also acquire device information corresponding to the acquired TV ID (attribute information of the television device 2 of the TV ID). In step S32, the transmission unit 313 of the TV cloud 3 transmits information such as the TV ID to the television gateway 5 as a device ID response 2050. Examples of the device ID response 2050 include the following.
"device_id": <id> (TVID assigned to the television device 2 by the TV cloud 3)
"model": <model name> (model of the television device 2, i.e., display screen size, pixel count information such as 2K, 4K, 8K, etc.)
ステップS33において、テレビゲートウェイ5の生成部514は、取得したTVID(デバイスID)とユーザIDとテレビジョン装置2のモデル情報(model)とを関連付けた情報バインド情報をDBの情報として、記憶部511へ登録する。 In step S33, the generation unit 514 of the television gateway 5 registers information binding information that associates the acquired TVID (device ID), user ID, and model information (model) of the television device 2 as DB information in the storage unit 511.
また、テレビゲートウェイ5の生成部514は、パス・キー2051を生成する。また、ステップS34において、送信部513は、当該パス・キーをコンテンツ提供サーバ4へ送信する。当該パス・キーは、以下の情報を含む。
・“pass_key”:<pass_key>,(ステップS44以降の操作コマンド2090から操作コマンド2093の動作の際にこのpass_keyをIDとして用いる)
・“expires_in”:86400,(expires_inは最初のアクセスではpreferenceが用意できない場合でも10日とか猶予付きで返す。)
・“model”:<model name>(デバイスID応答のmodelの情報でテレビジョン装置2のモデル即ち表示画面インチや2K、4K、8K等の画素数情報等)
Furthermore, the generating unit 514 of the TV gateway 5 generates the pass key 2051. Furthermore, in step S34, the transmitting unit 513 transmits the pass key to the content providing server 4. The pass key includes the following information:
"pass_key": <pass_key> (this pass_key is used as an ID when the operation commands 2090 to 2093 are executed from step S44 onward)
· "expires_in": 86400, (expires_in is returned with a grace period of 10 days or so even if preference cannot be prepared at the first access.)
"model": <model name> (model information of the device ID response, such as the model of the television device 2, i.e., display screen inch and pixel count information such as 2K, 4K, 8K, etc.)
また、ステップS35において、テレビゲートウェイ5の生成部514は、生成したパス・キーを記憶部511に記憶する。 In addition, in step S35, the generation unit 514 of the TV gateway 5 stores the generated pass key in the memory unit 511.
コンテンツ提供サーバ4は、テレビゲートウェイ5からパス・キーを取得すると、パス・キーに含まれた情報を記憶する。具体的には、ECサイトのユーザID毎に下記の情報が記憶される。
・access_token
・refresh_token
・pass_key
・model // 連携したTVモデル情報
When the content providing server 4 acquires the pass key from the television gateway 5, the content providing server 4 stores the information included in the pass key. Specifically, the following information is stored for each user ID of the EC site:
・access_token
・refresh_token
・pass_key
・model // Linked TV model information
ステップS36において、ユーザ端末1050は、アプリケーションの起動により、コンテンツ提供サーバ4が提供するサービスにサービスログインをする。これにより、スマートフォン1は、ECサイト画面を表示する。当該アプリケーションが出力するECサイト画面には、テレビジョン装置2へ接続するためのボタンも出力する。なお、ステップS37において、コンテンツ提供サーバ4は、ステップS36のログインに応じて、ユーザ端末1050にデバイス情報2070を送信する。ここでいうデバイス情報2070とは、パス・キー2051に含まれるデバイスID、ユーザID、モデルネームのいずれか1つまたは2つまたは3つの組み合わせである。 In step S36, the user terminal 1050 starts the application to log in to the service provided by the content providing server 4. This causes the smartphone 1 to display an EC site screen. The EC site screen output by the application also outputs a button for connecting to the television device 2. In step S37, the content providing server 4 transmits device information 2070 to the user terminal 1050 in response to the login in step S36. The device information 2070 here refers to a combination of one, two, or three of the device ID, user ID, and model name contained in the pass key 2051.
スマートフォン1のユーザは、ECサイト画面のリンク先について、テレビジョン装置2へ接続するためのボタンを選択する。ステップS38において、ユーザ端末1050は、当該選択に応じて、リンク先のURLをコンテンツ提供サーバ4へ送信することで、テレビ表示要求(TV表示要求2071)を送信する。 The user of the smartphone 1 selects a button for connecting to the television device 2 from the link destination on the EC site screen. In step S38, the user terminal 1050 transmits a television display request (TV display request 2071) by transmitting the URL of the link destination to the content providing server 4 in response to the selection.
コンテンツ提供サーバ4は、ユーザ端末1050からTV表示要求2071を受信すると、ステップS39において、テレビゲートウェイ5に対して、トークン、パス・キー、およびリンク先のURLを含む表示要求2072を送信することで、テレビジョン装置2に対して表示要求をする。表示要求2072の情報の構成は、以下の通りである。
POST https://tv-common.example.com/common/devices/control
Authorization:“Bearer ”+<access_token>
x-api-key:<pass_key>
Content-type:application/jison
{“command_type”:“keycode”
”keycode”:“<common key code>”}
{“command_type”:“webview”,
”site”:“<Website URL>”,
“Template”:“full”}
Upon receiving the TV display request 2071 from the user terminal 1050, the content providing server 4 transmits a display request 2072 including the token, pass key, and URL of the link destination to the television gateway 5 in step S39, thereby making a display request to the television device 2. The information of the display request 2072 has the following configuration.
POST https://tv-common. example. com/common/devices/control
Authorization: “Bearer” + <access_token>
x-api-key:<pass_key>
Content-type:application/jison
{“command_type”: “keycode”
“keycode”: “<common key code>”}
{“command_type”: “webview”,
“site”: “<Website URL>”,
“Template”: “full”}
テレビゲートウェイ5の取得部512は、コンテンツ提供サーバ4から、トークン、パス・キー、およびリンク先のURLを含む表示要求2072の情報を受信する。そして、取得部512は、x-api-keyのヘッダからpass_keyを取り出す。 The acquisition unit 512 of the TV gateway 5 receives information about the display request 2072, including the token, pass key, and the URL of the link destination, from the content providing server 4. The acquisition unit 512 then extracts the pass_key from the x-api-key header.
ステップS40において、取得部512は、当該パス・キー(pass_key)および記憶部511に記憶されている情報を用いて、アクセス先とアクセス元を判別する。ステップS41において、送信部513は、判別した結果をもとにTVクラウド3にトークン・URLを含む情報を送信すると共に、表示要求をする。このように、送信部513は、送信先のTVクラウド3へトークンと、表示対象の画像のアクセス先とを送信する。なお、テレビゲートウェイ5は、アクセス元とメーカ別にアクセス数を計測する。 In step S40, the acquisition unit 512 uses the pass key (pass_key) and the information stored in the memory unit 511 to determine the access destination and the access source. In step S41, the transmission unit 513 transmits information including the token URL to the TV cloud 3 based on the determination result, and requests display. In this way, the transmission unit 513 transmits the token and the access destination of the image to be displayed to the destination TV cloud 3. The TV gateway 5 measures the number of accesses by access source and manufacturer.
送信部513が、TVクラウド3に送信する表示要求2073には、トークン、クライアントID、URL、メッセージが含まれている。当該情報の例は、以下の通りである。
POST https://each-maker.example.com/common/devices/control
Authorization:“Bearer ”+<access_token>
x-api-key:<メーカ共通サイトと各メーカで定めたランダム秘密>
Content-type:application/json
{“command_type”:“keycode”,
“keycode”:<common key code>,
“client_id”:<client_id>,
“messageid:<message ID>}
{“command_type”:“webview”,
“site”: <Website URL>(テレビ用Website URL),
“template”:“full”,
“client_id”:<client_id>,
“messageid”:<message ID>}
The display request 2073 that the transmission unit 513 transmits to the TV cloud 3 includes a token, a client ID, a URL, and a message. Examples of the information are as follows:
POST https://each-maker. example. com/common/devices/control
Authorization: “Bearer” + <access_token>
x-api-key: <Random secret determined by the manufacturer's common site and each manufacturer>
Content-type:application/json
{“command_type”: “keycode”,
“keycode”: <common key code>,
“client_id”:<client_id>,
“messageid:<message ID>}
{“command_type”: “webview”,
"site": <Website URL> (TV website URL),
“template”: “full”,
“client_id”:<client_id>,
“messageid”:<message ID>}
TVクラウド3の取得部312は、テレビゲートウェイ5から表示要求2073を受信する。取得部312は、表示要求2073のAuthorizationヘッダからaccess_tokenを取り出し、テレビジョン装置2を判別する。ステップS42において、TVクラウド3の送信部313は、判別した結果に基づいてテレビジョン装置2へ表示要求2074を出力する。なお、当該表示要求は、メーカ独自の表示要求コマンドに置き換えられてもよい。また、必要に応じて、TVクラウド3は、client_id毎のアクセスを集計してテレビにリクエストを行ってもよい。 The acquisition unit 312 of the TV cloud 3 receives the display request 2073 from the television gateway 5. The acquisition unit 312 extracts the access_token from the Authorization header of the display request 2073 and identifies the television device 2. In step S42, the transmission unit 313 of the TV cloud 3 outputs a display request 2074 to the television device 2 based on the identification result. Note that the display request may be replaced with a display request command unique to the manufacturer. Also, if necessary, the TV cloud 3 may aggregate accesses for each client_id and make a request to the television.
ステップS43において、テレビジョン装置2は、表示要求に応じてブラウザを起動させ、onLoadやonClickのEvent等でjavascript(登録商標)を実行し、表示対象のURL先の画像を表示出力する。また、テレビジョン装置2は、サービサー、ユーザ、TVメーカ、表示した広告を識別する表示操作結果通知2080を計測サーバ6へ通知する。計測サーバ6は、TVクラウド3が複数のテレビジョン装置2へ広告表示した結果を集計する。その集計結果を基にメーカまたはテレビゲートウェイ5、または計測サーバ6の所有者がコンテンツ提供サーバ4を所有するEコマースのプラットフォーマへ広告宣伝費を要求する。 In step S43, the television device 2 starts a browser in response to the display request, executes Javascript (registered trademark) using an onLoad or onClick event, etc., and displays and outputs the image at the URL destination of the display target. The television device 2 also notifies the measurement server 6 of a display operation result notification 2080 that identifies the servicer, user, TV manufacturer, and the displayed advertisement. The measurement server 6 tally up the results of the advertisements displayed by the TV cloud 3 on multiple television devices 2. Based on the tally up results, the manufacturer or television gateway 5, or the owner of the measurement server 6, requests advertising and promotion fees from the e-commerce platform that owns the content providing server 4.
ユーザ端末1050のアプリケーションはテレビジョン装置2の画面をステップS44における操作コマンド2090を基に操作することができる。ユーザ端末1050からの操作に応じてコンテンツ提供サーバ4に操作コマンド2090を送る。 The application on the user terminal 1050 can operate the screen of the television device 2 based on the operation command 2090 in step S44. The application sends the operation command 2090 to the content providing server 4 in response to the operation from the user terminal 1050.
ステップS45において、コンテンツ提供サーバ4は、ステップS44で送信された操作コマンド2090をもとに共通キーコードを含む操作コマンド2091をテレビゲートウェイ5に送信する。共通キーコードはテレビ操作リモコン操作ボタンに対応したように構成されたコマンドである。数字、十字カーソル、ボリューム/チャネル/電源、カラーキー、機能キー、メディアコントロール、メーカ固有のコマンドがある。このメーカ固有のコマンドとは、各メーカ独自に動作させるためのコマンドである。すなわち、メーカ固有コマンドとは、各メーカにより設定された、メーカ独自の動作用コマンドである。共通キーコードはメーカ固有のコマンドを除きメーカ間で共通の操作を行うためのキーコードである。 In step S45, the content providing server 4 transmits an operation command 2091 including a common key code to the television gateway 5 based on the operation command 2090 transmitted in step S44. The common key code is a command configured to correspond to the operation buttons of a television remote control. There are numbers, cross cursor, volume/channel/power, color keys, function keys, media control, and manufacturer-specific commands. These manufacturer-specific commands are commands for operating in a unique manner for each manufacturer. In other words, manufacturer-specific commands are manufacturer-specific operating commands set by each manufacturer. The common key code is a key code for performing operations common to all manufacturers, excluding manufacturer-specific commands.
数字コマンドは“11”“12”“0”“1”“2”“3”“4”“5”“6”“7”“8”“9”“.”である。 The number commands are "11", "12", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", and ".".
十字カーソルコマンドは“up”“down”“left”“right”“page up”“page down”“page left”“page right”“enter”“exit”“back”である。 The cross cursor commands are "up", "down", "left", "right", "page up", "page down", "page left", "page right", "enter", "exit" and "back".
ボリューム/チャネル/電源コマンドは“power”“power off”“power on”“volume up”“volume down”“channel up”“channel down”である。 The volume/channel/power commands are "power", "power off", "power on", "volume up", "volume down", "channel up", and "channel down".
カラーキーは“blue”“red”“green”“yellow”である。 The color keys are "blue", "red", "green", and "yellow".
機能キーコマンドは“electronic program guide”“initial configuration”“select broadcast type”“input select”“display information”“mute”“contents menu”“closed caption”である。 The function key commands are "electronic program guide", "initial configuration", "select broadcast type", "input select", "display information", "mute", "contents menu", and "closed caption".
メディアコントロールコマンドは“Play”“stop”“pause”“rewind ”“forward”“backward”“skip forward”“skip backward”“record”である。 The media control commands are "Play", "stop", "pause", "rewind", "forward", "backward", "skip forward", "skip backward", and "record".
テレビゲートウェイ5は、ステップS45における操作コマンド2091を受信すると、ステップS46においてTVクラウド3に操作コマンド2092を送付する。操作コマンド2092は操作コマンド2091と同じコマンドである。
ステップS47において、テレビゲートウェイ5は、応答メッセージとして応答メッセージID2094をコンテンツ提供サーバ4に送信する。メッセージIDは以下の構成である。
{messageid: <message ID>}
Upon receiving the operation command 2091 in step S45, the television gateway 5 sends an operation command 2092 to the TV cloud 3 in step S46. The operation command 2092 is the same command as the operation command 2091.
In step S47, the television gateway 5 transmits a response message ID 2094 as a response message to the content providing server 4. The message ID has the following structure.
{messageid: <message ID>}
TVクラウド3は、テレビゲートウェイ5から操作コマンド2092を受信すると、ステップS48において、操作コマンド2093をテレビジョン装置2に送信する。操作コマンド2093は操作コマンド2092と同じまたは同等の情報で、テレビジョン装置2の表示画面の操作を行うメーカ独自のコマンドである。TVクラウド3は、操作コマンド2092をテレビジョン装置2の操作するための各社キーコードである操作コマンド2093に置き換える。テレビジョン装置2の操作コマンドの標準化が進んだ場合、操作コマンド2092を変換せずに、そのまま操作コマンド2093として利用することができる。 When the TV cloud 3 receives the operation command 2092 from the television gateway 5, in step S48 it transmits the operation command 2093 to the television device 2. The operation command 2093 is the same or equivalent information as the operation command 2092, and is a manufacturer-specific command for operating the display screen of the television device 2. The TV cloud 3 replaces the operation command 2092 with the operation command 2093, which is each company's key code for operating the television device 2. When the standardization of the operation commands for the television device 2 progresses, the operation command 2092 can be used as it is as the operation command 2093 without conversion.
テレビジョン装置2は、操作コマンド2093に基づき、テレビジョン装置2の映像表示部233に表示された画像を操作する。また、ステップS49において、テレビジョン装置2は、操作コマンドを識別する操作結果通知2081を計測サーバ6へ通知する。 The television device 2 operates the image displayed on the video display unit 233 of the television device 2 based on the operation command 2093. In addition, in step S49, the television device 2 notifies the measurement server 6 of an operation result notification 2081 that identifies the operation command.
図11に示したフローチャートは、複数のメーカを統合してプラットフォーマのコンテンツ提供サーバ4にアクセスする処理の説明であるが、第1実施形態のTVクラウド3のように、メーカが単独でコンテンツ提供サーバ4にアクセスすることもできる。この場合、TVクラウド3は、テレビゲートウェイ5の動作を合わせたものになる。この時、TVクラウド3とテレビゲートウェイ5との間の情報のやり取りは省略される。 The flowchart shown in FIG. 11 explains the process of integrating multiple manufacturers to access the platform provider's content providing server 4, but a manufacturer can also access the content providing server 4 independently, as in the case of the TV cloud 3 in the first embodiment. In this case, the TV cloud 3 incorporates the operations of the TV gateway 5. At this time, the exchange of information between the TV cloud 3 and the TV gateway 5 is omitted.
テレビゲートウェイ5は、コンテンツ提供サーバ4から認証コードを取得し、認証コードに基づいて特定された送信先のTVクラウド3へ当該認証コードを送信し、コンテンツ提供サーバ4からトークンと、表示対象の画像のアクセス先とを取得し、送信先のTVクラウド3へ当該トークンと、表示対象の画像のアクセス先とを送信する。これにより、コンテンツ提供サーバ4側からは、複数のTVクラウド3のいずれに送信すべきか判断することなく、処理することができる。 The television gateway 5 acquires an authentication code from the content providing server 4, transmits the authentication code to the destination TV cloud 3 specified based on the authentication code, acquires a token and an access destination of the image to be displayed from the content providing server 4, and transmits the token and the access destination of the image to be displayed to the destination TV cloud 3. This allows the content providing server 4 to process without having to determine which of multiple TV clouds 3 to transmit to.
なお、本実施形態の各装置(ユーザ端末1050、テレビジョン装置2、TVクラウド3、コンテンツ提供サーバ4、テレビゲートウェイ5、計測サーバ6)で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD(Compact Disc)-ROM(Read Only Memory)、フレキシブルディスク(FD)、CD-R(Recordable)、DVD(Digital Versatile Disk)等のコンピュータ装置で読み取り可能な記録媒体に記録して提供することができる。また、当該プログラムを、インターネット等のネットワーク経由で提供または配布するようにしてもよい。 The programs executed by each device (user terminal 1050, television device 2, TV cloud 3, content providing server 4, television gateway 5, measurement server 6) in this embodiment can be provided by recording them in an installable or executable format on a recording medium readable by a computer device, such as a CD (Compact Disc)-ROM (Read Only Memory), a flexible disk (FD), a CD-R (Recordable), or a DVD (Digital Versatile Disk). The programs may also be provided or distributed via a network such as the Internet.
(第3実施形態)
第3実施形態にかかる情報連携システムSは、第2実施形態の情報連携システムSの全体構成と同様である。第3実施形態にかかる情報連携システムSでは、テレビゲートウェイ5が、TVクラウド3からだけではなく、コンテンツ提供サーバ4からもトークンを取得し、これらのトークンを用いて、テレビジョン装置2のIDと、ユーザ端末1050のユーザIDとを連携する。
Third Embodiment
The information linkage system S according to the third embodiment has the same overall configuration as the information linkage system S according to the second embodiment. In the information linkage system S according to the third embodiment, the television gateway 5 acquires tokens not only from the TV cloud 3 but also from the content providing server 4, and links the ID of the television device 2 and the user ID of the user terminal 1050 by using these tokens.
なお、図6に示した、TVクラウド3が記憶するデータの構造が異なる。具体的に、TVクラウド3は、図6に示したTVIDの代わりに、HA-IDを記憶する。また、図6に示したECサイトサーバIDの代わりに、PF-IDを記憶する。HA-IDは、テレビメーカの会社IDであるTC-IDと、テレビジョン装置2のデバイスIDであるTV-IDとを含む識別情報である。PF-IDは、ビデオプラットフォームの会社IDである。TC-IDは、TVクラウド3を識別する識別子となる。また、PF-IDは、コンテンツ提供サーバ4を識別する識別子となる。 Note that the structure of the data stored in the TV cloud 3 shown in FIG. 6 is different. Specifically, the TV cloud 3 stores an HA-ID instead of the TVID shown in FIG. 6. Also, it stores a PF-ID instead of the EC site server ID shown in FIG. 6. The HA-ID is identification information including a TC-ID, which is the company ID of the television manufacturer, and a TV-ID, which is the device ID of the television device 2. The PF-ID is the company ID of the video platform. The TC-ID is an identifier that identifies the TV cloud 3. Also, the PF-ID is an identifier that identifies the content providing server 4.
次に、第3実施形態の情報連携システムSにおける各構成の処理の流れについて説明する。図12は、第3実施形態の情報連携システムSにおける全体処理を示すフローチャートである。図12に示すフローチャートも、ユーザがテレビジョン装置2のリモコン等を操作して、いわゆるポータル画面で、ユーザがスマートフォン1と連携させたいECサイト(例えば、コンテンツ提供を受けるサーバ)を指定する場面をスタートとする。なお、TVクラウド3が生成する認証コードおよびトークンは、メーカを識別する情報を含むものとする。すなわち、TVクラウド3は、自装置を識別する情報を認証コードおよびトークンに含めるものとする。 Next, the process flow of each component in the information linking system S of the third embodiment will be described. FIG. 12 is a flowchart showing the overall process in the information linking system S of the third embodiment. The flowchart shown in FIG. 12 also starts when the user operates a remote control or the like for the television device 2 to specify, on a so-called portal screen, an EC site (e.g., a server that receives content) that the user wants to link with the smartphone 1. Note that the authentication code and token generated by the TV cloud 3 include information that identifies the manufacturer. In other words, the TV cloud 3 includes information that identifies its own device in the authentication code and token.
また、図12のステップS61は、図7のステップS1、図11のステップS12と同様である。なお、ステップS61では、テレビジョン装置2は、ユーザが指定したECサイト(ビデオプラットフォーム)に対応するPF-IDをTVクラウド3へ送信する。 Step S61 in FIG. 12 is the same as step S1 in FIG. 7 and step S12 in FIG. 11. In step S61, the television device 2 transmits the PF-ID corresponding to the EC site (video platform) specified by the user to the TV cloud 3.
ステップS62において、TVクラウド3は、レスポンスとして、テレビゲートウェイ5のURLとURL認証コードとを含むQRコードをテレビジョン装置2に送付する。当該QRコードには、テレビゲートウェイ5のURLと、下記の時限付き認証コードが含まれる。 In step S62, the TV cloud 3 sends a QR code including the URL of the TV gateway 5 and a URL authentication code to the television device 2 as a response. The QR code includes the URL of the TV gateway 5 and the following time-limited authentication code:
{“code”:<authorization code>(認証コード),
“state”:HEX(JSON.stringify({“tcid”;<TC-ID>,“pfid”;<PF-ID>,“salt”;<random string>})+hash)(state情報)}
{"code":<authorization code> (authentication code),
“state”: HEX (JSON. stringify ({“tcid”; <TC-ID>, “pfid”; <PF-ID>, “salt”; <random string>}) + hash) (state information)}
URL認証コードは、テレビゲートウェイ5を特定するURL情報と、コンテンツ提供サーバ4およびTVクラウド3間の認証を行うための認証コードと、state情報とを含んだ情報である。認証コードは、テレビジョン装置2のメーカを判別するための部分とテレビジョン装置2を判別するための部分を含むようにしてもよい。また、認証コードに含まれるテレビジョン装置2を判別するため部分は、ランダムな値である。また、TVクラウド3は、この値をテレビジョン装置2へ送信した時刻を記憶部311のDBの情報として対応付けてもよい。state情報は、メーカのTC-IDとビデオプラットフォームのPF-IDとがエンコードされた情報を含むようにしてもよい。 The URL authentication code is information that includes URL information that identifies the television gateway 5, an authentication code for performing authentication between the content providing server 4 and the TV cloud 3, and state information. The authentication code may include a portion for identifying the manufacturer of the television device 2 and a portion for identifying the television device 2. The portion for identifying the television device 2, which is included in the authentication code, is a random value. The TV cloud 3 may also associate the time at which this value is transmitted to the television device 2 as information in the DB of the memory unit 311. The state information may include information in which the TC-ID of the manufacturer and the PF-ID of the video platform are encoded.
URL認証コードの情報の例は、以下の通りである。
https://XXXXXXX YYYYYYYYY
Xの部分にはテレビゲートウェイ5のURL、Yの部分にはOAuth2のauthorization codeが入っている。authorization codeの部分にはメーカとテレビを特定できる情報が入っている。メーカとテレビジョン装置2を特定できる情報はどちらか1つでもよい。URL認証コードの送付形式は上記の情報が含まれていれば、どのような形式でもよい。なお、Yの部分にstate情報を含めてもよい。
An example of the URL authentication code information is as follows:
https://XXXXXXXX YYYYYYYYY
The X portion contains the URL of the television gateway 5, and the Y portion contains the OAuth2 authorization code. The authorization code portion contains information that can identify the manufacturer and the television. Either one of the information that can identify the manufacturer and the television device 2 may be used. The URL authentication code may be sent in any format as long as it contains the above information. Note that the Y portion may contain state information.
テレビジョン装置2の取得部243は、TVクラウド3からURL認証コードを取得すると、表示制御部244が、当該URL認証コードの内容を映像表示部233で光学的に画像または映像として表示出力する。なお、表示制御部244での表示形態は、QRコード、バーコード、テキスト等で、上記URL認証コードに含まれる情報を光学的に画像または映像として表示出力できればよい。また、第1実施形態および第2実施形態では、QRコードで説明しているが、本実施形態と同様にQRコードに限定されるものではない。 When the acquisition unit 243 of the television device 2 acquires a URL authentication code from the TV cloud 3, the display control unit 244 optically displays and outputs the contents of the URL authentication code as an image or video on the video display unit 233. Note that the display form of the display control unit 244 may be a QR code, a barcode, text, or the like, as long as it is possible to optically display and output the information contained in the URL authentication code as an image or video. Also, although the first and second embodiments are described using a QR code, it is not limited to a QR code as in this embodiment.
また、図7のステップS3、図11のステップS23と同様、ステップS63において、ユーザ端末1050は、撮像手段で光学的に撮影した画像情報からURL認証コード読み取り機能により、映像表示部233に光学的に表示されたURL認証コードの情報を読み取る。これにより、ユーザ端末1050は、テレビゲートウェイ5のURLおよび認証コード等を取得する。当該認証コード部分は、時限付き認証コードで以下のように構成されている。
“code” : <authorization code>,
“state” : <string> // 乱数
7 and step S23 in Fig. 11, in step S63, the user terminal 1050 uses the URL authentication code reading function to read the URL authentication code information optically displayed on the video display unit 233 from the image information optically captured by the imaging means. In this way, the user terminal 1050 obtains the URL and authentication code of the TV gateway 5. The authentication code portion is a time-limited authentication code and is configured as follows:
“code”: <authorization code>,
"state" : <string> // Random number
ステップS64において、ユーザ端末1050は、テレビゲートウェイ5のURL、認証コード、およびstate情報を取得すると、当該URLに基づいて、テレビゲートウェイ5へアクセスすると共に、認証コードおよびstate情報を送信し、認証リクエストする。なお、state情報は、上述のように、TC-IDとPF-IDとを含む。 In step S64, when the user terminal 1050 acquires the URL, authentication code, and state information of the TV gateway 5, it accesses the TV gateway 5 based on the URL, and transmits the authentication code and state information to request authentication. Note that the state information includes the TC-ID and PF-ID, as described above.
認証リクエスト時に送信する情報は、以下の通りである。
“code” : <authorization code>,
“state” : <string> // 乱数
The information to be sent at the time of authentication request is as follows.
“code”: <authorization code>,
"state" : <string> // Random number
ステップS65において、テレビゲートウェイ5の取得部512が、認証コードおよびstate情報を受信すると、テレビゲートウェイ5の送信部513が、連携指示を示す連携ボタンを含むHTML形式の画面をユーザ端末1050へ送信する。当該HTMLは、PF-IDのOAuth2 Authorization EndpointにアクセスするURLとパラメータを含むようにしてもよい。 In step S65, when the acquisition unit 512 of the TV gateway 5 receives the authentication code and state information, the transmission unit 513 of the TV gateway 5 transmits an HTML format screen including a link button indicating a link instruction to the user terminal 1050. The HTML may include a URL and parameters for accessing the OAuth2 Authorization Endpoint of the PF-ID.
ユーザ端末1050は、上記のHTML形式の画面を取得する。そして、ユーザ端末1050のユーザ操作により連携ボタンが押下されると(ステップS66)、ビデオプラットフォームであるコンテンツ提供サーバ4に対して認可リクエストをする。また、コンテンツ提供サーバ4は、当該認可リクエストを受信し、それに応答する旨の情報をユーザ端末1050へ送信する(ステップS67)。 The user terminal 1050 acquires the above HTML format screen. Then, when the link button is pressed by the user of the user terminal 1050 (step S66), an authorization request is made to the content providing server 4, which is a video platform. The content providing server 4 also receives the authorization request and transmits information in response to it to the user terminal 1050 (step S67).
上記認可リクエスト時に送信する情報は、例えば、以下の構成である。
Authorization: “Basic ” + Base64(<client_id> + “:” + <client_secret>)Request
{
“response_type”:“code”
“code”:<authorization code> (認証コード)
“redirect_uri”:<TGW Endpoint>(テレビゲートウェイ5のエンドポイント)
“client_id”:<TG-ID> (テレビゲートウェイ5のID)
“scope”:<VPF提供> (トークンの認証範囲)
“state”:HEX(JSON.stringify({“tcid”;<TC-ID>,“pfid”;<PF-ID>,“salt”;<random string>})+hash)(state情報)
}
The information to be sent when making the authorization request has, for example, the following structure:
Authorization: “Basic” + Base64 (<client_id> + “:” + <client_secret>) Request
{
“response_type”: “code”
"code": <authorization code> (authorization code)
"redirect_uri": <TGW Endpoint> (endpoint of the TV gateway 5)
"client_id": <TG-ID> (ID of the TV gateway 5)
"scope": <provided by VPF> (token authentication scope)
“state”: HEX (JSON. stringify ({“tcid”; <TC-ID>, “pfid”; <PF-ID>, “salt”; <random string>}) + hash) (state information)
}
コンテンツ提供サーバ4においてユーザ情報が登録されていない場合、ユーザ端末1050およびコンテンツ提供サーバ4の間で、ユーザ登録処理をする(ステップS68)。ここで、ユーザ登録処理とは、コンテンツ提供サーバ4にログインするための情報であるユーザIDおよびパスワードを登録したり、ユーザの属性情報を登録したりする処理である。 If the user information is not registered in the content providing server 4, a user registration process is performed between the user terminal 1050 and the content providing server 4 (step S68). Here, the user registration process is a process of registering a user ID and password, which are information for logging in to the content providing server 4, and registering user attribute information.
続いて、ユーザ端末1050が、コンテンツ提供サーバ4へログイン要求をして、コンテンツ提供サーバ4は、当該ログイン要求に応じたレスポンスをする(ステップS69)。当該レスポンスの例として以下の情報(認可コード)を出力する。
Response
{“code” : <authorization code>,
“state” : <state>}
Next, the user terminal 1050 makes a login request to the content providing server 4, and the content providing server 4 makes a response to the login request (step S69). As an example of the response, the following information (authorization code) is output.
Response
{“code”: <authorization code>,
“state”: <state>}
ユーザ端末1050は、上記レスポンスを受信すると、テレビゲートウェイ5へ連携指示を示すリダイレクトをする(ステップS70)。なお、ユーザ端末1050は、上記認可コードをテレビゲートウェイ5へ送信するようにしてもよい。 When the user terminal 1050 receives the response, it redirects the connection instruction to the television gateway 5 (step S70). Note that the user terminal 1050 may transmit the authorization code to the television gateway 5.
テレビゲートウェイ5の取得部512が、連携指示を示すリダイレクトを受け付けると、テレビゲートウェイ5は、ユーザ端末1050から取得したstate情報に含まれるTC-IDに基づいて、メーカを特定する。すなわち、テレビゲートウェイ5は、メーカを割り振る(ステップS71)。 When the acquisition unit 512 of the TV gateway 5 receives a redirect indicating a link instruction, the TV gateway 5 identifies the manufacturer based on the TC-ID included in the state information acquired from the user terminal 1050. In other words, the TV gateway 5 assigns a manufacturer (step S71).
そして、ステップS72において、テレビゲートウェイ5の送信部513は、送信先のTVクラウド3へ認証コードを送信することでトークン要求をする(ステップS72)。 Then, in step S72, the transmission unit 513 of the TV gateway 5 makes a token request by transmitting an authentication code to the destination TV cloud 3 (step S72).
当該トークン要求時に送信する情報は、例えば、以下の構成である。
Authorization: “Basic ” + Base64(TG-ID + “:” + <client_secret>)
Request Parameters
{
grant_type:“authorization_code”、
code :<authorization code> (認証コード)、
state :<string> (state情報)、
redirect_uri:<redirect_uri>、
client_id:<TG-ID>
}
The information transmitted when the token is requested has, for example, the following structure:
Authorization: “Basic” + Base64 (TG-ID + “:” + <client_secret>)
Request Parameters
{
grant_type: “authorization_code”,
code: <authorization code> (authentication code),
state: <string> (state information),
redirect_uri:<redirect_uri>,
client_id:<TG-ID>
}
TVクラウド3の生成部314は、記憶部311のDBを参照し、取得部312により取得されたコンテンツ提供サーバ4を識別する情報(例えば、state情報に含まれる情報)および認証コードに対応する情報があるか否かを判断することで認証する。生成部314は、記憶部311のDBを参照し、取得部312により取得されたコンテンツ提供サーバ4を識別する情報および認証コードに対応する情報がある場合、トークン(第1トークン)を生成する。また、生成部314は、上記DBにおける取得部312により取得されたコンテンツ提供サーバ4を識別する情報および認証コードを有する情報に、第1トークンをさらに対応付ける。 The generation unit 314 of the TV cloud 3 performs authentication by referring to the DB of the storage unit 311 and determining whether or not there is information corresponding to the information identifying the content providing server 4 (e.g., information included in the state information) and the authentication code acquired by the acquisition unit 312. The generation unit 314 refers to the DB of the storage unit 311, and generates a token (first token) if there is information identifying the content providing server 4 acquired by the acquisition unit 312 and information corresponding to the authentication code. The generation unit 314 further associates the first token with information having the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312 in the above DB.
ステップS73において、TVクラウド3の送信部313は、生成部314により生成された第1トークンをテレビゲートウェイ5へ送信する。 In step S73, the transmission unit 313 of the TV cloud 3 transmits the first token generated by the generation unit 314 to the TV gateway 5.
具体的に、TVクラウド3の送信部313は、OAuth2のToken Responseをトークンとしてテレビゲートウェイ5に送付する。このレスポンスのOAuth2 Access Token Responseは以下のように構成される。
Response
{“access_token”: <access token>,
“token_type”: “Bearer”,
“expires_in”: 3600,
“refresh_token”: <refresh token>}
Specifically, the transmission unit 313 of the TV cloud 3 sends an OAuth2 Token Response as a token to the TV gateway 5. This response, the OAuth2 Access Token Response, has the following structure.
Response
{“access_token”: <access token>,
“token_type”: “Bearer”,
“expires_in”: 3600,
“refresh_token”: <refresh token>}
TVクラウド3がテレビゲートウェイ5にアクセスするときはaccess_tokenを付ける。expires_inは、access_token の有効期間(秒)であり、access_tokenを受け取ったときに無効になる時刻と共に記憶しておき、それまではこのaccess_tokenを繰り返し使う。refresh_tokenは、コンテンツ提供サーバ4が秘密に保管する。セキュリティ上、単純にlocal storageに置いておくのは良くないためである。access_token、refresh_tokenを各メーカで発行時、先頭にテレビメーカを識別する識別子を付けることでテレビメーカを特定することができる。 When the TV cloud 3 accesses the TV gateway 5, it attaches the access_token. expires_in is the validity period (seconds) of the access_token, and is stored when the access_token is received along with the time at which it becomes invalid, and until then, the access_token is used repeatedly. The refresh_token is stored secretly by the content providing server 4. For security reasons, it is not good to simply leave it in local storage. When the access_token and refresh_token are issued by each manufacturer, the TV manufacturer can be identified by attaching an identifier that identifies the TV manufacturer to the beginning.
テレビゲートウェイ5の取得部512が、上記第1トークンを取得すると、テレビゲートウェイ5の送信部513が、認可コードを含む情報を送信すると共にコンテンツ提供サーバ4へトークン要求をする(ステップS74)。 When the acquisition unit 512 of the TV gateway 5 acquires the first token, the transmission unit 513 of the TV gateway 5 transmits information including the authorization code and makes a token request to the content providing server 4 (step S74).
当該トークン要求時に送信する情報は、例えば、以下の構成である。
Authorization: “Basic” + Base64(TG-ID + “:” + <client_secret>)
Request
{
grant_type:“authorization_code”、
code :<code> (認可コード)、
state :<string> (state情報)、
redirect_uri:<TGW Endpoint>、
client_id:<TG-ID>
}
The information transmitted when the token is requested has, for example, the following structure:
Authorization: “Basic” + Base64 (TG-ID + “:” + <client_secret>)
Request
{
grant_type: “authorization_code”,
code : <code> (authorization code),
state: <string> (state information),
redirect_uri:<TGW Endpoint>,
client_id:<TG-ID>
}
コンテンツ提供サーバ4は、テレビゲートウェイ5から取得する認可コードに基づいて、当該認可コードに対応するユーザIDを特定する。そして、コンテンツ提供サーバ4は、当該ユーザIDに基づくトークンである第2トークンを生成する。 Based on the authorization code obtained from the television gateway 5, the content providing server 4 identifies the user ID corresponding to the authorization code. Then, the content providing server 4 generates a second token that is a token based on the user ID.
ステップS75において、コンテンツ提供サーバ4は、生成した第2トークンをテレビゲートウェイ5へ送信する。なお、コンテンツ提供サーバ4は、第2トークンと、ユーザIDと、ユーザ属性情報とを対応付けて記憶するようにしてもよい。 In step S75, the content providing server 4 transmits the generated second token to the television gateway 5. The content providing server 4 may store the second token in association with the user ID and the user attribute information.
具体的に、コンテンツ提供サーバ4は、OAuth2のToken Responseをトークンとしてテレビゲートウェイ5に送付する。このレスポンスのOAuth2 Access Token Responseは以下のように構成される。
{“access_token”: <access token>,
“token_type”: “Bearer”,
“expires_in”: 3600,
“refresh_token”: <refresh token>}
Specifically, the content providing server 4 sends an OAuth2 Token Response as a token to the television gateway 5. This response, the OAuth2 Access Token Response, has the following structure.
{“access_token”: <access token>,
“token_type”: “Bearer”,
“expires_in”: 3600,
“refresh_token”: <refresh token>}
テレビゲートウェイ5の取得部512は、コンテンツ提供サーバ4から第2トークンを取得する。そして、テレビゲートウェイ5の送信部513は、第2トークンをコンテンツ提供サーバ4へ送信すると共にコンテンツ提供サーバ4へユーザ情報要求をする(ステップS76)。 The acquisition unit 512 of the television gateway 5 acquires the second token from the content providing server 4. Then, the transmission unit 513 of the television gateway 5 transmits the second token to the content providing server 4 and requests user information from the content providing server 4 (step S76).
当該ユーザ情報要求時に送信する情報は、例えば、以下の構成である。
Authorization: “Bearer” + <access token>)
The information transmitted when the user information is requested has, for example, the following structure.
Authorization: “Bearer” + <access token>)
コンテンツ提供サーバ4は、テレビゲートウェイ5から取得した第2トークンに対応するユーザIDおよびユーザの属性情報を検索し、これらの情報をレスポンスとしてテレビゲートウェイ5へ送信する(ステップS77)。これにより、テレビゲートウェイ5の取得部512は、ユーザIDおよびユーザの属性情報を取得する。当該レスポンスの情報は、以下のように構成される。
Response
{“user_id”: <UR-ID>(コンテンツ提供サーバ4のサイトにおけるユーザID),
“Preference”: <現在のユーザ属性>(ユーザの生年月日、性別、郵便番号、購買履歴等)}
The content providing server 4 searches for the user ID and user attribute information corresponding to the second token acquired from the television gateway 5, and transmits this information as a response to the television gateway 5 (step S77). As a result, the acquisition unit 512 of the television gateway 5 acquires the user ID and user attribute information. The response information is configured as follows:
Response
{"user_id": <UR-ID> (user ID at the site of the content providing server 4),
"Preference": <Current user attributes>(user's date of birth, gender, zip code, purchase history, etc.)
ステップS78において、コンテンツ提供サーバ4は、PF-IDを送信すると共に、デバイス情報要求をする。当該デバイス情報要求時に送信する情報は、例えば、以下の構成である。
Authorization: “Basic”+Base64(PF-ID + “:” + <client_secret>)
In step S78, the content providing server 4 transmits the PF-ID and requests device information. The information transmitted when requesting device information has the following structure, for example.
Authorization: “Basic” + Base64 (PF-ID + “:” + <client_secret>)
テレビゲートウェイ5の取得部512が、コンテンツ提供サーバ4からデバイス情報要求を受信すると、テレビゲートウェイ5の送信部513は、ステップS74で送信した第2トークンに対応する第1トークンをTVクラウド3に送信すると共に、デバイス情報要求する(ステップS79)。当該デバイス情報要求時に送信する情報は、例えば、以下の構成である。
Authorization: “Bearer” + <access token>
When the acquisition unit 512 of the television gateway 5 receives the device information request from the content providing server 4, the transmission unit 513 of the television gateway 5 transmits the first token corresponding to the second token transmitted in step S74 to the TV cloud 3, and also requests device information (step S79). The information transmitted when requesting device information has, for example, the following configuration.
Authorization: “Bearer” + <access token>
TVクラウド3の取得部312は、第1トークンを取得すると、当該第1トークンに対応するHA-IDと、当該HA-IDに対応するデバイスの情報(当該HA-IDに対応するテレビジョン装置2の属性情報)を取得する。 When the acquisition unit 312 of the TV cloud 3 acquires the first token, it acquires the HA-ID corresponding to the first token and information about the device corresponding to the HA-ID (attribute information about the television device 2 corresponding to the HA-ID).
ステップS80において、TVクラウド3の送信部313は、HA-ID等の情報をレスポンスとして、テレビゲートウェイ5へ送信する。テレビゲートウェイ5の取得部512は、HA-IDと、当該HA-IDに対応するデバイスの情報を取得する。当該レスポンスの例として以下のようなものがある。
Response
{
・“device_id”:<HA-ID>(HA-ID)
・“model”:<model name>(テレビジョン装置2のモデル即ち表示画面インチや2K、4K、8K等の画素数情報等)
}
In step S80, the transmission unit 313 of the TV cloud 3 transmits information such as the HA-ID as a response to the TV gateway 5. The acquisition unit 512 of the TV gateway 5 acquires the HA-ID and information on the device corresponding to the HA-ID. Examples of the response include the following.
Response
{
・“device_id”: <HA-ID> (HA-ID)
"model": <model name> (model of the television device 2, i.e., display screen size, pixel count information such as 2K, 4K, 8K, etc.)
}
ステップS81において、テレビゲートウェイ5の生成部514は、取得したHA-IDと、ユーザIDと、テレビジョン装置2の属性情報であるモデル情報(model)と、PF-IDと、を関連付けたバインド情報をDBの情報として、記憶部511へ登録する。なお、テレビゲートウェイ5の生成部514は、バインド情報として、ユーザの属性情報をさらに含めるようにしてもよい。 In step S81, the generation unit 514 of the TV gateway 5 registers binding information that associates the acquired HA-ID, user ID, model information (model) which is attribute information of the TV device 2, and PF-ID as DB information in the storage unit 511. Note that the generation unit 514 of the TV gateway 5 may further include user attribute information as binding information.
また、テレビゲートウェイ5の生成部514は、パス・キーを生成する。また、ステップS82において、送信部513は、当該パス・キーをコンテンツ提供サーバ4へ送信する。当該パス・キーは、以下の情報を含む。
・“pass_key”:<pass_key>,(操作コマンドの動作の際にこのpass_keyをIDとして用いる)
・“expires_in”:86400,(expires_inは最初のアクセスではpreferenceが用意できない場合でも10日とか猶予付きで返す。)
・“model”:<model name>(デバイスID応答のmodelの情報でテレビジョン装置2のモデル即ち表示画面インチや2K、4K、8K等の画素数情報等)
The generating unit 514 of the TV gateway 5 generates a pass key. Then, in step S82, the transmitting unit 513 transmits the pass key to the content providing server 4. The pass key includes the following information:
"pass_key": <pass_key> (This pass_key is used as an ID when executing an operation command)
· "expires_in": 86400, (expires_in is returned with a grace period of 10 days or so even if preference cannot be prepared at the first access.)
"model": <model name> (model information of the device ID response, such as the model of the television device 2, i.e., display screen inch and pixel count information such as 2K, 4K, 8K, etc.)
また、テレビゲートウェイ5の生成部514は、生成したパス・キーを記憶部511に記憶する。 The generation unit 514 of the TV gateway 5 also stores the generated pass key in the memory unit 511.
コンテンツ提供サーバ4は、テレビゲートウェイ5からパス・キーを取得すると、パス・キーに含まれた情報を記憶する。具体的に、コンテンツ提供サーバ4は、ECサイトのユーザID毎に下記の情報を記憶する。
・access_token
・refresh_token
・pass_key
・model // 連携したTVモデル情報
When the content providing server 4 acquires the pass key from the television gateway 5, the content providing server 4 stores the information included in the pass key. Specifically, the content providing server 4 stores the following information for each user ID of the EC site:
・access_token
・refresh_token
・pass_key
・model // Linked TV model information
テレビゲートウェイ5は、ユーザ端末1050から認証コードを取得し、認証コードに基づいて特定された送信先のTVクラウド3へ当該認証コードを送信し、TVクラウド3から第1トークンを取得し、コンテンツ提供サーバ4から第2トークンを取得する。そして、テレビゲートウェイ5は、当該第2トークンをコンテンツ提供サーバ4へ送信することで、ユーザIDを取得して、第1トークンをTVクラウド3へ送信することで、テレビジョン装置2のID(例えば、HA-ID)を取得する。このように、テレビゲートウェイ5は、コンテンツ提供サーバ4からユーザIDを取得し、TVクラウド3からテレビジョン装置2のIDを取得することで、ユーザIDとテレビジョン装置2のIDとを対応付けることができる。 The television gateway 5 acquires an authentication code from the user terminal 1050, transmits the authentication code to the destination TV cloud 3 identified based on the authentication code, acquires a first token from the TV cloud 3, and acquires a second token from the content providing server 4. The television gateway 5 then transmits the second token to the content providing server 4 to acquire a user ID, and transmits the first token to the TV cloud 3 to acquire an ID (e.g., an HA-ID) of the television device 2. In this way, the television gateway 5 can associate the user ID with the ID of the television device 2 by acquiring the user ID from the content providing server 4 and the ID of the television device 2 from the TV cloud 3.
この場合、テレビゲートウェイ5が、ユーザIDとテレビジョン装置2のIDとを対応付けて記憶するので、TVクラウド3は、ユーザIDを管理する必要がなく、TVクラウド3の情報管理負担を軽減することができる。また、テレビゲートウェイ5は、ユーザ端末1050から認証コードを取得しているので、コンテンツ提供サーバ4が当該認証コードをテレビゲートウェイ5に送信する必要がなく、コンテンツ提供サーバ4の処理負担も軽減することができる。すなわち、テレビゲートウェイ5は、受信機の識別子(テレビジョン装置2のID)と、端末の識別子(ユーザ端末1050のユーザID)とを連携する処理を適切に実行することができる。 In this case, since the television gateway 5 stores the user ID in association with the ID of the television device 2, the TV cloud 3 does not need to manage the user ID, and the information management burden on the TV cloud 3 can be reduced. Also, since the television gateway 5 acquires the authentication code from the user terminal 1050, the content providing server 4 does not need to transmit the authentication code to the television gateway 5, and the processing burden on the content providing server 4 can also be reduced. In other words, the television gateway 5 can appropriately execute processing to link the receiver identifier (the ID of the television device 2) and the terminal identifier (the user ID of the user terminal 1050).
(第4実施形態)
第4実施形態にかかる情報連携システムSは、第2実施形態の情報連携システムSの全体構成と同様である。第2実施形態では、認証コードもQRコードに含める場合について述べたが、第4実施形態にかかる情報連携システムSでは、認証コードについては、別途ピンコードで表示するものである。
Fourth Embodiment
The information linkage system S according to the fourth embodiment has the same overall configuration as the information linkage system S according to the second embodiment. In the second embodiment, the authentication code is also included in the QR code, but in the information linkage system S according to the fourth embodiment, the authentication code is displayed as a separate pin code.
次に、第4実施形態の情報連携システムSにおける各構成の処理の流れについて説明する。図13のステップS21は、図11のステップS21および図7のステップS1と同様のため、説明を省略する。 Next, the process flow of each component in the information linkage system S of the fourth embodiment will be described. Step S21 in FIG. 13 is similar to step S21 in FIG. 11 and step S1 in FIG. 7, so the description will be omitted.
ステップS91において、TVクラウド3は、URLを含むQRコードをテレビジョン装置2に送信する。また、TVクラウド3は、認証コードに対応するピンコードをテレビジョン装置2に送信する。 In step S91, the TV cloud 3 transmits a QR code including a URL to the television device 2. The TV cloud 3 also transmits a pin code corresponding to the authentication code to the television device 2.
QRコードに含まれるURLの情報の例は、以下の通りである。
https://XXXXXXX
Xの部分にはコンテンツ提供サーバ4のURLが入っている。QRコードのURLの送付形式は上記の情報が含まれていれば、どのような形式でもよい。
An example of URL information included in the QR code is as follows:
https://XXXXXXXX
The part X contains the URL of the content providing server 4. The sending format of the URL of the QR code may be any format as long as it contains the above information.
テレビジョン装置2の取得部243は、TVクラウド3からQRコードおよびピンコードを取得すると、表示制御部244は、当該QRコードを映像表示部233で光学的に画像または映像として表示出力する。また、表示制御部244は、ピンコードを表示出力する。 When the acquisition unit 243 of the television device 2 acquires the QR code and pin code from the TV cloud 3, the display control unit 244 optically displays and outputs the QR code as an image or video on the video display unit 233. The display control unit 244 also displays and outputs the pin code.
ステップS92において、ユーザ端末1050は、撮像手段で光学的に撮影した画像情報から読み取り機能により、映像表示部233に光学的に表示されたURLの情報を読み取る。 In step S92, the user terminal 1050 uses a reading function to read the URL information optically displayed on the video display unit 233 from the image information optically captured by the imaging means.
ステップS93において、ユーザ端末1050は、アプリケーション(アプリ)を起動し、ピンコードの入力を受け付け可能な状態にする。 In step S93, the user terminal 1050 launches an application (app) and enters a state in which it can accept input of a pin code.
ステップS94において、ユーザ操作によりPINコードが入力されると、ユーザ端末1050は、当該PINコードを認証コードとして取得する。ステップS24~ステップS35は、それぞれ図11のステップS24~ステップS35と同様である。 In step S94, when a PIN code is input by a user operation, the user terminal 1050 acquires the PIN code as an authentication code. Steps S24 to S35 are similar to steps S24 to S35 in FIG. 11, respectively.
第4実施形態にかかるTVクラウド3は、認証コードに対応するピンコードをテレビジョン装置2に送信し、テレビジョン装置2が当該ピンコードを表示する。そして、ユーザ端末1050のユーザが、当該ピンコードに基づいて入力操作をし、ユーザ端末1050が、当該ピンコードを認証コードとしてコンテンツ提供サーバ4へ送信する。 In the fourth embodiment, the TV cloud 3 transmits a pin code corresponding to the authentication code to the television device 2, and the television device 2 displays the pin code. Then, the user of the user terminal 1050 performs an input operation based on the pin code, and the user terminal 1050 transmits the pin code to the content providing server 4 as an authentication code.
この場合、URLと共に認証コードを2次元コードに含めることができない場合でも、ユーザ端末1050から認証コードをコンテンツ提供サーバ4へ送信することができる。 In this case, even if the authentication code cannot be included in the two-dimensional code along with the URL, the authentication code can be transmitted from the user terminal 1050 to the content providing server 4.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。例えば、上記実施形態におけるテレビジョン装置は、セットトップボックスや、レコーダのように、表示手段を備えず、外部の表示装置に対し、映像信号を出力する受信機能を備えた電子装置であってもよい。また、これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
例えば、ユーザ端末に表示された画像アイコンのうち、テレビジョン装置で拡大表示可能な画像アイコンには、テレビジョン装置への拡大表示を指示するボタンを、その画像アイコン上、または、近傍に設けるようにしてもよく、また、その拡大表示可能な画像アイコンを、他の可拡大表示不可の画像アイコンとは識別可能に視認するための色彩や形状、表示形態を変更してもよい。また、ユーザ端末からテレビジョン装置への拡大表示を指示したとき、または、テレビジョン装置での表示処理の際、ユーザ端末またはテレビジョン装置を介して音声通知を行うようにしてもよい。
Although several embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. For example, the television device in the above embodiments may be an electronic device that does not have a display means and has a receiving function for outputting a video signal to an external display device, such as a set-top box or a recorder. In addition, these novel embodiments can be embodied in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. These embodiments and their modifications are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims.
For example, among the image icons displayed on the user terminal, an image icon that can be enlarged on a television device may have a button on or near the image icon to instruct the television device to enlarge the image, and the color, shape, or display form of the enlarged image icon may be changed so that it can be visually distinguished from other image icons that cannot be enlarged. When an instruction to enlarge an image on a television device is given from the user terminal, or during display processing on the television device, a voice notification may be given via the user terminal or the television device.
1…スマートフォン、2…テレビジョン装置、3…TVクラウド、4…コンテンツ提供サーバ、5…テレビゲートウェイ、6…計測サーバ、S…情報連携システム 1...smartphone, 2...television device, 3...TV cloud, 4...content provider server, 5...television gateway, 6...measurement server, S...information linkage system
Claims (4)
認証コードを取得した端末装置から、前記認証コードと、前記コンテンツ提供装置の識別子と、前記サーバ装置の識別子とを含む認証リクエストを取得し、
前記認証リクエストを取得した後に、前記認証リクエストに対応するサーバ装置から前記認証コードに対応するトークンを取得し、
前記認証リクエストに対応するコンテンツ提供装置から、前記端末装置のユーザ識別子に対応するトークンを取得し、
前記認証コードに対応したトークンに対応する放送受信装置の識別子を前記サーバ装置から取得し、
前記端末装置のユーザ識別子に対応したトークンに対応する端末装置のユーザ識別子を前記コンテンツ提供装置から取得する取得部と、
取得した前記放送受信装置の識別子と、前記端末装置のユーザ識別子とを対応付けて記憶部へ登録する生成部と、
を備えるサーバ管理装置。 A server management device capable of transmitting and receiving data to and from a content providing device and a server device,
acquiring an authentication request including the authentication code, an identifier of the content providing device, and an identifier of the server device from the terminal device that has acquired the authentication code;
After receiving the authentication request , the authentication device receives a token corresponding to the authentication code from a server device corresponding to the authentication request;
Obtaining a token corresponding to a user identifier of the terminal device from a content providing device corresponding to the authentication request;
obtaining from the server device an identifier of a broadcast receiving device corresponding to a token corresponding to the authentication code ;
an acquisition unit that acquires, from the content providing device, a user identifier of the terminal device corresponding to a token corresponding to a user identifier of the terminal device;
a generating unit that associates the acquired identifier of the broadcast receiving device with a user identifier of the terminal device and registers the associated identifier in a storage unit;
A server management device comprising:
請求項1に記載のサーバ管理装置。 a transmitting unit that determines the server device as a destination from information that identifies the server device included in the acquired authentication code ;
The server management device according to claim 1 .
前記サーバ装置は、
前記サーバ管理装置から取得した認証コードに対応するトークンを前記サーバ管理装置へ送信し、
前記認証コードに対応したトークンに対応する放送受信装置の識別子を前記サーバ管理装置へ送信する送信部と、
を備え、
前記サーバ管理装置は、
前記認証コードを取得した端末装置から、前記認証コード、コンテンツ提供装置の識別子と、前記サーバ装置の識別子とを含む認証リクエストを取得し、
前記認証リクエストを取得した後に、前記認証リクエストに対応するサーバ装置から前記認証コードに対応するトークンを取得し、
前記認証リクエストに対応するコンテンツ提供装置から、前記端末装置のユーザ識別子に対応するトークンを取得し、
前記認証コードに対応したトークンに対応する放送受信装置の識別子を前記サーバ装置から取得し、
前記端末装置のユーザ識別子に対応したトークンに対応する端末装置のユーザ識別子を前記コンテンツ提供装置から取得する取得部と、
取得した前記放送受信装置の識別子と、前記端末装置のユーザ識別子とを対応付けて記憶部へ登録する登録部と、
を備える、システム。 A system including a content providing device and a server management device capable of transmitting and receiving data to and from a server device,
The server device includes:
Transmitting a token corresponding to the authentication code acquired from the server management device to the server management device;
a transmission unit that transmits to the server management device an identifier of a broadcast receiving device corresponding to a token corresponding to the authentication code ;
Equipped with
The server management device
acquiring an authentication request including the authentication code, an identifier of a content providing device, and an identifier of the server device from the terminal device that has acquired the authentication code;
After receiving the authentication request , the authentication device receives a token corresponding to the authentication code from a server device corresponding to the authentication request;
Obtaining a token corresponding to a user identifier of the terminal device from a content providing device corresponding to the authentication request;
obtaining from the server device an identifier of a broadcast receiving device corresponding to a token corresponding to the authentication code ;
an acquisition unit that acquires, from the content providing device, a user identifier of the terminal device corresponding to a token corresponding to a user identifier of the terminal device;
a registration unit that registers the acquired identifier of the broadcast receiving device and a user identifier of the terminal device in a storage unit in association with each other;
A system comprising:
認証コードを取得した端末装置から、前記認証コード、前記コンテンツ提供装置の識別子と、前記サーバ装置の識別子とを含む認証リクエストを取得し、
前記認証リクエストを取得した後に、前記認証リクエストに対応するサーバ装置から前記認証コードに対応するトークンを取得し、
前記認証リクエストに対応するコンテンツ提供装置から、前記端末装置のユーザ識別子に対応するトークンを取得し、
前記認証コードに対応したトークンに対応する放送受信装置の識別子を前記サーバ装置から取得し、
前記端末装置のユーザ識別子に対応したトークンに対応する端末装置のユーザ識別子を前記コンテンツ提供装置から取得する取得ステップと、
取得した前記放送受信装置の識別子と、前記端末装置のユーザ識別子とを対応付けて登録する生成ステップと、
を実行させるためのプログラム。
A computer that is a server management device capable of transmitting and receiving data to and from a content providing device and a server device,
acquiring an authentication request including the authentication code, an identifier of the content providing device, and an identifier of the server device from the terminal device from which the authentication code has been acquired ;
After receiving the authentication request , the authentication device receives a token corresponding to the authentication code from a server device corresponding to the authentication request;
Obtaining a token corresponding to a user identifier of the terminal device from a content providing device corresponding to the authentication request;
obtaining from the server device an identifier of a broadcast receiving device corresponding to a token corresponding to the authentication code ;
an acquisition step of acquiring, from the content providing device, a user identifier of the terminal device corresponding to a token corresponding to a user identifier of the terminal device;
a generating step of registering the acquired identifier of the broadcast receiving device and a user identifier of the terminal device in association with each other;
A program for executing the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024160454A JP7710582B2 (en) | 2021-01-13 | 2024-09-17 | Server management device, system, and program |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021003652A JP7558070B2 (en) | 2021-01-13 | 2021-01-13 | Server management device, system, and program |
| JP2024160454A JP7710582B2 (en) | 2021-01-13 | 2024-09-17 | Server management device, system, and program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021003652A Division JP7558070B2 (en) | 2021-01-13 | 2021-01-13 | Server management device, system, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024169526A JP2024169526A (en) | 2024-12-05 |
| JP7710582B2 true JP7710582B2 (en) | 2025-07-18 |
Family
ID=82447318
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021003652A Active JP7558070B2 (en) | 2021-01-13 | 2021-01-13 | Server management device, system, and program |
| JP2024160454A Active JP7710582B2 (en) | 2021-01-13 | 2024-09-17 | Server management device, system, and program |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021003652A Active JP7558070B2 (en) | 2021-01-13 | 2021-01-13 | Server management device, system, and program |
Country Status (3)
| Country | Link |
|---|---|
| JP (2) | JP7558070B2 (en) |
| CN (1) | CN116982292A (en) |
| WO (1) | WO2022151749A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7659520B2 (en) * | 2022-04-07 | 2025-04-09 | Tvs Regza株式会社 | Server management device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009141856A (en) | 2007-12-10 | 2009-06-25 | Access Co Ltd | Proxy access device, proxy access system, video device |
| JP2013041552A (en) | 2011-08-19 | 2013-02-28 | Canon Inc | Cooperation server and control method therefor, printing system, and program |
| JP2014045232A (en) | 2012-08-24 | 2014-03-13 | Hitachi Consumer Electronics Co Ltd | Remote control system and terminal device |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004193681A (en) * | 2002-12-06 | 2004-07-08 | Toshiba Corp | Interactive service providing system, communication terminal device and server device used in this system |
| JP4740092B2 (en) * | 2006-11-08 | 2011-08-03 | 日本電信電話株式会社 | Communication system and communication method |
| ATE524897T1 (en) * | 2008-09-17 | 2011-09-15 | Gmv Soluciones Globales Internet S A | METHOD AND SYSTEM FOR AUTHENTICATING A USER USING A MOBILE TELEPHONE DEVICE |
| JP5395774B2 (en) * | 2010-09-30 | 2014-01-22 | 日本放送協会 | Service provision system |
| KR101579603B1 (en) | 2012-06-27 | 2016-01-04 | 네이버 주식회사 | System, method and computer readable recording medium for linking a television and a smart phone using an image authentication key |
| CN103237265B (en) * | 2013-04-03 | 2016-03-02 | 深圳市闪联信息技术有限公司 | The dynamic confirming method of internet television system and internet television terminal |
| CN105227536B (en) * | 2014-07-03 | 2018-12-14 | 阿里巴巴集团控股有限公司 | A kind of two dimensional code login method and equipment |
| JP6660797B2 (en) * | 2016-04-19 | 2020-03-11 | シャープ株式会社 | Server device, device cooperation system, device cooperation method |
| JP6678703B2 (en) | 2018-07-18 | 2020-04-08 | 株式会社ニューメディア | Control system, control method, server and control program |
-
2021
- 2021-01-13 JP JP2021003652A patent/JP7558070B2/en active Active
- 2021-09-15 WO PCT/CN2021/118601 patent/WO2022151749A1/en not_active Ceased
- 2021-09-15 CN CN202180006076.3A patent/CN116982292A/en active Pending
-
2024
- 2024-09-17 JP JP2024160454A patent/JP7710582B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009141856A (en) | 2007-12-10 | 2009-06-25 | Access Co Ltd | Proxy access device, proxy access system, video device |
| JP2013041552A (en) | 2011-08-19 | 2013-02-28 | Canon Inc | Cooperation server and control method therefor, printing system, and program |
| JP2014045232A (en) | 2012-08-24 | 2014-03-13 | Hitachi Consumer Electronics Co Ltd | Remote control system and terminal device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024169526A (en) | 2024-12-05 |
| JP7558070B2 (en) | 2024-09-30 |
| WO2022151749A1 (en) | 2022-07-21 |
| CN116982292A (en) | 2023-10-31 |
| JP2022108577A (en) | 2022-07-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7667357B2 (en) | Server device and program | |
| US20110078715A1 (en) | Identifying a movie of interest from a widget used with movie commericials | |
| JP7710582B2 (en) | Server management device, system, and program | |
| JP7523617B2 (en) | Information sharing system | |
| JP7659520B2 (en) | Server management device | |
| US11722726B2 (en) | Television apparatus and display method | |
| JP7550739B2 (en) | Server management device | |
| JP7855110B2 (en) | Processing method for server management device | |
| WO2023060949A1 (en) | Server management apparatus | |
| JP7272976B2 (en) | Scene information providing system and receiving device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240917 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240917 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250625 |
|
| 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: 20250701 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250708 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7710582 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |