CN116803086A - Server management device - Google Patents
Server management device Download PDFInfo
- Publication number
- CN116803086A CN116803086A CN202280007639.5A CN202280007639A CN116803086A CN 116803086 A CN116803086 A CN 116803086A CN 202280007639 A CN202280007639 A CN 202280007639A CN 116803086 A CN116803086 A CN 116803086A
- Authority
- CN
- China
- Prior art keywords
- information
- token
- television
- content providing
- identifier
- 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.)
- Pending
Links
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)
Abstract
Description
相关申请的交叉引用Cross-references to related applications
本申请要求在2021年10月14日提交日本专利局、申请号为2021-168837、发明名称为“服务器管理装置”及2022年4月7日提交日本专利局、申请号为2022-063747、发明名称为“服务器管理装置”的日本专利申请的优先权,其全部内容通过引用结合在本申请中。This application is required to be submitted to the Japan Patent Office on October 14, 2021, with application number 2021-168837, and the invention title is "Server Management Device"; and on April 7, 2022, it is submitted to the Japan Patent Office, with application number 2022-063747, invention Priority is granted to a Japanese patent application entitled "Server Management Apparatus", the entire contents of which are incorporated herein by reference.
本申请涉及服务器管理装置。This application relates to a server management device.
近年来,存在接收机与终端协作而收发信息的技术,例如,接收机将从网站接收到的信息向终端发送。In recent years, there has been technology in which a receiver and a terminal cooperate to transmit and receive information. For example, the receiver transmits information received from a website to the terminal.
在先技术文献Prior technical documents
专利文献patent documents
专利文献1:日本特许第5898431号公报Patent Document 1: Japanese Patent No. 5898431
发明内容Contents of the invention
如上所述,为了接收机、终端、以及提供网站等的内容的内容提供装置协作而收发信息,需要事先使终端的用户的标识符与接收机的标识符协作,希望适当地进行协作处理。As described above, in order for a receiver, a terminal, and a content providing device that provides content such as a website to cooperate in transmitting and receiving information, it is necessary to coordinate the identifier of the user of the terminal with the identifier of the receiver in advance, and it is desired to perform coordination processing appropriately.
因此,本申请要解决的技术问题是,提供能够适当地执行使接收机的标识符与终端的标识符协作的处理的服务器管理装置。Therefore, a technical problem to be solved by the present application is to provide a server management device that can appropriately execute a process of cooperating the identifier of the receiver with the identifier of the terminal.
实施方式的服务器管理装置能够与多个服务器装置进行信息收发,该多个服务器装置存储将广播接收装置的标识符、认证码、内容提供装置的标识符及第1令牌关联起来的信息,其中,该服务器管理装置具备:存储部,其存储促进信息,该促进信息促进将广播接收装置的标识符与内容提供装置的利用者的终端装置的标识符相关联;促进信息发送部,其将促进信息向广播接收装置发送;认证码发送部,其根据以来自广播接收装置的促进信息为基础的请求,将认证码向广播接收装置发送;认证要求获取部,其从获取了认证码的终端装置,获取包含认证码、内容提供装置的标识符、以及服务器装置的标识符的认证要求;协作指示获取部,其从终端装置获取广播接收装置的标识符与终端装置的用户标识符的协作指示的通知;第1令牌获取部,其在获取了协作指示的通知之后,从认证要求所对应的服务器装置获取认证码所对应的第1令牌;第2令牌获取部,其从认证要求所对应的内容提供装置获取终端装置的用户标识符所对应的第2令牌;广播接收装置标识符获取部,其从服务器装置获取第1令牌所对应的广播接收装置的标识符;用户标识符获取部,其从内容提供装置获取第2令牌所对应的终端装置的用户标识符;登记部,其将第1令牌所对应的广播接收装置的标识符与第2令牌所对应的终端装置的用户标识符相关联地登记。The server management device of the embodiment is capable of exchanging information with a plurality of server devices that store information associating the identifier of the broadcast receiving device, the authentication code, the identifier of the content providing device, and the first token, where , the server management device includes: a storage unit that stores promotion information that promotes association of the identifier of the broadcast receiving device with the identifier of the user's terminal device of the content providing device; and a promotion information transmitting unit that promotes The information is transmitted to the broadcast receiving device; the authentication code transmitting unit transmits the authentication code to the broadcast receiving device based on the request based on the promotion information from the broadcast receiving device; and the authentication request acquisition unit obtains the authentication code from the terminal device , acquiring an authentication request including the authentication code, the identifier of the content providing device, and the identifier of the server device; and a collaboration instruction acquisition unit that acquires the collaboration instruction of the identifier of the broadcast receiving device and the user identifier of the terminal device from the terminal device. Notification; the first token acquisition unit, after acquiring the notification of the cooperation instruction, acquires the first token corresponding to the authentication code from the server device corresponding to the authentication request; the second token acquisition unit, which acquires the first token corresponding to the authentication code from the server device corresponding to the authentication request; The corresponding content providing device acquires the second token corresponding to the user identifier of the terminal device; a broadcast receiving device identifier acquisition unit acquires the identifier of the broadcast receiving device corresponding to the first token from the server device; the user identifier an acquisition unit that acquires the user identifier of the terminal device corresponding to the second token from the content providing device; and a registration unit that compares the identifier of the broadcast receiving device corresponding to the first token with the terminal device corresponding to the second token The user identifier of the device is registered in association with it.
图1是示出第1实施方式的信息协作系统的整体构成例的概要的图;FIG. 1 is a diagram schematically showing an example of the overall configuration of the information collaboration 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实施方式的电视装置的部分构成例的框图;3 is a block diagram showing a partial configuration example 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 a partial configuration example of the push distribution server according to the first embodiment;
图6是示出第1实施方式的推送发布服务器所保存的数据的数据结构的图;FIG. 6 is a diagram showing the data structure of data stored in the push distribution server according to the first embodiment;
图7是示出第1实施方式的信息协作系统中的整体处理的流程图;7 is a flowchart showing the overall processing in the information collaboration system according to the first embodiment;
图8是示出第2实施方式的信息协作系统的整体构成例的概要的图;8 is a diagram schematically showing an example of the overall configuration of the information collaboration system according to the second embodiment;
图9是示出第2实施方式的共通受理服务器的整体构成例的框图;Fig. 9 is a block diagram showing an example of the overall configuration of the common acceptance server according to the second embodiment;
图10是示出第2实施方式的共通受理服务器的部分构成例的框图;Fig. 10 is a block diagram showing a partial configuration example of the common acceptance server according to the second embodiment;
图11是示出第2实施方式的信息协作系统中的整体处理的流程图;FIG. 11 is a flowchart showing the overall processing in the information collaboration system according to the second embodiment;
图12是示出第3实施方式的信息协作系统中的整体处理的流程图;FIG. 12 is a flowchart showing the overall processing in the information collaboration system according to the third embodiment;
图13是示出第4实施方式的信息协作系统中的整体处理的流程图;13 is a flowchart showing the overall processing in the information collaboration system according to the fourth embodiment;
图14-1是示出第5实施方式的信息协作系统中的促进信息的例子的图;FIG. 14-1 is a diagram showing an example of promotion information in the information collaboration system according to the fifth embodiment;
图14-2是示出第5实施方式的信息协作系统中的另一促进信息的例子的图;FIG. 14-2 is a diagram showing another example of promotion information in the information collaboration system according to the fifth embodiment;
图15是用于说明第5实施方式的广告信息的图;Fig. 15 is a diagram for explaining advertising information according to the fifth embodiment;
图16-1是示出第5实施方式的信息协作系统中的促进信息的显示处理的流程图;FIG. 16-1 is a flowchart showing promotion information display processing in the information collaboration system according to the fifth embodiment;
图16-2是示出第5实施方式的信息协作系统中的另一促进信息的显示处理的流程图;FIG. 16-2 is a flowchart illustrating another display process of promotion information in the information collaboration system according to the fifth embodiment;
图17是示出第5实施方式的信息协作系统中的协作处理顺序的流程图;FIG. 17 is a flowchart showing the collaboration processing procedure in the information collaboration system according to the fifth embodiment;
图18是示出第5实施方式的信息协作系统中的协作取消处理的流程图;18 is a flowchart showing collaboration cancellation processing in the information collaboration system according to the fifth embodiment;
图19是示出第5实施方式的信息协作系统中的经由用户终端的操作而取消协作的处理顺序的流程图;19 is a flowchart illustrating a processing procedure for canceling collaboration through an operation of a user terminal in the information collaboration system according to the fifth embodiment;
图20是示出第5实施方式的信息协作系统中的可点击式广告的信息的例子的图;FIG. 20 is a diagram showing an example of clickable advertisement information in the information collaboration system according to the fifth embodiment;
图21是示出变形例的信息协作系统中的协作处理顺序的流程图。FIG. 21 is a flowchart showing the collaboration processing procedure in the information collaboration system according to the modification.
附图标记说明Explanation of reference signs
1…智能手机,2…电视装置,3…TV云,4…内容提供服务器,5…电视网关,6…计测服务器,S…信息协作系统。1…smartphone, 2…TV device, 3…TV cloud, 4…content providing server, 5…TV gateway, 6…measurement server, S…information collaboration system.
以下,对于本申请的服务器装置、广播接收装置、服务器管理装置、信息协作系统、及程序的实施方式(第1实施方式、第2实施方式),参照附图来详细地说明。Hereinafter, embodiments (first embodiment, second embodiment) of the server device, broadcast receiving device, server management device, information collaboration system, and program of the present application will be described in detail with reference to the drawings.
(第1实施方式)(1st Embodiment)
首先,参照图1,说明第1实施方式的信息协作系统S的整体构成例。图1是示出第1实施方式的信息协作系统S的整体构成例的概要的图。信息协作系统S具备智能手机1(终端)、电视装置2(广播接收装置)、TV云3(服务器装置)、以及作为EC(Electronic Commerce:电子商务)网站服务器等内容提供装置的内容提供服务器4。TV云3能够通过互联网等公共通信线路与电视装置2、内容提供服务器4进行通信。另外,智能手机1能够经由基站而与内容提供服务器4、TV云3进行无线通信。First, an overall configuration example of the information collaboration system S according to the first embodiment will be described with reference to FIG. 1 . FIG. 1 is a diagram schematically showing an example of the overall configuration of the information collaboration system S according to the first embodiment. The information collaboration 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: Electronic Commerce) website 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 perform wireless communication with the content providing server 4 and the TV cloud 3 via the 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 the user of the television device 2 . The smartphone 1 includes a communication I/F (InterFace: interface), a voice input unit (microphone), a sensor group, a display unit, a graphics controller, a touch panel controller, a CPU (Central Processing Unit: central processing unit), a memory, and a camera , speakers, etc. In the first embodiment, it is assumed that the user uses the smartphone 1 to perform 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 with 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-related information (viewing information) from the television device 2 , the TV cloud 3 provides various services such as recommended information on programs to watch, reservations for programs, and product recommendation information based on the content of the programs viewed, to the television device 2 via the network.
内容提供服务器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 website (online store) on the Internet. The content providing server 4 is, for example, a server device of an EC platform. The content providing server 4 is a platform for purchasing goods and services via the network based on a user's (consumer's) operation of a terminal device (smartphone 1, etc.). In addition, the content providing server 4 may be a video platform that provides content such as moving images. For example, the content providing server 4 transmits an image of a product to the smartphone 1 based on an operation performed on the smartphone 1 . The content providing server 4 registers redirect_uri in the TV cloud 3 in advance.
以下,参照图2以后的附图来说明信息协作系统S中的各构成的细节。图2是示出第1实施方式的电视装置2的整体构成例的框图。电视装置2对于比智能手机1所具备的显示部更大的视像显示部233执行显示控制(详细后述)。Hereinafter, the details of each structure in the information collaboration system S will be described with reference to the drawings following FIG. 2 . FIG. 2 is a block diagram showing an example of the overall configuration of the television device 2 according to the first embodiment. The television device 2 performs display control on the video display unit 233 that is larger than the display unit included in 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, a voice processing unit 209, an OSD (On Screen Display) signal generation unit 210, and video processing unit 211.
由地面广播接收天线213接收到的地面数字广播信号被输入到输入端子202。地面数字广播信号经由输入端子202而被供给到调谐器203a~203g。The terrestrial digital broadcast signal received by the terrestrial broadcast receiving antenna 213 is input to the input terminal 202 . The terrestrial digital broadcast signal is supplied to the tuners 203a to 203g via the input terminal 202.
调谐器203a~203g是地面数字广播用的调谐器,从由输入端子202供给的地面数字广播信号中,选台由后述的控制部216指示的频道的广播信号。The tuners 203a to 203g are tuners for terrestrial digital broadcasting, and select a broadcast signal of a channel instructed by a control unit 216 to be described later from the terrestrial digital broadcasting signal supplied from the input terminal 202.
但是,电视装置2也可以具有输入由BS/CS数字广播接收天线接收到的卫星数字广播信号的输入端子。卫星数字广播信号经由该输入端子而被供给到卫星数字广播用的调谐器。However, the television device 2 may have an input terminal for inputting a satellite digital broadcast signal received by a BS/CS digital broadcast receiving antenna. The satellite digital broadcast signal is supplied to the tuner for satellite digital broadcast via this input terminal.
信号处理部207从由调谐器203a~203g供给的广播信号中,解调包含数字的视像信号及语音信号的广播信号。另外,信号处理部207对于数字广播信号包含的视像信号,选择性地实施规定的数字信号处理,并输出到图形处理部208。另外,信号处理部207对于数字广播信号包含的语音信号,选择性地实施期望的数字信号处理,并输出到语音处理部209。The signal processing unit 207 demodulates a broadcast signal including a digital video signal and an audio signal from the broadcast signal supplied from the tuners 203a to 203g. In addition, the signal processing unit 207 selectively performs predetermined digital signal processing on the video signal included in the digital broadcast signal, and outputs the processed signal to the graphics processing unit 208 . In addition, the signal processing unit 207 selectively performs desired digital signal processing on the speech signal included in the digital broadcast signal, and outputs it to the speech 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 to 214d. These external input terminals 214a to 214d can input analog video signals and audio signals from a DVD (Digital Versatile Disk) video recorder, which is an example of an external device. The signal processing unit 207 digitizes analog video signals and audio signals input from the external input terminals 214a to 214d. In addition, the signal processing unit 207 performs predetermined digital signal processing on the digitized video signal and outputs it to the graphics processing unit 208 . In addition, the signal processing unit 207 performs predetermined digital signal processing on the digitized voice signal and outputs it to the voice 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 generation unit 210 on the digital video signal supplied from the signal processing unit 207, and outputs the superimposed OSD 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 generation unit 210 to the video processing unit 211 .
视像处理部211将从图形处理部208输入的数字的视像信号或OSD信号,转换成能够在视像显示部233的显示画面中显示的格式的模拟的视像信号或OSD信号,并输出到视像显示部233。视像显示部233例如是LCD或OLED显示器等。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 the signal. to the video display unit 233. The video display unit 233 is, for example, an LCD or an OLED display.
语音处理部209将从信号处理部207输入的数字的语音信号,转换成能够在扬声器215中播放的格式的模拟的语音信号,并输出到扬声器215。The voice processing unit 209 converts the digital voice signal input from the signal processing unit 207 into an analog voice signal in a format that can be played back by the speaker 215 , and outputs the converted voice signal 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 deck 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 nonvolatile memory 216d.
控制部216集中地控制地面数字广播信号及卫星数字广播信号等广播信号的接收动作等电视装置2的各种动作。另外,控制部216按照来自操作部222的操作信息、或经由受光部223从遥控器238输入的操作信息,控制电视装置2的各部。The control unit 216 centrally controls various operations of the television device 2 such as reception operations of broadcast signals such as terrestrial digital broadcast signals and satellite digital broadcast signals. In addition, the control unit 216 controls each unit of the television device 2 in accordance with the operation information from the operation unit 222 or the operation information input from the remote controller 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 the program stored in the ROM 216b. ROM 216b mainly stores programs executed by CPU 216a. RAM 216c provides a working partition while CPU 216a executes programs. The nonvolatile memory 216d stores various setting information, control information, and the like of the television device 2 .
控制部216经由卡I/F225而与卡座217连接,该卡座217可供存储卡234装卸。由此,控制部216能够经由卡I/F225而在与安装于卡座217的存储卡234之间收发各种信息。The control unit 216 is connected to the card holder 217 via the card I/F 225, and the card holder 217 is capable of attaching and detaching the memory card 234. Thereby, the control unit 216 can transmit and receive various information to and from the memory card 234 installed in 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 transmit and receive various information via the communication I/F 218 with external devices such as the relay device 400 described above and a LAN-compatible HDD (Hard Disk Drive) connected to the LAN terminal 226 . However, the communication I/F 218 may be configured to be wirelessly connected to an external device 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 . Thereby, the control unit 216 can transmit and receive various information with the 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 the USB terminal 228 via a USB (Universal Serial Bus: Universal Serial Interface) I/F 219 . Thereby, the control unit 216 can transmit and receive various information to and from the 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, an SSD (Solid State Drive), or the like, 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 a partial configuration example of the television device 2 according to the first embodiment. The television device 2 includes a storage unit 241 (ROM 216b, RAM 216c, nonvolatile memory 216d, and storage device 237 in FIG. 2), and a function module that is a function module generated as a result of execution of the program stored in the storage unit 241 by the CPU 216a. unit 242, acquisition unit 243, and display control unit 244.
发送部242向外部装置发送各种信息。获取部243从外部装置获取各种信息、或将在存储部241中存储的各种信息读出。The transmitting unit 242 transmits various information to external devices. The acquisition unit 243 acquires various information from an external device or reads various information stored in the storage unit 241 .
显示控制部244执行将各种信息显示于视像显示部233的显示处理。显示控制部244例如根据来自智能手机1的图像显示请求,使视像显示部233显示图像(详细后述)。The display control unit 244 executes display processing for displaying various information on the video display unit 233 . The display control unit 244 causes the video display unit 233 to display an image based on, for example, 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 according to 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 for communicating with external devices. The operation unit 302 has input devices such as a keyboard and a mouse, and display devices such as a monitor.
存储装置305例如具备HDD、SSD等,存储各种信息。CPU303通过执行各种程序,从而控制TV云3的各组件。存储器304具备ROM、RAM等,存储由CPU303进行的各种运算处理中所使用的各种程序及各种数据等。The storage device 305 includes, for example, HDD, SSD, etc., and stores various information. The CPU 303 controls each component of the TV cloud 3 by executing various programs. The memory 304 includes a ROM, a RAM, etc., and stores various programs, various data, etc. used in various calculation processes performed 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 a partial configuration example of the TV cloud 3 according to 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, which are functional modules generated as a result of execution of the program stored in the storage unit 311 by the CPU 303.
存储部311存储由CPU303执行的程序、DB(Data Base:数据库)。在此,关于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 (Data Base: database). Here, an example of the data structure of the DB will be described using FIG. 6 . As shown in Figure 6, in the DB, information including TVID, authentication code, EC server ID and token is stored. In addition, the DB may include, together with the TVID, attribute information of the television device 2 (model of the television, etc.) corresponding to the TVID.
TVID是识别电视装置2的信息。认证码是为了获取后述的令牌而需要的码。EC服务器ID是识别内容提供服务器4的信息。即,是EC网站服务器等的ID。令牌是用于进行认证的信息。回到图5,获取部312从外部装置获取各种信息。发送部313向外部装置发送各种信息。生成部314对DB执行信息的生成动作。TVID is information for identifying the television device 2 . The authentication code is a code required to obtain a token described later. The EC server ID is information for identifying the content providing server 4 . That is, it is the ID of the EC website server, etc. The token is the information used for authentication. Returning to FIG. 5 , the acquisition unit 312 acquires various information from external devices. The transmitting unit 313 transmits various information to external devices. The generation unit 314 executes an information generation operation on the DB.
接下来,说明信息协作系统S中的各构成的处理的流程。图7是示出第1实施方式的信息协作系统S中的整体处理的流程图。在此,设想用户操作电视装置2的遥控器等,在所谓的入口画面(用于与EC网站等进行协作的画面)中,开始用户指定想要与智能手机1协作的EC网站的场景。此外,图7所示的智能手机1的处理也可以由安装在智能手机1中的应用程序来执行。Next, the processing flow of each component in the information collaboration system S will be described. FIG. 7 is a flowchart showing the overall processing in the information collaboration system S according to the first embodiment. Here, it is assumed that the user operates the remote control or the like of the television device 2 and starts specifying an EC website with which the smartphone 1 wants to cooperate on a so-called portal screen (a screen for cooperation with an EC website or the like). In addition, the processing of the smartphone 1 shown in FIG. 7 may also be executed by an application program installed in the smartphone 1 .
如上所述,在电视装置2中,若由用户指定了EC网站,则在步骤S1中,电视装置2的发送部242将该EC网站的信息(例如EC网站的ID、EC网站的URL等)、以及电视装置2的标识符即TVID向TV云3发送。这样,发送部242将与提供EC网站中的图像的图像提供装置即内容提供服务器4相关的信息向TV云3发送。As described above, in the television device 2, when the user specifies an EC website, in step S1, the transmitter 242 of the television device 2 transmits the information of the EC website (for example, the ID of the EC website, the URL of the EC website, etc.) , and the identifier TVID of the television device 2 is sent to the TV cloud 3 . In this way, the transmitting unit 242 transmits the information regarding the content providing server 4 which is an image providing device that provides images on the EC website to the TV cloud 3 .
TV云3的获取部312从电视装置2获取EC网站的信息、以及TVID。TV云3的生成部314生成认证码,将包含上述TVID、识别上述EC网站的内容提供服务器4的信息即EC服务器ID、以及认证码在内的信息存储到存储部311的DB。另外,生成部314生成以该认证码和上述EC网站的访问地址即URL为基础的二维码即QR码(注册商标)。此外,QR码是一个例子,也可以是其它显示信息。即,也可以是能够传递该认证码和EC网站的访问地址信息的其它形式的显示信息。上述认证码也可以包含用于判别制造商的部分、以及用于判别电视装置2的部分。The acquisition unit 312 of the TV cloud 3 acquires the EC website information and the TVID from the television device 2 . The generation unit 314 of the TV cloud 3 generates an authentication code, and stores information including the TVID, the EC server ID, which is information identifying the content providing server 4 of the EC website, and the authentication code in the DB of the storage unit 311 . In addition, the generation unit 314 generates a QR code (registered trademark) that is a two-dimensional code based on the authentication code and the URL, which is the access address of the EC website. In addition, the QR code is an example, and other displayed information may also be used. That is, it may also be other forms of display information that can convey the authentication code and the access address information of the EC website. The authentication code may include a part for identifying the manufacturer and a part for identifying the television device 2 .
在步骤S2中,TV云3的发送部313将上述QR码向请求源的电视装置2发送。根据来自电视装置2的请求,发送包含作为向EC网站的访问地址的URL以及认证码在内的QR码。In step S2, the transmitting unit 313 of the TV cloud 3 transmits the QR code to the television device 2 as the request source. In response to a request from the television device 2, a QR code including a URL as an access address to the EC website and an authentication code is sent.
电视装置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 the QR code from the TV cloud 3 . In this way, the acquisition unit 243 of the television device 2 acquires the QR code, which is the access information based on the authentication code and the URL which is the access address of the EC website. The display control unit 244 of the television device 2 displays the QR code 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 a camera mechanism or the like. As a result, smartphone 1 obtains the URL and authentication code of the EC website. In step S4, if the smartphone 1 obtains the URL and authentication code of the EC website, it accesses the content providing server 4 based on the URL and sends the authentication code.
内容提供服务器4若从智能手机1获取了认证码,则在步骤S5中,将该认证码与识别内容提供服务器4的信息一起向TV云3发送,进行认证要求。另外,TV云3的获取部312将该认证码与识别内容提供服务器4的信息一起获取。这样,TV云3的获取部312获取从内容提供服务器4发送的认证码。If the content providing server 4 obtains the authentication code from the smartphone 1, in step S5, it sends the authentication code together with the information identifying the content providing server 4 to the TV cloud 3 to request authentication. In addition, the acquisition unit 312 of the TV cloud 3 acquires the authentication code together with the information identifying the content providing server 4 . In this way, the acquisition unit 312 of the TV cloud 3 acquires the authentication code sent 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 refers to the DB of the storage unit 311 and determines whether there is information corresponding to the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312, thereby performing authentication. The generation unit 314 refers to the DB of the storage unit 311, and when 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 a known technology. In addition, the generation unit 314 further associates the token with information in the DB that includes the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312 . The information including the information identifying the content providing server 4 and the authentication code acquired by the acquiring unit 312 and further associated with the token also includes the TVID of the requesting television device 2 .
因此,生成部314生成将上述认证码所对应的电视装置2与基于该认证码的令牌建立了对应的对应信息。Therefore, the generation unit 314 generates correspondence information that associates the television device 2 corresponding to the above-mentioned authentication code with the token based on the authentication code.
在步骤S6中,TV云3的发送部313将由生成部314生成的令牌向内容提供服务器4发送。这样,发送部313将基于认证码的令牌向内容提供服务器4发送。内容提供服务器4保存将该令牌与认证码的发送源的智能手机1的用户ID建立了对应的信息。In step S6 , the transmitting unit 313 of the TV cloud 3 transmits the token generated by the generating unit 314 to the content providing server 4 . In this way, the transmitting unit 313 transmits the token based on the authentication code to the content providing server 4 . The content providing server 4 stores information in which the token is associated with the user ID of the smartphone 1 that sent 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 website. As a result, the smartphone 1 displays the EC website screen. Here, the user of the smartphone 1 selects an instruction indicating a television display request for a predetermined link destination on the EC website screen. In step S8, based on the selection, the smartphone 1 transmits the URL of the link destination to the content providing server 4, thereby making a television display request (TV display request). The content providing server 4 acquires the TV display request and the URL of the image display object together from the smartphone 1 .
在步骤S9中,内容提供服务器4将与请求源的智能手机1对应的令牌、以及图像显示对象的URL向TV云3发送,并进行显示请求。TV云3的获取部312获取由内容提供服务器4发送的令牌和URL。这样,获取部312获取由内容提供服务器4发送的令牌、以及基于来自智能手机1的请求的显示对象的图像的访问地址的URL。In step S9, the content providing server 4 sends the token corresponding to the request source smartphone 1 and the URL of the image display object to the TV cloud 3, and makes a display request. The acquisition unit 312 of the TV cloud 3 acquires the token and URL sent by the content providing server 4 . In this way, the acquisition unit 312 acquires the token sent by the content providing server 4 and the URL of the access address 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 determines the TVID corresponding to the token acquired by the acquisition unit 312 . Then, the transmitting unit 313 of the TV cloud 3 transmits the URL of the access address of the image to be displayed to the television device 2 corresponding to the TVID.
电视装置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 address of the image to be displayed. In addition, the transmitting unit 242 of the television device 2 accesses the content providing server 4 based on the URL, and the acquiring unit 243 acquires an image based on the access address of the image to be displayed from the content providing server 4 . Then, the display control unit 244 of the television device 2 displays the image acquired by the acquisition unit 243 on the video display unit 233 .
第1实施方式的TV云3生成将认证码所对应的电视装置2、与基于该认证码的令牌 建立了对应的对应信息,若从内容提供服务器4获取了该令牌、以及基于来自智能手机1的请求的显示对象的图像的访问地址,则向电视装置2通知该图像的访问地址,从而能够使电视装置2显示与智能手机1的请求相应的图像。由此,TV云3能够使能比智能手机1的画面更大地显示的电视装置2显示基于智能手机1的请求的图像。The TV cloud 3 of the first embodiment generates correspondence information that associates the TV device 2 corresponding to the authentication code with the token based on the authentication code. If the token is obtained from the content providing server 4 and the token is obtained from the smart If the access address of the image to be displayed is requested by the mobile phone 1, the access address of the image is notified to the television device 2, so that the television device 2 can display the image corresponding to the request of the smartphone 1. Thereby, the TV cloud 3 can cause the television device 2 capable of displaying a screen larger than the screen of the smartphone 1 to display the image requested by the smartphone 1 .
另外,电视装置2输出包含向内容提供服务器4的访问地址和认证码在内的访问信息,从TV云3获取基于来自智能手机1的请求的显示对象的图像的访问地址,并使该图像显示于视像显示部233。由此,电视装置2能够使能比智能手机1的画面更大地显示的视像显示部233显示基于智能手机1的请求的图像。In addition, the television device 2 outputs access information including an access address and an authentication code to the content providing server 4, acquires the access address of the image to be displayed based on the request from the smartphone 1 from the TV cloud 3, and causes the image to be displayed. on the video display unit 233. Thereby, the television device 2 can display the image requested by the smartphone 1 on the video display unit 233 that is larger than the screen of the smartphone 1 .
(第2实施方式)(Second Embodiment)
第2实施方式的信息协作系统S与第1实施方式不同,针对电视装置2的每个制造商而TV云3不同。即,第2实施方式的信息协作系统S具有多个TV云3。The information collaboration system S of the second embodiment is different from the first embodiment in that the TV cloud 3 differs for each manufacturer of the television device 2 . That is, the information cooperation system S of the second embodiment includes 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 collaboration system S according to the second embodiment will be described. FIG. 8 is a diagram schematically showing an example of the overall configuration of the information collaboration system S according to the second embodiment. In addition, the same structures as those in the first embodiment are denoted by the same reference numerals, and description thereof is omitted. As shown in FIG. 8 , the information collaboration system S has a plurality of TV clouds 3 (TV cloud 3a, TV cloud 3b). The TV cloud 3b can be connected to the television device 2 which is a television set (not shown) of a manufacturer associated with the TV cloud 3b.
附图标记2是电视机。附图标记3是作为所谓的推送发布服务器的TV云。TV云3是制造电视装置2,并且根据从电视装置2收集观看信息的结果来对电视装置2经由网络提供收看节目、预约节目推荐、基于收看节目内容的商品推荐等各种服务的电视机制造商的服务器。Reference numeral 2 is a television. Reference numeral 3 is the TV cloud as a so-called push distribution server. The TV cloud 3 is a television manufacturer that manufactures the television device 2 and provides various services such as viewing programs, reservation program recommendations, and product recommendations based on the content of the viewed programs to the television device 2 via the network based on the results of collecting viewing information from the television device 2 provider's server.
另外,附图标记5是作为共通受理服务器的电视网关。电视网关5是用于综合多个电视机制造商的TV云3而与E商务(EC)连接的电视装置的制造商的制造商共通网站的服务器。信息协作系统S具有能够经由网络而与该多个TV云3收发信息的电视网关5(服务器管理装置)。另外,电视网关5还能够经由网络而与计测服务器6收发信息,该计测服务器6用于进行统计广告显示的结果的计测处理。该电视网关5是将各制造商联合起来的云服务器。即,电视网关5是用于将多个电视机制造商的TV云3综合而与内容提供服务器4连接的服务器。电视网关5对内容提供服务器4发行客户证书(client_id、client_secret)。In addition, reference numeral 5 is a television gateway as a common acceptance server. The TV gateway 5 is a server for a manufacturer common website of manufacturers of TV devices that integrates the TV clouds 3 of multiple TV manufacturers and is connected to E-commerce (EC). The information collaboration system S includes a television gateway 5 (server management device) capable of transmitting and receiving information to and from the plurality of TV clouds 3 via a network. In addition, the television gateway 5 is also capable of transmitting and receiving information via the network to and from the measurement server 6 that performs measurement processing for tallying the results of advertisement display. This TV gateway 5 is a cloud server that unites various manufacturers. That is, the TV gateway 5 is a server that integrates the TV clouds 3 of multiple TV manufacturers and connects them to the content providing server 4 . The television gateway 5 issues a client certificate (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 key set in x-api-key is predetermined between the TV cloud 3 and the TV gateway 5 . The x-api-key transferred between the television gateway 5 and the content providing server 4 becomes a common key (pass-key).
附图标记4是EC网站服务器等内容提供服务器。内容提供服务器4是EC的平台的服务器。对于用户即消费者来说,成为用于购入商品、服务的平台的服务器是内容提供服务器4。另外,内容提供服务器4将redirect_uri预先登记在电视网关5中。Reference numeral 4 is a content providing server such as an EC website server. The content providing server 4 is a server of the EC platform. The server that serves as a platform for users, that is, consumers, to purchase goods and services is the content providing server 4 . In addition, the content providing server 4 registers redirect_uri in the television gateway 5 in advance.
附图标记1050是用户终端。用户终端1050是具有用于将电视装置2与用户终端1050连接的应用程序、以及照相机等光学式读取装置的终端。作为用户终端1050的一个例子,是智能手机1。在第1实施方式中,用户终端1050假定为智能手机1而进行了说明,但是不限定于智能手机。用户终端1050可以是PC、平板电脑终端等,只要是满足状况的条件的终端即可。另外,这些终端能够置换第1实施方式中示出的智能手机。Reference numeral 1050 is a user terminal. The user terminal 1050 is a terminal including 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 the smartphone 1 . In the first embodiment, the user terminal 1050 is explained assuming that the smartphone 1 is used, but the user terminal 1050 is not limited to the smartphone. The user terminal 1050 may be a PC, a tablet terminal, etc., as long as it meets the conditions of the situation. In addition, 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 television gateway 5 according to the second embodiment. As shown in Fig. 9 , the television 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具有键盘、鼠标等输入设备、以及显示器等显示设备。Communication I/F501 is an interface used for communication between external devices. The operation unit 502 has input devices such as a keyboard and a mouse, and display devices such as a monitor.
存储装置505例如具备HDD、SSD等,存储各种信息。CPU503通过执行各种程序,从而控制电视网关5的各组件。存储器504具备ROM、RAM等,存储由CPU503进行的各种运算处理中使用的各种程序及各种数据等。The storage device 505 includes, for example, HDD, SSD, etc., and stores various information. The CPU 503 controls each component of the television gateway 5 by executing various programs. The memory 504 includes a ROM, a RAM, etc., and stores various programs, various data, etc. used in various calculation processes performed by the CPU 503 .
图10是示出第2实施方式的电视网关5的部分构成例的框图。电视网关5具备存储部511(存储器504、存储装置505)、以及作为存储于存储部511中的程序由CPU503执行的结果而生成的功能模块即获取部512、发送部513、生成部514。FIG. 10 is a block diagram showing a partial configuration example of the television gateway 5 according to the second embodiment. The television 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, which are functional modules generated as a result of execution of the program stored in the storage unit 511 by the CPU 503.
存储部511存储由CPU503执行的程序、DB(Data Base:数据库)。The storage unit 511 stores programs executed by the CPU 503 and a DB (Data Base: database).
获取部512从外部装置获取各种信息。发送部513向外部装置发送各种信息。生成部514对DB执行信息的生成动作。The acquisition unit 512 acquires various information from external devices. The transmitting unit 513 transmits various information to external devices. The generation unit 514 performs an information generation operation on the DB.
接下来,说明第2实施方式的信息协作系统S中的各构成的处理的流程。图11是示出第2实施方式的信息协作系统S中的整体处理的流程图。图11所示的流程图也设想用户操作电视装置2的遥控器等,在所谓的入口画面中,开始用户指定想要与智能手机1协作的EC网站的场景。此外,假设TV云3生成的认证码及令牌包含识别制造商的信息。即,假设TV云3将识别自装置的信息包含在认证码及令牌中。Next, the processing flow of each component in the information collaboration system S of the second embodiment will be described. FIG. 11 is a flowchart showing the overall processing in the information collaboration system S according to the second embodiment. The flowchart shown in FIG. 11 also assumes a scenario in which the user operates the remote control of the television device 2 and the like, and starts specifying an EC website with which the smartphone 1 wants to cooperate on a so-called portal screen. In addition, it is assumed that the authentication code and token generated by TV Cloud 3 contain information identifying the manufacturer. That is, it is assumed that the TV cloud 3 includes information for identifying its own device in the authentication code and the 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的信息而建立对应。In addition, since step S21 in FIG. 11 is the same as step S1 in FIG. 7 , description thereof will be omitted. In step S22, the 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 that identifies the content providing server 4 and an authentication code used for authentication between the content providing server 4 and the TV cloud 3 . The authentication code may include a part for identifying the manufacturer of the television device 2 and a part for identifying the television device 2 . In addition, the part used for identifying the television device 2 included in the authentication code is a random value. In addition, the TV cloud 3 may associate the time when the value is transmitted to the television device 2 as the information in the DB of the storage unit 311 .
URL认证码2010的信息的例子如以下所述。Examples of information for URL authentication code 2010 are as follows.
https://XXXXXXX YYYYYYYYYhttps://XXXXXXX YYYYYYYYY
在X的部分中有内容提供服务器4的URL,在Y的部分中有OAuth2的授权码(authorization code)。在授权码的部分中有能够确定制造商和电视机的信息。能够确定制造商和电视装置2的信息也可以是其中某一者。URL认证码2010的发送形式也可以是任何形式,只要包含上述的信息即可。The X part contains the URL of the content provider server 4, and the Y part contains the OAuth2 authorization code. In the authorization code section there is information that identifies the manufacturer and the television. The information that can identify the manufacturer and the television device 2 may be either one of them. The sending form of the URL authentication code 2010 can also be in any form, 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 content of the URL authentication code 2010 as an image or video on the video display unit 233 . In addition, the display form in the display control unit 244 may be a QR code, a barcode, a text, or the like, as long as the information included in the URL authentication code 2010 can be optically displayed and output as an image or video. In addition, in the first embodiment, the description is made using a QR code. However, like this embodiment, it is not limited to a QR code.
另外,与图7的步骤S3同样,在步骤S23中,用户终端1050从用摄像机构以光学方式拍摄到的图像信息中,利用URL认证码读取功能,读取在视像显示部233上以光学方式显示的URL认证码2011的信息。由此,用户终端1050获取EC网站的URL及认证码。该认证码部分为带时限的认证码,如以下这样构成。In addition, similar to step S3 in FIG. 7 , in step S23 , the user terminal 1050 uses the URL authentication code reading function to read the URL on the video display unit 233 from the image information optically captured by the camera mechanism. Optically displays URL authentication code 2011 information. As a result, the user terminal 1050 obtains the URL and authentication code of the EC website. The authentication code part is a time-limited authentication code and is composed as follows.
"code":<authorization code>,"code":<authorization code>,
"state":<string>//随机数"state":<string>//Random number
在步骤S24中,用户终端1050若获取了EC网站的URL及认证码,则基于该URL,访问内容提供服务器4,并且发送认证码2020。In step S24, if the user terminal 1050 obtains the URL and authentication code of the EC website, it accesses the content providing server 4 based on the URL and sends the authentication code 2020.
认证码2020是URL认证码2010、URL认证码2011的认证码部分(<authorization code>)。认证码2021如以下所述。The authentication code 2020 is the authentication code part (<authorization code>) of the URL authentication code 2010 and the URL authentication code 2011. The certification code 2021 is as described below.
"code":<authorization code>,"code":<authorization code>,
"state":<string>//随机数"state":<string>//Random number
此外,在认证码2020中,除了上述内容之外,还可以包含内容提供服务器4的URL信息。In addition, the authentication code 2020 may include URL information of the content providing server 4 in addition to the above content.
在步骤S25中,内容提供服务器4若接收到认证码2020,则将认证码2021向电视网关5发送,并进行认证要求。内容提供服务器4例如将认证要求的信息发送到电视网关5的OAuth2的令牌端点(Token Endpoint)。认证码2021的信息是以下的构成。In step S25, if the content providing server 4 receives the authentication code 2020, it sends the authentication code 2021 to the television gateway 5 and makes an authentication request. The content providing server 4 sends the authentication request information to the OAuth2 token endpoint (Token Endpoint) of the television gateway 5 , for example. The information of the authentication code 2021 is composed of the following.
Authorization:"Basic"+Base64(<client_id>+":"+<client_secret>)Authorization:"Basic"+Base64(<client_id>+":"+<client_secret>)
Content-type:application/x-www-form-urlencodedContent-type: application/x-www-form-urlencoded
·grant_type:"authorization_code"·grant_type: "authorization_code"
·code:<authorization code>(认证码)·code:<authorization code>(authentication code)
·redirect_uri:向内容提供服务器4的EC网站返回时的入口、在电视网关5中事先登记的地址。·redirect_uri: The entry for returning to the EC website of the content providing server 4 and the address registered in advance in the TV gateway 5 .
·client_id:对内容提供服务器4的每个EC网站分别分配的标识符。在电视网关5中事先登记的标识符。·client_id: An identifier assigned to each EC website of the content providing server 4. An identifier registered in advance in the television gateway 5 .
client_secret是由电视网关5对内容提供服务器4的每个网站分别基于client_id分配的。电视网关5的网站观察code的制造商扩展名而进行重定向。The client_secret is allocated by the TV gateway 5 to each website of the content providing server 4 based on the client_id. The TV Gateway 5 website observes the manufacturer extension of the code and redirects.
在步骤S26中,电视网关5的发送部313参照获取到的认证码2021,并参照认证码2021中包含的识别制造商的信息,确定发送目的地的TV云3。具体而言,电视网关5的发送部313确认授权码(authorization code)即认证码,来判定是哪个TV云3。In step S26, the transmitting unit 313 of the TV gateway 5 refers to the acquired authentication code 2021 and the information identifying the manufacturer included in the authentication code 2021 to determine the TV cloud 3 of the transmission destination. Specifically, the transmitting unit 313 of the television gateway 5 confirms an authorization code, that is, an 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的信息的例子,有以下的例子。Then, in step S27, the transmission unit 313 of the television gateway 5 performs an authentication request by sending the authentication request 2022 to the TV cloud 3 of the transmission destination. In this way, the transmission unit 513 of the television gateway 5 transmits the authentication request 2022 to the TV cloud 3 of the transmission destination specified based on the Authorization_code (authentication code) of the authentication code 2021. The information of the authentication request 2022 sent by the transmitting 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 . As examples of other information required for certification 2022, there are the following examples.
GET https://each-maker.example.com/common/devices/idGET https://each-maker.example.com/common/devices/id
Authorization:"Bearer"+<access_token>Authorization:"Bearer"+<access_token>
TV云3的获取部312将URL认证码2010中记载的认证码连同识别内容提供服务器4的信息一起获取。The acquisition unit 312 of the TV cloud 3 acquires the authentication code described in the URL authentication code 2010 together with the information identifying the content providing server 4 .
TV云3的生成部314通过参照存储部311的DB,判断是否存在与由获取部312获取的识别内容提供服务器4的信息及认证码对应的信息,从而进行认证。生成部314参照存储部311的DB,在存在与由获取部312获取的识别内容提供服务器4的信息及认证码对应的信息的情况下,生成令牌2030。另外,生成部314进一步将令牌2030与上述DB中的具有由获取部312获取的识别内容提供服务器4的信息及认证码的信息建立对应。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 generates the token 2030 when there is information corresponding to the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312. In addition, the generation unit 314 further associates the token 2030 with information including the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312 in the above-mentioned DB.
在步骤S28中,TV云3的发送部313将由生成部314生成的令牌2030向电视网关5发送。In step S28, the sending unit 313 of the TV cloud 3 sends the token 2030 generated by the generating unit 314 to the TV gateway 5.
具体而言,TV云3的发送部313将OAuth2的令牌响应(Token Response)作为令牌2030发送到电视网关5。该响应的OAuth2访问令牌响应(Access Token Response)如以下这样构成。Specifically, the transmitting unit 313 of the TV cloud 3 transmits the token response (Token Response) of OAuth2 as the token 2030 to the TV gateway 5 . The OAuth2 access token response (Access Token Response) of this response is composed as follows.
{"access_token":<access token>,{"access_token": <access token>,
"token_type":"Bearer","token_type":"Bearer",
"expires_in":3600,"expires_in": 3600,
"refresh_token":<refresh token>}"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时,在前头加上识别电视机制造商的标识符,从而能够确定电视机制造商。TV cloud 3 brings access_token when accessing TV gateway 5. expires_in is the validity period (seconds) of the access_token. When the access_token is received, it is stored together with the time when it becomes invalid. The access_token is reused until then. The refresh_token is secretly kept by the content providing server 4. This is because, in terms of security, simply placing it in local storage is not good. When each manufacturer issues an access_token or a refresh_token, the television manufacturer can be identified by adding an identifier for identifying the television manufacturer at the beginning.
电视网关5的获取部512获取令牌2030。然后,在步骤S29中,电视网关5将令牌2030作为令牌2031而向内容提供服务器4发送,内容提供服务器4获取令牌2031。此外,TV云3的发送部313也可以直接向内容提供服务器4发送令牌。The acquisition unit 512 of the television gateway 5 acquires the token 2030 . Then, in step S29, the television gateway 5 sends the token 2030 to the content providing server 4 as the token 2031, and the content providing server 4 acquires the token 2031. In addition, the sending unit 313 of the TV cloud 3 may directly send the token to the content providing server 4 .
内容提供服务器4保存将令牌2031与认证码的发送源的用户终端1050的用户ID建立对应的信息。The content providing server 4 stores information that associates 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 sends the token 2031 and the user ID 2040 to the television gateway 5 in response. Thereby, the content providing server 4 can transmit the user ID of the user of the user terminal 1050 to the television gateway 5 .
内容提供服务器4发送的令牌+用户ID2040的信息的构成如以下所述。The structure of the information of token + user ID 2040 sent by the content providing server 4 is as follows.
POST https://tv-common.example.com/common/users/idPOST https://tv-common.example.com/common/users/id
Authorization:"Basic"+Base64(<client_id>+":"+<client_secret>)Authorization:"Basic"+Base64(<client_id>+":"+<client_secret>)
Content-type:application/x-www-form-urlencodedContent-type: application/x-www-form-urlencoded
{grant_type:"access_token",{grant_type:"access_token",
access_token:<access token>(在步骤S28中作为访问令牌发行的信息),access_token: <access token> (information issued as the access token in step S28),
client_id:对内容提供服务器4的每个网站分别分配的标识符。在制造商共通网站中事先登记,client_id: An identifier assigned to each website of the content providing server 4. Register in advance on the manufacturer's common website,
user_id:内容提供服务器4的网站中的用户ID,user_id: User ID in the website of content providing server 4,
Preference:<当前的用户属性(当前的用户属性:用户的出生年月日、性别、邮政编码、购买历史等)>}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 television 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 determines the TV cloud 3 of the transmission destination based on the token + user ID 2040, and transmits the device ID request 2041 (TVID) to the TV cloud 3 of the transmission destination. In addition, when transmitting the device ID request 2041, the transmitting unit 513 of the television gateway 5 may transmit a token.
设备ID请求2041是用于电视网关5用OAuth2的access_token来向各制造商(TV云3)询问TV的device_id(TVID)的请求,例如是以下的请求。The device ID request 2041 is a request for the TV gateway 5 to inquire the device_id (TVID) of the TV from each manufacturer (TV cloud 3) using the access_token of OAuth2, and is, for example, the following request.
GET https://each-maker.example.com/common/devices/idGET https://each-maker.example.com/common/devices/id
·Authorization:"Bearer"+<access_token>·Authorization:"Bearer"+<access_token>
·x-api-key:<由制造商共通网站和各制造商规定的随机密钥>·x-api-key: <Random key specified by the manufacturer's common website and each manufacturer>
·Content-type:application/json·Content-type: application/json
·client_id:对制造商共通网站分别分配的标识符·client_id: An identifier assigned to each manufacturer's common website
TV云3参照存储部311的DB,获取与获取到的令牌对应的TVID。另外,TV云3也可以还获取与获取到的TVID对应的设备的信息(该TVID的电视装置2的属性信息)。在步骤S32中,TV云3的发送部313将TVID等信息作为设备ID响应2050而向电视网关5发送。作为设备ID响应2050的例子,存在以下这样的例子The TV cloud 3 refers to the DB of the storage unit 311 and acquires the TVID corresponding to the acquired token. In addition, the TV cloud 3 may also acquire the information of the device corresponding to the acquired TVID (the attribute information of the television device 2 of the TVID). In step S32, the transmitting unit 313 of the TV cloud 3 transmits information such as TVID to the television gateway 5 as the device ID response 2050. As an example of device ID response 2050, there is the following example
·"device_id":<id>(TV云3赋予给电视装置2的TVID)·"device_id": <id> (TVID assigned to TV device 2 by TV cloud 3)
·"model":<model name>(电视装置2的模型即显示画面英寸、2K、4K、8K等像素数量信息等)·"model": <model name> (The model of the television device 2 is the display screen inch, pixel number 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 adds the information binding information obtained by associating the acquired TVID (device ID), the user ID, and the model information (model) of the television device 2 to the DB as information. The storage unit 511 registers.
另外,电视网关5的生成部514生成通用密钥(pass key)2051。另外,在步骤S34中,发送部513将该通用密钥向内容提供服务器4发送。该通用密钥包含以下的信息。In addition, the generation unit 514 of the television gateway 5 generates a pass key 2051. In addition, in step S34, the transmitting unit 513 transmits the common key to the content providing server 4. The universal key contains the following information.
·"pass_key":<pass_key>,(从步骤S44以后的操作指令2090到操作指令2093的动作时,将该pass_key用作ID)·"pass_key": <pass_key>, (This pass_key is used as the ID during the operation from the operation command 2090 to the operation command 2093 after step S44)
·"expires_in":86400,(expires_in是在最初的访问中,即使在无法准备preference的情况下,也缓期10天返回。)·"expires_in": 86400, (expires_in is in the initial access, even if the preference cannot be prepared, the return will be delayed for 10 days.)
·"model":<model name>(是设备ID响应的模型的信息,电视装置2的模型即显示画面英寸、2K、4K、8K等像素数量信息等)·"model": <model name> (It is information about the model that the device ID responds to. The model of the TV device 2 is information on the number of pixels such as display screen inches, 2K, 4K, 8K, etc.)
另外,在步骤S35中,电视网关5的生成部514将生成的通用密钥存储到存储部511。In addition, in step S35, the generation unit 514 of the television gateway 5 stores the generated common key in the storage unit 511.
内容提供服务器4若从电视网关5获取了通用密钥,则存储通用密钥中包含的信息。具体而言,对EC网站的每个用户ID存储下述的信息。When the content providing server 4 acquires the universal key from the television gateway 5, it stores the information included in the universal key. Specifically, the following information is stored for each user ID of the EC website.
·access_token·access_token
·refresh_token·refresh_token
·pass_key·pass_key
·model//进行协作的TV模型信息·model//TV model information for collaboration
在步骤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 logs in to the service provided by the content providing server 4 by activating the application program. As a result, the smartphone 1 displays the EC website screen. The EC website screen output by this application also outputs a button for connecting to the television device 2 . Furthermore, in step S37, the content providing server 4 sends the device information 2070 to the user terminal 1050 based on the login in step S36. The device information 2070 mentioned here is any one, two or three combinations of the device ID, user ID, and model name included in the common 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 as a link destination on the EC website screen. In step S38, the user terminal 1050 transmits the URL of the link destination to the content providing server 4 based on the selection, thereby transmitting a TV display request (TV display request 2071).
内容提供服务器4若从用户终端1050接收到TV显示请求2071,则在步骤S39中, 通过对电视网关5发送包含令牌、通用密钥及链接目的地的URL在内的显示请求2072,从而对电视装置2进行显示请求。显示请求2072的信息的构成如以下所述。When the content providing server 4 receives the TV display request 2071 from the user terminal 1050 , in step S39 , the content providing server 4 sends the display request 2072 including the token, the common key, and the URL of the link destination to the TV gateway 5 . The television device 2 makes a display request. The information of the display request 2072 is structured as follows.
POST https://tv-common.example.com/common/devices/controlPOST https://tv-common.example.com/common/devices/control
Authorization:"Bearer"+<access_token>x-api-key:<pass_key>Authorization:"Bearer"+<access_token>x-api-key:<pass_key>
Content-type:application/jisonContent-type: application/jison
{"command_type":"keycode"{"command_type":"keycode"
"keycode":"<common key code>"}"keycode": "<common key code>"}
{"command_type":"webview",{"command_type":"webview",
"site":"<Website URL>","site": "<Website URL>",
"Template":"full"}"Template":"full"}
电视网关5的获取部512从内容提供服务器4接收包含令牌、通用密钥及链接目的地的URL在内的显示请求2072的信息。然后,获取部512从x-api-key的头部取出pass_key。The acquisition unit 512 of the television gateway 5 receives the information of the display request 2072 including the token, the common key, and the URL of the link destination from the content providing server 4 . Then, the acquisition unit 512 retrieves pass_key from the header of x-api-key.
在步骤S40中,获取部512使用该通用密钥(pass_key)及存储在存储部511中的信息,判别访问地址和访问源。在步骤S41中,发送部513基于判别出来的结果向TV云3发送包含令牌、URL的信息,并且进行显示请求。这样,发送部513向发送目的地的TV云3发送令牌、以及显示对象的图像的访问地址。此外,电视网关5按照访问源和制造商分别计测访问数量。In step S40, the acquisition unit 512 uses the common key (pass_key) and the information stored in the storage unit 511 to determine the access address and the access source. In step S41, the transmitting unit 513 transmits the information including the token and the URL to the TV cloud 3 based on the discrimination result, and performs a display request. In this way, the transmission unit 513 transmits the token and the access address of the image to be displayed to the TV cloud 3 of the transmission destination. In addition, the television gateway 5 measures the number of accesses for each access source and manufacturer.
在发送部513向TV云3发送的显示请求2073中包含令牌、客户ID、URL、消息。该信息的例子如以下所述。The display request 2073 sent by the sending unit 513 to the TV cloud 3 includes the token, client ID, URL, and message. Examples of this information are described below.
POST https://each-maker.example.com/common/devices/controlPOST https://each-maker.example.com/common/devices/control
Authorization:"Bearer"+<access_token>x-api-key:<由制造商共通网站和各制造商规定的随机密钥>Authorization: "Bearer"+<access_token>x-api-key:<Random key specified by the manufacturer's common website and each manufacturer>
Content-type:application/jsonContent-type: application/json
{"command_type":"keycode",{"command_type":"keycode",
"keycode":<common key code>,"keycode":<common key code>,
"client_id":<client_id>,"client_id":<client_id>,
"messageid:<message ID>}"messageid:<message ID>}
{"command_type":"webview",{"command_type":"webview",
"site":<Website URL>(电视机用Website URL),"site": <Website URL> (Website URL for TV),
"template":"full","template": "full",
"client_id":<client_id>,"client_id":<client_id>,
"message id":<message ID>}"message id":<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 transmitting unit 313 of the TV cloud 3 outputs a display request 2074 to the television device 2 based on the determination result. In addition, the display request can also be replaced with the manufacturer's own display request instruction. In addition, if necessary, TV Cloud 3 can also count the visits of each client_id and make requirements for the TV.
在步骤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 activates the browser in response to the display request, executes javascript (registered trademark) through onLoad, onClick events, etc., and displays and outputs the image of the URL destination to be displayed. In addition, the television device 2 notifies the measurement server 6 of a display operation result notification 2080 identifying the service provider, the user, the TV manufacturer, and the advertisement to be displayed. The measurement server 6 counts the results of the TV cloud 3 displaying advertisements on the plurality of television devices 2 . Based on the statistical results, the manufacturer or the owner of the television gateway 5 or the measurement server 6 requests advertising fees from the E-commerce platform holding the content providing server 4 .
用户终端1050的应用程序能够基于步骤S44中的操作指令2090来操作电视装置2的画面。根据来自用户终端1050的操作向内容提供服务器4发送操作指令2090。The application program of the user terminal 1050 can operate the screen of the television device 2 based on the operation instruction 2090 in step S44. The operation instruction 2090 is sent to the content providing server 4 according to the operation from the user terminal 1050.
在步骤S45中,内容提供服务器4基于在步骤S44中发送的操作指令2090,将包含共通键码在内的操作指令2091发送到电视网关5。共通键码是以与电视操作遥控器操作按钮对应的方式构成的指令。具有数字、十字光标、音量/频道/电源、彩色键、功能键、媒体控制、制造商固有的指令。该制造商固有的指令是指,各制造商独自地用于动作的指令。即,制造商固有指令是指,由各制造商设定的、制造商独自的动作用指令。共通键码是除了制造商固有的指令之外的用于在制造商之间进行共通的操作的键码。In step S45, the content providing server 4 sends the operation instruction 2091 including the common key code to the television gateway 5 based on the operation instruction 2090 sent in step S44. The common key code is a command configured to correspond to the operation button of the television operation remote control. Features numbers, cross cursor, volume/channel/power, color keys, function keys, media controls, manufacturer-specific commands. The manufacturer-specific instructions refer to instructions used by each manufacturer to operate independently. That is, the manufacturer-specific instruction refers to an operation instruction set by each manufacturer and unique to the manufacturer. A common key code is a key code used to perform common operations between manufacturers in addition to instructions specific to the manufacturer.
数字指令为"11"、"12"、"0"、"1"、"2"、"3"、"4"、"5"、"6"、"7"、"8"、"9"、"."。Numeric instructions are "11", "12", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" , ".".
十字光标指令为"上"、"下"、"左"、"右"、"向上翻页"、"向下翻页"、"向左翻页"、"向右翻页"、"进入"、"退出"、"返回"。The cross cursor commands are "up", "down", "left", "right", "page up", "page down", "page left", "page right", "enter" , "Exit", "Return".
音量/频道/电源指令为"电源"、"关电源"、"开电源"、"加大音量"、"减小音量"、"向前选台"、"向后选台"。The volume/channel/power commands are "power", "power off", "power on", "volume up", "volume down", "channel selection forward", "channel selection backward".
彩色键为"蓝"、"红"、"绿"、"黄"。The color keys are "blue", "red", "green", and "yellow".
功能键指令为"电子节目向导"、"初始配置"、"选择广播类型"、"输入选择"、"显示信息"、"静音"、"内容菜单"、"隐藏字幕"。The function key commands are "Electronic Program Guide", "Initial Configuration", "Select Broadcast Type", "Input Selection", "Display Information", "Mute", "Content Menu", "Closed Subtitles".
媒体控制指令为"播放"、"停止"、"暂停"、"重放"、"快进"、"后退"、"向前跳过"、"向后跳过"、"记录"。The media control instructions are "play", "stop", "pause", "replay", "fast forward", "rewind", "skip forward", "skip backward", and "record".
电视网关5若接收到步骤S45中的操作指令2091,则在步骤S46中向TV云3发送操作指令2092。操作指令2092是与操作指令2091相同的指令。在步骤S47中,电视网关5将应答消息ID2094作为应答消息发送到内容提供服务器4。消息ID为以下的构成。If the TV gateway 5 receives the operation instruction 2091 in step S45, it sends the operation instruction 2092 to the TV cloud 3 in step S46. Operation instruction 2092 is the same instruction as operation instruction 2091. In step S47, the television gateway 5 sends the response message ID 2094 to the content providing server 4 as a response message. The message ID has the following composition.
{message id:<message ID>}{message id:<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 TV gateway 5, it sends the operation command 2093 to the television device 2 in step S48. The operation command 2093 is the same or equivalent information as the operation command 2092 and is a manufacturer's own command to operate the display screen of the television device 2 . The TV cloud 3 replaces the operation command 2092 with an operation command 2093 that is a company key code for operating the television device 2 . When the standardization of operation commands of the television device 2 has been advanced, the operation command 2092 can be directly used as the operation command 2093 without converting it.
电视装置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 the operation result notification 2081 identifying the operation command.
图11所示的流程图是综合多个制造商向平台的内容提供服务器4进行访问的处理的说明,但是,也能够像第1实施方式的TV云3那样,制造商单独地访问内容提供服务器4。在此情况下,TV云3将电视网关5的动作合并起来。此时,TV云3与电视网关5之间的信息的交互被省略。The flowchart shown in FIG. 11 is a comprehensive description of the process of multiple manufacturers accessing the content providing server 4 of the platform. However, like the TV cloud 3 of the first embodiment, manufacturers can also access the content providing server individually. 4. In this case, TV Cloud 3 combines the actions of 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 TV gateway 5 obtains the authentication code from the content providing server 4, sends the authentication code to the TV cloud 3 of the transmission destination determined based on the authentication code, obtains the token and the access address of the image of the display object from the content providing server 4, and sends the authentication code to the TV cloud 3. The TV cloud 3 of the destination sends the token and the access address of the image of the display object. This makes it possible to process the content without having to determine which of the plurality of TV clouds 3 the content should be transmitted to on the content providing server 4 side.
此外,关于在本实施方式的各装置(用户终端1050、电视装置2、TV云3、内容提供服务器4、电视网关5、计测服务器6)中执行的程序,能够以可安装的形式或可执行的形式的文件记录于CD(Compact Disc:光盘)-ROM(Read Only Memory:只读存储器)、软盘(FD)、CD-R(Recordable:可写光盘)、DVD(Digital Versatile Disk:数字通用盘)等在计算机装置中可读取的存储介质中而提供。另外,也可以经由互联网等网络来提供或分发该程序。In addition, the program executed in each device (user terminal 1050, television device 2, TV cloud 3, content providing server 4, television gateway 5, measurement server 6) of this embodiment can be in an installable form or in an installable form. Files in the form of execution are recorded in CD (Compact Disc: Compact Disc) - ROM (Read Only Memory: Read Only Memory), Floppy Disk (FD), CD-R (Recordable: Writable Disk), DVD (Digital Versatile Disk: Digital Versatile disk), etc. are provided in a storage medium readable by a computer device. In addition, the program can also be provided or distributed via a network such as the Internet.
(第3实施方式)(Third Embodiment)
第3实施方式的信息协作系统S与第2实施方式的信息协作系统S的整体构成同样。在第3实施方式的信息协作系统S中,电视网关5不仅从TV云3获取令牌,还从内容提供服务器4获取令牌,使用这些令牌,使电视装置2的ID与用户终端1050的用户ID协作。The information collaboration system S of the third embodiment has the same overall configuration as the information collaboration system S of the second embodiment. In the information cooperation system S of 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 uses these tokens to match the ID of the television device 2 with the ID of the user terminal 1050. User ID collaboration.
此外,图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的标识符。In addition, the structure of the data stored in the TV cloud 3 shown in FIG. 6 is different. Specifically, TV Cloud 3 stores HA-ID instead of TVID shown in FIG. 6 . In addition, PF-ID is stored instead of the EC website server ID shown in FIG. 6 . HA-ID is identification information including TC-ID, which is the company ID of the television manufacturer, and TV-ID, which is the device ID of the television device 2 . PF-ID is the company ID of the video platform. TC-ID becomes the identifier for identifying TV Cloud 3. In addition, PF-ID is an identifier for identifying the content providing server 4 .
接下来,说明第3实施方式的信息协作系统S中的各构成的处理的流程。图12是示出第3实施方式的信息协作系统S中的整体处理的流程图。图12所示的流程图也设想用户操作电视装置2的遥控器等,在所谓的入口画面中,开始用户指定想要与智能手机1协作的EC网站(例如,接受内容提供的服务器)的场景。此外,假设TV云3生成的认证码及令牌包含识别制造商的信息。即,假设TV云3将识别自装置的信息包含在认证码及令牌中。Next, the processing flow of each component in the information collaboration system S of the third embodiment will be described. FIG. 12 is a flowchart showing the overall processing in the information collaboration system S according to the third embodiment. The flowchart shown in FIG. 12 also assumes a scenario in which the user operates the remote control of the television device 2 and the like, and starts from a so-called portal screen to specify an EC website (for example, a server that accepts content provision) with which the smartphone 1 wants to cooperate. . In addition, it is assumed that the authentication code and token generated by TV Cloud 3 contain information identifying the manufacturer. That is, it is assumed that the TV cloud 3 includes information for identifying its own device in the authentication code and the token.
另外,图12的步骤S61与图7的步骤S1、图11的步骤S12同样。此外,在步骤S61中,电视装置2将与用户指定的EC网站(视频平台)对应的PF-ID向TV云3发送。In addition, step S61 in FIG. 12 is the same as step S1 in FIG. 7 and step S12 in FIG. 11 . Furthermore, in step S61, the television device 2 transmits the PF-ID corresponding to the EC website (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 responds by sending the QR code including the URL of the TV gateway 5 and the URL authentication code to the TV device 2. This QR code includes the URL of the television gateway 5 and the following time-limited authentication code.
{"code":<authorization code>(认证码),{"code":<authorization code>(authentication code),
"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(状态信息)}"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(status information)}
URL认证码是包含确定电视网关5的URL信息、用于进行内容提供服务器4和TV云3之间的认证的认证码、以及状态(state)信息的信息。认证码也可以包含用于判别电视装置2的制造商的部分、以及用于判别电视装置2的部分。另外,认证码中包含的用于判别电视装置2的部分是随机的值。另外,TV云3也可以将向电视装置2发送了该值的时刻作为存储部311的DB的信息而建立对应。状态信息也可以包含将制造商的TC-ID和视频平台的PF-ID代码化后的信息。The URL authentication code is information including URL information identifying the TV gateway 5, an authentication code used for authentication between the content providing server 4 and the TV cloud 3, and state information. The authentication code may include a part for identifying the manufacturer of the television device 2 and a part for identifying the television device 2 . In addition, the part used for identifying the television device 2 included in the authentication code is a random value. In addition, the TV cloud 3 may associate the time when the value is transmitted to the television device 2 as the information in the DB of the storage unit 311 . The status information may also include information encoding the manufacturer's TC-ID and the video platform's PF-ID.
URL认证码的信息的例子如以下所述。Examples of URL authentication code information are as follows.
https://XXXXXXX YYYYYYYYYhttps://XXXXXXX YYYYYYYYY
在X的部分中具有电视网关5的URL,在Y的部分中具有OAuth2的授权码(authorization code)。在授权码(authorization code)的部分中具有能够确定制造商和电视机的信息。能够确定制造商和电视装置2的信息也可以是其中某一者。URL认证码的发送形式也可以是任何形式,只要包含上述的信息即可。此外,在Y的部分也可以包含状态信息。The X part contains the URL of the TV gateway 5, and the Y part contains the OAuth2 authorization code. The authorization code section contains information that can identify the manufacturer and the television. The information that can identify the manufacturer and the television device 2 may be either one of them. The sending form of the URL authentication code can also be in any form, as long as it contains the above information. In addition, the Y part can also contain status 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 the URL authentication code from the TV cloud 3 , the display control unit 244 optically displays and outputs the content of the URL authentication code as an image or video on the video display unit 233 . In addition, the display form in the display control unit 244 may be a QR code, a barcode, a text, or the like, as long as the information included in the URL authentication code can be optically displayed and output as an image or video. In addition, in the first embodiment and the second embodiment, the QR code was used in the description. However, like the present embodiment, it is not limited to the QR code.
另外,与图7的步骤S3、图11的步骤S23同样,在步骤S63中,用户终端1050从摄像机构以光学方式拍摄到的图像信息中,利用URL认证码读取功能,读取在视像显示部233上以光学方式显示的URL认证码的信息。由此,用户终端1050获取电视网关5的URL及认证码等。该认证码部分为带时限的认证码,如以下这样构成。In addition, similar to step S3 in FIG. 7 and step S23 in FIG. 11 , in step S63 , the user terminal 1050 uses the URL authentication code reading function to read the image information optically captured by the camera mechanism. The information of the URL authentication code is optically displayed on the display unit 233 . Thereby, the user terminal 1050 acquires the URL, authentication code, etc. of the television gateway 5 . The authentication code part is a time-limited authentication code and is composed as follows.
"code":<authorization code>,"code":<authorization code>,
"state":<string>//随机数"state":<string>//Random number
步骤S64中,用户终端1050若获取了电视网关5的URL、认证码、及状态信息,则基于该URL,访问电视网关5,并且,发送认证码及状态信息,并进行认证要求。此外,状态信息如上所述,包含TC-ID和PF-ID。In step S64, if the user terminal 1050 obtains the URL, authentication code, and status information of the TV gateway 5, it accesses the TV gateway 5 based on the URL, sends the authentication code and status information, and performs an authentication request. In addition, the status information includes TC-ID and PF-ID as mentioned above.
在认证要求时发送的信息如以下所述。The information sent when authentication is requested is as follows.
"code":<authorization code>,"code":<authorization code>,
"state":<string>//随机数"state":<string>//Random number
步骤S65中,若电视网关5的获取部512接收到认证码及状态信息,则电视网关5的发送部513将包含表示协作指示的协作按钮在内的HTML形式的画面向用户终端1050发送。该HTML也可以包含访问PF-ID的OAuth2授权端点(Authorization Endpoint)的URL、以及参数。In step S65, if the acquisition unit 512 of the television gateway 5 receives the authentication code and the status information, the transmission unit 513 of the television gateway 5 transmits a screen in HTML format including a collaboration button indicating a collaboration instruction to the user terminal 1050. The HTML can also include the URL and parameters for accessing PF-ID's OAuth2 authorization endpoint (Authorization Endpoint).
用户终端1050获取上述的HTML形式的画面。然后,若通过用户终端1050的用户操作而按下了协作按钮(步骤S66),则对作为视频平台的内容提供服务器4进行认可要求。另外,内容提供服务器4接收该认可要求,将对其应答的主旨的信息向用户终端1050发送(步骤S67)。The user terminal 1050 acquires the above-mentioned screen in HTML format. Then, when the collaboration button is pressed by the user operation of the user terminal 1050 (step S66), an approval request is made to the content providing server 4 as the video platform. In addition, the content providing server 4 receives the approval request and sends information on the purpose of the response to the user terminal 1050 (step S67).
在上述认可要求时发送的信息例如是以下的构成。The information sent when the above-mentioned authorization request is made has the following structure, for example.
Authorization:"Basic"+Base64(<client_id>+":"+<client_secret>)RequestAuthorization:"Basic"+Base64(<client_id>+":"+<client_secret>)Request
{{
"response_type":"code""response_type":"code"
"code":<authorization code>(认证码)"code": <authorization code> (authentication code)
"redirect_uri":<TGW Endpoint>(电视网关5的终点)"redirect_uri": <TGW Endpoint> (the end point of TV gateway 5)
"client_id":<TG-ID>(电视网关5的ID)"client_id": <TG-ID> (ID of TV gateway 5)
"scope":<VPF提供>(令牌的认证范围)"scope": <VPF provided> (authentication scope of the token)
"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(状态信息)"state": HEX(JSON.stringify({"tcid"; <TC-ID>, "pfid"; <PF-ID>, "salt"; <random string>})+hash) (status information)
}}
在内容提供服务器4中未登记用户信息的情况下,在用户终端1050和内容提供服务器4之间进行用户登记处理(步骤S68)。在此,用户登记处理是指,将用于向内容提供服务器4登录的信息即用户ID及口令进行登记、或者将用户的属性信息进行登记的处理。When the user information is not registered in the content providing server 4, user registration processing is performed between the user terminal 1050 and the content providing server 4 (step S68). Here, the user registration process refers to a process of registering a user ID and password, which are information used to log in to the content providing server 4, or registering the user's attribute information.
接下来,用户终端1050向内容提供服务器4进行登录请求,内容提供服务器4做出与该登录请求相应的响应(步骤S69)。作为该响应的例子,输出以下的信息(认可码)。Next, the user terminal 1050 makes a login request to the content providing server 4, and the content providing server 4 responds in accordance with the login request (step S69). As an example of this response, the following information (authorization code) is output.
ResponseResponse
{"code":<authorization code>,{"code":<authorization code>,
"state":<state>}"state":<state>}
用户终端1050若接收到上述响应,则向电视网关5进行表示协作指示的重定向(步骤S70)。此外,用户终端1050也可以将上述认可码向电视网关5发送。When the user terminal 1050 receives the above response, it redirects the cooperation instruction to the television gateway 5 (step S70). In addition, the user terminal 1050 may also send the above-mentioned approval code to the television gateway 5 .
若电视网关5的获取部512接收到表示协作指示的重定向,则电视网关5基于从用户终端1050获取到的状态信息中包含的TC-ID,来确定制造商。即,电视网关5分派制造商(步骤S71)。If the acquisition unit 512 of the television gateway 5 receives the redirection indicating the cooperation instruction, the television gateway 5 determines the manufacturer based on the TC-ID included in the status information acquired from the user terminal 1050 . That is, the television gateway 5 assigns the manufacturer (step S71).
然后,在步骤S72中,电视网关5的发送部513通过向发送目的地的TV云3发送认证码,从而进行令牌请求(步骤S72)。Then, in step S72, the transmission unit 513 of the television gateway 5 performs a token request by transmitting the authentication code to the TV cloud 3 of the transmission destination (step S72).
在该令牌请求时发送的信息例如是以下的构成。The information sent when requesting the token has the following structure, for example.
Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)
Request ParametersRequest Parameters
{{
grant_type:"authorization_code”,grant_type: "authorization_code",
code:<authorization code>(认证码),code: <authorization code> (authentication code),
state:<string>(状态信息),state: <string> (status information),
redirect_uri:<redirect_uri>,redirect_uri:<redirect_uri>,
client_id:<TG-ID>}client_id:<TG-ID>}
TV云3的生成部314通过参照存储部311的DB,判断是否存在与由获取部312获取到的识别内容提供服务器4的信息(例如,状态信息中包含的信息)及认证码对应的信息,从而进行认证。生成部314参照存储部311的DB,在存在与由获取部312获取到的识别内容提供服务器4的信息及认证码对应的信息的情况下,生成令牌(第1令牌)。另外,生成部314进一步将第1令牌与上述DB中的具有由获取部312获取到的识别内容提供服务器4的信息及认证码的信息建立对应。The generation unit 314 of the TV cloud 3 determines whether there is information corresponding to the information identifying the content providing server 4 (for example, information included in the status information) and the authentication code acquired by the acquisition unit 312 by referring to the DB of the storage unit 311, thereby authenticating. The generation unit 314 refers to the DB of the storage unit 311, and generates a token (first token) when there is information corresponding to the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312. In addition, the generation unit 314 further associates the first token with information including the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312 in the DB.
步骤S73中,TV云3的发送部313将由生成部314生成的第1令牌向电视网关5发送。In step S73, the transmitting unit 313 of the TV cloud 3 transmits the first token generated by the generating unit 314 to the television gateway 5.
具体而言,TV云3的发送部313将OAuth2的令牌响应(Token Response)作为令牌发送到电视网关5。该响应的OAuth2访问令牌响应(Access token Response)如以下这样构成。Specifically, the transmitting unit 313 of the TV Cloud 3 transmits the OAuth2 token response (Token Response) as a token to the TV gateway 5 . The OAuth2 access token response (Access token Response) of this response is composed as follows.
ResponseResponse
{"access_token":<access token>,{"access_token": <access token>,
"token_type":"Bearer","token_type":"Bearer",
"expires_in":3600,"expires_in": 3600,
"refresh_token":<refresh token>}"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时,在前头加上识别电视机制造商的标识符,从而能够确定电视机制造商。TV cloud 3 brings access_token when accessing TV gateway 5. expires_in is the validity period (seconds) of the access_token. When the access_token is received, it is stored together with the time when it becomes invalid. The access_token is reused until then. The refresh_token is secretly kept by the content providing server 4. This is because, in terms of security, simply placing it in local storage is not good. When each manufacturer issues an access_token or a refresh_token, the television manufacturer can be identified by adding an identifier for identifying the television manufacturer at the beginning.
若电视网关5的获取部512获取了上述第1令牌,则电视网关5的发送部513发送包含认可码的信息并且向内容提供服务器4进行令牌请求(步骤S74)。When the acquisition unit 512 of the television gateway 5 acquires the first token, the transmission unit 513 of the television gateway 5 transmits the information including the authorization code and makes a token request to the content providing server 4 (step S74).
在该令牌请求时发送的信息例如是以下的构成。The information sent when requesting the token has the following structure, for example.
Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)
RequestRequest
{grant_type:"authorization_code”,{grant_type: "authorization_code",
code:<code>(认可码),code: <code> (approval code),
state:<string>(状态信息),state: <string> (status information),
redirect_uri:<TGW Endpoint>,redirect_uri:<TGW Endpoint>,
client_id:<TG-ID>client_id:<TG-ID>
}}
内容提供服务器4基于从电视网关5获取的认可码,确定该认可码所对应的用户ID。然后,内容提供服务器4生成基于该用户ID的令牌即第2令牌。The content providing server 4 determines the user ID corresponding to the authorization code based on the authorization code obtained from the television gateway 5 . Then, the content providing server 4 generates a token based on the user ID, that is, a second token.
在步骤S75中,内容提供服务器4将生成的第2令牌向电视网关5发送。此外,内容提供服务器4也可以将第2令牌、用户ID、以及用户属性信息建立对应地存储。In step S75, the content providing server 4 sends the generated second token to the television gateway 5. In addition, the content providing server 4 may store the second token, the user ID, and the user attribute information in association with each other.
具体而言,内容提供服务器4将OAuth2的令牌响应(Token Response)作为令牌发送到电视网关5。该响应的OAuth2访问令牌响应(Access token Response)如以下这样构成。Specifically, the content providing server 4 sends the OAuth2 token response (Token Response) as a token to the television gateway 5 . The OAuth2 access token response (Access token Response) of this response is composed as follows.
{"access_token":<access token>,{"access_token": <access token>,
"token_type":"Bearer","token_type":"Bearer",
"expires_in":3600,"expires_in": 3600,
"refresh_token":<refresh token>}"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 transmitting unit 513 of the television gateway 5 transmits the second token to the content providing server 4 and makes a user information request to the content providing server 4 (step S76).
在该用户信息请求时发送的信息例如是以下的构成。The information sent when requesting user information has the following structure, for example.
Authorization:"Bearer"+<access token>)Authorization: "Bearer"+<access token>)
内容提供服务器4检索与从电视网关5获取到的第2令牌对应的用户ID及用户的属性信息,将这些信息作为响应向电视网关5发送(步骤S77)。由此,电视网关5的获取部512获取用户ID及用户的属性信息。该响应的信息如以下这样构成。The content providing server 4 searches for the user ID and the user's attribute information corresponding to the second token acquired from the television gateway 5, and sends these information to the television gateway 5 as a response (step S77). Thereby, the acquisition unit 512 of the television gateway 5 acquires the user ID and the user's attribute information. The response information is composed as follows.
ResponseResponse
{"user_id":<UR-ID>(内容提供服务器4的网站中的用户ID),{"user_id": <UR-ID> (user ID in the website of content providing server 4),
"Preference":<当前的用户属性>(用户的出生年月日、性别、邮政编码、购买历史等)}"Preference": <Current user attributes> (User's date of birth, gender, zip code, purchase history, etc.)}
在步骤S78中,内容提供服务器4发送PF-ID,并且进行设备信息请求。在该设备信息请求时发送的信息例如是以下的构成。In step S78, the content providing server 4 sends the PF-ID and performs a device information request. The information sent in this device information request has the following structure, for example.
Authorization:"Basic"+Base64(PF-ID+":"+<client_secret>)Authorization:"Basic"+Base64(PF-ID+":"+<client_secret>)
若电视网关5的获取部512从内容提供服务器4接收到设备信息请求,则电视网关5的发送部513将与在步骤S74中发送的第2令牌对应的第1令牌发送到TV云3,并且进行设备信息请求(步骤S79)。在该设备信息请求时发送的信息例如是以下的构成。When the acquisition unit 512 of the TV gateway 5 receives the device information request from the content providing server 4, the sending unit 513 of the TV gateway 5 sends the first token corresponding to the second token sent in step S74 to the TV cloud 3 , and perform a device information request (step S79). The information sent in this device information request has the following structure, for example.
Authorization:"Bearer"+<access token>)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 the information of the device corresponding to the HA-ID (the television device corresponding to the HA-ID 2 attribute information).
在步骤S80中,TV云3的发送部313将HA-ID等信息作为响应,向电视网关5发送。电视网关5的获取部512获取HA-ID、以及与该HA-ID对应的设备的信息。作为该响应的例子,存在以下这样的例子。In step S80, the transmitting unit 313 of the TV cloud 3 sends the HA-ID and other information to the television gateway 5 as a response. The acquisition unit 512 of the television gateway 5 acquires the HA-ID and information about the device corresponding to the HA-ID. Examples of this response include the following.
ResponseResponse
{{
·"device_id":<HA-ID>(HA-ID)·"device_id":<HA-ID>(HA-ID)
·"model":<model name>(电视装置2的模型即显示画面英寸、2K、4K、8K等像素数量信息等)}·"model": <model name> (The model of the television device 2 is the display screen inch, pixel number 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 television gateway 5 associates the acquired HA-ID, the user ID, the model information (model) which is the attribute information of the television device 2 , and the PF-ID as a DB. The information is registered in the storage unit 511. In addition, the generation unit 514 of the television gateway 5 may further include the user's attribute information in the binding information.
另外,电视网关5的生成部514生成通用密钥。另外,在步骤S82中,发送部513将该通用密钥向内容提供服务器4发送。该通用密钥包含以下的信息。In addition, the generation unit 514 of the television gateway 5 generates a common key. In addition, in step S82, the transmitting unit 513 transmits the common key to the content providing server 4. The universal key contains the following information.
·"pass_key":<pass_key>,(在操作指令的动作时将该pass_key用作ID)·"pass_key": <pass_key>, (use this pass_key as ID when operating the command)
·"expires_in":86400,(expires_in是在最初的访问中,即使在无法准备preference的情况下,也缓期10天返回。)·"expires_in": 86400, (expires_in is in the initial access, even if the preference cannot be prepared, the return will be delayed for 10 days.)
·"model":<model name>(是设备ID响应的模型的信息,电视装置2的模型即显示画面英寸、2K、4K、8K等像素数量信息等)·"model": <model name> (It is information about the model that the device ID responds to. The model of the TV device 2 is information on the number of pixels such as display screen inches, 2K, 4K, 8K, etc.)
另外,电视网关5的生成部514将生成的通用密钥存储到存储部511。In addition, the generation unit 514 of the television gateway 5 stores the generated common key in the storage unit 511 .
内容提供服务器4若从电视网关5获取了通用密钥,则存储通用密钥中包含的信息。具体而言,内容提供服务器4对EC网站的每个用户ID存储下述的信息。When the content providing server 4 acquires the universal key from the television gateway 5, it stores the information included in the universal key. Specifically, the content providing server 4 stores the following information for each user ID of the EC website.
·access_token·access_token
·refresh_token·refresh_token
·pass_key·pass_key
·model//协作的TV模型信息·model//Collaborated 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 TV gateway 5 acquires the authentication code from the user terminal 1050, sends the authentication code to the TV cloud 3 of the transmission destination determined based on the authentication code, acquires the first token from the TV cloud 3, and acquires the second token from the content providing server 4. . Then, the television gateway 5 transmits the second token to the content providing server 4 to obtain the user ID, and transmits the first token to the TV cloud 3 to obtain the ID (for example, HA-ID) of the television device 2 . In this way, the television gateway 5 acquires the user ID from the content providing server 4 and acquires the ID of the television device 2 from the TV cloud 3 , thereby being able to associate the user ID with the ID of the television device 2 .
在此情况下,因为电视网关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 of the TV cloud 3 can be reduced. In addition, since the television gateway 5 acquires the authentication code from the user terminal 1050, it is not necessary to send the authentication code from the content providing server 4 to the television gateway 5, and the processing load on the content providing server 4 can also be reduced. That is, the television gateway 5 can appropriately execute the process of cooperating the identifier of the receiver (the ID of the television device 2) and the identifier of the terminal (the user ID of the user terminal 1050).
(第4实施方式)(4th Embodiment)
第4实施方式的信息协作系统S与第2实施方式的信息协作系统S的整体构成同样。在第2实施方式中,描述了认证码也包含在QR码中的情况,但是,在第4实施方式的信息协作系统S中,关于认证码,另行以个人识别码(pin code)进行显示。The information collaboration system S of the fourth embodiment has the same overall configuration as the information collaboration system S of the second embodiment. In the second embodiment, the case where the authentication code is also included in the QR code has been described. However, in the information collaboration system S of the fourth embodiment, the authentication code is separately displayed as a personal identification code (pin code).
接下来,说明第4实施方式的信息协作系统S中的各构成的处理的流程。图13的步骤S21因为与图11的步骤S21及图7的步骤S1同样,所以省略说明。Next, the processing flow of each component in the information collaboration system S of the fourth embodiment will be described. Step S21 in FIG. 13 is the same as step S21 in FIG. 11 and step S1 in FIG. 7 , so the description is omitted.
在步骤S91中,TV云3将包含URL的QR码发送到电视装置2。另外,TV云3将与认证码对应的个人识别码发送到电视装置2。In step S91, the TV cloud 3 sends the QR code including the URL to the television device 2. In addition, the TV cloud 3 transmits the personal identification code corresponding to the authentication code to the television device 2 .
QR码中包含的URL的信息的例子如以下所述。Examples of URL information included in the QR code are as follows.
https://XXXXXXXhttps://XXXXXXX
在X的部分中,具有内容提供服务器4的URL。QR码的URL的发送形式可以是任何形式,只要包含上述的信息即可。In the section of X, there is the URL of the content providing server 4. The URL of the QR code can be sent in any form, 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 the personal identification 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 . In addition, the display control unit 244 displays and outputs the personal identification code.
在步骤S92中,用户终端1050从由摄像机构以光学方式拍摄到的图像信息中利用读取功能,读取在视像显示部233上以光学方式显示的URL的信息。In step S92, the user terminal 1050 uses the reading function to read the information of the URL optically displayed on the video display unit 233 from the image information optically photographed by the camera mechanism.
在步骤S93中,用户终端1050启动应用程序(APP),使得成为可接收个人识别码的输入的状态。In step S93, the user terminal 1050 starts the application program (APP) so as to be in a state in which input of the personal identification code can be received.
在步骤S94中,若通过用户操作而输入了PIN码,则用户终端1050获取该PIN码作为认证码。步骤S24~步骤S35分别与图11的步骤S24~步骤S35同样。In step S94, if the PIN code is input through user operation, the user terminal 1050 obtains the PIN code as the authentication code. Steps S24 to S35 are respectively the same as steps S24 to S35 in FIG. 11 .
第4实施方式的TV云3将与认证码对应的个人识别码发送到电视装置2,电视装置2显示该个人识别码。然后,用户终端1050的用户基于该个人识别码进行输入操作,用户终端1050将该个人识别码作为认证码向内容提供服务器4发送。The TV cloud 3 of the fourth embodiment sends the personal identification code corresponding to the authentication code to the television device 2, and the television device 2 displays the personal identification code. Then, the user of the user terminal 1050 performs an input operation based on the personal identification code, and the user terminal 1050 sends the personal identification code to the content providing server 4 as an authentication code.
在此情况下,即使在无法将认证码与URL一起包含在二维码中的情况下,也能够从用户终端1050将认证码向内容提供服务器4发送。In this case, even if the authentication code cannot be included in the QR code together with the URL, the authentication code can be transmitted from the user terminal 1050 to the content providing server 4 .
(第5实施方式)(fifth embodiment)
第5实施方式的信息协作系统S与第3实施方式的信息协作系统S的整体构成同样。在第 5实施方式的信息协作系统S中,电视网关5将宣传(campaign)信息作为促进信息向电视装置2发送,该促进信息用于促进使第3实施方式的信息协作系统S中的、电视装置2的ID与用户终端1050的用户ID协作的处理。在信息协作系统S中,电视装置2在基于促进信息指示了使电视装置2的ID与用户终端1050的用户ID协作的处理的情况下,执行使电视装置2的ID与用户终端1050的用户ID协作的处理。The information collaboration system S of the fifth embodiment has the same overall configuration as the information collaboration system S of the third embodiment. In the information cooperation system S of the fifth embodiment, the television gateway 5 transmits campaign information to the television device 2 as promotion information for promoting the use of the television in the information cooperation system S of the third embodiment. Processing in which the ID of the device 2 cooperates with the user ID of the user terminal 1050 . In the information cooperation system S, when the television device 2 is instructed to cooperate with the ID of the television device 2 and the user ID of the user terminal 1050 based on the promotion information, the television device 2 executes the process of making the ID of the television device 2 and the user ID of the user terminal 1050 cooperate. Collaborative processing.
在信息协作系统S中,若电视装置2进行了节目表信息的获取请求,则电视网关5经由TV云3来接收节目表信息的获取请求。电视网关5从内容提供服务器4获取节目表构成信息,并将节目表构成信息向TV云3发送。TV云3获取节目表构成信息,并将获取到的节目表构成信息向电视装置2发送。节目表构成信息包含企业信息、频道信息、节目信息、CM信息及VOD信息。In the information cooperation system S, when the television device 2 makes a request to obtain program guide information, the television gateway 5 receives the request to obtain the program table information via the TV cloud 3 . The TV gateway 5 acquires the program table composition information from the content providing server 4 and sends the program table composition information to the TV cloud 3 . The TV cloud 3 acquires the program guide composition information, and sends the acquired program guide composition information to the television device 2 . The program table composition information includes enterprise information, channel information, program information, CM information, and VOD information.
或者,在信息协作系统S中,若电视装置2进行了节目表信息的获取请求,则电视网关5接收节目表信息的获取请求。电视网关5获取节目表构成信息,并将节目表构成信息向电视装置2发送。节目表构成信息包含企业信息、频道信息、节目信息、CM信息及VOD信息。需要说明的是,实现电视网关5的文件服务器存储有节目表构成信息。即,电视网关5存储有节目表构成信息,并且根据来自电视装置2的节目表信息的获取请求,向电视装置2发送存储的节目表构成信息。Alternatively, in the information cooperation system S, if the television device 2 makes a request to obtain program guide information, the television gateway 5 receives the request to obtain the program guide information. The television gateway 5 acquires the program guide configuration information and sends the program guide configuration information to the television device 2 . The program table composition information includes enterprise information, channel information, program information, CM information, and VOD information. It should be noted that the file server that implements the television gateway 5 stores program table composition information. That is, the television gateway 5 stores the program guide composition information, and transmits the stored program guide composition information to the television device 2 in response to a request to obtain the program guide information from the television device 2 .
电视网关5存储有宣传信息,在发送节目表构成信息时,根据来自电视装置2的请求而发送宣传信息。The television gateway 5 stores promotional information and transmits the promotional information in response to a request from the television device 2 when transmitting the program guide configuration information.
在此,使用图14-1说明宣传信息的内容。图14-1是示出促进信息的例子的图。宣传信息具有通常协作数据部分330和宣传协作数据部分340。Here, Figure 14-1 is used to illustrate the content of promotional information. FIG. 14-1 is a diagram showing an example of promotion information. The promotional information has a normal collaboration data part 330 and a promotional collaboration data part 340 .
通常协作数据部分330包含:表示ID协作用数据的对象(Object)的信息(idbind);表示存储有图像文件的URL的基础URL的信息(img_base_url);表示说明协作方法的图像的信息(explanation_img);以及表示说明协作解除方法的图像的信息(explanation_img)。The normal collaboration data section 330 includes: information indicating an object (Object) of ID collaboration data (idbind); information indicating a base URL in which a URL of an image file is stored (img_base_url); and information indicating an image explaining the collaboration method (explanation_img). ; and information indicating an image explaining the collaboration cancellation method (explanation_img).
宣传协作数据部分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 publicity cooperation data part 340 includes: information indicating an Array of the object of the publicity information (idbind_campaign); information indicating the TV manufacturer of the publicity target (tv); and information indicating a base URL in which the URL of the image file is stored (img_base_url). ); Information indicating an image that explains the contents of the promotion (campaign_img); Information indicating an image that is displayed when collaboration is nearly completed (hasbound_img); Information indicating an image that explains the collaboration method (explanation_img); Information indicating that the recommended license is based on IFA -The information of the tracking image of the ID (recommend_tracking_img); the information indicating the promotion start date and time (start); and the information indicating the promotion end date and time (end).
也可以利用宏等以对每个TV制造商不同的方式设定宣传协作数据部分340中的表示图像的信息。由此,能够以简易的构成来分派对多个TV制造商分别不同的宣传图像。The information indicating the image in the publicity collaboration data section 340 may be set differently for each TV manufacturer using a macro or the like. This makes it possible to distribute different promotional images to a plurality of TV manufacturers with a simple configuration.
另外,使用图14-2说明另一宣传信息的内容。图14-2是示出另一促进信息的例子的图。宣传信息具有通常协作数据部分330、宣传协作数据部分340、以及一个或多个广告信息部分350。In addition, the content of another promotional information will be described using Figure 14-2. FIG. 14-2 is a diagram showing another example of promotion information. The promotional information has a general collaboration data part 330, a promotional collaboration data part 340, and one or more advertisement information parts 350.
通常协作数据部分330包含:表示ID协作用数据的对象(Object)的信息(idbind);表示存储有图像文件的URL的基础URL的信息(img_base_url);表示说明协作方法的图像的信息(bind的explanation_img);以及表示说明协作解除方法的图像的信息(unbind的explanation_img)。The normal collaboration data part 330 includes: information indicating an object (Object) of ID collaboration data (idbind); information indicating a base URL in which a URL of an image file is stored (img_base_url); and information indicating an image describing the collaboration method (bind). explanation_img); and information indicating an image explaining the collaboration cancellation 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 publicity cooperation data part 340 includes: information indicating an Array of the object of the publicity information (idbind_campaign); information indicating the TV manufacturer of the publicity target (tv); and information indicating a base URL in which the URL of the image file is stored (img_base_url). ); Information indicating an image that explains the contents of the promotion (campaign_img); Information indicating an image that is displayed when collaboration is nearly completed (hasbound_img); Information indicating an image that explains the collaboration method (explanation_img); Information indicating that the recommended license is based on IFA -The information of the tracking image of the ID (recommend_tracking_img); the information indicating the promotion start date and time (start); and the information indicating the promotion end date and time (end).
也可以利用宏等以对每个TV制造商不同的方式设定宣传协作数据部分340中的表示图像的信息。由此,能够以简易的构成来分派对多个TV制造商分别不同的宣传图像。The information indicating the image in the publicity collaboration data section 340 may be set differently for each TV manufacturer using a macro or the like. This makes it possible to distribute different promotional images to a plurality of TV manufacturers with a simple configuration.
广告信息部分350包含:表示显示对象的TV制造商的排列信息(tv);ad_info固有标识符(id);包含表示广告的显示种类、广告的内容的信息的广告信息(ad_info);显示开始日期时间(start);显示结束日期时间(end)。The advertisement information section 350 includes: arrangement information (tv) indicating the TV manufacturer to be displayed; an ad_info unique identifier (id); advertisement information (ad_info) including information indicating the display type of the advertisement and the content of the advertisement; and the display start date. Time (start); displays the end date and time (end).
另外,如图14-2及图15所示,广告信息包含:表示广告的显示种类的信息(type);表示显示的画面的ID的信息(place);在广告的显示种类为text的情况下显示的文本消息(message);在广告的显示种类为image的情况下显示的显示图片的URL(image);在广告的显示种类为movie的情况下显示的动态图像的URL(movie);以及表示广告的显示期间的信息(period)。上述文本消息、显示图片的URL、以及动态图像的URL是表示广告的内容的信息的一个例子。In addition, as shown in Figures 14-2 and 15, the advertisement information includes: information indicating the display type of the advertisement (type); information indicating the ID of the displayed screen (place); when the display type of the advertisement is text The displayed text message (message); the URL of the display image (image) displayed when the display type of the advertisement is image; the URL (movie) of the dynamic image displayed when the display type of the advertisement is movie; and the expression Information about the display period of the advertisement (period). The above-mentioned text message, the URL of the display image, and the URL of the dynamic image are examples of information indicating the content of the advertisement.
图14-2所示的宣传信息包含有:广告的种类为text的广告信息部分350a;广告的种类为image的广告信息部分350b;广告的显示种类为movie的广告信息部分350c。电视装置2在接收到图14-2所示的宣传信息的情况下,显示文本消息的广告、显示用于显示图片的广告、显示动态图像的广告。The promotional information shown in Figure 14-2 includes: an advertisement information part 350a whose advertisement type is text; an advertisement information part 350b whose advertisement type is image; and an advertisement information part 350c whose advertisement display type is movie. When the television device 2 receives the promotional information shown in FIG. 14-2 , it displays an advertisement for text messages, an advertisement for displaying pictures, and an advertisement for displaying dynamic images.
接着,使用图16-1说明基于宣传信息进行协作处理的顺序。图16-1是示出宣传信息的显示处理的流程图。Next, the procedure of collaborative processing based on promotional information will be described using FIG. 16-1. FIG. 16-1 is a flowchart showing the display process of promotional information.
电视装置2根据用户的操作,对于TV云3,进行用户指定的EC网站的节目表构成信息(节目表)的获取请求。若电视装置2进行了节目表信息的获取请求,则电视网关5经由TV云3来接收节目表信息的获取请求。电视网关5从内容提供服务器4获取节目表构成信息,并将节目表构成信息向TV云3发送。TV云3获取节目表构成信息,并将获取到的节目表构成信息向电视装置2发送。电视装置2显示节目表构成信息(步骤S101)。节目表构成信息包含企业信息、频道信息、节目信息、CM信息及VOD信息。Based on the user's operation, the television device 2 makes a request to obtain the program list configuration information (program list) of the EC website designated by the user with respect to the TV cloud 3 . If the television device 2 makes a request to obtain the program list information, the TV gateway 5 receives the request to obtain the program list information via the TV cloud 3 . The TV gateway 5 acquires the program table composition information from the content providing server 4 and sends the program table composition information to the TV cloud 3 . The TV cloud 3 acquires the program guide composition information, and sends the acquired program guide composition information to the television device 2 . The television device 2 displays the program guide composition information (step S101). The program table composition information includes enterprise information, channel information, program information, CM information, and VOD information.
电视装置2向电视网关5进行宣传信息的获取请求。电视装置2在未能经由TV云3从电视网关5获取宣传信息的情况下(步骤S102:否),结束处理。The television device 2 makes a request to obtain promotional information from the television gateway 5 . When the television device 2 fails to acquire the promotional information from the television gateway 5 via the TV cloud 3 (step S102: No), the process ends.
电视装置2向电视网关5进行宣传信息的获取请求。电视装置2在经由TV云3从电视网关5获取了宣传信息的情况下(步骤S102:是),如果未与内容提供服务器4完成协作(步骤S103:是),则电视装置2将宣传信息连同节目表构成信息一起显示(步骤S104)。作为判断是否与内容提供服务器4完成协作的方法,存在下述方法:电视装置2预先保持过去的协作处理请求的有无的日志(log),基于该日志来进行判断。The television device 2 makes a request to obtain promotional information from the television gateway 5 . When the television device 2 acquires the promotional information from the TV gateway 5 via the TV cloud 3 (step S102: Yes), and if the cooperation with the content providing server 4 is not completed (step S103: yes), the television device 2 combines the promotional information with the The program guide composition information is displayed together (step S104). As a method of determining whether collaboration with the content providing server 4 has been completed, there is a method in which the television device 2 retains a log of the presence or absence of past collaboration processing requests in advance and performs the determination based on the log.
宣传信息中,在做出了应征宣传的主旨的选择的情况下,电视装置2显示调查信息(步骤S105)。该调查是接收用户的属性(性别、住所等)的输入的调查。另外,该调查信息 也可以在其它时刻显示。In the publicity information, when a selection is made to apply for publicity, the television device 2 displays the survey information (step S105). This survey is a survey that receives input of the user's attributes (gender, address, etc.). In addition, the survey information can also be displayed at other times.
电视装置2在输入了调查后,进行协作指示请求(步骤S106)。After inputting the survey, the television device 2 makes a collaboration instruction request (step S106).
接着,使用图16-2说明基于另一宣传信息来显示广告的顺序。图16-2是表示另一宣传信息的广告的显示处理的流程图。Next, the sequence of displaying advertisements based on another promotional information will be described using FIG. 16-2. FIG. 16-2 is a flowchart illustrating display processing of an advertisement of another promotional information.
图16-2所示的处理是电视装置2在节目表的显示处理中执行的处理。电视装置2根据用户的操作,对于电视网关5进行用户指定的EC网站的节目表构成信息(节目表)的获取请求。若电视装置2进行节目表信息的获取请求,则电视网关5接收节目表信息的获取请求。电视网关5将节目表构成信息向电视装置2发送。电视装置2显示节目表构成信息。节目表构成信息包含企业信息、频道信息、节目信息、CM信息及VOD信息。The process shown in FIG. 16-2 is a process executed by the television device 2 in the program list display process. In response to the user's operation, the television device 2 makes a request to the television gateway 5 to acquire the program table configuration information (program table) of the EC website specified by the user. When the television device 2 makes a request to obtain the program table information, the television gateway 5 receives the request to obtain the program table information. The television gateway 5 transmits the program table configuration information to the television device 2 . The television device 2 displays program guide composition information. The program table composition information includes enterprise information, channel information, program information, CM information, and VOD information.
如上所示,电视装置2在显示了节目表构成信息时,向电视网关5进行宣传信息的获取请求。电视装置2在从电视网关5未获取到宣传信息的情况下(步骤S101:否),结束处理。As described above, when the program guide configuration information is displayed, the television device 2 makes a request to obtain the promotional information from the television gateway 5 . When the television device 2 does not acquire the promotional information from the television gateway 5 (step S101: No), the television device 2 ends the process.
电视装置2在从电视网关5获取到宣传信息的情况下(步骤S101:是),参照宣传信息,判断是否有无基于显示开始日期时间和显示结束日期时间的有效期间内的广告信息(步骤S102)。电视装置2在不存在有效期间内的广告信息的情况下(步骤S102:否),结束处理。When the television device 2 acquires the promotional information from the television gateway 5 (step S101: Yes), it refers to the promotional information and determines whether 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 ). When there is no advertisement information within the valid period (step S102: No), the television device 2 ends the process.
电视装置2在存在有效期间内的广告信息的情况下(步骤S102:是),从宣传信息中提取显示的信息(步骤S103)。然后,电视装置2将提取到的信息全部显示或者在由用户操作而结束节目表显示为止的期间执行步骤S104的循环处理。When there is advertisement information within the validity period (step S102: Yes), the television device 2 extracts the information to be displayed from the promotional information (step S103). Then, the television device 2 displays all the extracted information or executes the loop process of step S104 until the program list display is terminated by 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 user selects the meaning of applying for recruitment promotion while the advertisement is being displayed (for example, during the loop process of step S104), the television device 2 displays the consultation information, receives the input of the consultation information, and cooperates. Instruction request. This consultation is a consultation that receives input of the user's attributes (gender, address, etc.).
需要说明的是,也可以是,电视装置2参照宣传信息,首先显示能够选择宣传的应募的画面,然后,执行图16-2所示的流程图的处理。即,也可以是,电视装置2分别独立地执行与广告显示相关的处理和与ID协作相关的处理。It should be noted that the television device 2 may refer to the promotional information, first display a screen where the advertised application can be selected, and then execute the process of the flowchart shown in FIG. 16-2 . That is, the television device 2 may independently execute the processing related to advertisement display and the processing related to ID cooperation.
接着,使用图17说明协作处理顺序。图17是示出协作处理顺序的流程图。假设TV云3生成的认证码及令牌包含识别制造商的信息。即,假设TV云3将识别自装置的信息包含在认证码及令牌中。Next, the cooperation processing sequence will be described using FIG. 17 . FIG. 17 is a flowchart showing the cooperation processing procedure. It is assumed that the authentication code and token generated by TV Cloud 3 contain information identifying the manufacturer. That is, it is assumed that the TV cloud 3 includes information for identifying its own device in the authentication code and the token.
在执行图16-1或图16-2所示的流程图的处理前,电视装置2利用随机数生成IFA-ID,并通知TV云3(步骤S111)。该IFA-ID是具有能够保证为唯一的程度的位数的数值。此外,电视装置2也可以发送电视装置2的TV模型名。另外,在步骤S111及步骤S112中,也可以进行承载认证。Before executing the process of the flowchart shown in FIG. 16-1 or 16-2, the television device 2 generates an IFA-ID using a random number and notifies the TV cloud 3 (step S111). The IFA-ID is a numerical value with enough digits to ensure that it is unique. In addition, the television device 2 may transmit the TV model name of the television device 2 . In addition, bearer authentication may also be performed in steps S111 and S112.
TV云3将IFA-ID向电视网关5发送(步骤S112)。然后,在步骤S113中,执行图16-1或图16-2所示的流程图的处理。在步骤S113中,若做出了协作指示,则电视装置2进行QR码请求(步骤S114)。The TV cloud 3 sends the IFA-ID to the TV gateway 5 (step S112). Then, in step S113, the process of the flowchart shown in FIG. 16-1 or 16-2 is executed. In step S113, if the cooperation instruction is issued, the television device 2 performs a QR code request (step S114).
另外,图17的步骤S114与图7的步骤S1、图11的步骤S12及图12的步骤S61同样。此外,在步骤S114中,电视装置2将与用户指定的EC网站(视频平台)对应的PF-ID向TV云3发送。In addition, step S114 in FIG. 17 is the same as step S1 in FIG. 7 , step S12 in FIG. 11 , and step S61 in FIG. 12 . Furthermore, in step S114, the television device 2 transmits the PF-ID corresponding to the EC website (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 responds by sending a QR code including the URL of the TV gateway 5 and the URL authentication code to the TV device 2. This QR code includes the URL of the television gateway 5 and the following time-limited authentication code.
{"code":<authorization code>(认证码),{"code":<authorization code>(authentication code),
"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(状态信息)}"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(status information)}
URL认证码是包含确定电视网关5的URL信息、用于进行内容提供服务器4和TV云3之间的认证的认证码、以及状态信息在内的信息。认证码也可以包含用于判别电视装置2的制造商的部分、以及用于判别电视装置2的部分。另外,认证码中包含的用于判别电视装置2的部分是随机的值。另外,TV云3也可以将向电视装置2发送了该值的时刻作为存储部311的DB的信息而建立对应。状态信息也可以包含将制造商的TC-ID和视频平台的PF-ID编码化而成的信息。The URL authentication code is information including URL information identifying the TV gateway 5, an authentication code used for authentication between the content providing server 4 and the TV cloud 3, and status information. The authentication code may include a part for identifying the manufacturer of the television device 2 and a part for identifying the television device 2 . In addition, the part used for identifying the television device 2 included in the authentication code is a random value. In addition, the TV cloud 3 may associate the time when the value is transmitted to the television device 2 as the information in the DB of the storage unit 311 . The status information may also include information encoding the manufacturer's TC-ID and the video platform's PF-ID.
URL认证码的信息的例子如以下所述。Examples of URL authentication code information are as follows.
https://XXXXXXX YYYYYYYYYhttps://XXXXXXX YYYYYYYYY
在X的部分中具有电视网关5的URL,在Y的部分中具有OAuth2的授权码(authorization code)。在授权码(authorization code)的部分中具有能够确定制造商和电视机的信息。能够确定制造商和电视装置2的信息也可以是其中某一者。URL认证码的发送形式也可以是任何形式,只要包含上述的信息即可。此外,在Y的部分也可以包含状态信息。The X part contains the URL of the TV gateway 5, and the Y part contains the OAuth2 authorization code. The authorization code section contains information that can identify the manufacturer and the television. The information that can identify the manufacturer and the television device 2 may be either one of them. The sending form of the URL authentication code can also be in any form, as long as it contains the above information. In addition, the Y part can also contain status 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 the URL authentication code from the TV cloud 3 , the display control unit 244 optically displays and outputs the content of the URL authentication code as an image or video on the video display unit 233 . In addition, the display form in the display control unit 244 may be a QR code, a barcode, a text, or the like, as long as the information included in the URL authentication code can be optically displayed and output as an image or video. In addition, in the first embodiment and the second embodiment, the QR code was used in the description. However, like the present embodiment, it is not limited to the QR code.
另外,与图7的步骤S3、图11的步骤S23、图12的步骤S63同样,在步骤S116中,用户终端1050从用摄像机构以光学方式拍摄到的图像信息中,利用URL认证码读取功能,读取在视像显示部233上以光学方式显示的URL认证码的信息。由此,用户终端1050获取电视网关5的URL及认证码等。该认证码部分为带时限的认证码,如以下这样构成。In addition, similarly to step S3 in FIG. 7 , step S23 in FIG. 11 , and step S63 in FIG. 12 , in step S116 , the user terminal 1050 reads the URL authentication code from the image information optically captured by the camera mechanism. The function reads the information of the URL authentication code optically displayed on the video display unit 233. Thereby, the user terminal 1050 acquires the URL, authentication code, etc. of the television gateway 5 . The authentication code part is a time-limited authentication code and is composed as follows.
"code":<authorization code>,"code":<authorization code>,
"state":<string>//随机数"state":<string>//Random number
在步骤S117中,用户终端1050若获取了电视网关5的URL、认证码及状态信息,则基于该URL,访问电视网关5,并且,发送认证码及状态信息,并进行认证要求。此外,状态信息如上所述,包含TC-ID和PF-ID。In step S117, if the user terminal 1050 obtains the URL, authentication code and status information of the TV gateway 5, it accesses the TV gateway 5 based on the URL, sends the authentication code and status information, and performs an authentication request. In addition, the status information includes TC-ID and PF-ID as mentioned above.
在认证要求时发送的信息如以下所述。The information sent when authentication is requested is as follows.
"code":<authorization code>,"code":<authorization code>,
"state":<string>//随机数"state":<string>//Random number
在步骤S118中,若电视网关5的获取部512接收到认证码及状态信息,则电视网关5的发送部513将包含表示协作指示的协作按钮在内的HTML形式的画面向用户终端1050发送。该HTML也可以包含访问PF-ID的OAuth2授权端点(Authorization Endpoint)的URL、以及参数。In step S118, if the acquisition unit 512 of the television gateway 5 receives the authentication code and the status information, the transmission unit 513 of the television gateway 5 transmits a screen in HTML format including a collaboration button indicating a collaboration instruction to the user terminal 1050. The HTML can also include the URL and parameters for accessing PF-ID's OAuth2 authorization endpoint (Authorization Endpoint).
用户终端1050获取上述的HTML形式的画面。然后,若通过用户终端1050的用户操作而按下了协作按钮(步骤S119),则对作为视频平台的内容提供服务器4进行认可要求。另外,内容提供服务器4接收该认可要求,将对其应答的主旨的信息向用户终端1050发送(步骤S120)。The user terminal 1050 acquires the above-mentioned screen in HTML format. Then, when the collaboration button is pressed by the user operation of the user terminal 1050 (step S119), an approval request is made to the content providing server 4 as the video platform. In addition, the content providing server 4 receives the approval request and sends information on the purpose of the response to the user terminal 1050 (step S120).
在上述认可要求时发送的信息例如是以下的构成。The information sent when the above-mentioned authorization request is made has the following structure, for example.
Authorization:"Basic"+Base64(<client_id>+":"+<client_secret>)RequestAuthorization:"Basic"+Base64(<client_id>+":"+<client_secret>)Request
{{
"response_type":"code""response_type":"code"
"code":<authorization code>(认证码)"code": <authorization code> (authentication code)
"redirect_uri":<TGW Endpoint>(电视网关5的终点)"redirect_uri": <TGW Endpoint> (the end point of TV gateway 5)
"client_id":<TG-ID>(电视网关5的ID)"client_id": <TG-ID> (ID of TV gateway 5)
"scope":<VPF提供>(令牌的认证范围)"scope": <VPF provided> (authentication scope of the token)
"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(状态信息)"state": HEX(JSON.stringify({"tcid"; <TC-ID>, "pfid"; <PF-ID>, "salt"; <random string>})+hash) (status information)
}}
此外,在电视装置2在步骤S119的时间点,经由TV云3对电视网关5进行了协作状态的确认请求的情况下(步骤S151、步骤S152),电视网关5将协作未完成的主旨的信息向电视装置2发送(步骤S153、步骤S154)。Furthermore, when the television device 2 requests the television gateway 5 to confirm the cooperation status via the TV cloud 3 at the time point of step S119 (steps S151 and S152), the television gateway 5 transmits information to the effect that the cooperation is not completed. Send to the television device 2 (step S153, step S154).
在内容提供服务器4中未登记用户信息的情况下,在用户终端1050和内容提供服务器4之间进行用户登记处理(步骤S121)。在此,用户登记处理是指,将用于向内容提供服务器4登录的信息即用户ID及口令进行登记、或者将用户的属性信息进行登记的处理。When the user information is not registered in the content providing server 4, user registration processing is performed between the user terminal 1050 and the content providing server 4 (step S121). Here, the user registration process refers to a process of registering a user ID and password, which are information used to log in to the content providing server 4, or registering the user's attribute information.
接着,用户终端1050向内容提供服务器4进行登录请求,内容提供服务器4做出与该登录请求相应的响应(步骤S122)。作为该响应的例子,输出以下的信息(认可码)。Next, the user terminal 1050 makes a login request to the content providing server 4, and the content providing server 4 responds in accordance with the login request (step S122). As an example of this response, the following information (authorization code) is output.
ResponseResponse
{"code":<authorization code>,{"code":<authorization code>,
"state":<state>}"state":<state>}
用户终端1050若接收到上述响应,则向电视网关5进行表示协作指示的重定向(步骤S123)。此外,用户终端1050也可以将上述认可码向电视网关5发送。When the user terminal 1050 receives the above response, it redirects the cooperation instruction to the television gateway 5 (step S123). In addition, the user terminal 1050 may also send the above-mentioned approval code to the television gateway 5 .
若电视网关5的获取部512接收到表示协作指示的重定向,则电视网关5基于从用户终端1050获取到的状态信息中包含的TC-ID,来确定制造商。即,电视网关5分派制造商(步骤S124)。If the acquisition unit 512 of the television gateway 5 receives the redirection indicating the cooperation instruction, the television gateway 5 determines the manufacturer based on the TC-ID included in the status information acquired from the user terminal 1050 . That is, the television gateway 5 assigns the manufacturer (step S124).
然后,在步骤S125中,电视网关5的发送部513通过向发送目的地的TV云3发送认证码,从而进行令牌请求(步骤S125)。Then, in step S125, the transmission unit 513 of the television gateway 5 performs a token request by transmitting the authentication code to the TV cloud 3 of the transmission destination (step S125).
在该令牌请求时发送的信息例如是以下的构成。The information sent when requesting the token has the following structure, for example.
Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)
Request ParametersRequest Parameters
{{
grant_type:"authorization_code”,grant_type: "authorization_code",
code:<authorization code>(认证码),code: <authorization code> (authentication code),
state:<string>(状态信息),state: <string> (status information),
redirect_uri:<redirect_uri>,redirect_uri:<redirect_uri>,
client_id:<TG-ID>client_id:<TG-ID>
}}
TV云3的生成部314通过参照存储部311的DB,判断是否存在与由获取部312获取到的识别内容提供服务器4的信息(例如,状态信息中包含的信息)及认证码对应的信息,从而进行认证。生成部314参照存储部311的DB,在存在与由获取部312获取到的识别内容提供服务器4的信息及认证码对应的信息的情况下,生成令牌(第1令牌)。另外,生成部314进一步将第1令牌与上述DB中的具有由获取部312获取到的识别内容提供服务器4的信息及认证码的信息建立对应。The generation unit 314 of the TV cloud 3 determines whether there is information corresponding to the information identifying the content providing server 4 (for example, information included in the status information) and the authentication code acquired by the acquisition unit 312 by referring to the DB of the storage unit 311, thereby authenticating. The generation unit 314 refers to the DB of the storage unit 311, and generates a token (first token) when there is information corresponding to the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312. In addition, the generation unit 314 further associates the first token with information including the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312 in the DB.
在步骤S126中,TV云3的发送部313将由生成部314生成的第1令牌向电视网关5发送。In step S126, the transmitting unit 313 of the TV cloud 3 transmits the first token generated by the generating unit 314 to the television gateway 5.
具体而言,TV云3的发送部313将OAuth2的令牌响应(Token Response)作为令牌发送到电视网关5。该响应的OAuth2访问令牌响应(Access token Response)如以下这样构成。Specifically, the transmitting unit 313 of the TV Cloud 3 transmits the OAuth2 token response (Token Response) as a token to the TV gateway 5 . The OAuth2 access token response (Access token Response) of this response is composed as follows.
ResponseResponse
{"access_token":<access token>,{"access_token": <access token>,
"token_type":"Bearer","token_type":"Bearer",
"expires_in":3600,"expires_in": 3600,
"refresh_token":<refresh token>}"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时,在前头加上识别电视机制造商的标识符,从而能够确定电视机制造商。TV cloud 3 brings access_token when accessing TV gateway 5. expires_in is the validity period (seconds) of the access_token. When the access_token is received, it is stored together with the time when it becomes invalid. The access_token is reused until then. The refresh_token is secretly kept by the content providing server 4. This is because, in terms of security, simply placing it in local storage is not good. When each manufacturer issues an access_token or a refresh_token, the television manufacturer can be identified by adding an identifier for identifying the television manufacturer at the beginning.
若电视网关5的获取部512获取了上述第1令牌,则电视网关5的发送部513发送包含认可码的信息并且向内容提供服务器4进行令牌请求(步骤S127)。When the acquisition unit 512 of the television gateway 5 acquires the first token, the transmission unit 513 of the television gateway 5 transmits information including the authorization code and makes a token request to the content providing server 4 (step S127).
在该令牌请求时发送的信息例如是以下的构成。The information sent when requesting the token has the following structure, for example.
Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)
RequestRequest
{{
grant_type:"authorization_code”,grant_type: "authorization_code",
code:<code>(认可码),code: <code> (approval code),
state:<string>(状态信息),state: <string> (status information),
redirect_uri:<TGW Endpoint>,redirect_uri:<TGW Endpoint>,
client_id:<TG-ID>}client_id:<TG-ID>}
内容提供服务器4基于从电视网关5获取的认可码,确定该认可码所对应的用户ID。然后,内容提供服务器4生成基于该用户ID的令牌即第2令牌。The content providing server 4 determines the user ID corresponding to the authorization code based on the authorization code obtained from the television gateway 5 . Then, the content providing server 4 generates a token based on the user ID, that is, a second token.
在步骤S128中,内容提供服务器4将生成的第2令牌向电视网关5发送。此外,内 容提供服务器4也可以将第2令牌、用户ID、以及用户属性信息建立对应地存储。In step S128, the content providing server 4 sends the generated second token to the television gateway 5. In addition, the content providing server 4 may store the second token, the user ID, and the user attribute information in association with each other.
具体而言,内容提供服务器4将OAuth2的令牌响应(Token Response)作为令牌发送到电视网关5。该响应的OAuth2访问令牌响应(Access token Response)如以下这样构成。Specifically, the content providing server 4 sends the OAuth2 token response (Token Response) as a token to the television gateway 5 . The OAuth2 access token response (Access token Response) of this response is composed as follows.
{"access_token":<access token>,{"access_token": <access token>,
"token_type":"Bearer","token_type":"Bearer",
"expires_in":3600,"expires_in": 3600,
"refresh_token":<refresh token>}"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 transmitting unit 513 of the television gateway 5 transmits the second token to the content providing server 4 and makes a user information request to the content providing server 4 (step S129).
在该用户信息请求时发送的信息例如是以下的构成。The information sent when requesting user information has the following structure, for example.
Authorization:"Bearer"+<access token>)Authorization: "Bearer"+<access token>)
内容提供服务器4检索与从电视网关5获取到的第2令牌对应的用户ID及用户的属性信息,将这些信息作为响应向电视网关5发送(步骤S130)。由此,电视网关5的获取部512获取用户ID及用户的属性信息。该响应的信息如以下这样构成。The content providing server 4 searches for the user ID and the user's attribute information corresponding to the second token acquired from the television gateway 5, and sends these information to the television gateway 5 as a response (step S130). Thereby, the acquisition unit 512 of the television gateway 5 acquires the user ID and the user's attribute information. The response information is composed as follows.
ResponseResponse
{"user_id":<UR-ID>(内容提供服务器4的网站中的用户ID),{"user_id": <UR-ID> (user ID in the website of content providing server 4),
"Preference":<当前的用户属性>(用户的出生年月日、性别、邮政编码、购买历史等)}"Preference": <Current user attributes> (User's date of birth, gender, zip code, purchase history, etc.)}
在步骤S131中,内容提供服务器4发送PF-ID,并且进行设备信息请求。在该设备信息请求时发送的信息例如是以下的构成。In step S131, the content providing server 4 sends the PF-ID and performs a device information request. The information sent in this device information request has the following structure, for example.
Authorization:"Basic"+Base64(PF-ID+":"+<client_secret>)Authorization:"Basic"+Base64(PF-ID+":"+<client_secret>)
若电视网关5的获取部512从内容提供服务器4接收到设备信息请求,则电视网关5的发送部513将与在步骤S127中发送的第2令牌对应的第1令牌发送到TV云3,并且进行设备信息请求(步骤S132)。在该设备信息请求时发送的信息例如是以下的构成。When the acquisition unit 512 of the TV gateway 5 receives the device information request from the content providing server 4, the sending unit 513 of the TV gateway 5 sends the first token corresponding to the second token sent in step S127 to the TV cloud 3 , and perform a device information request (step S132). The information sent in this device information request has the following structure, for example.
Authorization:"Bearer"+<access token>)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 the information of the device corresponding to the HA-ID (the television device corresponding to the HA-ID 2 attribute information).
在步骤S133中,TV云3的发送部313将HA-ID等信息作为响应,向电视网关5发送。电视网关5的获取部512获取HA-ID、以及与该HA-ID对应的设备的信息。作为该响应的例子,存在以下这样的例子。In step S133, the transmitting unit 313 of the TV cloud 3 sends the HA-ID and other information as a response to the television gateway 5. The acquisition unit 512 of the television gateway 5 acquires the HA-ID and information about the device corresponding to the HA-ID. Examples of this response include the following.
ResponseResponse
{{
·"device_id":<HA-ID>(HA-ID)·"device_id":<HA-ID>(HA-ID)
·"model":<model name>(电视装置2的模型即显示画面英寸、2K、4K、8K等像素数量信息等)·"model": <model name> (The model of the television device 2 is the display screen inch, pixel number 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 associates the acquired HA-ID, the user ID, the model information (model) which is the attribute information of the television device 2, and the PF-ID as a DB. The information is registered in the storage unit 511. In addition, the generation unit 514 of the television gateway 5 may further include the user's attribute information in the binding information.
在步骤S135中,电视网关5对于用户终端1050,与上述认可码一起进行响应(步骤S135)。In step S135, the television gateway 5 responds to the user terminal 1050 together with the above-mentioned authorization code (step S135).
在步骤S134以后,在电视装置2经由TV云3对电视网关5进行了协作状态的确认请求的情况下(步骤S136、步骤S137),电视网关5将协作完成了的主旨的信息(识别进行了协作的内容提供服务器4的信息等)向电视装置2发送(步骤S138、步骤S139)。另外,电视网关5将IFA-ID向内容提供服务器4通知(步骤S140)。After step S134, when the television device 2 requests the television gateway 5 to confirm the cooperation status via the TV cloud 3 (steps S136 and S137), the television gateway 5 transmits information indicating that the cooperation has been completed (identification that the cooperation has been completed). (information on the cooperating content providing server 4, etc.) is sent to the television device 2 (steps S138 and S139). In addition, the television gateway 5 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)。In addition, when the IFA-ID is updated in the television device 2, the updated IFA-ID is notified to the TV cloud 3 (step S141). TV cloud 3 sends the updated IFA-ID to TV gateway 5. The television gateway 5 sends 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 cooperation cancellation process will be described using the flowchart shown in FIG. 18 . FIG. 18 is a flowchart showing collaboration cancellation processing. Based on the user's operation, the television device 2 makes a collaboration cancellation request to the TV cloud 3 (step S161). Based on the cancellation request from the television device 2, the TV cloud 3 makes a cooperation cancellation request to the television gateway 5 (step S162). In addition, in steps S161 and S162, the television device 2 or the TV cloud 3 may also send the IFA-ID together with the collaboration 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 television gateway 5 notifies the content providing server 4 of the cooperation cancellation request (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 that the binding information has been deleted (step S165). In addition, TV Cloud 3 can also delete the 1st token. In addition, the content providing server 4 notifies the television gateway 5 of the cancellation of the cooperation (step S166), and the television gateway 5 notifies the TV cloud 3 of the cancellation of the cooperation (step S167).
接着,使用图19来说明经由用户终端1050的操作来取消协作的处理顺序。图19是示出经由用户终端1050的操作来取消协作的处理顺序的流程图。Next, a processing sequence for canceling collaboration via an operation of the user terminal 1050 will be described using FIG. 19 . FIG. 19 is a flowchart showing the processing sequence of canceling cooperation via the operation of the user terminal 1050.
设想用户操作电视装置2的遥控器等,在所谓的入口画面中,开始用户指定想要取消与智能手机1协作的内容提供服务器4的场景。It is assumed that the user operates the remote control of the television device 2 and the like, and the user specifies that he or she wants to cancel the content providing server 4 that cooperates with the smartphone 1 on a so-called portal screen.
图19的步骤S180与图7的步骤S1、图11的步骤S12同样。此外,在步骤S180中,电视装置2将与用户指定的内容提供服务器4对应的PF-ID向TV云3发送。Step S180 in FIG. 19 is the same as step S1 in FIG. 7 and step S12 in FIG. 11 . Furthermore, in step S180 , the television device 2 transmits the PF-ID corresponding to the content providing server 4 specified by the user to the TV cloud 3 .
在步骤S181中,TV云3作为响应,将包含电视网关5的URL和URL认证码的在内QR码发送到电视装置2。在该QR码中,包含电视网关5的URL、以及下述的带时限的认证码。In step S181, the TV cloud 3 responds by sending the QR code including the URL of the TV gateway 5 and the URL authentication code to the TV device 2. This QR code includes the URL of the television gateway 5 and the following time-limited authentication code.
{"code":<authorization code>(认证码),{"code":<authorization code>(authentication code),
"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(状态信息)}"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(status information)}
URL认证码是包含确定电视网关5的URL信息、用于进行内容提供服务器4和TV云3之间的认证的认证码、以及状态信息在内的信息。认证码也可以包含用于判别电视装置2的制造商的部分、以及用于判别电视装置2的部分。另外,认证码中包含的用于判别电视装置2的部分是随机的值。另外,TV云3也可以将向电视装置2发送了该值的时刻作为存储部311的DB的信息而建立对应。状态信息也可以包含将制造商的TC-ID和视 频平台的PF-ID编码化而成的信息。The URL authentication code is information including URL information identifying the TV gateway 5, an authentication code used for authentication between the content providing server 4 and the TV cloud 3, and status information. The authentication code may include a part for identifying the manufacturer of the television device 2 and a part for identifying the television device 2 . In addition, the part used for identifying the television device 2 included in the authentication code is a random value. In addition, the TV cloud 3 may associate the time when the value is transmitted to the television device 2 as the information in the DB of the storage unit 311 . The status information may also include information encoding the manufacturer's TC-ID and the video platform's PF-ID.
URL认证码的信息的例子如以下所述。Examples of URL authentication code information are as follows.
https://XXXXXXX YYYYYYYYYhttps://XXXXXXX YYYYYYYYY
在X的部分中具有电视网关5的URL,在Y的部分中具有OAuth2的授权码(authorization code)。在授权码(authorization code)的部分中具有能够确定制造商和电视机的信息。能够确定制造商和电视装置2的信息也可以是其中某一者。URL认证码的发送形式也可以是任何形式,只要包含上述的信息即可。此外,在Y的部分也可以包含状态信息。The X part contains the URL of the TV gateway 5, and the Y part contains the OAuth2 authorization code. The authorization code section contains information that can identify the manufacturer and the television. The information that can identify the manufacturer and the television device 2 may be either one of them. The sending form of the URL authentication code can also be in any form, as long as it contains the above information. In addition, the Y part can also contain status 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 the URL authentication code from the TV cloud 3 , the display control unit 244 optically displays and outputs the content of the URL authentication code as an image or video on the video display unit 233 . In addition, the display form in the display control unit 244 may be a QR code, a barcode, a text, or the like, as long as the information included in the URL authentication code can be optically displayed and output as an image or video. In addition, in the first embodiment and the second embodiment, the QR code was used in the description. However, like the present embodiment, it is not limited to the QR code.
另外,与图7的步骤S3、图11的步骤S23同样,在步骤S182中,用户终端1050从用摄像机构以光学方式拍摄到的图像信息中,利用URL认证码读取功能,读取在视像显示部233上以光学方式显示的URL认证码的信息。由此,用户终端1050获取电视网关5的URL及认证码等。该认证码部分为带时限的认证码,如以下这样构成。In addition, similarly to step S3 in FIG. 7 and step S23 in FIG. 11 , in step S182 , the user terminal 1050 uses the URL authentication code reading function to read the image information in view from the image information optically captured by the camera mechanism. The information of the URL authentication code is optically displayed on the image display unit 233. Thereby, the user terminal 1050 acquires the URL, authentication code, etc. of the television gateway 5 . The authentication code part is a time-limited authentication code and is composed as follows.
"code":<authorization code>,"code":<authorization code>,
"state":<string>//随机数"state":<string>//Random number
在步骤S183中,用户终端1050若获取了电视网关5的URL、认证码及状态信息,则基于该URL,访问电视网关5,并且,发送认证码及状态信息,并进行认证要求。此外,状态信息如上所述,包含TC-ID和PF-ID。In step S183, if the user terminal 1050 obtains the URL, authentication code and status information of the TV gateway 5, it accesses the TV gateway 5 based on the URL, sends the authentication code and status information, and performs an authentication request. In addition, the status information includes TC-ID and PF-ID as mentioned above.
在认证要求时发送的信息如以下所述。The information sent when authentication is requested is as follows.
"code":<authorization code>,"code":<authorization code>,
"state":<string>//随机数"state":<string>//Random number
在步骤S184中,若电视网关5的获取部512接收到认证码及状态信息,则电视网关5的发送部513将包含表示协作取消指示的协作取消按钮在内的HTML形式的画面向用户终端1050发送。该HTML也可以包含访问PF-ID的OAuth2授权端点(Authorization Endpoint)的URL、以及参数。In step S184, if the acquisition unit 512 of the television gateway 5 receives the authentication code and the status information, the transmission unit 513 of the television gateway 5 transmits a screen in HTML format including a collaboration cancel button indicating a collaboration cancellation instruction to the user terminal 1050 send. The HTML can also include the URL and parameters for accessing PF-ID's OAuth2 authorization endpoint (Authorization Endpoint).
用户终端1050获取上述的HTML形式的画面。然后,若通过用户终端1050的用户操作按下了协作取消按钮(步骤S185),则对作为视频平台的内容提供服务器4进行认可要求。另外,内容提供服务器4接收该认可要求,将对其应答的主旨的信息向用户终端1050发送(步骤S186)。The user terminal 1050 acquires the above-mentioned screen in HTML format. Then, when the collaboration cancel button is pressed by the user operation of the user terminal 1050 (step S185), an approval request is made to the content providing server 4 as the video platform. In addition, the content providing server 4 receives the approval request and sends information on the purpose of the response to the user terminal 1050 (step S186).
在上述认可要求时发送的信息例如是以下的构成。The information sent when the above-mentioned authorization request is made has the following structure, for example.
Authorization:"Basic"+Base64(<client_id>+":"+<client_secret>)RequestAuthorization:"Basic"+Base64(<client_id>+":"+<client_secret>)Request
{{
"response_type":"code""response_type":"code"
"code":<authorization code>(认证码)"code": <authorization code> (authentication code)
"redirect_uri":<TGW Endpoint>(电视网关5的终点)"redirect_uri": <TGW Endpoint> (the end point of TV gateway 5)
"client_id":<TG-ID>(电视网关5的ID)"client_id": <TG-ID> (ID of TV gateway 5)
"scope":<VPF提供>(令牌的认证范围)"scope": <VPF provided> (authentication scope of the token)
"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(状态信息)}"state":HEX(JSON.stringify({"tcid";<TC-ID>,"pfid";<PF-ID>,"salt";<random string>})+hash)(status information)}
此外,在电视装置2在步骤S185的时间点,经由TV云3对电视网关5进行了协作状态的确认请求的情况下(步骤S251、步骤S252),电视网关5将正在协作的主旨的信息向电视装置2发送(步骤S253、步骤S254)。In addition, when the television device 2 requests the television gateway 5 to confirm the cooperation status via the TV cloud 3 at the time point of step S185 (steps S251 and S252), the television gateway 5 sends information on the purpose of the cooperation to The television device 2 transmits (step S253, step S254).
接着,用户终端1050向内容提供服务器4进行登录请求,内容提供服务器4做出与该登录请求相应的响应(步骤S188)。作为该响应的例子,输出以下的信息(认可码)。Next, the user terminal 1050 makes a login request to the content providing server 4, and the content providing server 4 responds in accordance with the login request (step S188). As an example of this response, the following information (authorization code) is output.
ResponseResponse
{"code":<authorization code>,{"code":<authorization code>,
"state":<state>}"state":<state>}
用户终端1050若接收到上述响应,则向电视网关5进行表示协作指示的重定向(步骤S189)。此外,用户终端1050也可以将上述认可码向电视网关5发送。When the user terminal 1050 receives the above response, it redirects the cooperation instruction to the television gateway 5 (step S189). In addition, the user terminal 1050 may also send the above-mentioned approval code to the television gateway 5 .
然后,在步骤S72中,电视网关5的发送部513通过向发送目的地的TV云3发送认证码,从而进行令牌请求(步骤S190)。Then, in step S72, the transmission unit 513 of the television gateway 5 performs a token request by transmitting the authentication code to the TV cloud 3 of the transmission destination (step S190).
在该令牌请求时发送的信息例如是以下的构成。The information sent when requesting the token has the following structure, for example.
Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)
Request ParametersRequest Parameters
{grant_type:"authorization_code”,{grant_type: "authorization_code",
code:<authorization code>(认证码),code: <authorization code> (authentication code),
state:<string>(状态信息),state: <string> (status information),
redirect_uri:<redirect_uri>,redirect_uri:<redirect_uri>,
client_id:<TG-ID>client_id:<TG-ID>
}}
TV云3的生成部314通过参照存储部311的DB,判断是否存在与由获取部312获取到的识别内容提供服务器4的信息(例如,状态信息中包含的信息)及认证码对应的信息,从而进行认证。在生成部314参照存储部311的DB,存在与由获取部312获取到的识别内容提供服务器4的信息及认证码对应的信息的情况下,TV云3的发送部313将第1令牌向电视网关5发送(步骤S191)。The generation unit 314 of the TV cloud 3 determines whether there is information corresponding to the information identifying the content providing server 4 (for example, information included in the status information) and the authentication code acquired by the acquisition unit 312 by referring to the DB of the storage unit 311, thereby authenticating. When the generation unit 314 refers to the DB of the storage unit 311 and there is information corresponding to the information identifying the content providing server 4 and the authentication code acquired by the acquisition unit 312, the transmission unit 313 of the TV cloud 3 sends the first token to The television gateway 5 sends (step S191).
具体而言,TV云3的发送部313将OAuth2的令牌响应(Token Response)作为令牌发送到电视网关5。该响应的OAuth2访问令牌响应(Access token Response)如以下这样构成。Specifically, the transmitting unit 313 of the TV Cloud 3 transmits the OAuth2 token response (Token Response) as a token to the TV gateway 5 . The OAuth2 access token response (Access token Response) of this response is composed as follows.
ResponseResponse
{"access_token":<access token>,{"access_token": <access token>,
"token_type":"Bearer","token_type":"Bearer",
"expires_in":3600,"expires_in": 3600,
"refresh_token":<refresh token>}"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时,在前头加上识别电视机制造商的标识符,从而能够确定电视机制造商。TV cloud 3 brings access_token when accessing TV gateway 5. expires_in is the validity period (seconds) of the access_token. When the access_token is received, it is stored together with the time when it becomes invalid. The access_token is reused until then. The refresh_token is secretly kept by the content providing server 4. This is because, in terms of security, simply placing it in local storage is not good. When each manufacturer issues an access_token or a refresh_token, the television manufacturer can be identified by adding an identifier for identifying the television manufacturer at the beginning.
若电视网关5的获取部512获取了上述第1令牌,则电视网关5的发送部513发送包含认可码的信息并且向内容提供服务器4进行令牌请求(步骤S192)。When the acquisition unit 512 of the television gateway 5 acquires the first token, the transmission unit 513 of the television gateway 5 transmits the information including the authorization code and makes a token request to the content providing server 4 (step S192).
在该令牌请求时发送的信息例如是以下的构成。The information sent when requesting the token has the following structure, for example.
Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)Authorization:"Basic"+Base64(TG-ID+":"+<client_secret>)
RequestRequest
{{
grant_type:"authorization_code”,grant_type: "authorization_code",
code:<code>(认可码),code: <code> (approval code),
state:<string>(状态信息),state: <string> (status information),
redirect_uri:<TGW Endpoint>,redirect_uri:<TGW Endpoint>,
client_id:<TG-ID>client_id:<TG-ID>
}}
在步骤S193中,内容提供服务器4将生成的第2令牌向电视网关5发送。In step S193, the content providing server 4 sends the generated second token to the television gateway 5.
具体而言,内容提供服务器4将OAuth2的令牌响应(Token Response)作为令牌发送到电视网关5。该响应的OAuth2访问令牌响应(Access token Response)如以下这样构成。Specifically, the content providing server 4 sends the OAuth2 token response (Token Response) as a token to the television gateway 5 . The OAuth2 access token response (Access token Response) of this response is composed as follows.
{"access_token":<access token>,{"access_token": <access token>,
"token_type":"Bearer","token_type":"Bearer",
"expires_in":3600,"expires_in": 3600,
"refresh_token":<refresh token>}"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 transmitting unit 513 of the television gateway 5 transmits the second token to the content providing server 4 and makes a user information request to the content providing server 4 (step S194).
在该用户信息请求时发送的信息例如是以下的构成。The information sent when requesting user information has the following structure, for example.
Authorization:"Bearer"+<access token>)Authorization: "Bearer"+<access token>)
内容提供服务器4检索与从电视网关5获取到的第2令牌对应的用户ID及用户的属性信息,将这些信息作为响应向电视网关5发送(步骤S195)。由此,电视网关5的获取部512获取用户ID及用户的属性信息。该响应的信息如以下这样构成。The content providing server 4 searches for the user ID and the user's attribute information corresponding to the second token acquired from the television gateway 5, and sends these information to the television gateway 5 as a response (step S195). Thereby, the acquisition unit 512 of the television gateway 5 acquires the user ID and the user's attribute information. The response information is composed as follows.
ResponseResponse
{"user_id":<UR-ID>(内容提供服务器4的网站中的用户ID),{"user_id": <UR-ID> (user ID in the website of content providing server 4),
"Preference":<当前的用户属性>(用户的出生年月日、性别、邮政编码、购买历史等)}"Preference": <Current user attributes> (User's date of birth, gender, zip code, purchase history, etc.)}
电视网关5的发送部513将第1令牌发送到TV云3,并且进行设备信息请求(步骤S196)。在该设备信息请求时发送的信息例如是以下的构成。The transmitting unit 513 of the television gateway 5 transmits the first token to the TV cloud 3 and performs a device information request (step S196). The information sent in this device information request has the following structure, for example.
Authorization:"Bearer"+<access token>)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 the information of the device corresponding to the HA-ID (the television device corresponding to the HA-ID 2 attribute information).
在步骤S197中,TV云3的发送部313将HA-ID等信息作为响应,向电视网关5发送。电视网关5的获取部512获取HA-ID、以及与该HA-ID对应的设备的信息。作为该响应的例子,存在以下这样的例子。In step S197, the transmitting unit 313 of the TV cloud 3 sends the HA-ID and other information as a response to the television gateway 5. The acquisition unit 512 of the television gateway 5 acquires the HA-ID and information about the device corresponding to the HA-ID. Examples of this response include the following.
ResponseResponse
{{
·"device_id":<HA-ID>(HA-ID)·"device_id":<HA-ID>(HA-ID)
·"model":<model name>(电视装置2的模型即显示画面英寸、2K、4K、8K等像素数量信息等)}·"model": <model name> (The model of the television device 2 is the display screen inch, pixel number 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). In addition, the TV gateway 5 may also notify the TV cloud 3 that the binding information has been deleted.
电视装置2在步骤S198以后,经由TV云3对电视网关5进行了协作状态的确认请求的情况下(步骤S199、步骤S200),电视网关5将未进行协作的主旨的信息向电视装置2发送(步骤S201、步骤S202)。When the television device 2 requests the television gateway 5 to confirm the cooperation status via the TV cloud 3 after step S198 (steps S199 and S200), the television gateway 5 sends information to the television device 2 indicating that cooperation is not performed. (Step S201, step S202).
在上述的实施方式中,在显示节目表时,描述了显示宣传信息的情况,但是,也可以在经由网络而在节目广播中(线性地发布的动态图像内容发布的节目)在指定的时刻在画面上显示广告时,显示宣传信息。In the above-mentioned embodiment, the case where promotional information is displayed when the program list is displayed has been described. However, it may also be possible to display promotional information at a designated time during program broadcast (a program in which moving image content is linearly distributed) via the network. When an advertisement is displayed on the screen, promotional information is displayed.
例如,也可以使用图20所示那样的可点击式广告来显示宣传信息。图20是可点击式广告的信息的例子。该广告信息包含:表示广告信息的对象(Object)的Array的信息(ad_list);表示广告类型的信息(ad_type);以及表示广告图片的URL的信息(img_url)等。For example, the promotional information may be displayed using a clickable advertisement as shown in FIG. 20 . FIG. 20 is an example of information of a clickable advertisement. The advertisement information includes: information (ad_list) indicating an Array of advertisement information objects (Object); information indicating an advertisement type (ad_type); information indicating a URL of an advertisement image (img_url), and the like.
在上述的实施方式中,在图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-mentioned embodiment, in the process of the flowchart shown in FIG. 17 , the case where the television gateway 5 makes a user information request to the content providing server 4 and acquires the UR-ID from the content providing server 4 has been described. However, the present invention is not limited to this. this. For example, a modification of the flowchart of FIG. 17 is shown in FIG. 21 . Description of the same parts as the processing explained in FIG. 17 is omitted. Instead of providing the UR-ID in steps S128 or S130 shown in FIG. 21, the television gateway 5 may issue a temporary UR-ID and include it in the HTML format code in step S118. This parameter is included in the value of "state". In this case, the user terminal 1050 transmits the value to the content providing server 4 in step S120. In addition, as described above in the flowchart of FIG. 12 , the television gateway 5 may issue a temporary UR-ID.
本实施方式的电视网关5预先存储宣传信息,在电视装置2显示节目表的时刻等规定的时刻,将宣传信息向电视装置2发送。宣传信息具有广告信息部分350,该广告信息部分350包含表示广告的显示种类的信息和表示广告内容的信息。The television gateway 5 of this embodiment stores promotional information in advance and transmits the promotional information to the television device 2 at a predetermined time such as when the television device 2 displays a program list. The promotional information has an advertisement information part 350 that includes information indicating the display type of the advertisement and information indicating the content of the advertisement.
另外,电视网关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建立对应。In addition, the TV gateway 5 acquires the authentication code from the user terminal 1050, sends the authentication code to the TV cloud 3 of the transmission destination determined based on the authentication code, acquires the first token from the TV cloud 3, and acquires the second token from the content providing server 4. Token. Then, the television gateway 5 transmits the second token to the content providing server 4 to obtain the user ID, and transmits the first token to the TV cloud 3 to obtain the ID (for example, HA-ID) of the television device 2 . In this way, the television gateway 5 acquires the user ID from the content providing server 4 and acquires the ID of the television device 2 from the TV cloud 3 , thereby being able to associate the user ID with the ID of the television device 2 .
在此情况下,因为电视网关5将用户ID与电视装置2的ID建立对应地存储,所以,TV云3不必管理用户ID,能够减轻TV云3的信息管理负担。另外,因为电视网关5从 用户终端1050获取了认证码,所以不必从内容提供服务器4将该认证码发送到电视网关5,还能够减轻内容提供服务器4的处理负担。即,电视网关5能够适当地执行使接收机的标识符(电视装置2的ID)与终端的标识符(用户终端1050的用户ID)协作的处理。另外,电视网关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 of the TV cloud 3 can be reduced. In addition, since the television gateway 5 acquires the authentication code from the user terminal 1050, it is not necessary to send the authentication code from the content providing server 4 to the television gateway 5, and the processing load on the content providing server 4 can also be reduced. That is, the television gateway 5 can appropriately execute the process of cooperating the identifier of the receiver (the ID of the television device 2) and the identifier of the terminal (the user ID of the user terminal 1050). In addition, the television gateway 5 can facilitate the process of linking the ID of the television device 2 and the user ID of the user terminal 1050 by outputting promotional information.
另外,电视网关5在宣传信息中具有广告信息,该广告信息包含表示广告的显示种类的信息和表示广告内容的信息,因此,电视装置2根据广告的显示种类而切换显示方式来输出广告信息,由此能够进一步促进与用户终端1050的用户ID协作的处理。另外,电视网关5在宣传信息中包含有多个广告信息,由此电视装置2能够依次输出多个广告。In addition, the television gateway 5 includes advertisement information in the promotional information, and the advertisement information includes information indicating the display type of the advertisement and information indicating the content of the advertisement. Therefore, the television device 2 switches the display mode according to the display type of the advertisement and outputs the advertisement information. This can further facilitate processing of cooperation with the user ID of the user terminal 1050 . In addition, the television gateway 5 includes a plurality of advertisement information in the publicity information, so that the television device 2 can sequentially output a plurality of advertisements.
另外,电视网关5在使电视装置2的ID与用户终端1050的用户ID协作之后,将IFA-ID向内容提供服务器4发送。由此,电视网关5不必将电视装置2的ID向内容提供服务器4公开,就能够提供能确定电视装置2的信息。In addition, the television gateway 5 coordinates 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 having to disclose the ID of the television device 2 to the content providing server 4 .
虽然说明了本申请的若干个实施方式,但是,这些实施方式仅是作为例子而出示的,并非意图限定申请的范围。例如,上述实施方式中的电视装置也可以是如机顶盒、录像机那样不具备显示机构,而具备对外部的显示装置输出视像信号的接收功能的电子装置。另外,这些新的实施方式能够以其它各种各样的形态来实施,在不脱离申请的主旨的范围内能够进行各种省略、替换、变更。这些实施方式、其变形被包含在申请的范围、主旨中,并且被包含在权利要求书记载的发明及其等同的范围中。Although several embodiments of the present application have been described, these embodiments are provided as examples only and are not intended to limit the scope of the application. For example, the television device in the above embodiment may be an electronic device that does not have a display mechanism, such as a set-top box or a video recorder, but has a reception function for outputting a video signal to an external display device. In addition, these new embodiments can be implemented in various other forms, and various omissions, substitutions, and changes can be made without departing from the spirit of the application. These embodiments and modifications thereof are included in the scope and gist of the application, and are included in the scope of the invention described in the claims and their equivalents.
例如,也可以对于显示于用户终端的图像图标中的、能在电视装置中放大显示的图像图标中,在该图像图标上、或附近设置向电视装置放大显示的指示的按钮,另外,也可以对于该可放大显示的图像图标,变更用于与其它的不可放大显示的图像图标进行可识别地辨认的色彩、形状、显示形态。另外,也可以在从用户终端向电视装置指示了放大显示时、或电视装置中的显示处理时,经由用户终端或电视装置进行语音通知。For example, among the image icons displayed on the user terminal and which can be enlarged and displayed on the television device, a button instructing the television device to enlarge the display may be provided on or near the image icon. Alternatively, The color, shape, and display form of the image icon that can be displayed in an enlarged manner are changed so that it can be clearly recognized from other image icons that cannot be displayed in an enlarged manner. In addition, when an enlarged display is instructed from the user terminal to the television device, or when display processing is performed on the television device, a voice notification may be made via the user terminal or the television device.
Claims (6)
- A server management device capable of transmitting and receiving information to and from a plurality of server devices storing information associating an identifier of a broadcast receiving device, an authentication code, an identifier of a content providing device, and a 1 st token,the server management device is provided with:a storage unit that stores promotion information that promotes associating an identifier of the broadcast receiving apparatus with an identifier of a terminal apparatus of a user of the content providing apparatus;a promotion information transmitting unit that transmits the promotion information to the broadcast receiving apparatus;An authentication code transmitting unit that transmits the authentication code to the broadcast receiving apparatus in response to a request based on the promotion information from the broadcast receiving apparatus;an authentication request acquisition unit that acquires an authentication request including the authentication code, an identifier of a content providing device, and an identifier of the server device from a terminal device that acquired the authentication code;a cooperation instruction acquisition unit that acquires, from the terminal device, a notification of a cooperation instruction of an identifier of the broadcast receiving device and a user identifier of the terminal device;a 1 st token acquisition unit that acquires a 1 st token corresponding to the authentication code from a server device corresponding to the authentication request after acquiring the notification of the cooperation instruction;a 2 nd token acquisition unit that acquires a 2 nd token corresponding to the user identifier of the terminal device from a content providing device corresponding to the authentication request;a broadcast receiving apparatus identifier acquisition unit that acquires an identifier of a broadcast receiving apparatus corresponding to the 1 st token from the server apparatus;a user identifier acquisition unit that acquires a user identifier of a terminal device corresponding to the 2 nd token from the content providing device; andAnd a registration unit that registers an identifier of the broadcast receiving apparatus corresponding to the 1 st token and a user identifier of the terminal apparatus corresponding to the 2 nd token in association with each other.
- The server management apparatus according to claim 1, wherein,the server management device further includes:a 2 nd identifier acquisition unit that acquires a 2 nd identifier of the broadcast receiving apparatus generated by the broadcast receiving apparatus; andand a 2 nd identifier transmitting unit that, after the registration unit registers the identifier of the broadcast receiving device corresponding to the 1 st token and the user identifier of the terminal device corresponding to the 2 nd token in association with each other, transmits the 2 nd identifier of the broadcast receiving device corresponding to the 1 st token to the content providing device of the acquisition source of the 2 nd token.
- The server management apparatus according to claim 1, wherein,the promotion information transmitting unit transmits the promotion information together with program table information.
- The server management apparatus according to claim 1, wherein,the promotion information transmitting unit transmits the promotion information by including the promotion information in the selectable advertisement information.
- The server management apparatus according to any one of claims 1 to 4, wherein,The promotion information has advertisement information including information indicating a display type of an advertisement and information indicating advertisement content.
- The server management apparatus according to claim 5, wherein,the promotion information includes a plurality of advertisement information.
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021-168837 | 2021-10-14 | ||
| JP2022-063747 | 2022-04-07 | ||
| JP2022063747A JP7659520B2 (en) | 2022-04-07 | 2022-04-07 | Server management device |
| PCT/CN2022/102444 WO2023060949A1 (en) | 2021-10-14 | 2022-06-29 | Server management apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116803086A true CN116803086A (en) | 2023-09-22 |
Family
ID=88044188
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202280007639.5A Pending CN116803086A (en) | 2021-10-14 | 2022-06-29 | Server management device |
Country Status (2)
| Country | Link |
|---|---|
| JP (2) | JP7659520B2 (en) |
| CN (1) | CN116803086A (en) |
Families Citing this family (1)
| 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 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6846492B1 (en) * | 2019-10-25 | 2021-03-24 | 中部日本放送株式会社 | Monitoring system and monitoring method |
| JP2022045237A (en) * | 2020-09-08 | 2022-03-18 | Tvs Regza株式会社 | TV gateway |
| JP7543049B2 (en) * | 2020-09-23 | 2024-09-02 | Tvs Regza株式会社 | Server device and program |
| JP7558070B2 (en) * | 2021-01-13 | 2024-09-30 | Tvs Regza株式会社 | Server management device, system, and program |
-
2022
- 2022-04-07 JP JP2022063747A patent/JP7659520B2/en active Active
- 2022-06-29 CN CN202280007639.5A patent/CN116803086A/en active Pending
-
2025
- 2025-03-28 JP JP2025056962A patent/JP2025092660A/en active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| JP2025092660A (en) | 2025-06-19 |
| JP2023154460A (en) | 2023-10-20 |
| JP7659520B2 (en) | 2025-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5944920B2 (en) | Terminal, electronic device login setting information input method, computer-readable information recording medium, electronic device | |
| JP7667357B2 (en) | Server device and program | |
| JP2025092660A (en) | Server management device processing method | |
| JP7710582B2 (en) | Server management device, system, and program | |
| JP7454081B2 (en) | server equipment | |
| US20220408148A1 (en) | Television apparatus and display method | |
| JP7769068B2 (en) | Server management device, method and program | |
| WO2023060949A1 (en) | Server management apparatus | |
| KR101451399B1 (en) | Server and method for managing scrapping information of contents, and device for transmitting the scrapping information | |
| JP2008301265A (en) | COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE, CONTROL DEVICE, CONTROLLED DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |