電視直播頻道整合完成後,使用者就能在支援 Google 助理的任何裝置上,使用語音指令觀看及切換電視頻道,例如 Google Home、Android、Android TV 或 Google TV 等。
![使用語音切換電視頻道](https://developers-dot-devsite-v2-prod.appspot.com/actions/media/images/image-live-tv-channel-02.png?authuser=0000&hl=zh-tw)
服務供應商可以使用 BroadcastService
、CableOrSatelliteService
、TelevisionChannel
和 Organization
標記物件,在媒體動作動態饋給中提供頻道詳細資料,讓 Google 支援下列使用者查詢:
- 「Ok Google,播放 ExampleTV。」
- 「Ok Google,播放 ExampleTV-HD。」
- 「Ok Google,切換到頻道 7」。
- 「Ok Google,ExampleTV-Drama。」
直播電視頻道實體類型
媒體目錄動態饋給中需要有 4 種實體類型 (Organization
、BroadcastService
、CableOrSatelliteService
和 TelevisionChannel
),才能整合直播電視頻道。這些實體類型有助於回答下列問題:
- 電視服務供應商是哪一家?他們提供哪些服務?
- 每項服務 (又稱為頻道首選頻道) 提供哪些管道組合?
以下章節會深入瞭解實體類型,並解答上述問題。
閱讀以下各節時,請記住以下關係圖:
![各種直播電視頻道實體類型之間的連結](https://developers-dot-devsite-v2-prod.appspot.com/static/actions/media/images/image-live-tv-channel-01.jpg?authuser=0000&hl=zh-tw)
代表電視服務供應商
電視服務供應商又稱為電視業者,是提供給訂閱者的整套電視節目。在大多數情況下,這也是媒體目錄動態饋給的建立者。這會以 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
實體。
本例中,有一個用來描述「Digital Prime+」的 CableOrSatelliteService
實體建立涵蓋美國全國性的服務。請留意參照「ExampleTV Digital」使用 provider
屬性的電視服務供應商。
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type":"CableOrSatelliteService",
"@id":"http://example.com/example_iptv/us",
"name":"Example TV Digital Prime Plus US Service",
"provider": {
"@type": "Organization",
"@id": "http://example.com/exampletv/digital",
},
"areaServed":[
{
"@type":"Country",
"name": "US",
}
]
}
代表電視服務供應商提供的頻道
這些管道是由 3 個實體組成:Organization
、BroadcastService
和 TelevisionChannel
。
BroadcastService
實體是核心實體,代表發布線性節目的電視頻道。會連結至Organization
和TelevisionChannel
實體,並由BroadcastEvent
實體組合參照,這些實體會同時代表節目規劃指南 (或頻道時間表)。Organization
實體代表製作及發布電視節目的頻道。在大多數情況下,這是BroadcastService
實體的備用資源,而在其他情況下,它可能代表與BroadcastService
相關聯的電視聯播網。BroadcastService
實體使用broadcastAffiliateOf
屬性參照Organization
實體。請務必瞭解這兩種實體類型之間的關聯性。詳情請參閱下方的「瞭解機構與 BroadcastService 實體之間的關係」一節。TelevisionChannel
實體會透過專屬 ID (例如頻道號碼或字串) 來識別BroadcastService
,以及在區域有線電視、衛星或網路電視服務中,以CableOrSatelliteService
實體表示的顯示順序 (在供應商的資源中,例如網站或應用程式)。
TelevisionChannel
、CableOrSatelliteService
和 Organization
實體會共同形成首選頻道的概念。
在這個範例中,假設「ABC Movies」是「ExampleTV Digital」的 180 個頻道電視服務供應商提供「數位 Prime+」成員的存取權這項服務在美國的提供。這個頻道在首選頻道中,第 7 個頻道編號在 18 歲,在 ExampleTV Digital 的 Android TV 應用程式中。如下所示:
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 數位服務 (機構組織) 的一個機構實體) 提供 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
供應商 (機構 - TVOperator) 提供的服務 (機構 - TVOperator) 服務中,每個 BroadcastService 的 TelevisionChannel 實體代表該實體提供的頻道號碼 (在本例中為 TelevisionChannel 實體在頻道 7 上提供 ExampleTV Movie 節目,以及 9 頻道 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"
}
}
瞭解機構和 BroadcastService 實體之間的關係
BroadcastService
實體是代表電視頻道的核心實體。雖然 Organization
實體是必要的動態饋給實體,但實際上,該實體只是為了讓供應商建立以下三種例外狀況用途的模型。因此,除了例外狀況,提供者應遵循以下重點。
根據經驗法則有 3 個例外狀況,這表示 Organization
和 BroadcastService
實體之間必須有 1:N 的關係。詳細說明如下:
當地頻道或聯盟頻道
舉例來說,「Fox」在美國西雅圖和美國舊金山地區分別提供「KCPQ」和「KTVU」的本地聯盟頻道。KCPQ 可能會提供有關西雅圖的當地新聞,KTVU 可能會根據舊金山使用群體的需求提供專門的節目。在多數情況下,使用者可能不知道頻道的當地名稱,而是只辨識為「Fox」的頻道。
在這種情況下,本地或聯盟頻道應以各自的 BroadcastService
實體表示,且所有這些頻道都應連結至一個 Organization
實體。使用者想要切換到這些頻道時,可以要求 Google 助理選擇「切換至 Fox」即可。或「切換至 KTVU/KCPQ」。Google 會根據使用者裝置的所在位置,以及他們是否有權觀看要求的頻道,切換至適當的當地頻道。在先前的範例中,您會建立一個代表 Fox 的機構組織實體,並連結至兩個 BroadcastService
實體,每個實體分別代表一個本地關係企業 (KCPQ 和 KTVU)。
以下示範如何模擬「ABC」ABC頻道及其當地聯盟頻道:
機構名稱 | BroadcastService 名稱 | 感情狀態 |
---|---|---|
ABC | KAAL | Organization 和 BroadcastService 實體之間的 1:N 關係 |
ABC | KABC | |
ABC | KAEF | |
ABC | KAKE | |
ABC | KAMC | |
ABC | KAPP | |
ABC | KATC | |
ABC | KATN | |
ABC | KATU | |
ABC | KATV |
我們再舉一個例子。WXVT 和 WYOU 是本地的 CBS 頻道。CBS Sports Network 並非地方頻道,與前述當地聯盟無關。
機構名稱 | BroadcastService 名稱 | 感情狀態 |
---|---|---|
CBS | WXVT | Organization 和 BroadcastService 實體之間的 1:N 關係 |
CBS | WYOU | |
CBS Sports Network | CBS Sports Network HD 高畫質 | Organization 和 BroadcastService 實體之間的 1:1 關係 |
我們以 EPIX 和 EPIX 2 頻道為例來進行說明。上述功能在全國播出,合力提供不同的節目,並非單一管道的版本,因此不會計入本地頻道。
機構名稱 | BroadcastService 名稱 | 感情狀態 |
---|---|---|
EPIX | EPIX | Organization 和 BroadcastService 實體之間的 1:1 關係 |
第 2 集 | 第 2 集 | Organization 和 BroadcastService 實體之間的 1:1 關係 |
經過時間轉換的頻道
在這種情況下,每個經過調整的管道都應以自己的 BroadcastService
實體表示,而這些實體應連結至一個 Organization
實體。以下範例說明如何模擬經過時間調整的頻道:
機構名稱 | BroadcastService 名稱 | 感情狀態 |
---|---|---|
STARZ 安可 | STARZ Encore West | Organization 和 BroadcastService 實體之間的 1:N 關係 |
STARZ 安可 | STARZ 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 東區 | 因時移管道,Organization 和 BroadcastService 實體之間的 1:N 關係 |
Starz | STARZ 西部 | |
STARZ Kids &家庭 | STARZ Kids &家庭 | Organization 和 BroadcastService 實體之間的 1:1 關係 |
STARZ Encore Black | STARZ Encore Black | Organization 和 BroadcastService 實體之間的 1:1 關係 |
STARZ Encore Clsic | STARZ Encore 經典 | Organization 和 BroadcastService 實體之間的 1:1 關係 |
STARZ Encore 系列 | STARZ Encore 系列 | 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 安可 | STARZ Encore West | 因時移管道,Organization 和 BroadcastService 實體之間的 1:N 關係 |
STARZ 安可 | STARZ Encore East |
範例
提供區域首選頻道的全國電視服務供應商
組織
虛構的電視服務供應商 Example Cable TV Company (Organization
) 提供電視直播服務
這項服務Service 包含
兩個頻道: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
這些 TelevisionChannel
實體表示區域電視服務供應商 Example Cable TV Company - San Francisco Bay 頻道 7 頻道為 ExampleTV-HD,頻道 11 則有 ExampleTV2;而區域電視服務供應商 Example Cable TV Company - New York 則在頻道 12 上提供 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
這兩個 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 會使用媒體動作動態饋給中提供的深層連結執行頻道切換。這些資訊可讓 Google 查詢使用者想觀看的頻道深層連結。接著,Google 會將使用者直接導向服務供應商的應用程式或平台上的內容。
- 電視服務供應商可出貨 - Google 向服務供應商傳送要求。Google 和服務供應商能以多種不同方式協調切換管道的工作。如需有關整合 Google 其他平台 (例如 AndroidTV、Made by Google、電信業者適用的 Google 助理) 的整合詳情,請與 Google 聯絡。
媒體動作動態饋給需要的資訊類型,取決於服務供應商希望 Google 處理頻道切換的方式。