動態饋給設定
以下資訊可協助你正確設定及執行動態饋給。
動態饋給檔案代管
Waze 內容取得系統會定期擷取動態饋給資料。如要確保 Waze 擷取正確的動態饋給檔案,請按照下列步驟操作:
- 可供存取:使用標準網路通訊協定 (HTTP、HTTPS、FTP 或 SFTP)。
- 保護資料 (選用):您可以透過 HTTPS 使用基本驗證機制,以使用者名稱和密碼保護動態饋給。您必須透過合作夥伴中心提供登入帳戶和密碼組合。
- 確保可存取性:確保代管檔案可供全球存取。
- 為避免資料擷取作業中斷,請確認防火牆不會根據國家/地區、IP 位址或地理區域封鎖存取權。這些限制可能會導致我們無法擷取動態饋給資料。
- 我們使用動態系統來擷取關閉和事件資訊。也就是說,我們不會使用靜態 IP,也不支援預先授權的網址/網域/萬用字元或 DNS 項目授權。
動態饋給頻率
內容擷取系統每隔幾分鐘就會擷取一次資料。如果您對動態饋給頻率有特殊需求,請在提交動態饋給時附上說明,說明這項要求,或是與 Waze 團隊聯絡,讓我們調整輪詢週期,以符合您的動態饋給更新週期。
XML 驗證
Waze 使用以下 XML 架構定義可接受的封路和事件動態饋給規格 (CIFS) 動態饋給:
https://www.gstatic.com/road-incidents/cifsv2.xsd。
網路上有許多工具可協助您驗證 XML 動態饋給的結構。這類行為包括但不限於:
動態饋給的重要變更
在進行下列任何變更之前,請填寫這份表單,並在 Portal 中編輯要求,以便識別更新的動態饋給。
- 修改、新增或移除動態饋給中的區域或國家/地區。
- 更新動態饋給網址或存取資訊所需的任何憑證。
- 變更動態饋給結構或標記名稱。
動態饋給規格
單一動態饋給檔案可提供多個關閉和事件的資訊。如果您提供多個事件的資訊,每個關閉或事件必須在個別元素中詳細說明,且必須具有不重複的 ID。這些部分應使用當地時間和日期。CIFS 規格詳細說明可用於描述事件和關閉事件的所有標記。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-12 (世界標準時間)。
[null,null,["上次更新時間:2025-02-12 (世界標準時間)。"],[[["Waze automatically fetches feed data, requiring it to be accessible via standard network protocols like HTTP, HTTPS, FTP, or SFTP, and secured with BASIC or DIGEST authentication."],["Ensure your XML feed structure adheres to the Waze schema which can be validated using online tools."],["For critical feed changes like region modifications, URL updates, or structural alterations, prior notification to the Waze team is essential."],["A single feed file can contain multiple events, each requiring a unique ID and detailed information as per the CIFS specification."]]],["Waze automatically retrieves feed data via HTTP, HTTPS, FTP, or SFTP, with optional BASIC authentication. Hosted files must be globally accessible, without firewall restrictions based on country or IP. Data is fetched every few minutes, with adjustable frequency upon request. Feeds must adhere to the provided XML schema; validation tools are suggested. Notify Waze before making critical changes, such as modifying regions, URLs, credentials, or feed structure. Each closure or incident must be in a separate element with unique ID.\n"]]