liujie
2026-06-09 c96fbe6b0aeb413a17c429133ee6d81d138144b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.xiaopeng.map.service;
 
import com.xiaopeng.map.dto.AreaInput;
 
import java.util.List;
 
/**
 * ADC OSS 处理服务,根据坐标点生成 RTree fbs 并上传至 OSS。
 */
public interface AdcOssHandleService {
 
    /**
     * 根据多区域坐标点生成 RTree fbs 并上传至 OSS
     *
     * @param areas   区域列表,每个 AreaInput 含 points、areaId、isBlacklist
     * @param vin     车辆 VIN 码
     * @param version 版本号(与围栏表 xpu_version 一致)
     * @return 上传后的 objectKey,失败抛异常
     */
    String uploadOddLayerFile(List<AreaInput> areas, String vin, long version);
 
    /**
     * 围栏失效时上传空 RTree FBS(无任何区域节点),表示该围栏已无有效数据
     *
     * @param vin     车辆 VIN 码
     * @param version 版本号(与围栏表 xpu_version 一致)
     * @return 上传后的 objectKey,失败抛异常
     */
    String uploadEmptyFence(String vin, long version);
 
}