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

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 bất kỳ thiết bị nào 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 kênh TV
Hình 1. Dùng giọng nói để chuyển kênh TV.

Nhà cung cấp dịch vụ có thể sử dụng đố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 Media Actions, cho phép Google hỗ trợ các truy vấn người dùng sau:

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

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

Để tích hợp với kênh truyền hình trực tiếp, bạn phải cung cấp 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. Những 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?
  • Có những nhóm kênh nào trong mỗi dịch vụ đó (còn gọi là nhóm kênh)?

Các phần sau đây nghiên cứu kỹ hơn về 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 qua các phần dưới đây:

Kết nối giữa các loại tổ chức kênh truyền hình trực tiếp
Hình. Sự kết nối giữa các loại thực thể của 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à cung cấp dịch vụ 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 phương tiện. Thuộc tính này do thực thể Organization đại diện. Chỉ thêm một thực thể Organization đạ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 giả định "ExampleTV Digital" cung cấp quyền truy cập vào 180 kênh đối với cơ sở người dùng ở Hoa Kỳ trong phạm vi 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"
}

Trình bày dịch vụ do nhà cung cấp dịch vụ truyền hình cung cấp

CableOrSatelliteService biểu thị dịch vụ truyền hình cáp, vệ tinh hoặc Internet trong khu vực do nhà cung cấp dịch vụ truyền hình cung cấp. Kênh này thường được liên kết với nhóm kênh và liên kết với nhà điều hành truyền hình, do thực thể Organization đại diện. Một hoặc nhiều CableOrSatelliteService thực thể 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ụ do nhà khai thác truyền hình cung cấp.

Trong ví dụ này, một thực thể CableOrSatelliteService để mô tả dịch vụ "Digital Prime+" có mức độ phù hợp quốc gia ở Hoa Kỳ được tạo. 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 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",
    }
  ]
}

Trình bày các kênh do nhà cung cấp dịch vụ truyền hình cung cấp

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

  • 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 tuyến tính. Mã này liên kết đến các thực thể OrganizationTelevisionChannel, đồng thời được tham chiếu bởi một nhóm các thực thể BroadcastEvent cùng đại diện cho hướng dẫn lập trình (hoặc lịch trình 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, còn trong các trường hợp khác, nó có thể đại diện cho mạng TV liên kết với BroadcastService. Thực thể BroadcastService tham chiếu đến thực thể Organization bằng cách sử dụng thuộc tính broadcastAffiliateOf. Điều quan trọng là phải hiểu hai loại thực thể này có liên quan với nhau như thế nào. Bạn có thể tìm hiểu về vấn đề 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 duy nhất, chẳng hạn như số kênh hoặc chuỗi và thứ tự xuất hiện (trên thuộc tính của nhà cung cấp, chẳng hạn như trang web hoặc ứng dụng) trong dịch vụ cáp, vệ tinh hoặc Internet TV theo khu vực, do thực thể CableOrSatelliteService đại diện.

Các thực thể TelevisionChannel, CableOrSatelliteServiceOrganization tạo thành một khái niệm về một nhóm kênh nổi tiếng.

Trong ví dụ của chúng tôi, 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 như một phần của dịch vụ "Digital Prime+" ở Hoa Kỳ. Kênh này xuất hiện với tư cách là kênh số 7 trong dòng sản phẩm và thứ 18 trên ứng dụng Android TV của ExampleTV Digital. Điều này được trình bày bên dưới:

Dịch vụ phát sóng

Mỗi thực thể BroadcastService đại diện cho 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 của Tổ chức đại diện cho TVNetwork (trong trường hợp này là 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"
 }

Kênh Truyền Hình

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ó sẵn 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 chỉ ra 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"
    }
  }

Hiểu 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 TV. Mặc dù thực thể Organization là thực thể nguồn cấp dữ liệu bắt buộc, nhưng thực tế chỉ tồn tại để cho phép nhà cung cấp lập mô hình 3 trường hợp sử dụng ngoại lệ nêu dưới đây. Như vậy, nhà cung cấp phải tuân thủ điểm chính sau cho tất cả trường hợp ngoại trừ các trường hợp sử dụng ngoại lệ.

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

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, USKTVUSan Francisco, Hoa Kỳ. KCPQ có thể cung cấp tin tức địa phương bao gồm Seattle trong khi KTVU có thể cung cấp chương trình phục vụ riêng cho nhu cầu của cơ sở sử 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. Thay vào đó, họ chỉ cần nhận ra kênh là Fox.

Trong trường hợp này, các kênh địa phương hoặc kênh liên kết đều phải do các thực thể BroadcastService riêng đại diện, 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 thích hợp tùy thuộc vào vị trí thiết bị của người dùng và việc người dùng có quyền xem kênh đã 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 đơn vị liên kết cục bộ, KCPQKTVU.

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

Tên tổ chứcTên BroadcastServiceĐang hẹn hò
ABCTIẾNG KAALMối quan hệ 1:N giữa thực thể OrganizationBroadcastService
ABCABC
ABCTIẾNG KAEF
ABCTIẾNG KAKE
ABC120
ABCHàm KAPP
ABCGiờ KATC
ABCTIẾNG KATN
ABCTIẾNG KATU
ABCKATV (TV kết nối Internet)

Hãy xem xét một ví dụ khác. Ở đâ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à độc lập với các công ty địa phương được đề cập trước đó.

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

Để nêu rõ quan điểm này, hãy xem ví dụ về kênh EPIXEPIX 2. Cả hai kênh đều có sẵn trên toàn quốc, cung cấp chương trình khác nhau hoàn toàn, không phải là các biến thể của một kênh và do đó không được xem 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 được dịch chuyển thời gian

Trong trường hợp này, mỗi lần chuyển kênh phải được biểu thị bằng một thực thể BroadcastService riêng, tất cả đều phải kết nối với một thực thể Organization. Dưới đây là ví dụ cho thấy cách chuyển mô hình kênh chuyển dịch thời gian:

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

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

Ví dụ: các kênh STARZ Encore Action HDSTARZ Encore Action SD có cùng chương trình (EPG) và chất lượng luồng 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 phát trực tiếp có chất lượng video phải được đại diện bằng một 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ụ cho thấy cách xây dựng mô hình các kênh có sự khác biệt về chất lượng phát trực tiếp:

Tên tổ chứcTên BroadcastServiceĐang hẹn hò
Hàm SBSHàm SBSMối quan hệ 1:N giữa thực thể OrganizationBroadcastService
Hàm SBSHD SBS

Dưới đây là ví dụ về một trường hợp sử dụng phức tạp, tập hợp tất cả các trường hợp sử dụng đang diễn ra:

Tên tổ chức Tên BroadcastService Đang hẹn hò
Starz STARZ Đông Mối quan hệ 1:N giữa thực thể OrganizationBroadcastService do các kênh đã dịch chuyển thời gian
Starz STARZ Tây
STARZ Trẻ em & Gia đìnhSTARZ Trẻ em & Gia đìnhMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
STARZ Encore ĐenSTARZ Encore ĐenMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
STARZ Encore ClsicSTARZ Encore Cổ điểnMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
Gia đình Encore STARZGia đình Encore STARZMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
Phim kinh dị Encore STARZPhim kinh dị Encore STARZMối quan hệ 1:1 giữa thực thể OrganizationBroadcastService
Hành động Encore STARZSTARZ 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
Hành động Encore STARZSTARZ Encore Action SD
STARZ EncoreSTARZ Encore WestMối quan hệ 1:N giữa thực thể OrganizationBroadcastService do các kênh đã dịch chuyển thời gian
STARZ EncoreSTARZ Encore East

Ví dụ

Nhà cung cấp dịch vụ truyền hình quốc gia với các nhóm kênh nổi tiếng trong khu vực

Tổ chức

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 cáp ở hai khu vực: New York và San Francisco. Dịch vụ này bao gồm 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"
}

Dịch vụ phát sóng

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

Dịch vụ truyền hình cáp hoặc vệ tinh

Các pháp nhân 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 cung cấp bởi nhà cung cấp dịch vụ truyền hình trên toàn quốc 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"
        }
      ]
    }
  ]
}

Kênh Truyền Hình

Các pháp nhân TelevisionChannel này cho biết rằng nhà cung cấp dịch vụ truyền hình khu vực Công ty truyền hình cáp ví dụ - Vịnh San FranciscoExampleTV-HD trên kênh 7 và ExampleTV2 trên kênh 11 và 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

Nhà cung cấp dịch vụ truyền hình giao thức Internet hư cấu, ExampleTV Digital Service (Organization), cung cấp dịch vụ Truyền hình trực tiếp trên Internet gồm 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"
}

Dịch vụ phát sóng

Hai thực thể BroadcastService này cung cấp thông tin chi tiết về các đường liên kết sâu và yêu cầu về quyền truy cập đối với 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"
    }
  ]
}

Dịch vụ truyền hình cáp hoặc vệ tinh

CableOrSatelliteService này mô tả nhà cung cấp dịch vụ Dịch vụ kỹ thuật số ExampleTV có phạm vi quốc gia:

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

Kênh Truyền Hình

Các thực thể TelevisionChannel này cho biết rằng 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"
  }
}

Nhóm kênh mà nhà cung cấp dịch vụ truyền hình thực hiện quá trình chuyển kênh

Tổ chức

Nhà cung cấp dịch vụ truyền hình hư cấu, ExampleTV Digital Service (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ãng 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"
}

Dịch vụ phát sóng

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

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

Dịch vụ truyền hình cáp hoặc vệ tinh

CableOrSatelliteService này mô tả nhà cung cấp dịch vụ Dịch vụ kỹ thuật số ExampleTV có phạm vi quốc gia:

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

Kênh Truyền Hình

Các thực thể TelevisionChannel này cho biết rằng 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ó 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 được gọi là nhà khai thác truyền hình), Ví dụ Công ty Truyền hình Cáp (Organization) cung cấp dịch vụ Truyền hình Trực tiếp (có tên 'Dịch vụ Truyền hình Cáp Ví dụ', mạng CableOrSatelliteService). Dịch vụ chứa 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"
}

Dịch vụ phát sóng

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ề các đường liên kết sâu và yêu cầu về quyền truy cập cho các kênh NYTVNJTV. Lưu ý rằng cả hai BroadcastServices 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"
    }
  ]
}

Dịch vụ truyền hình cáp hoặc vệ tinh

Pháp nhân 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"
  }
}

Kênh Truyền Hình

Các pháp nhân TelevisionChannel này cho biết rằng nhà cung cấp dịch vụ truyền hình Công ty truyền hình cáp mẫuNYTV 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

Với 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 Xử lý ngôn ngữ tự nhiên (NLP) để trích xuất các thông số từ truy vấn của người dùng và xác định kênh nào người dùng muốn xem. Sau đó, Google sẽ xử lý việc chuyển kênh theo một trong các cách sau:

  • Do Google thực hiện - Google thực hiện chuyển đổi kênh bằng cách sử dụng liên kết sâu được cung cấp trong nguồn cấp dữ liệu Media Action. Thông tin từ nguồn cấp dữ liệu cho phép Google tìm kiếm 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 thẳng 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à các nhà cung cấp dịch vụ có thể điều phối nhiệm vụ chuyển đổi kênh theo một số cách khác nhau. Hãy liên hệ với Google để biết thông tin chi tiết về cách tích hợp với các nền tảng khác của Google (ví dụ: AndroidTV, Made by Google, Assistant for Operator).

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