直播电视频道

借助直播电视频道集成功能,用户可以在任何支持 Google 助理的设备上(例如 Google Home、Android、Android TV 或 Google TV 等)使用语音指令观看和切换电视频道。

使用语音切换电视频道
图 1. 使用语音切换电视频道。

服务提供商可以使用 BroadcastServiceCableOrSatelliteServiceTelevisionChannelOrganization 标记对象提供媒体操作 Feed 中频道的详细信息,以便 Google 支持以下用户查询:

  • “Ok Google,播放 ExampleTV。”
  • “Ok Google,调到 ExampleTV-HD”。
  • “Ok Google,切换到频道 7。”
  • “Ok Google,ExampleTV-Drama。”

直播电视频道实体类型

直播电视频道集成需要媒体目录 Feed 中的 4 种实体类型(OrganizationBroadcastServiceCableOrSatelliteServiceTelevisionChannel)。这些实体类型有助于回答以下问题:

  • 电视服务提供商是谁?他们提供什么服务?
  • 上述各项服务(即频道组)中可以使用的频道组是什么?

以下部分深入探讨了实体类型,并提供了对上述问题的解答。

在阅读以下各部分时,请注意以下关系图:

各种 Live TV 频道实体类型之间的关联
。各种 Live TV 频道实体类型之间的连接。

代表电视服务提供商

电视服务提供商(也称为电视运营商)是指向订阅者提供一系列电视节目的组织。在大多数情况下,这也是媒体目录 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 实体,具体取决于 TV 运营商提供的服务数量。

在此示例中,我们创建了一个 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 个实体表示:OrganizationBroadcastServiceTelevisionChannel

  • BroadcastService 实体是代表分发线性节目的电视频道的核心实体。链接到 OrganizationTelevisionChannel 实体,并由一组 BroadcastEvent 实体引用,这些实体共同表示其收视指南(或频道时间表)。

    • BroadcastService 实体还应明确定义深层链接访问权限要求。通过 BroadcastService 架构,您可以根据用户当前的设备位置(使用 eligibleRegionineligibleRegion 属性)限制对频道的访问。如需了解详情,请参阅 Live TV 授权用例
  • Organization 实体表示生成和分发电视节目的渠道。在大多数情况下,这是 BroadcastService 实体的副本,而在其他情况下也可能代表 BroadcastService 所属的电视网络。BroadcastService 实体使用 broadcastAffiliateOf 属性引用 Organization 实体。您必须了解这两种实体类型之间的关系。如需了解详情,请参阅下文的了解组织与 BroadcastService 实体之间的关系部分。

  • TelevisionChannel 实体通过唯一标识符(例如频道编号或字符串)及其在区域有线电视、卫星或互联网电视服务(如 CableOrSatelliteService 实体)上的显示顺序(在提供方的属性,如网站或应用中)来标识 BroadcastService

TelevisionChannelCableOrSatelliteServiceOrganization 实体共同形成了频道组的概念。

在本例中,我们假设“ABCTV”是美国的“Digital Prime+”服务之一,因此“ABCTV 数字电视”服务提供商提供了 180 个频道,例如“ABC 电影”。此频道在 ExampleTV Digital 的 Android TV 应用中显示为频道组 7 和第 18 频道。如下所示:

广播服务

一个 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 数字服务 [组织])提供对两个频道的访问权限: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"
 }

电视频道

一个(或多个)每个 TVService 实体代表其在提供商(组织 - TVOperator)提供的 (CableOrSatelliteService) 服务中提供的频道号码(在本例中,TelevisionChannel 实体表示 ExampleTV 数字服务 IPTV 在频道 7 上播放了示例电视电影节目,在频道 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"
    }
  }

了解 Organization 与 BroadcastService 实体之间的关系

BroadcastService 实体是代表 TV 频道的核心实体。虽然 Organization 实体是必须提供的 Feed 实体,但实际上它只是为了让提供商能够模拟如下所示的三种例外情况用例。因此,除了例外情况外,提供程序应遵守所有要点。

经验法则有 3 条例外,即 OrganizationBroadcastService 实体之间必须存在 1:N 关系。讨论如下:

本地频道或联属频道

例如,Fox 有一个名为 KCPQ(位于美国西雅图)和 KTVU(位于美国旧金山)的本地联属频道。KCPQ 可能会报道西雅图的本地新闻,而 KTVU 可能会专门提供新闻节目节目,以满足旧金山使用群体的需求。在大多数情况下,用户可能不了解频道的本地名称,而是只是将频道识别为 Fox

在本例中,本地频道或联属频道应由各自的 BroadcastService 实体表示,所有这些实体都应连接到一个 Organization 实体。当用户想要切换到这些频道时,可以要求 Google 助理“切换到 Fox”或“切换到 KTVU/KCPQ”。Google 将根据用户设备的位置以及用户是否有权观看所请求的频道,切换到相应的本地频道。在前面的示例中,您将创建一个代表 Fox 的组织实体,并将其与两个 BroadcastService 实体相关联,每个实体代表一个本地联属营销企业 KCPQKTVU

以下示例展示了应如何对 ABC 频道及其本地联属频道进行建模:

组织名称BroadcastService 名称婚恋状况
ABC卡拉尔OrganizationBroadcastService 实体之间是 1:N 关系
ABCKABC 认证
ABC凯悦航空 (KAEF)
ABC
ABC儿童性虐待内容 (KAMC)
ABC应用
ABC卡塔尔
ABC卡顿
ABC卡塔尔
ABCKTV

我们再来看一个例子。在这里,WXVTWYOU 是本地 CBS 频道。CBS Sports Network 并非本地频道,而是独立于前面提到的当地联属频道。

组织名称BroadcastService 名称婚恋状况
CBSWXVTOrganizationBroadcastService 实体之间是 1:N 关系
CBS
CBS Sports NetworkCBS Sports Network 高清OrganizationBroadcastService 实体之间的一对一关系

让我们以 EPIXEPIX 2 频道为例,来说明一下。它们在全国范围内都销售,提供的节目完全不同,并不是同一个频道的变体,因此不属于本地频道。

组织名称 BroadcastService 名称 婚恋状况
EPIX EPIX OrganizationBroadcastService 实体之间的一对一关系
EPIX 2 EPIX 2 OrganizationBroadcastService 实体之间的一对一关系

时移频道

在本例中,每次偏移频道都应由其自己的 BroadcastService 实体表示,所有实体都应连接到一个 Organization 实体。以下示例显示了应如何对时移频道进行建模:

组织名称BroadcastService 名称婚恋状况
STARZ EncoreSTARZ Encore 西区OrganizationBroadcastService 实体之间是 1:N 关系
STARZ EncoreSTARZ Encore East 认证

存在流式传输质量差异的频道

例如,STARZ Encore Action HDSTARZ Encore Action SD 的频道具有完全相同的节目 (EPG),流质量是唯一的区别。在本例中,每个视频画质流频道应由各自的 BroadcastService 实体表示,所有这些频道都应连接到一个 Organization 实体。

以下示例显示了应如何对具有流式传输质量差异的频道进行建模:

组织名称BroadcastService 名称婚恋状况
SBSSBSOrganizationBroadcastService 实体之间是 1:N 关系
SBSSBS 高清

以下示例展示了一个复杂的用例,将有关的所有用例全都考虑在内:

组织名称 BroadcastService 名称 婚恋状况
Starz STARZ 东方 由于时移频道,OrganizationBroadcastService 实体之间存在 1 对 1 的关系
Starz STARZ 西部
STARZ 亲子活动STARZ 亲子活动OrganizationBroadcastService 实体之间的一对一关系
STARZ Encore 黑色STARZ Encore 黑色OrganizationBroadcastService 实体之间的一对一关系
STARZ Encore ClsicSTARZ Encore 传统版OrganizationBroadcastService 实体之间的一对一关系
STARZ Encore 系列STARZ Encore 系列OrganizationBroadcastService 实体之间的一对一关系
STARZ Encore 悬疑STARZ Encore 悬疑OrganizationBroadcastService 实体之间的一对一关系
STARZ Encore 操作STARZ Encore Action HD由于流式传输质量差异,OrganizationBroadcastService 实体之间存在 1 对 1 的关系
STARZ Encore 操作STARZ Encore 行动号召广告(标清)
STARZ EncoreSTARZ Encore 西区由于时移频道,OrganizationBroadcastService 实体之间存在 1 对 1 的关系
STARZ EncoreSTARZ 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 实体提供有关 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 实体介绍了美国全国性电视服务提供商 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 实体表示地区电视服务提供商 Example Cable TV Company - San Francisco Bay 位于频道 7 的 ExampleTV-HD 和频道 11 上的 ExampleTV2,而区域性电视服务提供商 Example Cable TV Company - New York 的频道为 ExampleTV-HD 频道和 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 实体提供了虚构频道 ExampleTV-MovieExampleTV-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 介绍了覆盖全国的服务提供商 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 实体表示 ExampleTV Digital Service IPTV 的 ExTV-Movie 频道支持 ExampleTV Movie,而 ExTV-Comedy 频道则使用 ExampleTV 喜剧节目:

{
  "@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 实体描述 ExampleTV-SportsExampleTV-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 介绍了覆盖全国的服务提供商 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 实体表示 ExampleTV Digital Service IPTV 的 ExTV-Movie 频道支持 ExampleTV Movie,而 ExTV-Comedy 频道则使用 ExampleTV 喜剧节目:

{
  "@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(美国有线电视服务)。该服务包含一个电视网络:示例电视网络 (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"
}

广播服务

ExampleTV Network(组织)有 2 个本地频道,分别是纽约州的 NYTV (BroadcastService) 和新泽西州的 NJTV (BroadcastService)。这些 BroadcastService 实体详细介绍了 NYTVNJTV 频道的深层链接和访问要求。请注意,这两个 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 实体介绍了全国性电视服务提供商 Example Cable TV CompanyOrganization)提供的有线电视服务:

{
  "@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 实体表示电视服务提供商 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 的其他平台(例如 AndroidTVMade by GoogleAssistant for Operators)的集成,请与 Google 联系。

媒体操作 Feed 中所需信息的类型取决于服务提供商希望 Google 如何处理频道切换。