Kênh truyền hình trực tuyến

Tính năng tích hợp kênh truyền hình trực tiếp cho phép người dùng dùng lệnh thoại để xem và chuyển kênh truyền hình trên mọi thiết bị hỗ trợ Trợ lý Google, chẳng hạn như Google Home, Android, Android TV hoặc Google TV, v.v.

Dùng giọng nói để chuyển kênh truyền hình
Hình 1. Sử dụng giọng nói để chuyển kênh truyền hình.

Nhà cung cấp dịch vụ có thể sử dụng các đối tượng đánh dấu BroadcastService, CableOrSatelliteService, TelevisionChannelOrganization để cung cấp thông tin chi tiết về các kênh trong nguồn cấp dữ liệu Hành động đối với nội dung đa phương tiện, cho phép Google hỗ trợ các cụm từ tìm kiếm sau đây của người dùng:

  • "Ok Google, phát ExampleTV."
  • "Ok Google, chuyển đến kênh ExampleTV-HD."
  • "Ok Google, chuyển sang kênh 7."
  • "Ok Google, ExampleTV-Drama."

Các loại thực thể kênh truyền hình trực tiếp

Tính năng tích hợp kênh truyền hình trực tuyến yêu cầu 4 loại thực thể (Organization, BroadcastService, CableOrSatelliteServiceTelevisionChannel) trong nguồn cấp dữ liệu danh mục nội dung nghe nhìn. Các loại thực thể này giúp trả lời những câu hỏi sau:

  • Nhà cung cấp dịch vụ truyền hình là ai và họ cung cấp những dịch vụ nào?
  • Những kênh nào có trong mỗi dịch vụ đó (còn gọi là danh sách kênh)?

Các phần sau đây sẽ đi sâu hơn vào các loại thực thể và cung cấp câu trả lời cho các câu hỏi trước đó.

Hãy ghi nhớ sơ đồ mối quan hệ sau đây khi bạn đọc các phần bên dưới:

Mối liên hệ giữa các loại thực thể kênh truyền hình trực tiếp
Hình. Mối liên hệ giữa các loại thực thể kênh truyền hình trực tiếp.

Đại diện cho nhà cung cấp dịch vụ truyền hình

Nhà cung cấp dịch vụ truyền hình (còn gọi là nhà khai thác truyền hình) là một tổ chức cung cấp gói chương trình truyền hình cho người đăng ký. Trong hầu hết các trường hợp, đây cũng là người tạo nguồn cấp dữ liệu danh mục nội dung nghe nhìn. Điều này được biểu thị bằng thực thể Organization. Bạn chỉ nên thêm một thực thể Organization như vậy (đại diện cho nhà cung cấp dịch vụ truyền hình) vào nguồn cấp dữ liệu.

Ví dụ: nhà cung cấp dịch vụ IPTV hư cấu "ExampleTV Digital" cung cấp quyền truy cập vào 180 kênh cho cơ sở người dùng của mình ở Hoa Kỳ trong gói dịch vụ có tên "Digital Prime+".

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"Organization",
  "@id":"http://example.com/exampletv/digital",
  "name":"ExampleTV Digital",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_digital"
}

Đại diện cho dịch vụ do nhà cung cấp dịch vụ truyền hình cung cấp

CableOrSatelliteService là biểu tượng đại diện cho một dịch vụ truyền hình cáp, truyền hình vệ tinh hoặc truyền hình Internet theo khu vực do một nhà khai thác truyền hình cung cấp. Thường được liên kết với danh sách kênh và liên kết với nhà khai thác truyền hình, do thực thể Tổ chức đại diện. Một hoặc nhiều thực thể CableOrSatelliteService có thể được thêm vào nguồn cấp dữ liệu, tuỳ thuộc vào số lượng dịch vụ mà nhà khai thác truyền hình cung cấp.

Trong ví dụ này, một thực thể CableOrSatelliteService được tạo để mô tả dịch vụ "Digital Prime+" có phạm vi phủ sóng toàn quốc ở Hoa Kỳ. Lưu ý cách tham chiếu đến nhà cung cấp dịch vụ truyền hình "ExampleTV Digital" bằng cách sử dụng thuộc tính 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",
    }
  ]
}

Đại diện cho các kênh do nhà cung cấp dịch vụ truyền hình cung cấp

Các kênh được biểu thị cùng nhau bằng 3 thực thể: Organization, BroadcastServiceTelevisionChannel.

  • Thực thể BroadcastService là thực thể cốt lõi đại diện cho một kênh truyền hình phát sóng chương trình tuyến tính. Nó liên kết đến các thực thể OrganizationTelevisionChannel, đồng thời được tham chiếu bởi tập hợp các thực thể BroadcastEvent. Tập hợp này cùng nhau đại diện cho hướng dẫn chương trình (hoặc lịch phát sóng của kênh).

  • Thực thể Organization là khái niệm tượng trưng cho kênh sản xuất và phân phối chương trình truyền hình. Trong hầu hết các trường hợp, đây là bản sao của thực thể BroadcastService, trong khi ở các trường hợp khác, thực thể này có thể đại diện cho mạng truyền hình mà BroadcastService có liên kết. Thực thể BroadcastService tham chiếu thực thể Organization bằng thuộc tính broadcastAffiliateOf. Bạn cần phải hiểu rõ mối quan hệ giữa hai loại thực thể này. Bạn có thể tìm hiểu về mối quan hệ này trong phần Tìm hiểu mối quan hệ giữa Tổ chức và thực thể BroadcastService bên dưới.

  • Thực thể TelevisionChannel xác định BroadcastService bằng một giá trị nhận dạng riêng biệt, chẳng hạn như số kênh hoặc chuỗi, và thứ tự xuất hiện (trên các tài sản của nhà cung cấp, chẳng hạn như trang web hoặc ứng dụng) trong dịch vụ truyền hình cáp, truyền hình vệ tinh hoặc truyền hình Internet theo khu vực, do thực thể CableOrSatelliteService đại diện.

Các thực thể TelevisionChannel, CableOrSatelliteServiceOrganization cùng nhau tạo thành khái niệm về một đội hình.

Trong ví dụ này, giả sử "ABC Movies" là một trong 180 kênh mà nhà cung cấp dịch vụ truyền hình "ExampleTV Digital" cung cấp quyền truy cập trong gói dịch vụ "Digital Prime+" ở Hoa Kỳ. Kênh này xuất hiện dưới dạng kênh số 7 trong danh sách và là kênh thứ 18 trong ứng dụng cho Android TV của ExampleTV Digital. Dưới đây là hình ảnh minh hoạ:

BroadcastService

Mỗi thực thể BroadcastService đại diện cho một kênh (trong trường hợp này là 2 thực thể BroadcastService cho các kênh giả tưởng ExampleTV-MovieChannel và ExampleTV-ComedyChannel)


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

Tổ chức

Mỗi thực thể Tổ chức đại diện cho TVNetwork (trong trường hợp này, Dịch vụ kỹ thuật số ExampleTV (Tổ chức) cung cấp quyền truy cập vào 2 kênh: ExampleTV-MovieChannel (Tổ chức) và ExampleTV-ComedyChannel (Tổ chức))


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

Một (hoặc nhiều) thực thể TelevisionChannel cho mỗi BroadcastService đại diện cho số kênh mà thực thể này có trong dịch vụ (CableOrSatelliteService) do nhà cung cấp (Organization – TVOperator) cung cấp (trong trường hợp này, các thực thể TelevisionChannel cho biết rằng ExampleTV Digital Service IPTV có chương trình ExampleTV Movie trên kênh 7 và chương trình ExampleTV Comedy trên kênh 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"
    }
  }

Nắm được mối quan hệ giữa Tổ chức và thực thể BroadcastService

Thực thể BroadcastService là thực thể cốt lõi đại diện cho kênh truyền hình. Mặc dù Organization là một thực thể bắt buộc trong nguồn cấp dữ liệu, nhưng thực thể này chỉ tồn tại để cho phép nhà cung cấp mô hình hoá 3 trường hợp sử dụng ngoại lệ được trình bày bên dưới. Do đó, các nhà cung cấp phải tuân thủ điểm chính sau đây cho tất cả các trường hợp sử dụng, ngoại trừ trường hợp ngoại lệ.

Có 3 trường hợp ngoại lệ đối với quy tắc chung, trong đó phải có mối quan hệ 1:N giữa các thực thể OrganizationBroadcastService. Các trường hợp này được thảo luận dưới đây:

Kênh địa phương hoặc kênh liên kết

Ví dụ: Fox có các kênh liên kết tại địa phương, được gọi là KCPQSeattle, Hoa KỳKTVUSan Francisco, Hoa Kỳ. KCPQ có thể phát tin tức địa phương về Seattle, trong khi KTVU có thể phát chương trình dành riêng cho nhu cầu của người dùng ở San Francisco. Trong hầu hết trường hợp, người dùng có thể không biết tên địa phương của kênh mà chỉ nhận ra kênh đó là Fox.

Trong trường hợp này, mỗi kênh địa phương hoặc kênh liên kết phải được thể hiện bằng thực thể BroadcastService riêng, tất cả đều phải kết nối với một thực thể Organization. Khi muốn chuyển sang các kênh này, người dùng có thể yêu cầu Trợ lý Google "Chuyển sang Fox" hoặc "Chuyển sang KTVU/KCPQ". Google sẽ chuyển sang kênh địa phương phù hợp tuỳ thuộc vào vị trí thiết bị của người dùng và việc người dùng có đủ điều kiện xem kênh được yêu cầu hay không. Trong ví dụ trước, bạn sẽ tạo một thực thể Tổ chức đại diện cho Fox và liên kết thực thể đó với hai thực thể BroadcastService, mỗi thực thể đại diện cho một chi nhánh địa phương, KCPQKTVU.

Sau đây là một ví dụ khác minh hoạ cách mô hình hoá kênh ABC và các kênh liên kết tại địa phương của kênh này:

Tên tổ chứcTên BroadcastServiceĐang hẹn hò
ABCKAALMối quan hệ 1:N giữa thực thể OrganizationBroadcastService
ABCKABC
ABCKAEF
ABCKAKE
ABCKAMC
ABCKAPP
ABCKATC
ABCKATN
ABCKATU
ABCKATV

Hãy xem xét một ví dụ khác. Trong ví dụ này, WXVTWYOU là các kênh CBS địa phương. CBS Sports Network không phải là một kênh địa phương và không phụ thuộc vào các kênh liên kết địa phương đã đề cập trước đó.

Tên tổ chứcTên BroadcastServiceĐang hẹn hò
CBSWXVTMối quan hệ 1:N giữa thực thể OrganizationBroadcastService
CBSWYOU
CBS Sports NetworkCBS Sports Network HDMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService

Để minh hoạ rõ hơn, hãy xem ví dụ về kênh EPIXEPIX 2. Cả hai đều có mặt trên toàn quốc, cung cấp các chương trình khác nhau, không phải là các phiên bản của một kênh và do đó không được coi là kênh địa phương.

Tên tổ chức Tên BroadcastService Đang hẹn hò
EPIX EPIX Mối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
EPIX 2 EPIX 2 Mối quan hệ 1:1 giữa thực thể OrganizationBroadcastService

Kênh phát trễ

Trong trường hợp này, mỗi kênh phát sóng trễ phải được thể hiện bằng thực thể BroadcastService riêng, tất cả đều phải kết nối với một thực thể Organization. Sau đây là ví dụ minh hoạ cách mô hình hoá các kênh có tính năng tua đi:

Tên tổ chứcTên BroadcastServiceĐang hẹn hò
STARZ EncoreSTARZ Encore WestMối quan hệ 1:N giữa thực thể OrganizationBroadcastService
STARZ EncoreSTARZ Encore East

Kênh có sự khác biệt về chất lượng truyền phát trực tiếp

Ví dụ: các kênh STARZ Encore Action HDSTARZ Encore Action SD có cùng nội dung chương trình (EPG) và chất lượng phát trực tuyến là điểm khác biệt duy nhất giữa hai kênh này. Trong trường hợp này, mỗi kênh luồng chất lượng video phải được biểu thị bằng thực thể BroadcastService riêng, tất cả đều phải kết nối với một thực thể Organization.

Sau đây là ví dụ minh hoạ cách mô hình hoá các kênh có sự khác biệt về chất lượng phát trực tuyến:

Tên tổ chứcTên BroadcastServiceĐang hẹn hò
SBSSBSMối quan hệ 1:N giữa thực thể OrganizationBroadcastService
SBSSBS HD

Sau đây là ví dụ về một trường hợp sử dụng phức tạp, kết hợp tất cả các trường hợp sử dụng đang hoạt động:

Tên tổ chức Tên BroadcastService Đang hẹn hò
Starz STARZ East Mối quan hệ 1:N giữa thực thể OrganizationBroadcastService do các kênh phát sóng trễ
Starz STARZ West
STARZ Kids & FamilySTARZ Kids & FamilyMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
STARZ Encore BlackSTARZ Encore BlackMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
STARZ Encore ClsicSTARZ Encore ClassicMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
STARZ Encore FamilySTARZ Encore FamilyMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
STARZ Encore SuspenseSTARZ Encore SuspenseMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
STARZ Encore ActionSTARZ Encore Action HDMối quan hệ 1:N giữa thực thể OrganizationBroadcastService do sự khác biệt về chất lượng phát trực tuyến
STARZ Encore ActionSTARZ Encore Action SD
STARZ EncoreSTARZ Encore WestMối quan hệ 1:N giữa thực thể OrganizationBroadcastService do các kênh phát sóng trễ
STARZ EncoreSTARZ Encore East

Ví dụ

Nhà cung cấp dịch vụ truyền hình trên toàn quốc có danh sách kênh theo khu vực

Tổ chức

Example Cable TV Company (Organization) là một nhà cung cấp dịch vụ truyền hình hư cấu, cung cấp dịch vụ Truyền hình trực tuyến qua mạng cáp ở hai khu vực: New York và San Francisco. Dịch vụ này có 2 kênh: ExampleTV (Organization) và 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

Các thực thể BroadcastService này cung cấp thông tin chi tiết về đường liên kết sâu và yêu cầu truy cập đối với kênh ExampleTV ở chế độ HD và kênh 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

Các thực thể CableOrSatelliteService này mô tả dịch vụ truyền hình cáp ở New York (DMA_ID=501) và Khu vực vịnh San Francisco (DMA_ID=807), do nhà cung cấp dịch vụ truyền hình trên toàn quốc Example Cable TV Company (Organization) cung cấp:

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

Các thực thể TelevisionChannel này cho biết nhà cung cấp dịch vụ truyền hình khu vực Example Cable TV Company - San Francisco BayExampleTV-HD trên kênh 7 và ExampleTV2 trên kênh 11, còn nhà cung cấp dịch vụ truyền hình khu vực Example Cable TV Company - New YorkExampleTV-HD trên kênh 12 và ExampleTV2 trên kênh 4:

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

Nhà cung cấp dịch vụ truyền hình quốc gia trên Internet

Tổ chức

ExampleTV Digital Service (Organization) là một nhà cung cấp dịch vụ truyền hình qua giao thức Internet (IPTV) hư cấu. Nhà cung cấp này cung cấp dịch vụ truyền hình trực tiếp trên Internet, bao gồm 2 kênh sau: ExampleTV-Movie (Organization) và 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

Hai thực thể BroadcastService này cung cấp thông tin chi tiết về đường liên kết sâu và yêu cầu truy cập đối với các kênh giả tưởng 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 này mô tả nhà cung cấp dịch vụ ExampleTV Digital Service có phạm vi cung cấp trên toàn quốc:

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

Các thực thể TelevisionChannel này cho biết dịch vụ IPTV ExampleTV Digital Service có chương trình ExampleTV Movie trên kênh ExTV-Movie và chương trình ExampleTV Comedy trên kênh ExTV-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"
  }
}

Danh sách kênh mà nhà cung cấp dịch vụ truyền hình thực hiện việc chuyển kênh

Tổ chức

ExampleTV Digital Service (Organization) là một nhà cung cấp dịch vụ truyền hình hư cấu. Nhà cung cấp này bán hộp giải mã tín hiệu số để cho phép người dùng truy cập vào các kênh IPTV hư cấu ExampleTV-Sports (Organization) và 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

Hai thực thể BroadcastService này mô tả các kênh ExampleTV-SportsExampleTV-Drama (không bắt buộc phải có đường liên kết sâu):

{
  "@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 này mô tả nhà cung cấp dịch vụ ExampleTV Digital Service có phạm vi cung cấp trên toàn quốc:

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

Các thực thể TelevisionChannel này cho biết dịch vụ IPTV ExampleTV Digital Service có chương trình ExampleTV Movie trên kênh ExTV-Movie và chương trình ExampleTV Comedy trên kênh ExTV-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"
  }
}

Nhà cung cấp dịch vụ truyền hình có các kênh liên kết hoặc kênh địa phương

Tổ chức

Nhà cung cấp dịch vụ truyền hình (còn gọi là nhà khai thác truyền hình), Example Cable TV Company (Organization) cung cấp dịch vụ truyền hình trực tiếp (có tên là "Example Cable TV Service", một CableOrSatelliteService) qua mạng truyền hình cáp ở Hoa Kỳ. Dịch vụ này có một mạng truyền hình: 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 (Tổ chức) có 2 kênh địa phương là NYTV (BroadcastService) ở New York và NJTV (BroadcastService) ở New Jersey. Các thực thể BroadcastService này cung cấp thông tin chi tiết về đường liên kết sâu và yêu cầu truy cập đối với các kênh NYTVNJTV. Xin lưu ý rằng cả hai BroadcastService này đều kết nối với cùng một Tổ chức (ExampleTV Network) thông qua thuộc tính broadcastAffiliateOf:

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

Thực thể CableOrSatelliteService mô tả các dịch vụ truyền hình cáp do nhà cung cấp dịch vụ truyền hình trên toàn quốc Example Cable TV Company (Organization) cung cấp:

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

Các thực thể TelevisionChannel này cho biết nhà cung cấp dịch vụ truyền hình Example Cable TV CompanyNYTV trên kênh 7 và NJTV HD trên kênh 12:

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

Chuyển kênh trên Android TV

Nhờ tính năng tích hợp kênh truyền hình trực tiếp, người dùng có thể yêu cầu Google chuyển kênh bằng lệnh thoại. Google sử dụng công nghệ Xử lý ngôn ngữ tự nhiên (NLP) để trích xuất các tham số từ truy vấn của người dùng và xác định kênh mà người dùng muốn xem. Sau đó, Google sẽ xử lý việc chuyển đổi kênh theo một trong những cách sau:

  • Do Google thực hiện – Google thực hiện việc chuyển đổi kênh bằng cách sử dụng một đường liên kết sâu có trong nguồn cấp Dữ liệu về thao tác với nội dung nghe nhìn. Thông tin trong nguồn cấp dữ liệu này giúp Google tìm được đường liên kết sâu đến kênh mà người dùng muốn xem. Sau đó, Google sẽ đưa người dùng trực tiếp đến nội dung trên ứng dụng hoặc nền tảng của nhà cung cấp dịch vụ.
  • Do nhà cung cấp dịch vụ truyền hình thực hiện – Google gửi yêu cầu đến nhà cung cấp dịch vụ. Google và nhà cung cấp dịch vụ có thể phối hợp thực hiện việc chuyển kênh theo nhiều cách. Hãy liên hệ với Google để biết thông tin chi tiết về việc tích hợp với các nền tảng khác của Google (ví dụ: Android TV, Made By Google, Trợ lý cho nhà khai thác).

Loại thông tin cần thiết trong nguồn cấp dữ liệu Thao tác với nội dung nghe nhìn phụ thuộc vào cách nhà cung cấp dịch vụ muốn Google xử lý việc chuyển kênh.