Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7659520B2 - Server management device - Google Patents
[go: Go Back, main page]

JP7659520B2 - Server management device - Google Patents

Server management device Download PDF

Info

Publication number
JP7659520B2
JP7659520B2 JP2022063747A JP2022063747A JP7659520B2 JP 7659520 B2 JP7659520 B2 JP 7659520B2 JP 2022063747 A JP2022063747 A JP 2022063747A JP 2022063747 A JP2022063747 A JP 2022063747A JP 7659520 B2 JP7659520 B2 JP 7659520B2
Authority
JP
Japan
Prior art keywords
information
token
content providing
gateway
television
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
Application number
JP2022063747A
Other languages
Japanese (ja)
Other versions
JP2023154460A (en
Inventor
玲子 嘉和知
勇人 西村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVS Regza Corp
Original Assignee
TVS Regza Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVS Regza Corp filed Critical TVS Regza Corp
Priority to JP2022063747A priority Critical patent/JP7659520B2/en
Priority to CN202280007639.5A priority patent/CN116803086A/en
Priority to PCT/CN2022/102444 priority patent/WO2023060949A1/en
Publication of JP2023154460A publication Critical patent/JP2023154460A/en
Priority to JP2025056962A priority patent/JP7855110B2/en
Application granted granted Critical
Publication of JP7659520B2 publication Critical patent/JP7659520B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Description

本発明は、サーバ管理装置に関する。 The present invention relates to a server management device.

近年、受信機と端末とが連携して、情報を送受信する技術があり、例えば、受信機がウェブサイトから受信した情報を端末へ送信する。 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.

特許第5898431号公報Patent No. 5898431

上記のように受信機と、端末と、ウェブサイト等のコンテンツを提供するコンテンツ提供装置とが連携して情報を送受信するためには、事前に端末のユーザの識別子と受信機の識別子とを連携させる必要があり、適切に連携処理をすることが望まれる。 As described above, in order for the receiver, the terminal, and the content providing device that provides content such as a website to cooperate in transmitting and receiving 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 that can properly execute a process for linking a receiver identifier and a terminal identifier.

実施形態のサーバ管理装置は、放送受信装置の識別子、認証コード、コンテンツ提供装置の識別子および第1トークンを対応付けた情報を記憶する複数のサーバ装置と送受信可能であるサーバ管理装置であって、放送受信装置の識別子と、コンテンツ提供装置の利用者の端末装置の識別子とを対応付けることを促進する促進情報を記憶する記憶部と、促進情報を放送受信装置へ送信する促進情報送信部と、放送受信装置からの促進情報に基づく要求に応じて認証コードを放送受信装置へ送信する認証コード送信部と、認証コードを取得した端末装置から、認証コードと、コンテンツ提供装置の識別子と、サーバ装置の識別子とを含む認証リクエストを取得する認証リクエスト取得部と、放送受信装置の識別子と、端末装置のユーザ識別子との連携指示の通知を端末装置から取得する連携指示取得部と、連携指示の通知を取得した後に、認証リクエストに対応するサーバ装置から認証コードに対応する第1トークンを取得する第1トークン取得部と、認証リクエストに対応するコンテンツ提供装置から、端末装置のユーザ識別子に対応する第2トークンを取得する第2トークン取得部と、第1トークンに対応する放送受信装置の識別子をサーバ装置から取得する放送受信装置識別子取得部と、第2トークンに対応する端末装置のユーザ識別子をコンテンツ提供装置から取得するユーザ識別子取得部と、第1トークンに対応する放送受信装置の識別子と、第2トークンに対応する端末装置のユーザ識別子とを対応付けて登録する登録部と、を備え、促進情報は、広告の表示種類を示す情報と、広告内容を示す情報とを含む広告情報を有する。 A server management device according to an embodiment is a server management device capable of transmitting and receiving information to and from a plurality of server devices that stores information associating an identifier of a broadcast receiving device, an authentication code, an identifier of a content providing device, and a first token, and includes a storage unit that stores promotion information that promotes associating the identifier of the broadcast receiving device with an identifier of a terminal device of a user of the content providing device, a promotion information transmission unit that transmits the promotion information to the broadcast receiving device, an authentication code transmission unit that transmits an authentication code to the broadcast receiving device in response to a request based on the promotion information from the broadcast receiving device, an authentication request acquisition unit that acquires an authentication request including the authentication code, the identifier of the content providing device, and the identifier of the server device from the terminal device that has acquired the authentication code, and a notification of an instruction to link the identifier of the broadcast receiving device with the user identifier of the terminal device to the terminal device. the notification of the link instruction from the server device; a first token acquisition unit that acquires a first token corresponding to the authentication code from the server device corresponding to the authentication request after acquiring the notification of the link instruction; a second token acquisition unit that acquires a second token corresponding to the user identifier of the terminal device from the content providing device corresponding to the authentication request; a broadcast receiving device identifier acquisition unit that acquires an identifier of the broadcast receiving device corresponding to the first token from the server device; a user identifier acquisition unit that acquires a user identifier of the terminal device corresponding to the second token from the content providing device; and a registration unit that associates and registers the identifier of the broadcast receiving device corresponding to the first token and the user identifier of the terminal device corresponding to the second token, and the promotion information has advertisement information including information indicating the display type of the advertisement and information indicating the advertisement content.

図1は、第1実施形態の情報連携システムの全体構成例の概要を示す図である。FIG. 1 is a diagram showing an overview of an example of the overall configuration of an information linking system according to the first embodiment. 図2は、第1実施形態のテレビジョン装置の全体構成例を示すブロック図である。FIG. 2 is a block diagram showing an example of the overall configuration of the television device according to the first embodiment. 図3は、第1実施形態のテレビジョン装置の部分構成例を示すブロック図である。FIG. 3 is a block diagram showing an example of a partial configuration of the television device according to the first embodiment. 図4は、第1実施形態のプッシュ配信サーバの全体構成例を示すブロック図である。FIG. 4 is a block diagram showing an example of the overall configuration of the push distribution server according to the first embodiment. 図5は、第1実施形態のプッシュ配信サーバの部分構成例を示すブロック図である。FIG. 5 is a block diagram showing an example of a partial configuration of the push distribution server of the first embodiment. 図6は、第1実施形態のプッシュ配信サーバが保存するデータのデータ構造を示す図である。FIG. 6 is a diagram showing the data structure of data stored in the push distribution server of the first embodiment. 図7は、第1実施形態の情報連携システムにおける全体処理を示すフローチャートである。FIG. 7 is a flowchart showing the overall processing in the information link system of the first embodiment. 図8は、第2実施形態の情報連携システムの全体構成例の概要を示す図である。FIG. 8 is a diagram illustrating an overview of an example of the overall configuration of an information linking system according to the second embodiment. 図9は、第2実施形態の共通受付サーバの全体構成例を示すブロック図である。FIG. 9 is a block diagram showing an example of the overall configuration of a common reception server according to the second embodiment. 図10は、第2実施形態の共通受付サーバの部分構成例を示すブロック図である。FIG. 10 is a block diagram showing an example of a partial configuration of a common reception server according to the second embodiment. 図11は、第2実施形態の情報連携システムにおける全体処理を示すフローチャートである。FIG. 11 is a flowchart showing the overall processing in the information link system according to the second embodiment. 図12は、第3実施形態の情報連携システムにおける全体処理を示すフローチャートである。FIG. 12 is a flowchart showing the overall processing in the information link system according to the third embodiment. 図13は、第4実施形態の情報連携システムにおける全体処理を示すフローチャートである。FIG. 13 is a flowchart showing the overall processing in the information link system according to the fourth embodiment. 図14は、第5実施形態の情報連携システムにおける促進情報の例を示す図である。FIG. 14 is a diagram illustrating an example of promotion information in the information link system according to the fifth embodiment. 図15は、第5実施形態の広告情報を説明するための図である。FIG. 15 is a diagram for explaining advertisement information according to the fifth embodiment. 図16は、第5実施形態の情報連携システムにおける促進情報の表示処理を示すフローチャートである。FIG. 16 is a flowchart showing a display process of promotion information in the information link system according to the fifth embodiment. 図17は、第5実施形態の情報連携システムにおける連携処理手順を示すフローチャートである。FIG. 17 is a flowchart showing a linkage processing procedure in the information linkage system according to the fifth embodiment. 図18は、第5実施形態の情報連携システムにおける連携取り消し処理を示すフローチャートである。FIG. 18 is a flowchart showing a link cancellation process in the information link system according to the fifth embodiment. 図19は、第5実施形態の情報連携システムにおけるユーザ端末の操作を介して連携を取り消す処理手順を示すフローチャートである。FIG. 19 is a flowchart showing a processing procedure for canceling cooperation via an operation of a user terminal in the information cooperation system according to the fifth embodiment. 図20は、第5実施形態の情報連携システムにおけるクリッカブル広告の情報の例を示す図である。FIG. 20 is a diagram showing an example of information on a clickable advertisement in the information linking system according to the fifth embodiment. 図21は、変形例の情報連携システムにおける連携処理手順を示すフローチャートである。FIG. 21 is a flowchart showing a linking process procedure in the information linking system of the modified example.

以下、本発明のサーバ装置、放送受信装置、サーバ管理装置、情報連携システム、およびプログラムの実施形態(第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 programs viewed.

また、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 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.

(第5実施形態)
第5実施形態にかかる情報連携システムSは、第3実施形態の情報連携システムSの全体構成と同様である。第5実施形態にかかる情報連携システムSでは、第3実施形態にかかる情報連携システムSにおける、テレビジョン装置2のIDと、ユーザ端末1050のユーザIDとを連携する処理を促すための促進情報としてキャンペーン情報をテレビゲートウェイ5がテレビジョン装置2へ送信する。情報連携システムSでは、テレビジョン装置2が、促進情報に基づいてテレビジョン装置2のIDと、ユーザ端末1050のユーザIDとを連携する処理の指示した場合、テレビジョン装置2のIDと、ユーザ端末1050のユーザIDとを連携する処理を実行する。
Fifth Embodiment
The information linkage system S according to the fifth embodiment has the same overall configuration as the information linkage system S according to the third embodiment. In the information linkage system S according to the fifth embodiment, the television gateway 5 transmits campaign information to the television device 2 as promotion information for encouraging a process of linking the ID of the television device 2 and the user ID of the user terminal 1050 in the information linkage system S according to the third embodiment. In the information linkage system S, when the television device 2 instructs a process of linking the ID of the television device 2 and the user ID of the user terminal 1050 based on the promotion information, the information linkage system S executes a process of linking the ID of the television device 2 and the user ID of the user terminal 1050.

情報連携システムSでは、テレビジョン装置2が、番組表情報の取得要求をすると、テレビゲートウェイ5が番組表情報の取得要求を受け付ける。テレビゲートウェイ5は、番組表構成情報を取得し、番組表構成情報をテレビジョン装置2へ送信する。番組表構成情報は、事業者情報、チャンネル情報、番組情報、CM情報、およびVOD情報を含む。なお、テレビゲートウェイ5を実現するファイルサーバが、番組表構成情報を記憶している。すなわち、テレビゲートウェイ5は、番組構成情報を記憶しており、テレビジョン装置2からの番組表情報の取得要求に応じて、記憶している番組構成情報をテレビジョン装置2へ送信する。 In the information linkage system S, when the television device 2 requests to acquire program guide information, the television gateway 5 accepts the request to acquire program guide information. The television gateway 5 acquires program guide configuration information and transmits the program guide configuration information to the television device 2. The program guide configuration information includes operator information, channel information, program information, commercial information, and VOD information. The file server that realizes the television gateway 5 stores the program guide configuration information. In other words, the television gateway 5 stores the program configuration information, and transmits the stored program configuration information to the television device 2 in response to a request to acquire program guide information from the television device 2.

テレビゲートウェイ5は、キャンペーン情報を記憶しており、番組表構成情報を送信する際、テレビジョン装置2からの要求に応じてキャンペーン情報を送信する。 The television gateway 5 stores campaign information, and when transmitting program guide configuration information, transmits the campaign information in response to a request from the television device 2.

ここで、キャンペーン情報の内容について図14を用いて説明する。図14は、促進情報の例を示す図である。キャンペーン情報は、通常連携データ部分330と、キャンペーン連携データ部分340と、1又は複数の広告情報部分350とを有する。 Here, the contents of the campaign information will be explained using FIG. 14. FIG. 14 is a diagram showing an example of promotion information. The campaign information has a normal linked data portion 330, a campaign linked data portion 340, and one or more advertising information portions 350.

通常連携データ部分330は、ID連携用データのObjectを示す情報(idbind)と、イメージファイルが格納されているURLのベースURLを示す情報(img_base_url)と、連携方法を説明する画像を示す情報(bindのexplanation_img)と、連携解除方法を説明する画像を示す情報(unbindのexplanation_img)とを含む。 Normally, the linking data portion 330 includes information indicating the Object of the ID linking data (idbind), information indicating the base URL of the URL where the image file is stored (img_base_url), information indicating an image explaining the linking method (explanation_img of bind), and information indicating an image explaining the unlinking method (explanation_img of unbind).

キャンペーン連携データ部分340は、キャンペーン情報のobjectのArrayを示す情報(idbind_campaign)と、キャンペーン対象のTVメーカを示す情報(tv)と、イメージファイルが格納されているURLのベースURLを示す情報(img_base_url)と、キャンペーンの内容を説明する画像を示す情報(campaign_img)と、すでに連携済みだった場合に表示する画像を示す情報(hasbound_img)と、連携方法を説明する画像を示す情報(explanation_img)と、IFA-IDによるトラッキングを許可することをお勧めする画像を示す情報(recommend_tracking_img)と、キャンペーン開始日時を示す情報(start)と、キャンペーン終了日時を示す情報(end)とを含む。 The campaign linkage data portion 340 includes information indicating an array of campaign information objects (idbind_campaign), information indicating the TV manufacturer that is the target of the campaign (tv), information indicating the base URL of the URL where the image file is stored (img_base_url), information indicating an image that explains the contents of the campaign (campaign_img), information indicating an image to be displayed if linkage has already been established (hasbound_img), information indicating an image that explains the linkage method (explanation_img), information indicating an image that recommends allowing tracking by IFA-ID (recommend_tracking_img), information indicating the campaign start date and time (start), and information indicating the campaign end date and time (end).

キャンペーン連携データ部分340における画像を示す情報を、マクロ等によりTVメーカ毎に異なるように設定されていてもよい。これにより、簡易な構成で複数のTVメーカのそれぞれで異なるキャンペーン画像を割り当てることができる。 The information indicating the image in the campaign linkage data portion 340 may be set differently for each TV manufacturer using a macro or the like. This allows different campaign images to be assigned to each of multiple TV manufacturers with a simple configuration.

広告情報部分350は、表示対象のTVメーカを示す配列情報(tv)と、ad_info固有識別子(id)と、広告の表示種類や広告の内容を示す情報を含む広告情報(ad_info)と、表示開始日時(start)と、表示終了日時(end)とを含む。 The advertisement information portion 350 includes array information (tv) indicating the TV manufacturer to be displayed, an ad_info unique identifier (id), advertisement information (ad_info) including information indicating the advertisement display type and advertisement content, the display start date and time (start), and the display end date and time (end).

また、広告情報は、図14および図15に示すように、広告の表示種類を示す情報(type)と、表示する画面のIDを示す情報(place)と、広告の表示種類がtextの場合に表示するテキストメッセージ(message)と、広告の表示種類がimageの場合に表示する表示イメージのURL(image)と、広告の表示種類がmovieの場合に表示する動画のURL(movie)と、広告の表示期間を示す情報(period)とを含む。上記テキストメッセージ、表示イメージのURL、および動画のURLが、広告の内容を示す情報の一例である。 As shown in Figures 14 and 15, the advertisement information includes information indicating the display type of the advertisement (type), information indicating the ID of the screen on which it is displayed (place), a text message (message) to be displayed when the advertisement display type is text, a URL of the display image (image) to be displayed when the advertisement display type is image, a URL of the video (movie) to be displayed when the advertisement display type is movie, and information indicating the display period of the advertisement (period). The above text message, URL of the display image, and URL of the video are examples of information indicating the content of the advertisement.

図14に示すキャンペーン情報には、広告の種類がtextの広告情報部分350aと、広告の種類がimageの広告情報部分350bと、広告の表示種類がmovieの広告情報部分350cとが含まれている。テレビジョン装置2が、図14に示すキャンペーン情報を受信した場合、テキストメッセージの広告を表示し、表示イメージの広告を表示し、動画の広告を表示する。 The campaign information shown in FIG. 14 includes advertisement information portion 350a with the advertisement type being "text," advertisement information portion 350b with the advertisement type being "image," and advertisement information portion 350c with the advertisement display type being "movie." When the television device 2 receives the campaign information shown in FIG. 14, it displays a text message advertisement, a display image advertisement, and a video advertisement.

続いて、キャンペーン情報に基づいて広告を表示する手順について、図16を用いて説明する。図16は、キャンペーン情報の広告の表示処理を示すフローチャートである。 Next, the procedure for displaying advertisements based on campaign information will be described with reference to FIG. 16. FIG. 16 is a flowchart showing the process for displaying advertisements based on campaign information.

図16に示す処理は、テレビジョン装置2が、番組表の表示処理において実行する処理である。テレビジョン装置2は、ユーザの操作に応じて、テレビゲートウェイ5に対して、ユーザが指定したECサイトの番組表構成情報(番組表)の取得要求をする。テレビジョン装置2が、番組表情報の取得要求をすると、テレビゲートウェイ5が番組表情報の取得要求を受け付ける。テレビゲートウェイ5は、番組表構成情報をテレビジョン装置2へ送信する。テレビジョン装置2は、番組表構成情報を表示する。番組表構成情報は、事業者情報、チャンネル情報、番組情報、CM情報、およびVOD情報を含む。 The process shown in FIG. 16 is executed by the television device 2 in the program guide display process. In response to a user's operation, the television device 2 requests the television gateway 5 to acquire program guide configuration information (program guide) of an EC site specified by the user. When the television device 2 requests to acquire program guide information, the television gateway 5 accepts the request to acquire program guide information. The television gateway 5 transmits the program guide configuration information to the television device 2. The television device 2 displays the program guide configuration information. The program guide configuration information includes business information, channel information, program information, CM information, and VOD information.

このように、テレビジョン装置2が、番組表構成情報を表示した際、テレビゲートウェイ5へキャンペーン情報の取得要求をする。テレビジョン装置2は、テレビゲートウェイ5からキャンペーン情報を取得しなかった場合(ステップS101:No)、処理を終了する。 In this way, when the television device 2 displays the program guide configuration information, it requests the television gateway 5 to obtain campaign information. If the television device 2 does not obtain campaign information from the television gateway 5 (step S101: No), it ends the process.

テレビジョン装置2は、テレビゲートウェイ5からキャンペーン情報を取得した場合(ステップS101:Yes)、キャンペーン情報を参照して、表示開始日時と表示終了日時とに基づいた有効期間内の広告情報の有無を判断する(ステップS102)。テレビジョン装置2は、有効期間内の広告情報が無い場合(ステップS102:No)、処理を終了する。 When the television device 2 acquires campaign information from the television gateway 5 (step S101: Yes), the television device 2 refers to the campaign information and determines whether or not there is advertising information within the valid period based on the display start date and time and the display end date and time (step S102). If there is no advertising information within the valid period (step S102: No), the television device 2 ends the process.

テレビジョン装置2は、有効期間内の広告情報がある場合(ステップS102:Yes)、キャンペーン情報から表示する情報を抽出する(ステップS103)。そして、テレビジョン装置2は、抽出した情報を全て表示する又はユーザ操作により番組表表示を終了するまでの間、ステップS104のループ処理を実行する。 If there is advertising information within the validity period (step S102: Yes), the television device 2 extracts information to display from the campaign information (step S103). The television device 2 then executes the loop process of step S104 until it has displayed all of the extracted information or until the program guide display is terminated by a user operation.

ステップS104のループ処理では、テレビジョン装置2は、広告の種類に応じて、広告を表示する(ステップS105)。 In the loop process of step S104, the television device 2 displays the advertisement according to the type of advertisement (step S105).

また、テレビジョン装置2は、広告を表示している際に(例えば、ステップS104のループ処理の間)、ユーザによりキャンペーンに応募する旨の選択がされた場合、アンケート情報を表示し、アンケート情報の入力を受け付けて、連携指示要求をするようにしてもよい。このアンケートは、ユーザの属性(性別、住所等)の入力を受け付けるアンケートである。 In addition, when the television device 2 is displaying an advertisement (e.g., during the loop processing of step S104), if the user selects to apply for a campaign, the television device 2 may display survey information, accept input of the survey information, and issue a linkage instruction request. This survey accepts input of user attributes (gender, address, etc.).

なお、テレビジョン装置2は、キャンペーン情報を参照して、先にキャンペーンの応募を選択可能な画面を表示して、その後で、図16に示すフローチャートの処理を実行するようにしてもよい。すなわち、テレビジョン装置2は、広告表示に関する処理と、ID連携に関する処理とを別々に独立して実行するようにしてもよい。 The television device 2 may refer to the campaign information, first display a screen on which the user can select to apply for the campaign, and then execute the process of the flowchart shown in FIG. 16. In other words, the television device 2 may execute the process related to advertisement display and the process related to ID linkage separately and independently.

続いて、図17を用いて連携処理手順を説明する。図17は、連携処理手順を示すフローチャートである。TVクラウド3が生成する認証コードおよびトークンは、メーカを識別する情報を含むものとする。すなわち、TVクラウド3は、自装置を識別する情報を認証コードおよびトークンに含めるものとする。 Next, the linking process procedure will be described with reference to FIG. 17. FIG. 17 is a flowchart showing the linking process procedure. The authentication code and token generated by TV cloud 3 include information that identifies the manufacturer. In other words, TV cloud 3 includes information that identifies its own device in the authentication code and token.

図16に示したフローチャートの処理を実行する前に、テレビジョン装置2は、IFA-IDを乱数により生成し、TVクラウド3へ通知する(ステップS111)。このIFA-IDは、一意であることが保証できる程度の桁数を有する数値である。なお、テレビジョン装置2は、テレビジョン装置2のTVモデル名を送信するようにしてもよい。また、ステップS111およびステップS112において、ベアラ認証をするようにしてもよい。 Before executing the process of the flowchart shown in FIG. 16, the television device 2 generates an IFA-ID using random numbers and notifies the TV cloud 3 (step S111). This IFA-ID is a number with a number of digits that ensures that it is unique. The television device 2 may also transmit the TV model name of the television device 2. Also, in steps S111 and S112, bearer authentication may be performed.

TVクラウド3は、IFA-IDをテレビゲートウェイ5へ送信する(ステップS112)。その後に、ステップS113において、図16に示したフローチャートの処理を実行する。ステップS113において、連携指示がなされると、テレビジョン装置2は、QRコード要求をする(ステップS114)。 The TV cloud 3 transmits the IFA-ID to the television gateway 5 (step S112). Then, in step S113, the process of the flowchart shown in FIG. 16 is executed. When a link instruction is given in step S113, the television device 2 makes a QR code request (step S114).

また、図17のステップS114は、図7のステップS1、図11のステップS12、および図12のステップS61と同様である。なお、ステップS114では、テレビジョン装置2は、ユーザが指定したECサイト(ビデオプラットフォーム)に対応するPF-IDをTVクラウド3へ送信する。 Step S114 in FIG. 17 is similar to step S1 in FIG. 7, step S12 in FIG. 11, and step S61 in FIG. 12. In step S114, the television device 2 transmits the PF-ID corresponding to the EC site (video platform) specified by the user to the TV cloud 3.

ステップS115において、TVクラウド3は、レスポンスとして、テレビゲートウェイ5のURLとURL認証コードとを含むQRコードをテレビジョン装置2に送付する。当該QRコードには、テレビゲートウェイ5のURLと、下記の時限付き認証コードが含まれる。 In step S115, 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、図12のステップS63と同様、ステップS116において、ユーザ端末1050は、撮像手段で光学的に撮影した画像情報からURL認証コード読み取り機能により、映像表示部233に光学的に表示されたURL認証コードの情報を読み取る。これにより、ユーザ端末1050は、テレビゲートウェイ5のURLおよび認証コード等を取得する。当該認証コード部分は、時限付き認証コードで以下のように構成されている。
“code” : <authorization code>,
“state” : <string> // 乱数
7, step S23 in Fig. 11, and step S63 in Fig. 12, in step S116, the user terminal 1050 reads the URL authentication code information 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. 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

ステップS117において、ユーザ端末1050は、テレビゲートウェイ5のURL、認証コード、およびstate情報を取得すると、当該URLに基づいて、テレビゲートウェイ5へアクセスすると共に、認証コードおよびstate情報を送信し、認証リクエストする。なお、state情報は、上述のように、TC-IDとPF-IDとを含む。 In step S117, 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

ステップS118において、テレビゲートウェイ5の取得部512が、認証コードおよびstate情報を受信すると、テレビゲートウェイ5の送信部513が、連携指示を示す連携ボタンを含むHTML形式の画面をユーザ端末1050へ送信する。当該HTMLは、PF-IDのOAuth2 Authorization EndpointにアクセスするURLとパラメータを含むようにしてもよい。 In step S118, 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のユーザ操作により連携ボタンが押下されると(ステップS119)、ビデオプラットフォームであるコンテンツ提供サーバ4に対して認可リクエストをする。また、コンテンツ提供サーバ4は、当該認可リクエストを受信し、それに応答する旨の情報をユーザ端末1050へ送信する(ステップS120)。 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 S119), an authorization request is made to the content providing server 4, which is a video platform. The content providing server 4 receives the authorization request and transmits information in response to it to the user terminal 1050 (step S120).

上記認可リクエスト時に送信する情報は、例えば、以下の構成である。
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)

なお、テレビジョン装置2が、ステップS119の時点で、TVクラウド3を介して、テレビゲートウェイ5に対して連携状態の確認要求をした場合(ステップS151、ステップS152)、テレビゲートウェイ5は、連携完了していない旨の情報をテレビジョン装置2へ送信する(ステップS153、ステップS154)。 If, at step S119, the television device 2 requests confirmation of the linkage status from the television gateway 5 via the TV cloud 3 (steps S151 and S152), the television gateway 5 transmits information to the television device 2 indicating that linkage has not been completed (steps S153 and S154).

コンテンツ提供サーバ4においてユーザ情報が登録されていない場合、ユーザ端末1050およびコンテンツ提供サーバ4の間で、ユーザ登録処理をする(ステップS121)。ここで、ユーザ登録処理とは、コンテンツ提供サーバ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 S121). 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は、当該ログイン要求に応じたレスポンスをする(ステップS122)。当該レスポンスの例として以下の情報(認可コード)を出力する。
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 S122). As an example of the response, the following information (authorization code) is output.
Response
{“code”: <authorization code>,
“state”: <state>}

ユーザ端末1050は、上記レスポンスを受信すると、テレビゲートウェイ5へ連携指示を示すリダイレクトをする(ステップS123)。なお、ユーザ端末1050は、上記認可コードをテレビゲートウェイ5へ送信するようにしてもよい。 When the user terminal 1050 receives the response, it redirects the connection instruction to the television gateway 5 (step S123). The user terminal 1050 may also transmit the authorization code to the television gateway 5.

テレビゲートウェイ5の取得部512が、連携指示を示すリダイレクトを受け付けると、テレビゲートウェイ5は、ユーザ端末1050から取得したstate情報に含まれるTC-IDに基づいて、メーカを特定する。すなわち、テレビゲートウェイ5は、メーカを割り振る(ステップS124)。 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 S124).

そして、ステップS125において、テレビゲートウェイ5の送信部513は、送信先のTVクラウド3へ認証コードを送信することでトークン要求をする(ステップS125)。 Then, in step S125, 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 S125).

当該トークン要求時に送信する情報は、例えば、以下の構成である。
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.

ステップS126において、TVクラウド3の送信部313は、生成部314により生成された第1トークンをテレビゲートウェイ5へ送信する。 In step S126, 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へトークン要求をする(ステップS127)。 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 S127).

当該トークン要求時に送信する情報は、例えば、以下の構成である。
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.

ステップS128において、コンテンツ提供サーバ4は、生成した第2トークンをテレビゲートウェイ5へ送信する。なお、コンテンツ提供サーバ4は、第2トークンと、ユーザIDと、ユーザ属性情報とを対応付けて記憶するようにしてもよい。 In step S128, the content providing server 4 transmits the generated second token to the television gateway 5. Note that 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へユーザ情報要求をする(ステップS129)。 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 S129).

当該ユーザ情報要求時に送信する情報は、例えば、以下の構成である。
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へ送信する(ステップS130)。これにより、テレビゲートウェイ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 S130). 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.)

ステップS131において、コンテンツ提供サーバ4は、PF-IDを送信すると共に、デバイス情報要求をする。当該デバイス情報要求時に送信する情報は、例えば、以下の構成である。
Authorization: “Basic”+Base64(PF-ID + “:” + <client_secret>)
In step S131, 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は、ステップS127で送信した第2トークンに対応する第1トークンをTVクラウド3に送信すると共に、デバイス情報要求する(ステップS132)。当該デバイス情報要求時に送信する情報は、例えば、以下の構成である。
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 S127 to the TV cloud 3, and also requests device information (step S132). 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).

ステップS133において、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 S133, 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.)

ステップS134において、テレビゲートウェイ5の生成部514は、取得したHA-IDと、ユーザIDと、テレビジョン装置2の属性情報であるモデル情報(model)と、PF-IDと、を関連付けたバインド情報をDBの情報として、記憶部511へ登録する。なお、テレビゲートウェイ5の生成部514は、バインド情報として、ユーザの属性情報をさらに含めるようにしてもよい。 In step S134, the generation unit 514 of the television gateway 5 registers binding information that associates the acquired HA-ID, user ID, model information (model) that is attribute information of the television device 2, and PF-ID as DB information in the storage unit 511. Note that the generation unit 514 of the television gateway 5 may further include user attribute information as binding information.

ステップS135において、テレビゲートウェイ5は、ユーザ端末1050に対して、上記認可コードと共にレスポンスする(ステップS135)。 In step S135, the TV gateway 5 responds to the user terminal 1050 with the authorization code (step S135).

ステップS134以降に、テレビジョン装置2が、TVクラウド3を介して、テレビゲートウェイ5に対して連携状態の確認要求をした場合(ステップS136、ステップS137)、テレビゲートウェイ5は、連携完了した旨の情報(連携したコンテンツ提供サーバ4を識別する情報等)をテレビジョン装置2へ送信する(ステップS138、ステップS139)。また、テレビゲートウェイ5は、IFA-IDをコンテンツ提供サーバ4へ通知する(ステップS140)。 After step S134, if the television device 2 requests confirmation of the linkage status from the television gateway 5 via the TV cloud 3 (steps S136 and S137), the television gateway 5 transmits information indicating that linkage has been completed (such as information identifying the linked content providing server 4) to the television device 2 (steps S138 and S139). The television gateway 5 also notifies the content providing server 4 of the IFA-ID (step S140).

また、テレビジョン装置2において、IFA-IDを更新した場合、更新後のIFA-IDをTVクラウド3へ通知する(ステップS141)。TVクラウド3は、更新後のIFA-IDをテレビゲートウェイ5へ送信する。テレビゲートウェイ5は、更新後のIFA-IDをコンテンツ提供サーバ4へ送信する(ステップS143)。 When the IFA-ID is updated in the television device 2, the television device 2 notifies the TV cloud 3 of the updated IFA-ID (step S141). The TV cloud 3 transmits the updated IFA-ID to the television gateway 5. The television gateway 5 transmits the updated IFA-ID to the content providing server 4 (step S143).

続いて、連携取り消し処理について図18に示すフローチャートを用いて説明する。図18は、連携取り消し処理を示すフローチャートである。テレビジョン装置2は、ユーザの操作に応じて、TVクラウド3に対して連携取り消し要求をする(ステップS161)。TVクラウド3は、テレビジョン装置2からの取り消し要求に応じて、テレビゲートウェイ5へ連携取り消し要求をする(ステップS162)。なお、ステップS161およびステップS162において、テレビジョン装置2またはTVクラウド3は、連携取り消し要求共にIFA-IDを送信するようにしてもよい。 Next, the link cancellation process will be described with reference to the flowchart shown in FIG. 18. FIG. 18 is a flowchart showing the link cancellation process. In response to a user operation, the television device 2 makes a link cancellation request to the TV cloud 3 (step S161). In response to the cancellation request from the television device 2, the TV cloud 3 makes a link cancellation request to the television gateway 5 (step S162). Note that in steps S161 and S162, the television device 2 or TV cloud 3 may transmit an IFA-ID together with the link cancellation request.

テレビゲートウェイ5は、コンテンツ提供サーバ4に対して連携取り消し要求を通知する(ステップS163)。コンテンツ提供サーバ4は、生成した第2トークンを削除する。テレビゲートウェイ5は、バインド情報を削除して、削除した旨をTVクラウド3へ通知する(ステップS164)。TVクラウド3は、バインド情報が削除された旨をテレビジョン装置2へ通知する(ステップS165)。また、TVクラウド3は、第1トークンを削除するようにしてもよい。また、コンテンツ提供サーバ4は、連携を取り消した旨をテレビゲートウェイ5へ通知し(ステップS166)、テレビゲートウェイ5は、TVクラウド3へ連携を取り消した旨を通知する(ステップS167)。 The TV gateway 5 notifies the content providing server 4 of a request to cancel the link (step S163). The content providing server 4 deletes the generated second token. The TV gateway 5 deletes the binding information and notifies the TV cloud 3 of the deletion (step S164). The TV cloud 3 notifies the television device 2 of the deletion of the binding information (step S165). The TV cloud 3 may also delete the first token. The content providing server 4 notifies the TV gateway 5 of the cancellation of the link (step S166), and the TV gateway 5 notifies the TV cloud 3 of the cancellation of the link (step S167).

続いて、ユーザ端末1050の操作を介して連携を取り消す処理手順について図19を用いて説明する。図19は、ユーザ端末1050の操作を介して連携を取り消す処理手順を示すフローチャートである。 Next, the process of canceling the linkage via the operation of the user terminal 1050 will be described with reference to FIG. 19. FIG. 19 is a flowchart showing the process of canceling the linkage via the operation of the user terminal 1050.

ユーザがテレビジョン装置2のリモコン等を操作して、いわゆるポータル画面で、ユーザがスマートフォン1と連携を取り消したいコンテンツ提供サーバ4を指定する場面をスタートとする。 The process starts when the user operates a remote control or the like for the television device 2 to specify, on a so-called portal screen, the content providing server 4 from which the user wants to cancel the link with the smartphone 1.

図19のステップS180は、図7のステップS1、図11のステップS12と同様である。なお、ステップS180では、テレビジョン装置2は、ユーザが指定したコンテンツ提供サーバ4に対応するPF-IDをTVクラウド3へ送信する。 Step S180 in FIG. 19 is similar to step S1 in FIG. 7 and step S12 in FIG. 11. In step S180, the television device 2 transmits to the TV cloud 3 the PF-ID corresponding to the content providing server 4 specified by the user.

ステップS181において、TVクラウド3は、レスポンスとして、テレビゲートウェイ5のURLとURL認証コードとを含むQRコードをテレビジョン装置2に送付する。当該QRコードには、テレビゲートウェイ5のURLと、下記の時限付き認証コードが含まれる。 In step S181, 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と同様、ステップS182において、ユーザ端末1050は、撮像手段で光学的に撮影した画像情報からURL認証コード読み取り機能により、映像表示部233に光学的に表示されたURL認証コードの情報を読み取る。これにより、ユーザ端末1050は、テレビゲートウェイ5のURLおよび認証コード等を取得する。当該認証コード部分は、時限付き認証コードで以下のように構成されている。
“code” : <authorization code>,
“state” : <string> // 乱数
7 and step S23 in Fig. 11, in step S182, 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

ステップS183において、ユーザ端末1050は、テレビゲートウェイ5のURL、認証コード、およびstate情報を取得すると、当該URLに基づいて、テレビゲートウェイ5へアクセスすると共に、認証コードおよびstate情報を送信し、認証リクエストする。なお、state情報は、上述のように、TC-IDとPF-IDとを含む。 In step S183, 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

ステップS184において、テレビゲートウェイ5の取得部512が、認証コードおよびstate情報を受信すると、テレビゲートウェイ5の送信部513が、連携取り消し指示を示す連携取り消しボタンを含むHTML形式の画面をユーザ端末1050へ送信する。当該HTMLは、PF-IDのOAuth2 Authorization EndpointにアクセスするURLとパラメータを含むようにしてもよい。 In step S184, 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 cancellation button indicating a link cancellation 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のユーザ操作により連携取り消しボタンが押下されると(ステップS185)、ビデオプラットフォームであるコンテンツ提供サーバ4に対して認可リクエストをする。また、コンテンツ提供サーバ4は、当該認可リクエストを受信し、それに応答する旨の情報をユーザ端末1050へ送信する(ステップS186)。 The user terminal 1050 acquires the above HTML format screen. Then, when the user of the user terminal 1050 presses the link cancellation button (step S185), 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 responding to it to the user terminal 1050 (step S186).

上記認可リクエスト時に送信する情報は、例えば、以下の構成である。
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)

なお、テレビジョン装置2が、ステップS185の時点で、TVクラウド3を介して、テレビゲートウェイ5に対して連携状態の確認要求をした場合(ステップS251、ステップS252)、テレビゲートウェイ5は、連携している旨の情報をテレビジョン装置2へ送信する(ステップS253、ステップS254)。 If, at step S185, the television device 2 requests confirmation of the linkage status from the television gateway 5 via the TV cloud 3 (steps S251 and S252), the television gateway 5 transmits information indicating that linkage is established to the television device 2 (steps S253 and S254).

続いて、ユーザ端末1050が、コンテンツ提供サーバ4へログイン要求をして、コンテンツ提供サーバ4は、当該ログイン要求に応じたレスポンスをする(ステップS188)。当該レスポンスの例として以下の情報(認可コード)を出力する。
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 S188). As an example of the response, the following information (authorization code) is output.
Response
{“code”: <authorization code>,
“state”: <state>}

ユーザ端末1050は、上記レスポンスを受信すると、テレビゲートウェイ5へ連携指示を示すリダイレクトをする(ステップS189)。なお、ユーザ端末1050は、上記認可コードをテレビゲートウェイ5へ送信するようにしてもよい。 When the user terminal 1050 receives the response, it redirects the connection instruction to the television gateway 5 (step S189). Note that the user terminal 1050 may transmit the authorization code to the television gateway 5.

そして、ステップS72において、テレビゲートウェイ5の送信部513は、送信先のTVクラウド3へ認証コードを送信することでトークン要求をする(ステップS190)。 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 S190).

当該トークン要求時に送信する情報は、例えば、以下の構成である。
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を識別する情報および認証コードに対応する情報がある場合、TVクラウド3の送信部313は、第1トークンをテレビゲートウェイ5へ送信する(ステップS191)。 The generation unit 314 of the TV cloud 3 performs authentication by referring to the DB of the memory unit 311 and determining whether or not there is information that identifies the content providing server 4 acquired by the acquisition unit 312 (e.g., information included in the state information) and information corresponding to the authentication code. The generation unit 314 refers to the DB of the memory unit 311, and if there is information that identifies the content providing server 4 acquired by the acquisition unit 312 and information corresponding to the authentication code, the transmission unit 313 of the TV cloud 3 transmits the first token to the TV gateway 5 (step S191).

具体的に、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へトークン要求をする(ステップS192)。 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 S192).

当該トークン要求時に送信する情報は、例えば、以下の構成である。
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>

ステップS193において、コンテンツ提供サーバ4は、生成した第2トークンをテレビゲートウェイ5へ送信する。 In step S193, the content providing server 4 transmits the generated second token to the television gateway 5.

具体的に、コンテンツ提供サーバ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へユーザ情報要求をする(ステップS194)。 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 S194).

当該ユーザ情報要求時に送信する情報は、例えば、以下の構成である。
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へ送信する(ステップS195)。これにより、テレビゲートウェイ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 S195). 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.)

テレビゲートウェイ5の送信部513は、第1トークンをTVクラウド3に送信すると共に、デバイス情報要求する(ステップS196)。当該デバイス情報要求時に送信する情報は、例えば、以下の構成である。
Authorization: “Bearer” + <access token>)
The transmitting unit 513 of the television gateway 5 transmits the first token to the TV cloud 3 and requests device information (step S196). The information transmitted when requesting device information has the following configuration, for example.
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).

ステップS197において、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 S197, 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.)

テレビゲートウェイ5は、バインド情報を削除して、削除した旨をコンテンツ提供サーバ4へ通知する(ステップS198)。なお、テレビゲートウェイ5は、バインド情報を削除した旨をTVクラウド3へ通知してもよい。 The television gateway 5 deletes the binding information and notifies the content providing server 4 of the deletion (step S198). The television gateway 5 may also notify the TV cloud 3 of the deletion of the binding information.

テレビジョン装置2が、ステップS198以降に、TVクラウド3を介して、テレビゲートウェイ5に対して連携状態の確認要求をした場合(ステップS199、ステップS200)、テレビゲートウェイ5は、連携していない旨の情報をテレビジョン装置2へ送信する(ステップS201、ステップS202)。 If the television device 2 requests confirmation of the linkage status from the television gateway 5 via the TV cloud 3 after step S198 (steps S199 and S200), the television gateway 5 transmits information to the television device 2 indicating that they are not linked (steps S201 and S202).

上述の実施形態では、番組表を表示する際に、キャンペーン情報を表示する場合について述べたが、ネッワークを介して番組放送中(リニアに配信されている動画コンテンツ配信の番組)に指定されたタイミングで画面上に広告を表示する際に、キャンペーン情報を表示するようにしてもよい。 In the above embodiment, the campaign information is displayed when the program guide is displayed, but the campaign information may be displayed when an advertisement is displayed on the screen at a specified timing during the broadcast of a program (a program of linearly distributed video content) via the network.

例えば、図20に示すようなクリッカブル広告を用いてキャンペーン情報を表示するようにしてもよい。図20は、クリッカブル広告の情報の例である。この広告情報は、広告情報のObjectのArrayを示す情報(ad_list)と、広告タイプを示す情報(ad_type)と、広告イメージのURLを示す情報(img_url)等を含む。 For example, campaign information may be displayed using a clickable advertisement as shown in FIG. 20. FIG. 20 is an example of clickable advertisement information. This advertisement information includes information (ad_list) indicating an array of objects of advertisement information, information (ad_type) indicating the advertisement type, information (img_url) indicating the URL of the advertisement image, etc.

上述の実施形態では、図17に示したフローチャートの処理において、テレビゲートウェイ5がコンテンツ提供サーバ4に対してユーザ情報要求して、コンテンツ提供サーバ4からUR-IDを取得する場合について述べたが、これに限られない。例えば、図21に、図17のフローチャートの変形例を示す。図17で説明した処理と同様の部分については、説明を省略する。図21に示すステップS128もしくはS130でコンテンツ提供サーバ4がUR-IDを提供する代わりに、ステップS118にてテレビゲートウェイ5が、仮UR-IDを発行してHTML形式のコードに含まれる“state”の値にそのパラメータを含むようにしてもよい。この場合、ステップS120にてユーザ端末1050が、この値をコンテンツ提供サーバ4へ送信する。また、図12のフローチャートにおいても、上記のように、テレビゲートウェイ5が、仮UR-IDを発行するようにしてもよい。 In the above embodiment, in the process of the flowchart shown in FIG. 17, the television gateway 5 requests user information from the content providing server 4 and obtains a UR-ID from the content providing server 4, but this is not limited to the above. For example, FIG. 21 shows a modified example of the flowchart in FIG. 17. The same parts as those in the process explained in FIG. 17 will not be explained. Instead of the content providing server 4 providing a UR-ID in step S128 or S130 shown in FIG. 21, the television gateway 5 may issue a temporary UR-ID in step S118 and include the parameter in the value of "state" included in the HTML code. In this case, the user terminal 1050 transmits this value to the content providing server 4 in step S120. Also, in the flowchart of FIG. 12, the television gateway 5 may issue a temporary UR-ID as described above.

本実施形態にかかるテレビゲートウェイ5は、キャンペーン情報を記憶しておき、テレビジョン装置2が番組表を表示するタイミング等、所定のタイミングでキャンペーン情報をテレビジョン装置2へ送信する。キャンペーン情報は、広告の表示種類を示す情報と、広告内容を示す情報とを含む広告情報部分350を有する。 The television gateway 5 in this embodiment stores campaign information and transmits the campaign information to the television device 2 at a predetermined timing, such as when the television device 2 displays a program guide. The campaign information has an advertisement information portion 350 that includes information indicating the type of advertisement display and information indicating the advertisement content.

また、テレビゲートウェイ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 also 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 acquiring 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)とを連携する処理を適切に実行することができる。また、テレビゲートウェイ5は、キャンペーン情報を出力することで、テレビジョン装置2のIDと、ユーザ端末1050のユーザIDとを連携する処理を促進させることができる。また、テレビゲートウェイ5は、キャンペーン情報に広告の表示種類を示す情報と、広告内容を示す情報とを含む広告情報を有しているので、テレビジョン装置2は、広告の表示種類に応じて表示態様を切り替えて広告情報を出力することで、ユーザ端末1050のユーザIDとを連携する処理をより促進させることができる。また、テレビゲートウェイ5は、キャンペーン情報に複数の広告情報を含めておくことで、テレビジョン装置2は、複数の広告を順次出力することができる。 In this case, since the TV gateway 5 stores the user ID and the ID of the TV device 2 in association with each other, the TV cloud 3 does not need to manage the user ID, and the information management burden of the TV cloud 3 can be reduced. In addition, since the TV 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 TV gateway 5, and the processing burden of the content providing server 4 can also be reduced. That is, the TV gateway 5 can appropriately execute the process of linking the receiver identifier (the ID of the TV device 2) with the terminal identifier (the user ID of the user terminal 1050). In addition, the TV gateway 5 can promote the process of linking the ID of the TV device 2 with the user ID of the user terminal 1050 by outputting the campaign information. In addition, since the TV gateway 5 has advertising information including information indicating the display type of the advertisement and information indicating the advertisement content in the campaign information, the TV device 2 can further promote the process of linking with the user ID of the user terminal 1050 by switching the display mode according to the display type of the advertisement and outputting the advertising information. In addition, the television gateway 5 can include multiple pieces of advertising information in the campaign information, allowing the television device 2 to output multiple advertisements in sequence.

また、テレビゲートウェイ5は、テレビジョン装置2のIDと、ユーザ端末1050のユーザIDとを連携した後に、IFA-IDをコンテンツ提供サーバ4へ送信する。これにより、テレビゲートウェイ5は、テレビジョン装置2のIDをコンテンツ提供サーバ4へ開示することがなく、テレビジョン装置2を特定可能な情報を提供することができる。 The television gateway 5 also links the ID of the television device 2 with the user ID of the user terminal 1050, and then transmits the IFA-ID to the content providing server 4. This allows the television gateway 5 to provide information that can identify the television device 2 without disclosing the ID of the television device 2 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 (5)

放送受信装置の識別子、認証コード、コンテンツ提供装置の識別子および第1トークンを対応付けた情報を記憶する複数のサーバ装置と送受信可能であるサーバ管理装置であって、
前記放送受信装置の識別子と、前記コンテンツ提供装置の利用者の端末装置の識別子とを対応付けることを促進する促進情報を記憶する記憶部と、
前記促進情報を前記放送受信装置へ送信する促進情報送信部と、
前記放送受信装置からの前記促進情報に基づく要求に応じて前記認証コードを前記放送受信装置へ送信する認証コード送信部と、
前記認証コードを取得した端末装置から、前記認証コードと、コンテンツ提供装置の識別子と、前記サーバ装置の識別子とを含む認証リクエストを取得する認証リクエスト取得部と、
前記放送受信装置の識別子と、前記端末装置のユーザ識別子との連携指示の通知を前記端末装置から取得する連携指示取得部と、
前記連携指示の通知を取得した後に、前記認証リクエストに対応するサーバ装置から前記認証コードに対応する第1トークンを取得する第1トークン取得部と、
前記認証リクエストに対応するコンテンツ提供装置から、前記端末装置のユーザ識別子に対応する第2トークンを取得する第2トークン取得部と、
前記第1トークンに対応する放送受信装置の識別子を前記サーバ装置から取得する放送受信装置識別子取得部と、
前記第2トークンに対応する端末装置のユーザ識別子を前記コンテンツ提供装置から取得するユーザ識別子取得部と、
前記第1トークンに対応する放送受信装置の識別子と、前記第2トークンに対応する端末装置のユーザ識別子とを対応付けて登録する登録部と、
を備え、
前記促進情報は、広告の表示種類を示す情報と、広告内容を示す情報とを含む広告情報を有する、
サーバ管理装置。
A server management device capable of transmitting and receiving information to and from a plurality of server devices, the server management device storing information associating an identifier of a broadcast receiving device, an authentication code, an identifier of a content providing device, and a first token, the server management device comprising:
a storage unit that stores promotion information that promotes association of an identifier of the broadcast receiving device with an identifier of a terminal device of a user of the content providing device;
a promotion information transmitting unit that transmits the promotion information to the broadcast receiving device;
an authentication code transmission unit that transmits the authentication code to the broadcast receiving device in response to a request based on the promotion information from the broadcast receiving device;
an authentication request acquisition unit that acquires, from the terminal device that has acquired the authentication code, an authentication request including the authentication code, an identifier of a content providing device, and an identifier of the server device;
a link instruction acquisition unit that acquires, from the terminal device, a notification of a link instruction between an identifier of the broadcast receiving device and a user identifier of the terminal device;
a first token acquisition unit that acquires a first token corresponding to the authentication code from a server device corresponding to the authentication request after acquiring the notification of the link instruction;
a second token acquisition unit that acquires a second token corresponding to a user identifier of the terminal device from a content providing device corresponding to the authentication request;
a broadcast receiving device identifier acquisition unit that acquires an identifier of a broadcast receiving device corresponding to the first token from the server device;
a user identifier acquisition unit that acquires a user identifier of a terminal device corresponding to the second token from the content providing device;
a registration unit that registers an identifier of a broadcast receiving device corresponding to the first token and a user identifier of a terminal device corresponding to the second token in association with each other;
Equipped with
The promotion information includes advertisement information including information indicating an advertisement display type and information indicating advertisement content.
Server management device.
放送受信装置が生成した放送受信装置の第2識別子を取得する第2識別子取得部と、
前記登録部が、前記第1トークンに対応する放送受信装置の識別子と、前記第2トークンに対応する端末装置のユーザ識別子とを対応付けて登録した後に、前記第1トークンに対応する放送受信装置の第2識別子を、前記第2トークンの取得元のコンテンツ提供装置へ送信する第2識別子送信部と、をさらに備える請求項1に記載のサーバ管理装置。
a second identifier acquisition unit that acquires a second identifier of the broadcast receiving device generated by the broadcast receiving device;
The server management device of claim 1, further comprising a second identifier transmission unit that transmits the second identifier of the broadcast receiving device corresponding to the first token to a content providing device from which the second token was obtained, after the registration unit has registered in association with the identifier of the broadcast receiving device corresponding to the first token and the user identifier of the terminal device corresponding to the second token.
前記促進情報送信部は、番組表情報と共に前記促進情報を送信する、請求項1に記載のサーバ管理装置。 The server management device according to claim 1, wherein the promotion information transmission unit transmits the promotion information together with program guide information. 前記促進情報送信部は、選択可能な広告情報に前記促進情報を含めて送信する、請求項1に記載のサーバ管理装置。 The server management device according to claim 1, wherein the promotion information transmission unit transmits the promotion information together with the selectable advertising information. 前記促進情報は、複数の広告情報を含む、請求項1に記載のサーバ管理装置。 The server management device according to claim 1, wherein the promotion information includes a plurality of pieces of advertising information.
JP2022063747A 2021-10-14 2022-04-07 Server management device Active JP7659520B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2022063747A JP7659520B2 (en) 2022-04-07 2022-04-07 Server management device
CN202280007639.5A CN116803086A (en) 2021-10-14 2022-06-29 Server management device
PCT/CN2022/102444 WO2023060949A1 (en) 2021-10-14 2022-06-29 Server management apparatus
JP2025056962A JP7855110B2 (en) 2025-03-28 Processing method for server management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022063747A JP7659520B2 (en) 2022-04-07 2022-04-07 Server management device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2025056962A Division JP7855110B2 (en) 2025-03-28 Processing method for server management device

Publications (2)

Publication Number Publication Date
JP2023154460A JP2023154460A (en) 2023-10-20
JP7659520B2 true JP7659520B2 (en) 2025-04-09

Family

ID=88044188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022063747A Active JP7659520B2 (en) 2021-10-14 2022-04-07 Server management device

Country Status (2)

Country Link
JP (1) JP7659520B2 (en)
CN (1) CN116803086A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117371017B (en) * 2023-12-08 2024-03-01 山东三木众合信息科技股份有限公司 A device management method based on encrypted QR code

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021069048A (en) 2019-10-25 2021-04-30 中部日本放送株式会社 Monitoring system and monitoring method
JP2022045237A (en) 2020-09-08 2022-03-18 Tvs Regza株式会社 TV gateway
JP2022052607A (en) 2020-09-23 2022-04-04 Tvs Regza株式会社 Server device, server managing device and program
JP2022108577A (en) 2021-01-13 2022-07-26 Tvs Regza株式会社 Server management device, system and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021069048A (en) 2019-10-25 2021-04-30 中部日本放送株式会社 Monitoring system and monitoring method
JP2022045237A (en) 2020-09-08 2022-03-18 Tvs Regza株式会社 TV gateway
JP2022052607A (en) 2020-09-23 2022-04-04 Tvs Regza株式会社 Server device, server managing device and program
JP2022108577A (en) 2021-01-13 2022-07-26 Tvs Regza株式会社 Server management device, system and program

Also Published As

Publication number Publication date
JP2025092660A (en) 2025-06-19
JP2023154460A (en) 2023-10-20
CN116803086A (en) 2023-09-22

Similar Documents

Publication Publication Date Title
JP7667357B2 (en) Server device and program
JP7710582B2 (en) Server management device, system, and program
JP7659520B2 (en) Server management device
JP7523617B2 (en) Information sharing system
JP7550739B2 (en) Server management device
JP7855110B2 (en) Processing method for server management device
US11722726B2 (en) Television apparatus and display method
WO2023060949A1 (en) Server management apparatus
KR102157396B1 (en) System and method of providing a related service using still image or moving picture
KR101451399B1 (en) Server and method for managing scrapping information of contents, and device for transmitting the scrapping information

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240215

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250228

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250304

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250328

R150 Certificate of patent or registration of utility model

Ref document number: 7659520

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150