借助直播电视频道集成功能,用户可以在支持 Google 助理的任何设备(例如 Google Home、Android、Android TV 或 Google TV 等)上使用语音指令观看和切换电视频道。
服务提供商可以使用 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)。这些实体类型有助于回答以下问题:
- 电视服务提供商是谁,他们提供哪些服务?
- 每项服务中包含哪些频道(也称为频道阵容)?
以下部分将深入探讨实体类型,并提供上述问题的答案。
在阅读以下各部分内容时,请牢记以下关系图:
表示电视服务提供商
电视服务提供商(也称为电视运营商)是指向订阅者提供电视节目包的组织。在大多数情况下,这也是媒体目录 Feed 的创建者。这由 Organization 实体表示。Feed 中只能添加一个表示电视运营商的此类 Organization 实体。
例如,一家虚构的 IPTV 服务提供商“ExampleTV Digital”向其美国用户群提供 180 个频道,作为其名为“Digital Prime+”的服务的一部分。
{
"@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 表示电视运营商提供的区域性有线电视、卫星电视或网络电视服务。它通常与频道组相关联,并与由 Organization 实体表示的电视运营商相关联。您可以根据电视运营商提供的服务数量,向 Feed 添加一个或多个 CableOrSatelliteService 实体。
在此示例中,我们创建了一个 CableOrSatelliteService 实体来描述覆盖美国全国范围的“Digital Prime+”服务。请注意,它如何使用 provider 属性引用“ExampleTV Digital”电视服务提供商。
{
"@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属性)限制对频道的访问。如需了解详情,请参阅直播电视授权使用场景。
Organization实体表示制作和分发电视节目的频道。在大多数情况下,这是BroadcastService实体的副本,而在其他情况下,它可能表示BroadcastService所属的电视网。BroadcastService实体使用broadcastAffiliateOf属性引用Organization实体。务必了解这两种实体类型之间的关系。如需了解详情,请参阅下方的了解组织与 BroadcastService 实体之间的关系部分。TelevisionChannel实体通过唯一标识符(例如频道号或字符串)来标识BroadcastService,以及它在区域有线电视、卫星电视或网络电视服务(由CableOrSatelliteService实体表示)的提供商媒体资源(例如网站或应用)中显示的顺序。
TelevisionChannel、CableOrSatelliteService 和 Organization 实体共同构成了阵容的概念。
在我们的示例中,假设“ABC Movies”是“ExampleTV Digital”电视服务提供商在美国提供的“Digital Prime+”服务的一部分,用户可以通过该服务访问 180 个频道,而“ABC Movies”就是其中之一。此频道在节目单中显示为频道 7,在 ExampleTV Digital 的 Android TV 应用中显示为频道 18。下面对此进行了说明:
BroadcastService
每个 BroadcastService 实体分别代表一个频道(在本例中,虚构频道 ExampleTV-MovieChannel 和 ExampleTV-ComedyChannel 各有一个 BroadcastService 实体)
{
"@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 Digital Service [组织] 提供对两个频道的访问权限: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 实体,用于表示相应实体在提供商 (Organization - TVOperator) 提供的 (CableOrSatelliteService) 服务中的频道号(在本例中,TelevisionChannel 实体表示 ExampleTV Digital Service IPTV 在频道 7 上提供 ExampleTV Movie 节目,在频道 9 上提供 ExampleTV Comedy 节目)
{
"@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 频道及其本地联属频道进行建模:
| 组织名称 | 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 体育频道不是本地频道,与前面提到的本地联属频道无关。
| 组织名称 | BroadcastService 名称 | 婚恋状况 |
|---|---|---|
| CBS | WXVT | Organization 实体和 BroadcastService 实体之间的 1:N 关系 |
| CBS | WYOU | |
| CBS Sports Network | CBS Sports Network HD | Organization 实体和 BroadcastService 实体之间存在 1:1 的关系 |
为了说明这一点,我们以 EPIX 和 EPIX 2 频道为例。它们都在全国范围内提供,提供完全不同的节目,不是某个频道的变体,因此不属于本地频道。
| 组织名称 | BroadcastService 名称 | 婚恋状况 |
|---|---|---|
| EPIX | EPIX | Organization 实体和 BroadcastService 实体之间存在 1:1 的关系 |
| EPIX 2 | EPIX 2 | Organization 实体和 BroadcastService 实体之间存在 1:1 的关系 |
时移频道
在这种情况下,每个时移频道都应由自己的 BroadcastService 实体表示,所有这些实体都应连接到一个 Organization 实体。以下示例展示了如何对时移频道进行建模:
| 组织名称 | BroadcastService 名称 | 婚恋状况 |
|---|---|---|
| STARZ Encore | STARZ Encore West | Organization 实体和 BroadcastService 实体之间的 1:N 关系 |
| STARZ Encore | STARZ Encore East |
存在流式传输质量差异的频道
例如,STARZ Encore Action HD 和 STARZ Encore Action SD 频道播放的节目 (EPG) 完全相同,唯一的区别在于视频流质量。在这种情况下,每个视频画质流渠道都应由自己的 BroadcastService 实体表示,所有这些实体都应连接到一个 Organization 实体。
以下示例展示了应如何对具有流式传输质量差异的渠道进行建模:
| 组织名称 | BroadcastService 名称 | 婚恋状况 |
|---|---|---|
| SBS | SBS | Organization 实体和 BroadcastService 实体之间的 1:N 关系 |
| SBS | SBS HD |
下面是一个复杂的用例,其中涵盖了所有相关用例:
| 组织名称 | BroadcastService 名称 | 婚恋状况 |
|---|---|---|
| Starz | STARZ East | 由于时移频道,Organization 实体和 BroadcastService 实体之间存在 1:N 关系 |
| Starz | STARZ West | |
| STARZ Kids & Family | STARZ Kids & Family | Organization 实体和 BroadcastService 实体之间存在 1:1 的关系 |
| STARZ Encore Black | STARZ Encore Black | Organization 实体和 BroadcastService 实体之间存在 1:1 的关系 |
| STARZ Encore Clsic | STARZ Encore Classic | Organization 实体和 BroadcastService 实体之间存在 1:1 的关系 |
| STARZ Encore Family | STARZ Encore Family | Organization 实体和 BroadcastService 实体之间存在 1:1 的关系 |
| STARZ Encore Suspense | STARZ Encore Suspense | Organization 实体和 BroadcastService 实体之间存在 1:1 的关系 |
| STARZ Encore Action | STARZ Encore Action HD | 由于流式传输质量存在差异,Organization 实体和 BroadcastService 实体之间存在 1:N 关系 |
| STARZ Encore Action | STARZ Encore Action SD | |
| STARZ Encore | STARZ Encore West | 由于时移频道,Organization 实体和 BroadcastService 实体之间存在 1:N 关系 |
| STARZ Encore | STARZ Encore East |
示例
提供区域性节目安排的全国性电视服务提供商
组织
虚构的电视服务提供商 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 Movie 节目,在频道 ExTV-Comedy 上有 ExampleTV Comedy 节目:
{
"@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 Movie 节目,在频道 ExTV-Comedy 上有 ExampleTV Comedy 节目:
{
"@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"
}
}
提供商拥有附属频道或本地频道
组织
电视服务提供商(也称为电视运营商)Example Cable TV Company (Organization) 通过美国境内的有线电视网络提供直播电视服务(名为“Example Cable TV Service”,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 频道的深层链接和访问要求详情。请注意,这两个 BroadcastService 都通过 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 在频道 7 上提供 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 联系。
媒体操作 Feed 中所需的信息类型取决于服务提供商希望 Google 如何处理频道切换。