借助直播电视频道集成,用户可以在支持 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
实体表示。只有 1 个此类 Organization
实体(代表电视运营商)应添加到 Feed 中。
例如,虚构的 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+”服务。请注意,它如何使用 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
属性)限制对频道的访问。如需了解详情,请参阅 Live TV 使用权用例。
Organization
实体代表制作和分发电视节目的频道。在大多数情况下,这是BroadcastService
实体的副本,但在其他情况下,它可能代表BroadcastService
所属的电视网络。BroadcastService
实体使用broadcastAffiliateOf
属性引用Organization
实体。请务必了解这两种实体类型之间的相互关系。如需了解详情,请参阅下文中的了解组织与 BroadcastService 实体之间的关系部分。TelevisionChannel
实体通过唯一标识符(例如频道号或字符串)以及在区域性有线电视、卫星电视或互联网电视服务(由CableOrSatelliteService
实体表示)中显示的顺序来标识BroadcastService
。
TelevisionChannel
、CableOrSatelliteService
和 Organization
实体共同构成了“阵容”的概念。
在我们的示例中,假设“ABC Movies”是“ExampleTV Digital”电视服务提供商在美国提供的“Digital Prime+”服务中提供的 180 个频道之一。此频道在频道列表中显示为第 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 [组织] 提供对 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 Digital Service IPTV 在频道 7 上提供 ExampleTV 电影节目,在频道 9 上提供 ExampleTV 喜剧节目)
{
"@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"
}
}
了解 Organization 与 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 Sports Network 不是本地频道,与前面提到的本地联属频道无关。
组织名称 | 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 |
下面是一个复杂用例示例,其中汇集了 Play 中的所有用例:
组织名称 | 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
实体描述了全国性电视服务提供商“Example Cable TV Company”(Organization
) 在纽约 (DMA_ID=501
) 和旧金山湾区 (DMA_ID=807
) 提供的有线电视服务:
{
"@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 中提供的深层链接执行频道切换。借助 Feed 中的信息,Google 可以查找用户想要观看的频道的深层链接。然后,Google 会直接将用户定向至服务提供商应用或平台上的内容。
- 由电视服务提供商完成 - Google 会向服务提供商发送请求。Google 和服务提供商可以通过多种不同的方式协调切换渠道的任务。如需详细了解如何与 Google 的其他平台(例如 AndroidTV、Made By Google、Operator 专用 Google 助理)集成,请与 Google 联系。
媒体操作 Feed 中所需的信息类型取决于服务提供商希望 Google 如何处理频道切换。