直播電視頻道

整合電視直播頻道,讓使用者可以在任何支援 Google 助理的裝置上,透過語音指令觀看及切換電視頻道,例如支援 Google Home、Android、Android TV 或 Google TV 等。

使用語音功能切換電視頻道
圖 1. 使用語音指令切換電視頻道。

服務供應商可以使用 BroadcastServiceCableOrSatelliteServiceTelevisionChannelOrganization 標記物件,在媒體動作動態饋給中提供管道詳細資料,以便 Google 支援下列使用者查詢內容:

  • 「Ok Google,播放 ExampleTV」。
  • 「Ok Google,微調 ExampleTV-HD」。
  • 「Ok Google,切換到頻道 7」。
  • 「Ok Google,ExampleTV-Drama」。

直播電視頻道實體類型

直播電視頻道的整合作業需要有 4 個實體類型 (例如 OrganizationBroadcastServiceCableOrSatelliteServiceTelevisionChannel),這些實體類型可協助回答下列問題:

  • 電視服務供應商是誰?他們提供哪些服務?
  • 這些服務分別包含哪些頻道 (也稱為頻道首選頻道)?

以下各節將深入探討實體類型,並針對上述問題提供答案。

閱讀以下各節時,請謹記以下關係圖:

各種直播電視頻道實體類型之間的關聯
。各種即時電視頻道實體類型之間的連線。

代表電視服務供應商

電視服務供應商 (又稱為電視業者) 是為訂閱者提供電視節目組合的一種服務。在多數情況下,這也是媒體目錄動態消息的建立者。這代表 Organization 實體。請在動態饋給中加入一個「一個」這類 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 代表電視業者提供的區域有線電視、衛星電視或網際網路電視服務。頻道通常與頻道首選頻道相關,並連結至機構實體所代表的電視業者。視電視業者提供的服務數量,將一或多個 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 個實體所代表:OrganizationBroadcastServiceTelevisionChannel

  • BroadcastService 實體是代表線性線性電視節目的電視頻道的核心實體。其會連結至 OrganizationTelevisionChannel 實體,並由代表其程式設計指南 (或管道時間表) 的 BroadcastEvent 實體組合參照。

    • 此外,BroadcastService 實體也應明確定義深層連結存取權需求條件BroadcastService 結構定義可讓您根據使用者目前裝置位置 (透過 eligibleRegionineligibleRegion 屬性) 限制對頻道的存取權。詳情請參閱電視直播授權用途
  • Organization 實體代表產生與發行電視節目的管道。在大多數情況下,這會是 BroadcastService 實體的備用資源,而在其他情況下,可能代表與 BroadcastService 建立關聯的電視聯播網。BroadcastService 實體會使用 broadcastAffiliateOf 屬性參照 Organization 實體。瞭解這兩種實體類型之間的關係。詳情請參閱下方的「瞭解機構和 BroadcastService 實體之間的關係」一節。

  • TelevisionChannel 實體是透過一組專屬 ID 識別 BroadcastService,例如頻道號碼或字串,以及在 CableOrSatelliteService 實體所代表的區域有線電視、衛星電視或網際網路電視服務中的顯示順序 (在供應商資源上,例如網站或應用程式)。

TelevisionChannelCableOrSatelliteServiceOrganization 實體會構成首選頻道概念。

在本例中,假設「ABC 電影」是「ExampleTV Digital」電視服務供應商在美國境內的 Digital Media Prime+ 服務旗下的 180 個頻道之一。此頻道在 ExampleTV Digital 的 Android TV 應用程式中,在首選頻道和第 18 個頻道中顯示為第 7 個頻道,如下所示:

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 (Organization)) 提供 2 個頻道:ExampleTV-MovieChannel (Organization) 和 ExampleTV-ComedyChannel (Organization)


{
 "@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 實體,代表供應商 (CableOrSatelliteService) 上提供此實體所提供頻道號碼的電視頻道 (本例中為 TelevisionChannel 實體,表示 TelevisionChannel 實體代表頻道 7 中的 ExampleTV Digital Service IPTV 在頻道 7 中提供範例 TV 電影節目)

  {
    "@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 實體是必要的動態饋給實體,但實際上,只有供應商允許模擬三種三種例外狀況用途。因此,除了例外狀況之外,供應商應遵循下列所有要點。

經驗法則有 3 項例外,OrganizationBroadcastService 實體之間必須存在 1:N 的關係。討論如下:

當地頻道或聯盟頻道

舉例來說,「Fox」擁有當地聯盟頻道,也就是「Seattle, US」中的「KCPQ」,在台南市的「KTVU」KCPQ 可能涵蓋西雅圖的當地新聞,KTVU 也可能會基於舊金山的基地需求而專門編寫節目。在大多數情況下,使用者可能不會知道頻道的本機名稱,只會知道這是「Fox」的頻道名稱。

在這種情況下,本地或聯盟管道應分別以其 BroadcastService 實體來代表,這些實體都應連結至一個 Organization 實體。當使用者想切換至這些頻道時,他們可以要求 Google 助理「切換至 Fox」或「切換至 KTVU/KCPQ」。Google 會根據使用者的裝置所在位置,以及使用者是否有權觀看要求的頻道,切換至適當的本機頻道。在先前的範例中,您可以建立一個代表 Fox 的機構機構,並將該實體連結至兩個 BroadcastService 實體,分別代表當地關係企業 KCPQKTVU

再舉一個例子,說明 ABC 頻道及其本地聯盟頻道的模擬方式:

機構名稱BroadcastService 名稱感情狀態
ABC肯亞OrganizationBroadcastService 實體之間的 1:N 關係
ABC郵件
ABC開球
ABC開玩笑
ABC南韓
ABC開球
ABC客戶滿意度
ABC韓國
ABC韓國
ABC韓國電視

再舉另一個例子此處的 WXVTWYOU 是當地 CBS 頻道。CBS Sports Network 並非本地頻道,與上述的當地聯盟無關。

機構名稱BroadcastService 名稱感情狀態
CBSWXVTOrganizationBroadcastService 實體之間的 1:N 關係
CBS參與者
CBS Sports NetworkCBS Sports Network HDOrganizationBroadcastService 實體之間有 1:1 的關係

為了舉例說明,以 EPIXEPIX 2 頻道為例,上述兩版功能在全國皆提供、提供不同的節目形式,並非單一頻道的變化版本,因此不視為當地頻道。

機構名稱 BroadcastService 名稱 感情狀態
EPIX EPIX OrganizationBroadcastService 實體之間有 1:1 的關係
EPIX 2 EPIX 2 OrganizationBroadcastService 實體之間有 1:1 的關係

時移管道

在這種情況下,每次轉移的管道都應以各自的 BroadcastService 實體來代表,這些實體都應連結至一個 Organization 實體。以下範例說明如何轉換時光頻道:

機構名稱BroadcastService 名稱感情狀態
STARZ 核心STARZ Encore WestOrganizationBroadcastService 實體之間的 1:N 關係
STARZ 核心STARZ Encore East

串流播放品質差異的頻道

舉例來說,STARZ Encore Action HDSTARZ Encore Action SD 的頻道擁有完全相同的節目 (EPG) ,而串流品質是兩者之間唯一的差別。在這種情況下,每個影片品質串流管道都應該以不同的 BroadcastService 實體呈現,且這些實體均應連結至一個 Organization 實體。

以下範例說明如何模擬串流品質差異的頻道:

機構名稱BroadcastService 名稱感情狀態
SBSSBSOrganizationBroadcastService 實體之間的 1:N 關係
SBSSBS HD 高畫質

以下是一個複雜的用途範例,可結合遊戲中的所有用途:

機構名稱 BroadcastService 名稱 感情狀態
Starz STARZ 東區 OrganizationBroadcastService 實體之間有 1:N 與時移管道之間的關係
Starz STARZ West
STARZ Kids 與家庭STARZ Kids 與家庭OrganizationBroadcastService 實體之間有 1:1 的關係
STARZ Encore 黑色STARZ Encore 黑色OrganizationBroadcastService 實體之間有 1:1 的關係
STARZ Encore ClsicSTARZ Encore 經典OrganizationBroadcastService 實體之間有 1:1 的關係
STARZ Encore 系列STARZ Encore 系列OrganizationBroadcastService 實體之間有 1:1 的關係
STARZ Encore SuspenseSTARZ Encore SuspenseOrganizationBroadcastService 實體之間有 1:1 的關係
STARZ 核心動作STARZ Encore Action HDOrganizationBroadcastService 實體之間有 1:N 的關係,因為串流品質差異
STARZ 核心動作STARZ Encore Action SD 卡
STARZ 核心STARZ Encore WestOrganizationBroadcastService 實體之間有 1:N 與時移管道之間的關係
STARZ 核心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 實體針對 HD 高畫質和 ExampleTV2 頻道中的 ExampleTV 頻道提供深層連結和存取權需求的詳細資訊:

{
  "@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 實體表示地區 7 的區域電視服務供應商 Example Cable TV Company - San Francisco Bay 擁有 ExampleTV-HD,在頻道 11 上是 ExampleTV2,區域電視服務供應商 Example Cable TV Company - New York 在頻道 12 上擁有 ExampleTV-HD

{
  "@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-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

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 實體代表「ExTV-Movie」頻道中的 ExampleTV Digital Service IPTV 含有「TVTV 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

這兩個 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

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 實體代表「ExTV-Movie」頻道中的 ExampleTV Digital Service IPTV 含有「TVTV 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"
  }
}

與聯盟或當地頻道合作的電視服務供應商

機構組織

電視服務供應商 (也稱為電視業者),Example Cable TV 公司 (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 實體提供了 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

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 實體代表電視服務供應商 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 會利用媒體動作動態饋給中提供的深層連結,執行頻道切換作業。動態饋給資訊可讓 Google 查詢使用者想觀看的頻道深層連結。接著,Google 會將使用者直接導向服務供應商應用程式或平台的內容。
  • 由電視服務供應商填寫:Google 向服務供應商傳送要求。Google 和服務供應商可透過多種方式協調切換頻道的工作。如要進一步瞭解如何與 Google 其他平台 (例如 AndroidTVMade by GoogleGoogle 助理操作者) 整合,請洽詢 Google。

媒體動作動態饋給中所需的資訊類型,取決於服務供應商要求 Google 處理頻道切換的方式。