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 sử dụng lệnh thoại để xem và chuyển đổi 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.

Sử dụng giọng nói để chuyển đổi kênh truyền hình
Hình 1. Sử dụng giọng nói để chuyển đổi 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 trong nội dung nghe nhìn, cho phép Google hỗ trợ các truy vấn sau của người dùng:

  • "Ok Google, phát ExampleTV."
  • "Ok Google, chuyển sang 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ích hợp kênh truyền hình trực tiếp, bạn cần có 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 các 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?
  • Mỗi dịch vụ đó có những kênh nào (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 lưu ý sơ đồ mối quan hệ sau đây khi bạn đọc các phần bên dưới:

Mối liên kết 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 kết 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ỉ được 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ụ: một 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 ở Hoa Kỳ trong 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 đại diện cho dịch vụ truyền hình cáp, vệ tinh hoặc truyền hình Internet theo khu vực do nhà cung cấp dịch vụ truyền hình cung cấp. Mục này thường được liên kết với danh sách kênh và liên kết với nhà cung cấp dịch vụ truyền hình, được biểu thị bằng thực thể Tổ chức. Bạn có thể thêm một hoặc nhiều thực thể CableOrSatelliteService vào nguồn cấp dữ liệu, tuỳ thuộc vào số lượng dịch vụ do nhà cung cấp dịch vụ 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 toàn quốc tại Hoa Kỳ. Hãy 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ân phối chương trình truyền hình truyền thống. Thuộc tính này 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 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 đại diện 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 trong các trường hợp khác, thuộc tính này có thể đại diện cho mạng truyền hình mà BroadcastService liên kết. Thực thể BroadcastService tham chiếu thực thể Organization bằng thuộc tính broadcastAffiliateOf. Điều quan trọng là bạn phải hiểu mối quan hệ giữa hai loại thực thể này. Bạn có thể tìm hiểu về điều này trong phần Tìm hiểu mối quan hệ giữa thực thể Tổ chức và BroadcastService bên dưới.

  • Thực thể TelevisionChannel xác định BroadcastService bằng một giá trị nhận dạng duy nhất, chẳng hạn như số kênh hoặc chuỗi và thứ tự xuất hiện của kênh (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, vệ tinh hoặc truyền hình Internet theo khu vực, được biểu thị bằng thực thể CableOrSatelliteService.

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 dịch vụ "Digital Prime+" của họ ở Hoa Kỳ. Kênh này xuất hiện ở vị trí thứ 7 trong danh sách kênh và ở vị trí thứ 18 trên ứng dụng Android TV của ExampleTV Digital. Điều này được thể hiện như sau:

BroadcastService

Mỗi thực thể BroadcastService đại diện cho một kênh (trong trường hợp này là hai thực thể BroadcastService cho các kênh hư cấu 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 pháp nhân Tổ chức đại diện cho một 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 IPTV Dịch vụ kỹ thuật số ExampleTV có chương trình Phim ExampleTV trên kênh 7 và chương trình Hài ExampleTV 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"
    }
  }

Tìm hiểu mối quan hệ giữa thực thể Organization và 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ù thực thể Organization là một thực thể nguồn cấp dữ liệu bắt buộc, 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 đó, nhà cung cấp phải tuân thủ điểm chính sau đây cho tất cả trường hợp sử dụng, ngoại trừ các trường hợp ngoại lệ.

Có 3 trường hợp ngoại lệ đối với quy tắc ngón tay cái, trong đó phải có mối quan hệ 1:N giữa các thực thể OrganizationBroadcastService. Các vấn đề 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 địa phương, có tên 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 các 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 các 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 biểu thị bằng các thực thể BroadcastService riêng, tất cả các thực thể này 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à liệu người dùng có quyề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 đài truyền hình liên kết địa phương, KCPQKTVU.

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

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 đó, WXVTWYOU là các kênh CBS địa phương. CBS Sports Network không phải là kênh địa phương và độc lập với các kênh liên kết địa phương được đề cập ở trên.

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

Để hiểu rõ vấn đề này, hãy lấy ví dụ về các kênh EPIXEPIX 2. Cả hai kênh này đều phát sóng trên toàn quốc, cung cấp nhiều chương trình khác nhau, không phải là biến thể 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 truyền hình trễ

Trong trường hợp này, mỗi kênh chuyển giờ phải được biểu thị bằng một thực thể BroadcastService riêng, tất cả các thực thể này phải kết nối với một thực thể Organization. Dưới đây là ví dụ minh hoạ cách lập mô hình kênh có tính năng tua lạ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

Các kênh có sự khác biệt về chất lượng phát trực tuyến

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

Dưới đây là ví dụ minh hoạ cách lập mô hình cho 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

Dưới đâ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:

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 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 trễ
STARZ EncoreSTARZ Encore East

Ví dụ

Nhà cung cấp dịch vụ truyền hình quốc gia có danh sách chương trình theo khu vực

Tổ chức

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

Một nhà cung cấp dịch vụ truyền hình qua giao thức Internet (IPTV) hư cấu, Dịch vụ kỹ thuật số ExampleTV (Organization), cung cấp dịch vụ Truyền hình trực tiếp trên Internet, trong đó có hai 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 cho các kênh hư cấu 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ụ Dịch vụ kỹ thuật số ExampleTV 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 rằng IPTV Dịch vụ kỹ thuật số ExampleTV có chương trình Phim ExampleTV trên kênh ExTV-Movie và chương trình Hài ExampleTV 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

Một nhà cung cấp dịch vụ truyền hình hư cấu, Dịch vụ kỹ thuật số ExampleTV (Organization) cung cấp quyền truy cập vào các kênh IPTV hư cấu ExampleTV-Sports (Organization) và ExampleTV-Drama (Organization) cho người dùng thông qua hộp giải mã tín hiệu số mà họ bán.

{
  "@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ụ Dịch vụ kỹ thuật số ExampleTV 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 rằng dịch vụ IPTV Dịch vụ kỹ thuật số ExampleTV có chương trình Phim ExampleTV trên kênh ExTV-Movie và chương trình Hài ExampleTV 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

Một nhà cung cấp dịch vụ truyền hình (còn gọi là nhà điều hành 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", CableOrSatelliteService) qua mạng truyền hình cáp ở Hoa Kỳ. Dịch vụ này chứa một mạng truyền hình: ExampleTV Network (Mạng truyền hình ExampleTV) (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 cho các kênh NYTVNJTV. Xin lưu ý rằng cả hai BroadcastServices 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 rằng 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

Khi tích hợp kênh Truyền hình trực tuyến, 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ừ cụm từ tìm kiếm 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 một đường liên kết sâu được cung cấp trong nguồn cấp dữ liệu Hành động trong nội dung nghe nhìn. Thông tin từ nguồn cấp dữ liệu cho phép Google tra cứu đường liên kết sâu của kênh mà người dùng muốn xem. Sau đó, Google sẽ đưa người dùng đến trực tiếp 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 việc chuyển đổi 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ụ: AndroidTV, Made By Google, Trợ lý cho nhà mạng).

Loại thông tin cần thiết trong nguồn cấp dữ liệu Hành động trong 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 đổi kênh.