ช่องรายการทีวีสด

การผสานรวมช่องรายการทีวีสดช่วยให้ผู้ใช้ใช้คำสั่งเสียงเพื่อดูและเปลี่ยนช่องทีวีในอุปกรณ์ที่รองรับ Google Assistant เช่น Google Home, Android, Android TV หรือ Google TV และอื่นๆ ได้

การใช้เสียงเพื่อเปลี่ยนช่องทีวี
รูปที่ 1 ใช้เสียงเพื่อเปลี่ยนช่องทีวี

ผู้ให้บริการสามารถใช้ออบเจ็กต์มาร์กอัป BroadcastService, CableOrSatelliteService, TelevisionChannel และ Organization เพื่อระบุรายละเอียดของช่องในฟีดการใช้สื่อ ซึ่งจะช่วยให้ Google รองรับคำค้นหาต่อไปนี้ของผู้ใช้ได้

  • "Ok Google เปิด ExampleTV หน่อย"
  • "Ok Google เปิด ExampleTV-HD"
  • "Ok Google เปลี่ยนไปช่อง 7"
  • "Ok Google ExampleTV-Drama"

ประเภทเอนทิตีของช่องรายการทีวีสด

การผสานรวมรายการทีวีสดต้องใช้เอนทิตี 4 ประเภท (Organization, BroadcastService, CableOrSatelliteService และ TelevisionChannel) ในฟีดแคตตาล็อกสื่อ ประเภทเอนทิตีเหล่านี้ช่วยตอบคำถามต่อไปนี้

  • ผู้ให้บริการทีวีคือใครและให้บริการอะไรบ้าง
  • ช่องที่พร้อมให้บริการในแต่ละบริการเหล่านั้น (หรือที่เรียกว่ารายชื่อช่อง) มีอะไรบ้าง

ส่วนต่อไปนี้จะเจาะลึกประเภทเอนทิตีและตอบคำถามก่อนหน้า

โปรดคำนึงถึงแผนภาพความสัมพันธ์ต่อไปนี้ขณะอ่านส่วนต่างๆ ด้านล่าง

การเชื่อมต่อระหว่างเอนทิตีประเภทต่างๆ ของช่องรายการทีวีสด
รูปภาพ ความเชื่อมโยงระหว่างเอนทิตีประเภทต่างๆ ของรายการทีวีสด

เป็นตัวแทนของผู้ให้บริการทีวี

ผู้ให้บริการทีวี หรือที่เรียกว่าผู้ให้บริการทีวี คือองค์กรที่ให้บริการแพ็กเกจรายการทีวีแก่สมาชิก ในกรณีส่วนใหญ่ ผู้ให้บริการรายนี้จะเป็นผู้สร้างฟีดแคตตาล็อกสื่อด้วย ซึ่งแสดงโดยเอนทิตี Organization ควรเพิ่มเอนทิตี Organization ดังกล่าวเพียงOrganizationรายการเดียวซึ่งแสดงถึงผู้ประกอบการทีวีลงในฟีด

ตัวอย่างเช่น ผู้ให้บริการ IPTV สมมติชื่อ "ExampleTV Digital" ให้สิทธิ์เข้าถึง 180 ช่องแก่ฐานผู้ใช้ในสหรัฐอเมริกาซึ่งเป็นส่วนหนึ่งของบริการที่ชื่อ "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"
}

แสดงถึงบริการที่ผู้ให้บริการทีวีมอบให้

CableOrSatelliteService หมายถึงบริการเคเบิลทีวี ทีวีผ่านดาวเทียม หรือทีวีผ่านอินเทอร์เน็ตระดับภูมิภาคที่ผู้ให้บริการทีวีจัดหาให้ โดยทั่วไปจะเชื่อมโยงกับรายการช่อง และลิงก์ไปยังผู้ให้บริการทีวีซึ่งแสดงโดยเอนทิตีองค์กร คุณเพิ่มเอนทิตี 1 รายการขึ้นไปในฟีดได้ ทั้งนี้ขึ้นอยู่กับจำนวนบริการที่ผู้ให้บริการทีวีมีCableOrSatelliteService

ในตัวอย่างนี้ เราจะสร้างเอนทิตี CableOrSatelliteService รายการเดียวเพื่ออธิบายบริการ "Digital Prime+" ที่ครอบคลุมทั่วสหรัฐอเมริกา โปรดสังเกตว่ามีการอ้างอิงถึงผู้ให้บริการทีวี "ExampleTV Digital" โดยใช้พร็อพเพอร์ตี้ provider

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"CableOrSatelliteService",
  "@id":"http://example.com/example_iptv/us",
  "name":"Example TV Digital Prime Plus US Service",
  "provider": {
    "@type": "Organization",
    "@id": "http://example.com/exampletv/digital",
  },
  "areaServed":[
    {
      "@type":"Country",
      "name": "US",
    }
  ]
}

แสดงช่องที่ผู้ให้บริการทีวีจัดหาให้

ช่องเหล่านี้แสดงร่วมกันโดยเอนทิตี 3 รายการ ได้แก่ Organization, BroadcastService และ TelevisionChannel

  • เอนทิตี BroadcastService เป็นเอนทิตีหลักที่แสดงถึงช่องโทรทัศน์ที่เผยแพร่รายการแบบเรียลไทม์ โดยจะลิงก์ไปยังเอนทิตี Organization และ TelevisionChannel และอ้างอิงโดยชุดเอนทิตี BroadcastEvent ซึ่งรวมกันเป็นตัวแทนของคู่มือการจัดรายการ (หรือตารางเวลาของช่อง)

  • เอนทิตี Organization แสดงถึงช่องที่ผลิตและจัดจำหน่ายรายการทีวี ในกรณีส่วนใหญ่ นี่คือเอนทิตี BroadcastService ที่จำลองขึ้นมา แต่ในบางกรณีอาจแสดงถึงเครือข่ายทีวีที่ BroadcastService สังกัดอยู่ เอนทิตี BroadcastService อ้างอิงเอนทิตี Organization โดยใช้พร็อพเพอร์ตี้ broadcastAffiliateOf คุณควรทำความเข้าใจว่าเอนทิตี 2 ประเภทนี้มีความเกี่ยวข้องกันอย่างไร คุณดูข้อมูลเกี่ยวกับเรื่องนี้ได้ในส่วนทำความเข้าใจความสัมพันธ์ระหว่างองค์กรกับเอนทิตี BroadcastService ด้านล่าง

  • TelevisionChannel ระบุ BroadcastService ด้วยตัวระบุที่ไม่ซ้ำกัน เช่น หมายเลขช่องหรือสตริง และลำดับที่ปรากฏ (ในพร็อพเพอร์ตี้ของผู้ให้บริการ เช่น เว็บไซต์หรือแอป) ในบริการเคเบิลทีวี ดาวเทียม หรืออินเทอร์เน็ตทีวีระดับภูมิภาค ซึ่งแสดงโดยเอนทิตี CableOrSatelliteService

เอนทิตี TelevisionChannel, CableOrSatelliteService และ Organization จะรวมกันเป็นแนวคิดของรายการ

ในตัวอย่างนี้ สมมติว่า "ABC Movies" เป็นหนึ่งใน 180 ช่องที่ผู้ให้บริการทีวี "ExampleTV Digital" ให้สิทธิ์เข้าถึงในฐานะส่วนหนึ่งของบริการ "Digital Prime+" ในสหรัฐอเมริกา ช่องนี้จะปรากฏเป็นช่องหมายเลข 7 ในรายการช่องและเป็นช่องที่ 18 ในแอป Android TV ของ ExampleTV Digital ดังที่แสดงด้านล่าง

BroadcastService

เอนทิตี BroadcastService 1 รายการซึ่งแสดงถึงช่อง (ในกรณีนี้คือเอนทิตี BroadcastService 2 รายการสำหรับช่องสมมติ ExampleTV-MovieChannel และ 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"
    }
 ]
 }

องค์กร

เอนทิตีองค์กร 1 รายการซึ่งแต่ละรายการแสดงถึง TVNetwork (ในกรณีนี้ ExampleTV Digital Service (Organization) ให้สิทธิ์เข้าถึง 2 ช่อง ได้แก่ ExampleTV-MovieChannel (Organization) และ ExampleTV-ComedyChannel (Organization))


{
 "@context": ["http://schema.org", {"@language": "en"}],
 "@type":"Organization",
 "@id":"http://example.com/exampletv/movie",
 "name":"ExampleTV Movie Channel",
 "sameAs": "https://en.wikipedia.org/wiki/exampletv_movie"
 },
 {
 "@context": ["http://schema.org", {"@language": "en"}],
 "@type":"Organization",
 "@id":"http://example.com/exampletv/comedy",
 "name":"ExampleTV Comedy Channel",
 "sameAs": "https://en.wikipedia.org/wiki/exampletv_comedy"
 }

TelevisionChannel

เอนทิตี TelevisionChannel อย่างน้อย 1 รายการสำหรับ BroadcastService แต่ละรายการที่แสดงหมายเลขช่องที่เอนทิตีนี้พร้อมให้บริการในบริการ (CableOrSatelliteService) ที่ผู้ให้บริการ (Organization - TVOperator) นำเสนอ (ในกรณีนี้ เอนทิตี TelevisionChannel จะระบุว่า ExampleTV Digital Service IPTV มีรายการภาพยนตร์ ExampleTV ในช่อง 7 และรายการตลก ExampleTV ในช่อง 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"
    }
  }

ทำความเข้าใจความสัมพันธ์ระหว่างเอนทิตี Organization กับ BroadcastService

เอนทิตี BroadcastService คือเอนทิตีหลักที่แสดงถึงช่องทีวี แม้ว่าOrganizationจะเป็นเอนทิตีฟีดที่จำเป็น แต่จริงๆ แล้วมีไว้เพื่อให้ผู้ให้บริการสร้างรูปแบบกรณีการใช้งานข้อยกเว้น 3 กรณีที่แสดงด้านล่างเท่านั้น ดังนั้น ผู้ให้บริการควรปฏิบัติตามประเด็นสำคัญต่อไปนี้สำหรับกรณีการใช้งานทั้งหมด ยกเว้นกรณีการใช้งานที่ยกเว้น

มีข้อยกเว้น 3 ประการสำหรับกฎคร่าวๆ นี้ ซึ่งต้องมีความสัมพันธ์แบบ 1:N ระหว่างเอนทิตี Organization กับ BroadcastService ซึ่งจะกล่าวถึงในส่วนต่อไปนี้

ช่องท้องถิ่นหรือช่องแอฟฟิลิเอต

ตัวอย่างเช่น Fox มีช่องในเครือท้องถิ่นชื่อ KCPQ ในซีแอตเทิล สหรัฐอเมริกา และ KTVU ในซานฟรานซิสโก สหรัฐอเมริกา KCPQ อาจนำเสนอข่าวท้องถิ่นที่ครอบคลุมซีแอตเทิล ขณะที่ KTVU อาจนำเสนอรายการที่ตอบสนองความต้องการของฐานผู้ใช้ในซานฟรานซิสโกโดยเฉพาะ ในกรณีส่วนใหญ่ ผู้ใช้อาจไม่ทราบชื่อช่องในพื้นที่ แต่จะรู้จักช่องในชื่อ Fox

ในกรณีนี้ ช่องท้องถิ่นหรือช่องในเครือควรแสดงด้วยเอนทิตี BroadcastService ของตนเอง โดยเอนทิตีทั้งหมดควรเชื่อมต่อกับเอนทิตี Organization เดียว เมื่อผู้ใช้ต้องการเปลี่ยนไปดูช่องเหล่านี้ ผู้ใช้สามารถขอให้ Google Assistant "เปลี่ยนไปดู Fox" หรือ "เปลี่ยนไปดู KTVU/KCPQ" Google จะเปลี่ยนไปใช้ช่องท้องถิ่นที่เหมาะสมโดยขึ้นอยู่กับตำแหน่งอุปกรณ์ของผู้ใช้และสิทธิ์ของผู้ใช้ในการรับชมช่องที่ขอ ในตัวอย่างก่อนหน้านี้ คุณจะสร้างเอนทิตีองค์กร 1 รายการที่แสดงถึง Fox และลิงก์กับเอนทิตี BroadcastService 2 รายการ ซึ่งแต่ละรายการแสดงถึงบริษัทในเครือท้องถิ่น ได้แก่ KCPQ และ KTVU

ต่อไปนี้เป็นอีกตัวอย่างที่แสดงวิธีสร้างโมเดลช่อง ABC และช่องในเครือในพื้นที่

ชื่อองค์กรชื่อ BroadcastServiceความสัมพันธ์
ABCKAALความสัมพันธ์แบบ 1:N ระหว่างเอนทิตี Organization กับ BroadcastService
ABCKABC
ABCKAEF
ABCKAKE
ABCKAMC
ABCKAPP
ABCKATC
ABCKATN
ABCKATU
ABCKATV

มาดูอีกตัวอย่างกัน ในที่นี้ WXVT และ WYOU เป็นช่อง CBS ท้องถิ่น CBS Sports Network ไม่ใช่ช่องท้องถิ่นและไม่ได้ขึ้นอยู่กับสถานีท้องถิ่นที่กล่าวถึงก่อนหน้านี้

ชื่อองค์กรชื่อ BroadcastServiceความสัมพันธ์
CBSWXVTความสัมพันธ์แบบ 1:N ระหว่างเอนทิตี Organization กับ BroadcastService
CBSWYOU
CBS Sports NetworkCBS Sports Network HDความสัมพันธ์แบบ 1:1 ระหว่างเอนทิตี Organization กับ BroadcastService

เพื่อเน้นย้ำประเด็นนี้ เรามาดูตัวอย่างช่อง EPIX และ EPIX 2 กัน ทั้ง 2 ช่องนี้มีให้บริการทั่วประเทศ โดยมีรายการที่แตกต่างกันโดยสิ้นเชิง ไม่ใช่ช่องที่ดัดแปลงมาจากช่องใดช่องหนึ่ง จึงไม่ถือว่าเป็นช่องท้องถิ่น

ชื่อองค์กร ชื่อ BroadcastService ความสัมพันธ์
EPIX EPIX ความสัมพันธ์แบบ 1:1 ระหว่างเอนทิตี Organization กับ BroadcastService
EPIX 2 EPIX 2 ความสัมพันธ์แบบ 1:1 ระหว่างเอนทิตี Organization กับ BroadcastService

ช่องที่เลื่อนเวลา

ในกรณีนี้ ช่องที่เปลี่ยนเวลาแต่ละช่องควรแสดงด้วยเอนทิตี BroadcastService ของตัวเอง ซึ่งทั้งหมดควรเชื่อมต่อกับเอนทิตี Organization เดียว ตัวอย่างต่อไปนี้แสดงวิธีสร้างแบบจำลองช่องที่เลื่อนเวลา

ชื่อองค์กรชื่อ BroadcastServiceความสัมพันธ์
STARZ EncoreSTARZ Encore Westความสัมพันธ์แบบ 1:N ระหว่างเอนทิตี Organization กับ BroadcastService
STARZ EncoreSTARZ Encore East

ช่องที่มีคุณภาพการสตรีมแตกต่างกัน

ตัวอย่างเช่น ช่อง STARZ Encore Action HD และ STARZ Encore Action SD มีรายการ (EPG) เหมือนกันทุกประการ และคุณภาพสตรีมเป็นเพียงความแตกต่างระหว่าง 2 ช่องนี้ ในกรณีนี้ ช่องสตรีมคุณภาพวิดีโอแต่ละช่องควรแสดงด้วยเอนทิตี BroadcastService ของตัวเอง ซึ่งทั้งหมดควรเชื่อมต่อกับเอนทิตี Organization เดียว

ตัวอย่างต่อไปนี้แสดงวิธีสร้างแบบจำลองแชแนลที่มีคุณภาพการสตรีมแตกต่างกัน

ชื่อองค์กรชื่อ BroadcastServiceความสัมพันธ์
SBSSBSความสัมพันธ์แบบ 1:N ระหว่างเอนทิตี Organization กับ BroadcastService
SBSSBS HD

ต่อไปนี้คือตัวอย่างกรณีการใช้งานที่ซับซ้อนซึ่งรวมกรณีการใช้งานทั้งหมดที่เกี่ยวข้องเข้าด้วยกัน

ชื่อองค์กร ชื่อ BroadcastService ความสัมพันธ์
Starz STARZ East ความสัมพันธ์แบบ 1:N ระหว่างเอนทิตี Organization กับ BroadcastService เนื่องจากช่องที่ออกอากาศย้อนหลัง
Starz STARZ West
STARZ Kids & FamilySTARZ Kids & Familyความสัมพันธ์แบบ 1:1 ระหว่างเอนทิตี Organization กับ BroadcastService
STARZ Encore BlackSTARZ Encore Blackความสัมพันธ์แบบ 1:1 ระหว่างเอนทิตี Organization กับ BroadcastService
STARZ Encore ClsicSTARZ Encore Classicความสัมพันธ์แบบ 1:1 ระหว่างเอนทิตี Organization กับ BroadcastService
STARZ Encore FamilySTARZ Encore Familyความสัมพันธ์แบบ 1:1 ระหว่างเอนทิตี Organization กับ BroadcastService
STARZ Encore SuspenseSTARZ Encore Suspenseความสัมพันธ์แบบ 1:1 ระหว่างเอนทิตี Organization กับ BroadcastService
STARZ Encore ActionSTARZ Encore Action HDความสัมพันธ์แบบ 1:N ระหว่างเอนทิตี Organization กับ BroadcastService เนื่องจากคุณภาพการสตรีมแตกต่างกัน
STARZ Encore ActionSTARZ Encore Action SD
STARZ EncoreSTARZ Encore Westความสัมพันธ์แบบ 1:N ระหว่างเอนทิตี Organization กับ BroadcastService เนื่องจากช่องที่ออกอากาศย้อนหลัง
STARZ EncoreSTARZ Encore East

ตัวอย่าง

ผู้ให้บริการทีวีระดับประเทศที่มีช่องรายการระดับภูมิภาค

องค์กร

ผู้ให้บริการทีวีสมมติ Example Cable TV Company (Organization) ให้บริการทีวีสด ผ่านเครือข่ายเคเบิลใน 2 ภูมิภาค ได้แก่ นิวยอร์กและซานฟรานซิสโก บริการนี้มี 2 ช่อง ได้แก่ ExampleTV (Organization) และ ExampleTV2 (Organization)

{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id": "http://example.com/example_cable_tv_company",
  "name": "Example Cable TV Company",
  "sameAs": "https://en.wikipedia.org/wiki/example_cable_company"
},
{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id":"http://example.com/exampletv",
  "name":"ExampleTV Network",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv"
},
{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id":"http://example.com/exampletv2",
  "name":"ExampleTV2 Network",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv2"
}

BroadcastService

BroadcastServiceเอนทิตีเหล่านี้ให้รายละเอียดของ Deep Link และข้อกำหนดในการเข้าถึงสำหรับช่อง ExampleTV ใน HD และช่อง 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

CableOrSatelliteServiceเอนทิตีเหล่านี้อธิบายบริการเคเบิลทีวีในนิวยอร์ก (DMA_ID=501) และบริเวณอ่าวซานฟรานซิสโก (DMA_ID=807) ซึ่งให้บริการโดยผู้ให้บริการทีวีทั่วประเทศ Example Cable TV Company (Organization) ดังนี้

{
  "@context":"http://schema.org",
  "@type":"CableOrSatelliteService",
  "@id":"http://example.com/example_cable_tv_company_new_york",
  "name":"Example Cable TV Company - New York",
  "provider": {
    "@type": "Organization",
    "@id": "http://example.com/example_cable_tv_company",
  },
  "areaServed":[
    {
      "@type": "GeoShape",
      "@id": "http://example.com/newyork_01",
      "identifier": [
        {
          "@type": "PropertyValue",
          "propertyID": "DMA_ID",
          "value": "501"
        }
      ]
    }
  ]
},
{
  "@context":"http://schema.org",
  "@type":"CableOrSatelliteService",
  "@id":"http://example.com/example_cable_tv_company_san_francisco_bay",
  "name":"Example Cable TV Company - San Francisco Bay",
  "provider": {
    "@type": "Organization",
    "@id": "http://example.com/example_cable_tv_company",
    "name": "Example Cable TV Company"
  },
  "areaServed":[
    {
      "@type": "GeoShape",
      "@id": "http://example.com/bayarea_01",
      "identifier": [
        {
          "@type": "PropertyValue",
          "propertyID": "DMA_ID",
          "value": "807"
        }
      ]
    }
  ]
}

TelevisionChannel

TelevisionChannelเอนทิตีเหล่านี้ระบุว่าผู้ให้บริการทีวีในภูมิภาค Example Cable TV Company - San Francisco Bay มี ExampleTV-HD ในช่อง 7 และ ExampleTV2 ในช่อง 11 และผู้ให้บริการทีวีในภูมิภาค Example Cable TV Company - New York มี ExampleTV-HD ในช่อง 12 และ ExampleTV2 ในช่อง 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"
  }
}

ผู้ให้บริการทีวีระดับประเทศบนอินเทอร์เน็ต

องค์กร

ผู้ให้บริการโทรทัศน์ผ่านอินเทอร์เน็ต (IPTV) สมมติ ExampleTV Digital Service (Organization) ให้บริการทีวีสดบนอินเทอร์เน็ต ซึ่งมี 2 ช่องต่อไปนี้ ExampleTV-Movie (Organization) และ ExampleTV-Comedy (Organization)

{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id":"http://example.com/exampletv/digital",
  "name":"ExampleTV Digital Service",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_digital_service"
},
{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id":"http://example.com/exampletv/movie",
  "name":"ExampleTV Movie",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_movie"
},
{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id":"http://example.com/exampletv/comedy",
  "name":"ExampleTV Comedy",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_comedy"
}

BroadcastService

BroadcastServiceเอนทิตี 2 รายการนี้ให้รายละเอียดของ Deep Link และข้อกำหนดในการเข้าถึงสำหรับช่องสมมติ ExampleTV-Movie และ ExampleTV-Comedy ดังนี้

{
  "@context":"http://schema.org",
  "@type":"BroadcastService",
  "@id":"https://www.example.com/exampletv/broadcast/movie",
  "name": "ExampleTV-Movie",
  "description": "A fictional Internet Protocol TV movie channel.",
  "broadcastDisplayName":"ExampleTV-Movie",
  "broadcastAffiliateOf":{
    "@type":"Organization",
    "@id":"http://www.example.com/exampletv/movie"
  },
  "potentialAction": {
    "@type": "WatchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "http://www.example.com/exampletv/broadcast/movie?autoplay=true",
      "inLanguage": "en",
      "actionPlatform": [
        "http://schema.org/DesktopWebPlatform",
        "http://schema.org/MobileWebPlatform",
        "http://schema.org/AndroidPlatform",
        "http://schema.org/AndroidTVPlatform",
        "http://schema.org/IOSPlatform",
        "http://schema.googleapis.com/GoogleVideoCast"
      ]
    },
    "actionAccessibilityRequirement": {
      "@type": "ActionAccessSpecification",
      "category": "subscription",
      "requiresSubscription": {
        "@type": "MediaSubscription",
        "@id": "http://www.example.com/exampletv/basic_subscription",
        "name": "Basic subscription",
        "identifier": "example.com:basic",
        "commonTier": true
      },
      "eligibleRegion": [
        {
          "@type": "Country",
          "name": "US"
        }
      ]
    }
  },
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "TMS_ID",
      "value": "12345"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "_PARTNER_ID_",
      "value": "exampletv-movie-33345"
    }
  ]
},
{
  "@context":"http://schema.org",
  "@type":"BroadcastService",
  "@id":"https://www.example.com/exampletv/broadcast/comedy",
  "name": "ExampleTV-Comedy",
  "description": "A fictional Internet Protocol TV comedy channel.",
  "broadcastDisplayName":"ExampleTV-Comedy",
  "broadcastAffiliateOf":{
    "@type":"Organization",
    "@id":"http://www.example.com/exampletv/comedy"
  },
  "potentialAction": {
    "@type": "WatchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "http://www.example.com/exampletv/broadcast/comedy?autoplay=true",
      "inLanguage": "en",
      "actionPlatform": [
        "http://schema.org/DesktopWebPlatform",
        "http://schema.org/MobileWebPlatform",
        "http://schema.org/AndroidPlatform",
        "http://schema.org/AndroidTVPlatform",
        "http://schema.org/IOSPlatform",
        "http://schema.googleapis.com/GoogleVideoCast"
      ]
    },
    "actionAccessibilityRequirement": {
      "@type": "ActionAccessSpecification",
      "category": "subscription",
      "requiresSubscription": {
        "@type": "MediaSubscription",
        "@id": "http://www.example.com/exampletv/basic_subscription",
        "name": "Basic subscription",
        "identifier": "example.com:basic",
        "commonTier": true
      },
      "eligibleRegion": [
        {
          "@type": "Country",
          "name": "US"
        }
      ]
    }
  },
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "TMS_ID",
      "value": "15555"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "_PARTNER_ID_",
      "value": "exampletv-comedy-12323"
    }
  ]
}

CableOrSatelliteService

CableOrSatelliteService นี้อธิบายถึงผู้ให้บริการ ExampleTV Digital Service ที่ครอบคลุมทั่วประเทศ

{
  "@context":"http://schema.org",
  "@type":"CableOrSatelliteService",
  "@id":"http://example.com/example_iptv/us",
  "name":"Example TV Digital Service - US",
  "provider": {
    "@type": "Organization",
    "@id": "http://example.com/exampletv/digital",
  },
  "areaServed":[
    {
      "@type":"Country",
      "name": "US",
    }
  ]
}

TelevisionChannel

TelevisionChannel เอนทิตีเหล่านี้บ่งชี้ว่า IPTV ของ ExampleTV Digital Service มีรายการ ExampleTV Movie ในช่อง ExTV-Movie และรายการ ExampleTV Comedy ในช่อง 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"
  }
}

รายชื่อช่องที่ผู้ให้บริการทีวีเป็นผู้ดำเนินการเปลี่ยนช่อง

องค์กร

ผู้ให้บริการทีวีสมมติ ExampleTV Digital Service (Organization) ให้สิทธิ์เข้าถึงช่อง IPTV สมมติ ExampleTV-Sports (Organization) และ ExampleTV-Drama (Organization) แก่ผู้ใช้ผ่าน Set-top box ที่ขาย

{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id":"http://example.com/exampletv/digital",
  "name":"ExampleTV Digital Service",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_digital_service"
},
{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id":"http://example.com/exampletv/sports",
  "name":"ExampleTV Sports",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_sports"
},
{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id":"http://example.com/exampletv/drama",
  "name":"ExampleTV Drama",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_drama"
}

BroadcastService

BroadcastServiceเอนทิตี 2 รายการนี้อธิบายช่อง ExampleTV-Sports และ ExampleTV-Drama (Deep Link จะมีหรือไม่ก็ได้)

{
  "@context":"http://schema.org",
  "@type":"BroadcastService",
  "@id":"https://www.example.com/exampletv/sports/broadcast",
  "name": "ExampleTV-Sports",
  "description": "A fictional Internet Protocol TV service that streams live sports events",
  "broadcastDisplayName":"ExampleTV-Sports",
  "broadcastAffiliateOf":{
    "@type":"Organization",
    "@id":"http://www.example.com/exampletv/sports"
  },
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "_PARTNER_ID_",
      "value": "exampletv-sports-11123"
    }
  ]
},
{
  "@context":"http://schema.org",
  "@type":"BroadcastService",
  "@id":"https://www.example.com/exampletv/drama/broadcast",
  "name": "ExampleTV-Drama",
  "description": "A fictional Internet Protocol TV service that streams TV drama shows",
  "broadcastDisplayName":"ExampleTV-Drama",
  "broadcastAffiliateOf":{
    "@type":"Organization",
    "@id":"http://www.example.com/exampletv/drama"
  },
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "_PARTNER_ID_",
      "value": "exampletv-drama-11500"
    }
  ]
}

CableOrSatelliteService

CableOrSatelliteService นี้อธิบายถึงผู้ให้บริการ ExampleTV Digital Service ที่ครอบคลุมทั่วประเทศ

{
  "@context":"http://schema.org",
  "@type":"CableOrSatelliteService",
  "@id":"http://example.com/example_iptv/us",
  "name":"Example TV Digital Service - US",
  "provider": {
    "@type": "Organization",
    "@id": "http://example.com/exampletv/digital",
  },
  "areaServed":[
    {
      "@type":"Country",
      "name": "US",
    }
  ]
}

TelevisionChannel

TelevisionChannel เอนทิตีเหล่านี้บ่งชี้ว่า IPTV ของ ExampleTV Digital Service มีรายการ ExampleTV Movie ในช่อง ExTV-Movie และรายการ ExampleTV Comedy ในช่อง 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"
  }
}

ผู้ให้บริการทีวีที่มีช่องแอฟฟิลิเอตหรือช่องท้องถิ่น

องค์กร

ผู้ให้บริการทีวี (หรือที่เรียกว่าผู้ให้บริการทีวี) Example Cable TV Company (Organization) ให้บริการทีวีสด (ชื่อ "Example Cable TV Service" ซึ่งเป็น CableOrSatelliteService) ผ่านเครือข่ายเคเบิลในสหรัฐอเมริกา บริการนี้มีเครือข่ายทีวี 1 เครือข่าย ได้แก่ ExampleTV Network (Organization)

{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id": "http://example.com/example_cable_tv_company",
  "name": "Example Cable TV Company",
  "sameAs": "https://en.wikipedia.org/wiki/example_cable_company"
},
{
  "@context":"http://schema.org",
  "@type":"Organization",
  "@id":"http://example.com/exampletv",
  "name":"ExampleTV Network",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv"
}

BroadcastService

ExampleTV Network (องค์กร) มีช่องท้องถิ่น 2 ช่อง ได้แก่ NYTV (BroadcastService) ในนิวยอร์ก และ NJTV (BroadcastService) ในนิวเจอร์ซีย์ BroadcastServiceเอนทิตีเหล่านี้จะให้รายละเอียดของ Deep Link และข้อกำหนดในการเข้าถึงสำหรับช่อง NYTV และ NJTV โปรดทราบว่า BroadcastService ทั้ง 2 รายการนี้เชื่อมต่อกับองค์กรเดียวกัน (ExampleTV Network) ผ่านพร็อพเพอร์ตี้ 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

CableOrSatelliteServiceเอนทิตีอธิบายบริการเคเบิลทีวีที่ผู้ให้บริการทีวีทั่วประเทศอย่าง Example Cable TV Company (Organization) นำเสนอ

{
  "@context":"http://schema.org",
  "@type":"CableOrSatelliteService",
  "@id":"http://example.com/example_cable_tv_company/service",
  "name":"Example Cable TV Service",
  "provider": {
    "@type": "Organization",
    "@id": "http://example.com/example_cable_tv_company",
    "name": "Example Cable TV Company"
  },
  "areaServed": {
    "@type": "Country",
    "name": "US"
  }
}

TelevisionChannel

TelevisionChannelเอนทิตีเหล่านี้ระบุว่าผู้ให้บริการทีวี Example Cable TV Company มี NYTV ในช่อง 7 และ NJTV HD ในช่อง 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"
  }
}

การเปลี่ยนช่องบน Android TV

การผสานรวมช่องรายการทีวีสดช่วยให้ผู้ใช้ขอให้ Google เปลี่ยนช่องได้โดยใช้คำสั่งเสียง Google ใช้การประมวลผลภาษาธรรมชาติ (NLP) เพื่อดึงพารามิเตอร์จากคำค้นหาของผู้ใช้และระบุว่าผู้ใช้ต้องการดูช่องใด จากนั้น Google จะจัดการการเปลี่ยนช่องด้วยวิธีใดวิธีหนึ่งต่อไปนี้

  • ดำเนินการโดย Google - Google จะสลับช่องโดยใช้ Deep Link ที่ระบุไว้ในฟีดการดำเนินการกับสื่อ ข้อมูลจากฟีดช่วยให้ Google ค้นหา Deep Link ของช่องที่ผู้ใช้ต้องการดูได้ จากนั้น Google จะนำผู้ใช้ไปยังเนื้อหาในแอปหรือแพลตฟอร์มของผู้ให้บริการโดยตรง
  • ดำเนินการโดยผู้ให้บริการทีวี - Google จะส่งคำขอไปยังผู้ให้บริการ Google และผู้ให้บริการสามารถประสานงานในการเปลี่ยนช่องได้หลายวิธี โปรดติดต่อ Google เพื่อขอรายละเอียดเกี่ยวกับการผสานรวมกับแพลตฟอร์มอื่นๆ ของ Google (เช่น AndroidTV, Made By Google, Assistant for Operators)

ประเภทข้อมูลที่จำเป็นในฟีดการดำเนินการของสื่อจะขึ้นอยู่กับว่าผู้ให้บริการต้องการให้ Google จัดการการเปลี่ยนช่องอย่างไร