借助直播电视频道集成,用户可以使用语音指令在支持 Google 助理的任何设备(例如 Google Home、Android、Android TV 或 Google TV 等)上观看和切换电视频道。
![使用语音切换电视频道](https://developers.google.cn/actions/media/images/image-live-tv-channel-02.png?authuser=7&hl=nl)
服务提供商可以使用 BroadcastService
、CableOrSatelliteService
、TelevisionChannel
和 Organization
标记对象在媒体操作 Feed 中提供频道的详细信息,以便 Google 支持以下用户查询:
- “Hey Google,播放 ExampleTV。”
- “Hey Google,调到 ExampleTV-HD。”
- “Hey Google,切换到 7 频道。”
- “Hey Google,ExampleTV-Drama。”
直播电视频道实体类型
直播电视频道集成要求媒体目录 Feed 中有 4 种实体类型(Organization
、BroadcastService
、CableOrSatelliteService
和 TelevisionChannel
)。这些实体类型有助于回答以下问题:
- 电视服务提供商是谁?他们提供哪些服务?
- 上述各项服务中有哪些频道(也称为频道组)?
以下部分将深入探讨实体类型,并解答上述问题。
在阅读以下各部分时,请注意以下关系图:
![各种直播电视频道实体类型之间的连接](https://developers.google.cn/static/actions/media/images/image-live-tv-channel-01.jpg?authuser=7&hl=nl)
代表电视服务提供商
电视服务提供商(也称为电视运营商)是向订阅者提供电视节目套装的组织。在大多数情况下,此人也是媒体目录 Feed 的创建者。这由 Organization
实体表示。只能向 Feed 中添加一个代表电视运营商的此类 Organization
实体。
例如,虚构的 IPTV 服务提供商“ExampleTV Digital”通过其名为“Digital Prime+”的服务,向美国用户群提供 180 个频道。
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type":"Organization",
"@id":"http://example.com/exampletv/digital",
"name":"ExampleTV Digital",
"sameAs": "https://en.wikipedia.org/wiki/exampletv_digital"
}
表示电视服务提供商提供的服务
CableOrSatelliteService
表示电视运营商提供的区域性有线电视、卫星或互联网电视服务。它通常与频道组相关联,并且会关联到电视运营商(由组织实体表示)。您可以向 Feed 中添加一个或多个 CableOrSatelliteService
实体,具体取决于电视运营商提供的服务数量。
在此示例中,我们使用一个 CableOrSatelliteService
实体来描述“Digital Prime+”创建覆盖美国的服务。请注意它是如何引用“ExampleTV Digital”的电视服务提供商(使用 provider
属性)。
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_iptv/us",
"name":"Example TV Digital Prime Plus US Service",
"provider": {
"@type": "Organization",
"@id": "http://example.com/exampletv/digital",
},
"areaServed":[
{
"@type":"Country",
"name": "US",
}
]
}
代表电视服务提供商提供的频道
这些通道由 3 个实体一起表示:Organization
、BroadcastService
和 TelevisionChannel
。
BroadcastService
实体是核心实体,表示发行线性节目的电视频道。它链接到Organization
和TelevisionChannel
实体,并由一组BroadcastEvent
实体引用,这些实体共同代表着节目指南(或频道时间表)。BroadcastService
实体还应具有明确定义的深层链接和访问要求。借助BroadcastService
架构,您可以根据用户当前的设备位置(使用eligibleRegion
和ineligibleRegion
属性)限制对某个渠道的访问权限。如需了解详情,请参阅 Live TV 使用权用例。
Organization
实体表示制作和发行电视节目的频道。在大多数情况下,这是BroadcastService
实体的副本,而在其他情况下,它可能代表BroadcastService
所属的电视网络。BroadcastService
实体使用broadcastAffiliateOf
属性引用Organization
实体。了解这两种实体类型之间的关系至关重要。您可以在下面的了解组织与 BroadcastService 实体之间的关系部分了解详情。TelevisionChannel
实体通过唯一标识符(例如频道号或字符串)及其在区域有线、卫星或互联网电视服务中的显示顺序(在提供商的媒体资源,例如网站或应用上)识别BroadcastService
,由CableOrSatelliteService
实体表示。
TelevisionChannel
、CableOrSatelliteService
和 Organization
实体共同构成了频道组的概念。
在我们的示例中,假设“ABC Movies”是“ExampleTV Digital”的电视服务提供商通过其“Digital Prime+”提供美国的这项服务此频道在合集中的频道号为 7,在 ExampleTV Digital 的 Android TV 应用中排在第 18 位。具体表示如下:
BroadcastService
一个 BroadcastService 实体,每个实体都代表相应频道(在本例中为两个 BroadcastService 实体分别对应虚构频道 ExampleTV-MovieChannel 和 ExampleTV-ComedyChannel)
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/broadcast/movie",
"name": "ExampleTV-Movie Channel",
"alternateName": [
"Example Television Movie Channel",
"Example TV Movie Channel"
],
"description": "A fictional Internet Protocol TV movie channel.",
"broadcastDisplayName":"ExampleTV-MovieChannel",
"broadcastAffiliateOf":{
"@type":"Organization",
"@id":"http://www.example.com/exampletv/movie"
},
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "TMS_ID",
"value": "12345"
}
]
}
组织
每个组织实体代表 TVNetwork(在本例中,ExampleTV 数字服务(组织))提供对 2 个频道的访问权限:ExampleTV-MovieChannel(组织)和 ExampleTV-ComedyChannel(组织)
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type":"Organization",
"@id":"http://example.com/exampletv/movie",
"name":"ExampleTV Movie Channel",
"sameAs": "https://en.wikipedia.org/wiki/exampletv_movie"
},
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type":"Organization",
"@id":"http://example.com/exampletv/comedy",
"name":"ExampleTV Comedy Channel",
"sameAs": "https://en.wikipedia.org/wiki/exampletv_comedy"
}
TelevisionChannel
每个 BroadcastService 有一个(或多个)TelevisionChannel 实体,该实体表示提供商(组织 - TVOperator)提供的 (CableOrSatelliteService) 服务中提供的频道编号(在本例中,TelevisionChannel 实体表示 ExampleTV 数字服务 IPTV 的 ExampleTV 电影节目在频道 7 上播放,ExampleTV 喜剧节目在频道 9 上播放)
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type":"TelevisionChannel",
"@id":"http://example.com/exampletv/extv-movie",
"broadcastChannelId":"7",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_iptv/us"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/broadcast/movie"
}
}
了解组织与 BroadcastService 实体之间的关系
BroadcastService
实体是代表电视频道的核心实体。尽管 Organization
实体是必需 Feed 实体,但其实际存在只是为了让提供方模拟下面介绍的三种例外情况用例。因此,除例外情况用例外,提供程序都应遵循以下要点。
经验法则有 3 个例外情况,即 Organization
和 BroadcastService
实体之间必须存在 1:N 关系。具体如下所述:
本地频道或联属频道
例如,Fox 在美国西雅图有名为 KCPQ 的本地联属频道,在美国旧金山有 KTVU。KCPQ 可能会提供涵盖西雅图的本地新闻,而 KTVU 可能会提供专门针对旧金山用户群需求的节目。在大多数情况下,用户可能不知道该频道的本地名称,而只是认为该频道是 Fox。
在这种情况下,本地频道或联属频道应分别由各自的 BroadcastService
实体表示,所有这些实体都应与一个 Organization
实体相关联。当用户想切换到这些频道时,可以要求 Google 助理“切换到 Fox”或“切换到 KTVU/KCPQ”。Google 将根据用户的设备位置以及用户是否有权观看所请求的频道,切换到相应的本地频道。在前面的示例中,您需要创建一个代表 Fox 的组织实体,并将其关联到两个 BroadcastService
实体,每个实体分别代表一个本地关联公司 KCPQ 和 KTVU。
下面的另一个示例展示了应如何根据模型估算 ABC 频道及其本地联属频道:ABC
组织名称 | BroadcastService 名称 | 婚恋状况 |
---|---|---|
ABC | KAAL | Organization 和 BroadcastService 实体之间的 1:N 关系 |
ABC | KABC | |
ABC | KAEF | |
ABC | KAKE | |
ABC | KAMC | |
ABC | KAPP | |
ABC | KATC | |
ABC | KATN | |
ABC | KATU | |
ABC | KATV |
我们再举一个例子。在这里,WXVT 和 WYOU 是本地 CBS 频道。CBS Sports Network 不是本地频道,并且独立于上述地方联属机构。
组织名称 | BroadcastService 名称 | 婚恋状况 |
---|---|---|
CBS | WXVT | Organization 和 BroadcastService 实体之间的 1:N 关系 |
CBS | WYOU | |
CBS Sports Network | CBS Sports Network 高清 | Organization 和 BroadcastService 实体之间的 1:1 关系 |
为了简单说明一下这一点,我们以 EPIX 和 EPIX 2 频道为例。这两类频道均面向全国提供,提供完全不同的节目内容,并非同一频道的不同版本,因此不被视为本地频道。
组织名称 | BroadcastService 名称 | 婚恋状况 |
---|---|---|
EPIX | EPIX | Organization 和 BroadcastService 实体之间的 1:1 关系 |
第 2 集 | 第 2 集 | Organization 和 BroadcastService 实体之间的 1:1 关系 |
时移频道
在这种情况下,每个时移频道都应由其自己的 BroadcastService
实体表示,所有这些实体都应与一个 Organization
实体相关联。以下示例说明应如何对时移频道进行建模:
组织名称 | BroadcastService 名称 | 婚恋状况 |
---|---|---|
STARZ 加演 | STARZ Encore West 购物中心 | Organization 和 BroadcastService 实体之间的 1:N 关系 |
STARZ 加演 | 东方 STARZ 演唱会 |
在线播放质量有差异的频道
例如,STARZ Encore Action HD 和 STARZ Encore Action SD 和 STARZ Encore Action SD 频道采用完全相同的节目 (EPG),而直播质量只是两者之间的唯一区别。在这种情况下,每个视频质量流频道都应由其自己的 BroadcastService
实体表示,所有这些实体都应连接到一个 Organization
实体。
以下示例说明应如何根据流式传输质量差异的频道进行建模:
组织名称 | BroadcastService 名称 | 婚恋状况 |
---|---|---|
SBS | SBS | Organization 和 BroadcastService 实体之间的 1:N 关系 |
SBS | SBS HD |
下面是一个复杂的用例示例,它将所有实际用例组合在一起:
组织名称 | BroadcastService 名称 | 婚恋状况 |
---|---|---|
Starz | STARZ 东部 | 由于时移频道,Organization 和 BroadcastService 实体之间的 1:N 关系 |
Starz | STARZ 西区 | |
STARZ Kids 和家庭 | STARZ Kids 和家庭 | Organization 和 BroadcastService 实体之间的 1:1 关系 |
STARZ Encore 黑色 | STARZ Encore 黑色 | Organization 和 BroadcastService 实体之间的 1:1 关系 |
STARZ Encore Clsic | STARZ 安可经典曲目 | Organization 和 BroadcastService 实体之间的 1:1 关系 |
STARZ 安可系列 | STARZ 安可系列 | Organization 和 BroadcastService 实体之间的 1:1 关系 |
STARZ 加演悬疑片 | STARZ 加演悬疑片 | Organization 和 BroadcastService 实体之间的 1:1 关系 |
STARZ Encore 动作片 | STARZ Encore 动作高清 | 由于流式传输质量差异,Organization 和 BroadcastService 实体之间的 1:N 关系 |
STARZ Encore 动作片 | STARZ 加演版(标清) | |
STARZ 加演 | STARZ Encore West 购物中心 | 由于时移频道,Organization 和 BroadcastService 实体之间的 1:N 关系 |
STARZ 加演 | 东方 STARZ 演唱会 |
示例
提供区域性节目单的国家电视服务提供商
组织
一家虚构的电视服务提供商,Example Cable TV Company (Organization
),提供直播电视服务
纽约和旧金山。该服务包含
两个频道:ExampleTV (Organization
) 和 ExampleTV2 (Organization
):
{
"@context":"http://schema.org",
"@type":"Organization",
"@id": "http://example.com/example_cable_tv_company",
"name": "Example Cable TV Company",
"sameAs": "https://en.wikipedia.org/wiki/example_cable_company"
},
{
"@context":"http://schema.org",
"@type":"Organization",
"@id":"http://example.com/exampletv",
"name":"ExampleTV Network",
"sameAs": "https://en.wikipedia.org/wiki/exampletv"
},
{
"@context":"http://schema.org",
"@type":"Organization",
"@id":"http://example.com/exampletv2",
"name":"ExampleTV2 Network",
"sameAs": "https://en.wikipedia.org/wiki/exampletv2"
}
BroadcastService
以下 BroadcastService
实体提供了有关 ExampleTV 高清频道和 ExampleTV2 频道的深层链接和访问要求的详细信息:
{
"@context":"http://schema.org",
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/broadcast/hd",
"name": "ExampleTV HD",
"description": "A fictional TV broadcast service in HD",
"broadcastDisplayName":"ExampleTV-HD",
"broadcastAffiliateOf":{
"@type":"Organization",
"@id":"http://www.example.com/exampletv"
},
"potentialAction": {
"@type": "WatchAction",
"target": [
{
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/exampletv/broadcast/hd?autoplay=true",
"inLanguage": "en",
"actionPlatform": [
"http://schema.org/DesktopWebPlatform",
"http://schema.org/MobileWebPlatform",
"http://schema.org/AndroidPlatform",
"http://schema.org/AndroidTVPlatform",
"http://schema.org/IOSPlatform"
]
},
{
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/exampletv/broadcast/androidtv/hd?autoplay=true",
"inLanguage": "en",
"actionPlatform": [
"http://schema.googleapis.com/GoogleVideoCast"
]
}
],
"actionAccessibilityRequirement": {
"@type": "ActionAccessSpecification",
"category": "subscription",
"requiresSubscription": {
"@type": "MediaSubscription",
"@id": "http://www.example.com/exampletv/basic_subscription",
"name": "Basic subscription",
"identifier": "example.com:basic",
"commonTier": true
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
}
]
}
},
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "TMS_ID",
"value": "102610"
},
{
"@type": "PropertyValue",
"propertyID": "_PARTNER_ID_",
"value": "exampletv-12345"
}
]
},
{
"@context":"http://schema.org",
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv2/broadcast",
"name": "ExampleTV2",
"description": "A fictional TV broadcast service ExampleTV 2",
"broadcastDisplayName":"ExampleTV2",
"broadcastAffiliateOf":{
"@type":"Organization",
"@id":"http://www.example.com/exampletv2"
},
"potentialAction": {
"@type": "WatchAction",
"target": [
{
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/exampletv2/broadcast/?autoplay=true",
"inLanguage": "en",
"actionPlatform": [
"http://schema.org/DesktopWebPlatform",
"http://schema.org/MobileWebPlatform",
"http://schema.org/AndroidPlatform",
"http://schema.org/AndroidTVPlatform",
"http://schema.org/IOSPlatform"
]
},
{
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/exampletv2/broadcast/androidtv/?autoplay=true",
"inLanguage": "en",
"actionPlatform": [
"http://schema.googleapis.com/GoogleVideoCast"
]
}
],
"actionAccessibilityRequirement": {
"@type": "ActionAccessSpecification",
"category": "subscription",
"requiresSubscription": {
"@type": "MediaSubscription",
"@id": "http://www.example.com/exampletv/basic_subscription",
"name": "Basic subscription",
"identifier": "example.com:basic",
"commonTier": true
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
}
]
}
},
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "TMS_ID",
"value": "333339"
},
{
"@type": "PropertyValue",
"propertyID": "_PARTNER_ID_",
"value": "exampletv2-11115"
}
]
}
CableOrSatelliteService
以下 CableOrSatelliteService
实体描述了纽约 (DMA_ID=501
) 和旧金山湾区 (DMA_ID=807
) 的有线电视服务,这些服务由全国性电视服务提供商 Example Cable TV Company (Organization
) 提供:
{
"@context":"http://schema.org",
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_cable_tv_company_new_york",
"name":"Example Cable TV Company - New York",
"provider": {
"@type": "Organization",
"@id": "http://example.com/example_cable_tv_company",
},
"areaServed":[
{
"@type": "GeoShape",
"@id": "http://example.com/newyork_01",
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "DMA_ID",
"value": "501"
}
]
}
]
},
{
"@context":"http://schema.org",
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_cable_tv_company_san_francisco_bay",
"name":"Example Cable TV Company - San Francisco Bay",
"provider": {
"@type": "Organization",
"@id": "http://example.com/example_cable_tv_company",
"name": "Example Cable TV Company"
},
"areaServed":[
{
"@type": "GeoShape",
"@id": "http://example.com/bayarea_01",
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "DMA_ID",
"value": "807"
}
]
}
]
}
TelevisionChannel
这些 TelevisionChannel
实体表明,区域性电视服务提供商 Example Cable TV Company - San Francisco Bay 在频道 7 上有 ExampleTV-HD,在频道 11 上有 ExampleTV2,而区域电视服务提供商 Example Cable TV Company - New York 在频道 12 上有 ExampleTV-HD,在频道 4 上有 ExampleTV2:
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/example_cable_tv_company_san_francisco/exampletv",
"broadcastChannelId":"7",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_cable_tv_company_san_francisco_bay"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/broadcast/hd"
}
},
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/example_cable_tv_company_san_francisco/exampletv2",
"broadcastChannelId":"11",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_cable_tv_company_san_francisco_bay"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv2/broadcast"
}
},
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/example_cable_tv_company_new_york/exampletv",
"broadcastChannelId":"12",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_cable_tv_company_new_york"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/broadcast/hd"
}
},
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/example_cable_tv_company_new_york/exampletv2",
"broadcastChannelId":"4",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_cable_tv_company_new_york"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv2/broadcast"
}
}
互联网上的全国性电视服务提供商
组织
虚构的互联网协议电视服务提供商 ExampleTV Digital Service (Organization
) 提供互联网直播电视服务,其中包含以下两个频道:ExampleTV-Movie (Organization
) 和 ExampleTV-Comedy (Organization
):
{
"@context":"http://schema.org",
"@type":"Organization",
"@id":"http://example.com/exampletv/digital",
"name":"ExampleTV Digital Service",
"sameAs": "https://en.wikipedia.org/wiki/exampletv_digital_service"
},
{
"@context":"http://schema.org",
"@type":"Organization",
"@id":"http://example.com/exampletv/movie",
"name":"ExampleTV Movie",
"sameAs": "https://en.wikipedia.org/wiki/exampletv_movie"
},
{
"@context":"http://schema.org",
"@type":"Organization",
"@id":"http://example.com/exampletv/comedy",
"name":"ExampleTV Comedy",
"sameAs": "https://en.wikipedia.org/wiki/exampletv_comedy"
}
BroadcastService
这两个 BroadcastService
实体提供了针对虚构频道 ExampleTV-Movie 和 ExampleTV-Comedy 的深层链接和访问要求的详细信息:
{
"@context":"http://schema.org",
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/broadcast/movie",
"name": "ExampleTV-Movie",
"description": "A fictional Internet Protocol TV movie channel.",
"broadcastDisplayName":"ExampleTV-Movie",
"broadcastAffiliateOf":{
"@type":"Organization",
"@id":"http://www.example.com/exampletv/movie"
},
"potentialAction": {
"@type": "WatchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/exampletv/broadcast/movie?autoplay=true",
"inLanguage": "en",
"actionPlatform": [
"http://schema.org/DesktopWebPlatform",
"http://schema.org/MobileWebPlatform",
"http://schema.org/AndroidPlatform",
"http://schema.org/AndroidTVPlatform",
"http://schema.org/IOSPlatform",
"http://schema.googleapis.com/GoogleVideoCast"
]
},
"actionAccessibilityRequirement": {
"@type": "ActionAccessSpecification",
"category": "subscription",
"requiresSubscription": {
"@type": "MediaSubscription",
"@id": "http://www.example.com/exampletv/basic_subscription",
"name": "Basic subscription",
"identifier": "example.com:basic",
"commonTier": true
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
}
]
}
},
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "TMS_ID",
"value": "12345"
},
{
"@type": "PropertyValue",
"propertyID": "_PARTNER_ID_",
"value": "exampletv-movie-33345"
}
]
},
{
"@context":"http://schema.org",
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/broadcast/comedy",
"name": "ExampleTV-Comedy",
"description": "A fictional Internet Protocol TV comedy channel.",
"broadcastDisplayName":"ExampleTV-Comedy",
"broadcastAffiliateOf":{
"@type":"Organization",
"@id":"http://www.example.com/exampletv/comedy"
},
"potentialAction": {
"@type": "WatchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/exampletv/broadcast/comedy?autoplay=true",
"inLanguage": "en",
"actionPlatform": [
"http://schema.org/DesktopWebPlatform",
"http://schema.org/MobileWebPlatform",
"http://schema.org/AndroidPlatform",
"http://schema.org/AndroidTVPlatform",
"http://schema.org/IOSPlatform",
"http://schema.googleapis.com/GoogleVideoCast"
]
},
"actionAccessibilityRequirement": {
"@type": "ActionAccessSpecification",
"category": "subscription",
"requiresSubscription": {
"@type": "MediaSubscription",
"@id": "http://www.example.com/exampletv/basic_subscription",
"name": "Basic subscription",
"identifier": "example.com:basic",
"commonTier": true
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
}
]
}
},
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "TMS_ID",
"value": "15555"
},
{
"@type": "PropertyValue",
"propertyID": "_PARTNER_ID_",
"value": "exampletv-comedy-12323"
}
]
}
CableOrSatelliteService
此 CableOrSatelliteService
描述的是覆盖全国的服务提供商 ExampleTV Digital Service:
{
"@context":"http://schema.org",
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_iptv/us",
"name":"Example TV Digital Service - US",
"provider": {
"@type": "Organization",
"@id": "http://example.com/exampletv/digital",
},
"areaServed":[
{
"@type":"Country",
"name": "US",
}
]
}
TelevisionChannel
以下 TelevisionChannel
实体表示 ExampleTV Digital Service IPTV 在 ExTV-Movie
频道和 ExampleTV 喜剧 频道有 ExampleTV Movie 节目和 ExTV-Comedy
频道:ExampleTV Movie 节目:
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/exampletv/extv-movie",
"broadcastChannelId":"ExTV-Movie",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_iptv/us"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/broadcast/movie"
}
},
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/exampletv/extv-comedy",
"broadcastChannelId":"ExTV-Comedy",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_iptv/us"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/broadcast/comedy"
}
}
由电视服务提供商切换频道的频道节目单
组织
ExampleTV Digital Service (Organization
) 是虚构的电视服务提供商,通过其销售的机顶盒,向用户提供访问虚构的 IPTV 频道 ExampleTV-Sports (Organization
) 和 ExampleTV-Drama (Organization
)。
{
"@context":"http://schema.org",
"@type":"Organization",
"@id":"http://example.com/exampletv/digital",
"name":"ExampleTV Digital Service",
"sameAs": "https://en.wikipedia.org/wiki/exampletv_digital_service"
},
{
"@context":"http://schema.org",
"@type":"Organization",
"@id":"http://example.com/exampletv/sports",
"name":"ExampleTV Sports",
"sameAs": "https://en.wikipedia.org/wiki/exampletv_sports"
},
{
"@context":"http://schema.org",
"@type":"Organization",
"@id":"http://example.com/exampletv/drama",
"name":"ExampleTV Drama",
"sameAs": "https://en.wikipedia.org/wiki/exampletv_drama"
}
BroadcastService
这两个 BroadcastService
实体描述了 ExampleTV-Sports 和 ExampleTV-Drama 频道(深层链接是可选的):
{
"@context":"http://schema.org",
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/sports/broadcast",
"name": "ExampleTV-Sports",
"description": "A fictional Internet Protocol TV service that streams live sports events",
"broadcastDisplayName":"ExampleTV-Sports",
"broadcastAffiliateOf":{
"@type":"Organization",
"@id":"http://www.example.com/exampletv/sports"
},
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "_PARTNER_ID_",
"value": "exampletv-sports-11123"
}
]
},
{
"@context":"http://schema.org",
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/drama/broadcast",
"name": "ExampleTV-Drama",
"description": "A fictional Internet Protocol TV service that streams TV drama shows",
"broadcastDisplayName":"ExampleTV-Drama",
"broadcastAffiliateOf":{
"@type":"Organization",
"@id":"http://www.example.com/exampletv/drama"
},
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "_PARTNER_ID_",
"value": "exampletv-drama-11500"
}
]
}
CableOrSatelliteService
此 CableOrSatelliteService
描述的是覆盖全国的服务提供商 ExampleTV Digital Service:
{
"@context":"http://schema.org",
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_iptv/us",
"name":"Example TV Digital Service - US",
"provider": {
"@type": "Organization",
"@id": "http://example.com/exampletv/digital",
},
"areaServed":[
{
"@type":"Country",
"name": "US",
}
]
}
TelevisionChannel
以下 TelevisionChannel
实体表示 ExampleTV Digital Service IPTV 在 ExTV-Movie
频道和 ExampleTV 喜剧 频道有 ExampleTV Movie 节目和 ExTV-Comedy
频道:ExampleTV Movie 节目:
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/exampletv/extv-sports",
"broadcastChannelId":"ExampleTV-Sports",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_iptv/us"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/drama/broadcast"
}
},
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/exampletv/extv-drama",
"broadcastChannelId":"ExampleTV-Drama",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_iptv/us"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/exampletv/drama/broadcast"
}
}
拥有联属频道或本地频道的电视服务提供商
组织
电视服务提供商(也称为电视运营商)示例有线电视公司 (Organization
) 在美国通过有线电视提供直播电视服务(名为“示例有线电视服务”,属于 CableOrSatelliteService
)。此服务包含一个电视网络:ExampleTV Network (Organization
):
{
"@context":"http://schema.org",
"@type":"Organization",
"@id": "http://example.com/example_cable_tv_company",
"name": "Example Cable TV Company",
"sameAs": "https://en.wikipedia.org/wiki/example_cable_company"
},
{
"@context":"http://schema.org",
"@type":"Organization",
"@id":"http://example.com/exampletv",
"name":"ExampleTV Network",
"sameAs": "https://en.wikipedia.org/wiki/exampletv"
}
BroadcastService
ExampleTV Network(组织)拥有 2 个本地频道:纽约的 NYTV (BroadcastService) 和新泽西的 NJTV (BroadcastService)。这些 BroadcastService
实体提供了 NYTV 和 NJTV 频道的深层链接和访问要求的详细信息。请注意,这两个 BroadcastServices 都通过 broadcastAffiliateOf
属性连接到同一组织(ExampleTV Network):
{
"@context":"http://schema.org",
"@type":"BroadcastService",
"@id":"https://www.example.com/nytv/broadcast",
"name": "NYTV",
"description": "A fictional TV broadcast service",
"broadcastDisplayName":"NYTV",
"broadcastAffiliateOf":{
"@type":"Organization",
"@id":"http://www.example.com/exampletv"
},
"potentialAction": {
"@type": "WatchAction",
"target": [
{
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/nytv/broadcast/hd?autoplay=true",
"inLanguage": "en",
"actionPlatform": [
"http://schema.org/DesktopWebPlatform",
"http://schema.org/MobileWebPlatform",
"http://schema.org/AndroidPlatform",
"http://schema.org/AndroidTVPlatform",
"http://schema.org/IOSPlatform"
]
}
],
"actionAccessibilityRequirement": {
"@type": "ActionAccessSpecification",
"category": "subscription",
"requiresSubscription": {
"@type": "MediaSubscription",
"@id": "http://www.example.com/nytv/basic_subscription",
"name": "Basic subscription",
"identifier": "example.com:basic"
},
"eligibleRegion": [
{
"@id": "http://sling.com/dma/501",
"@type": "GeoShape",
"addressCountry": "US",
"identifier": {
"@type": "PropertyValue",
"propertyID": "DMA_ID",
"value": "501"
}
}
]
}
},
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "TMS_ID",
"value": "102610"
},
{
"@type": "PropertyValue",
"propertyID": "_PARTNER_ID_",
"value": "nytv-12345"
}
]
},
{
"@context":"http://schema.org",
"@type":"BroadcastService",
"@id":"https://www.example.com/njtv/broadcast/hd",
"name": "NJTV HD",
"description": "A fictional TV broadcast service in HD",
"broadcastDisplayName":"NJTV-HD",
"broadcastAffiliateOf":{
"@type":"Organization",
"@id":"http://www.example.com/exampletv"
},
"potentialAction": {
"@type": "WatchAction",
"target": [
{
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/njtv/broadcast/hd?autoplay=true",
"inLanguage": "en",
"actionPlatform": [
"http://schema.org/DesktopWebPlatform",
"http://schema.org/MobileWebPlatform",
"http://schema.org/AndroidPlatform",
"http://schema.org/AndroidTVPlatform",
"http://schema.org/IOSPlatform"
]
}
],
"actionAccessibilityRequirement": {
"@type": "ActionAccessSpecification",
"category": "subscription",
"requiresSubscription": {
"@type": "MediaSubscription",
"@id": "http://www.example.com/njtv/basic_subscription",
"name": "Basic subscription",
"identifier": "example.com:basic"
},
"eligibleRegion": [
{
"@id": "http://sling.com/dma/807",
"@type": "GeoShape",
"addressCountry": "US",
"identifier": {
"@type": "PropertyValue",
"propertyID": "DMA_ID",
"value": "807"
}
}
]
}
},
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "TMS_ID",
"value": "102611"
},
{
"@type": "PropertyValue",
"propertyID": "_PARTNER_ID_",
"value": "njtv-12345"
}
]
}
CableOrSatelliteService
CableOrSatelliteService
实体描述了全国性电视服务提供商 Example Cable TV Company (Organization
) 提供的有线电视服务:
{
"@context":"http://schema.org",
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_cable_tv_company/service",
"name":"Example Cable TV Service",
"provider": {
"@type": "Organization",
"@id": "http://example.com/example_cable_tv_company",
"name": "Example Cable TV Company"
},
"areaServed": {
"@type": "Country",
"name": "US"
}
}
TelevisionChannel
以下 TelevisionChannel
实体表明电视服务提供商 Example Cable TV Company 的频道为 NYTV,频道 12 为 NJTV HD:
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/example_cable_tv_company/nytv",
"broadcastChannelId":"7",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_cable_tv_company/service"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/nytv/broadcast"
}
}
{
"@context":"http://schema.org",
"@type":"TelevisionChannel",
"@id":"http://example.com/example_cable_tv_company/njtv",
"broadcastChannelId":"12",
"broadcastServiceTier":"Standard",
"inBroadcastLineup":{
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_cable_tv_company/service"
},
"providesBroadcastService":{
"@type":"BroadcastService",
"@id":"https://www.example.com/njtv/broadcast/hd"
}
}
Android TV 上的频道切换
与直播电视频道集成后,用户可以让 Google 使用语音指令切换频道。Google 使用自然语言处理 (NLP) 技术从用户查询中提取参数,并确定用户想要观看哪个频道。然后,Google 会通过以下方式之一处理渠道切换:
- 由 Google 执行 - Google 使用媒体操作 Feed 中提供的深层链接执行频道切换。Google 可通过 Feed 中的信息查找用户想要观看的频道的深层链接。然后,Google 会直接将用户引导至服务提供商的应用或平台上的内容。
- 由电视服务提供商执行 - Google 向服务提供商发送请求。Google 和服务提供商可以通过多种不同的方式协调频道切换任务。如需详细了解如何与 Google 的其他平台(例如 AndroidTV、Made by Google、Google 助理面向运营商的 Google 助理)集成,请与 Google 联系。
媒体操作 Feed 中所需信息的类型取决于服务提供商希望 Google 如何处理频道切换。