跳转到内容

点击分割组件与持有密钥的后端

在浏览器里点几下,分割出一个物体。一个小型后端持有凭据(API 密钥;在免费层上只有项目 ID),每张图只保存一次,并把每次点击连同之前的全部点击一起发给 sam-lite;浏览器拿回的是多边形,始终接触不到密钥。点击模拟器按真人的方式驱动后端,实测一个物体需要几次点击、分割质量如何、花费多少。

模型: sam-lite · 无需密钥: 冒烟运行 · 语言: Python, TypeScript, Go · 在 Playground 中试用 (在新标签页打开) · GitHub 上的源码 (在新标签页打开)

标注工具、图片编辑器或商品目录常需要「点一下物体,得到它的轮廓」。模型调用本身并不难,决定能否放到公开页面上的是调用之外的部分:

  • 密钥不能进入浏览器。 页面里的任何内容访问者都能读到,所以由后端发起调用,页面只和这个后端通信。
  • 每次点击都是一次有标价的调用。 sam-lite 的标价是每次细化 0.01 credits,另加图像编码 0.2。Stack 会缓存编码结果,第一次之后的点击通常只收 0.01,但缓存不作保证,预算应按每次点击都未命中来规划。免费层上这些调用不扣费,但会计入项目的限额。
  • 模型不保存状态。 POST /v1/refine 每次都接收该物体的全部点。后端也一样:只保存图像,不保存点击,因此刷新页面或打开第二个标签页都不会造成状态错位。
  • 访问者共用一个项目或账户。 适用于它的限额(免费层的每分钟和每日限额,或账户的限速)由使用该页面的所有人共享。后端按会话限速,服务端返回 429 时客户端文件会等待,单个高频访问者无法占满所有人的配额。
  • 点击延迟会被直接感知。 交互式调用若 2 秒内未完成,会以可重试的 504 失败;后端报告每次 Stack 调用的耗时,供页面显示。客户端看到的延迟取决于它到 API 的网络路径,因此本用例的实测不包含这一项。

各语言的后端实现同一份 HTTP 契约 contract/02-backend.yaml:

请求 应答
POST /api/images(图像原始字节) {imageId, width, height};使用密钥时,同一内容只上传到 Stack 一次,并缓存其 handle;免费层上后端保存图像字节(最大 4 MiB),每次点击内联发送
POST /api/refine {imageId, points, box?} {polygon, bbox, area, score, model, costCredits, listCredits, cache, latencyMs}
GET /api/usage 本会话的点击数、credits、缓存命中数和账本行
GET /api/health 就绪状态、语言和客户端版本

除 /api/health 外,每个请求都带 X-Session-Id,由页面自行生成(每次加载页面一个)。点和多边形采用 Stack API 的坐标:应用 EXIF 方向后的图像像素,x 向右,y 向下。错误只有一种格式 {"error": {"code", "message", "retryable", "retryAfterMs"}};Stack 错误与后端错误码的对应关系见契约。

POST /v1/refine 默认返回带孔洞的简化多边形,因此后端直接转发 Stack 的多边形,不需要解码掩码。

<stack-segmenter> 是原生 Web Component:不依赖框架,也没有运行时依赖,约 400 行 TypeScript,位于 web/stack-segmenter.ts (在新标签页打开),在 shadow root 中自带最少的样式。无需浏览器即可测试的部分(坐标换算、点列表、请求队列、多边形转路径)放在 web/logic.ts (在新标签页打开),对应的 web/logic.test.ts 用 node --test 运行。组件文件按 upload、click、request、draw、export 五个区域组织。

  • 点击。 左键添加正点(点在物体上),右键或 Alt+点击添加负点(排除这一处)。撤销(按钮或 Ctrl/Cmd+Z)删除最后一个点,清除删除全部点。每次点击都发送全部点,因为 POST /api/refine 不保存点击状态。
  • 一次一个请求。 请求进行期间的点击先排队;累积的点击合并成一个后续请求发送,已经过时的请求,其返回结果直接丢弃。
  • 缩放。 点击位置换算为图像自身的像素(naturalWidth x naturalHeight,已应用 EXIF 方向,即 API 的坐标),多边形连同孔洞按显示尺寸画回图上,窗口缩放后同样重画。
  • 数字。 得分、点数、上一次点击扣的 credits、缓存命中或未命中及延迟,以及本会话的调用次数和 credits(来自 GET /api/usage)。
  • 错误。 后端标记为可重试的 429 和 503 在 retryAfterMs 之后重试(最多三次);404 image_not_found 会重新上传一次图像。其余情况只按错误码显示一句通俗的话,不显示后端自己的文字。
  • 键盘。 按钮是带标签的真正按钮。图像区域可以获得焦点:方向键移动光标(配合 Shift 步长更大),Enter 或空格添加正点,Shift+Enter 或 Alt+Enter 添加负点。
cd use-cases/02-click-to-segment/web
pnpm install
pnpm build # tsc:在 dist/ 生成可直接用于浏览器的 ES 模块和 index.html
cd ../typescript
node main.ts --port 8080 # 需设置 FOLDBUN_API_KEY;提供 ../web/dist 中的文件

打开 http://127.0.0.1:8080/,选择或拖入一张图像后点击即可。后端提供 --static <dir>(默认 ../web/dist)目录中的文件:GET / 对应 index.html,GET /<name> 对应该目录下直接存放的文件,其余一概不提供(contract/02-backend.yaml 的 “Static files” 一节)。

<script type="module" src="/stack-segmenter.js"></script>
<stack-segmenter id="seg" model="sam-lite" src="/photo.jpg"></stack-segmenter>
<script>
document.getElementById("seg").addEventListener("segment", (e) => {
console.log(e.detail.polygon); // [{outer: [x0, y0, x1, y1, ...], holes: [[...]]}],原图像素
});
</script>

将 web/dist/ 中的 stack-segmenter.js 与 logic.js 一起复制到站点,二者放在同一目录。

属性 含义
backend 后端的基础 URL,默认为页面自身的源。
model 要使用的模型(sam-lite 或 sam3),后端的 SEGMENTER_MODELS 允许时才有效,默认为后端的第一个模型。
src 要加载的图像 URL。不设置时,由使用者选择文件或把文件拖到组件上。该 URL 必须能被页面读取。

属性:backend、model、src 与同名 HTML 属性一致;sessionId 是本次页面加载的标识(crypto.randomUUID());load(fileOrUrl) 加载图像;undo() 与 clear();toJSON() 返回当前结果,没有结果时为 null。

segment 事件在每次得到返回结果后触发,detail 为 {imageId, width, height, model, score, points, polygon};polygon 是后端返回的多边形部件列表,每个部件含 outer 环和可选的 holes,单位为原图像素。“导出 JSON”按钮把同一对象保存为 segment.json。

样式通过元素上的 CSS 自定义属性调整:--seg-accent、--seg-positive、--seg-negative、--seg-fill、--seg-text、--seg-muted、--seg-surface、--seg-border、--seg-hover、--seg-radius。web/index.html 是设置了这些属性的小型演示页。

组件只调用本后端的三个路由:POST /api/images、POST /api/refine 和 GET /api/usage。Foldbun Stack API 的密钥(免费层上是项目 ID)由后端持有,后端在有密钥时负责每张图只上传一次、调用 Stack,并在返回结果时去掉账户信息。因此页面不可能泄露密钥,限制也都放在后端(按会话限速、SEGMENTER_MODELS、FOLDBUN_MAX_CREDITS)。会话只是计量单位,不是身份认证:页面公开时,应把后端放在站点自己的登录之后。

后端不发送 CORS 头,所以页面与后端必须同源:要么由后端直接提供页面(如上所述),要么把两者放在同一个反向代理之后,并把 /api/ 转发给后端。位于其他源的页面无法通过 backend="https://..." 调用后端。

各语言的安装与运行

以下命令针对冒烟数据集,在仓库根目录执行。冒烟数据集不需要 API 密钥,在免费层上运行;完整数据集需要密钥,设置上限后,客户端会拒绝可能超出上限的调用。

环境要求: Python 3.12, uv 0.5

cd use-cases/02-click-to-segment/python
uv sync --frozen
uv run --frozen python main.py --manifest ../assets/smoke/manifest.json --out out
# 完整数据集: 完整数据集是仓库的发布附件,需要 API 密钥;解压后传入其 manifest。
export FOLDBUN_API_KEY="fbs_..."
export FOLDBUN_MAX_CREDITS=63
uv run --frozen python main.py --manifest ../assets/full.json --out out
# 无需密钥:后端在免费层上运行。想改用密钥扣费,设置 FOLDBUN_API_KEY="fbs_...",
# 并可选设置 FOLDBUN_MAX_CREDITS=2(客户端会拒绝可能超出它的调用)
cd use-cases/02-click-to-segment/typescript
pnpm install
node main.ts --port 8080 # listening on http://127.0.0.1:8080
# or: cd ../python && uv run main.py --port 8080 # the same backend in Python
# or: cd ../go && go run . --port 8080 # the same backend in Go

在第二个终端中:

S=demo-1
curl -s -H "X-Session-Id: $S" -H "Content-Type: image/jpeg" --data-binary @../assets/smoke/images/77bfbbef28ac344c.jpg \
http://127.0.0.1:8080/api/images
curl -s -H "X-Session-Id: $S" -H "Content-Type: application/json" \
-d '{"imageId": "im_...", "points": [{"x": 521, "y": 424}]}' http://127.0.0.1:8080/api/refine
curl -s -H "X-Session-Id: $S" http://127.0.0.1:8080/api/usage

参数(三种语言相同):--port(默认 8080)、--host(默认 127.0.0.1)和 --static DIR(默认 ../web/dist),即页面所在目录:/ 返回其中的 index.html,/<名称> 返回该目录下直接存放的文件。SEGMENTER_MODELS 是请求可以指定的模型列表,以逗号分隔(默认 sam-lite;如需对比可加入 sam3)。后端不发送 CORS 头:页面和后端应部署在同一个源下。

要实测一个后端,由 harness 在空闲端口上启动它并运行点击模拟器:对真实 API 用 uv run python -m harness live --uc 02,离线对假 API 用 uv run python -m harness check --uc 02。

完整集合(30 个物体,每个都有标准答案掩码,5 MB)是仓库的发布附件(见 datasets/README.md)。其清单已提交为 assets/full.json,每个物体的点击上限为 10 次;图片、掩码和标准答案在压缩包里。把压缩包解压到 assets/,再在仓库根目录通过模拟器运行参考后端(TypeScript)。完整运行需要 FOLDBUN_API_KEY(没有密钥时 harness 会退出)。按标价最多 63 credits(30 个物体 x 10 次点击 x 0.21,即每次点击都未命中缓存),缓存正常时约 9 credits。对真实 API 模拟器每秒最多点击一次,因此运行需要几分钟。

tar xzf 02-click-to-segment-full.tar.gz -C use-cases/02-click-to-segment/assets
export FOLDBUN_API_KEY="fbs_..."
uv run python -m harness live --size full --uc 02 --max-credits 63 --dry-run # 只打印计划,不发送请求
uv run python -m harness refresh --size full --uc 02 --max-credits 63 # 运行、打分,写入 expected/full.json 与 expected/full-summary.json,之后执行 `uv run python -m harness snippets`

harness live 运行方式相同,只按 usecase.toml 的 [quality] 下限检查结果。只测量 sam-lite;harness 不包含 sam3 对比轮。

imageId 由图像字节计算得出,所以同一文件在任何会话、任何语言中的 id 都相同,重复上传不产生费用。使用密钥时字节也只上传到 Stack 一次;免费层没有上传,后端每次点击都把图像内联发送。

源码: python/backend.py (在新标签页打开)

def _upload_image(self, req: Request, s: Session) -> dict:
self._limit(s.upload)
content_type = (req.headers.get("Content-Type") or "").split(";")[0].strip().lower()
if content_type not in IMAGE_TYPES:
raise ApiError(415, "unsupported_media_type", "send the raw bytes as image/jpeg, image/png or image/webp")
data = req.read_body(IMAGE_BYTES)
if not data:
raise invalid("the body is empty: send the raw bytes of the image")
size = None
if self.free: # no upload will answer with the size, so read it from the bytes
if len(data) > FREE_IMAGE_BYTES:
raise ApiError(413, "payload_too_large", f"at most {FREE_IMAGE_BYTES} bytes without an API key (the free tier takes images up to 4 MiB)")
size = image_size(data)
if size is None:
raise invalid("the body is not a readable jpeg, png or webp image")
image_id = "im_" + hashlib.sha256(data).hexdigest()[:32]
with self._lock:
pending = self._images.get(image_id)
owner = pending is None
if pending is None:
pending = self._images[image_id] = Future()
self._images.move_to_end(image_id) # most recently used goes last
while len(self._images) > MAX_IMAGES:
self._images.popitem(last=False)
if owner:
# With a key: one Stack upload per distinct content; the client file keeps the bytes and uploads again if
# Stack evicts them. Concurrent uploads of the same bytes wait for this one instead of uploading again.
# Free tier: there are no uploads; this cache keeps the bytes and every click sends them inline.
try:
if size:
pending.set_result(Image(None, size[0], size[1], data))
else:
u = self.stack.upload(data, content_type)
pending.set_result(Image(u["id"], u["width"], u["height"]))
except BaseException as exc:
with self._lock:
if self._images.get(image_id) is pending:
del self._images[image_id]
pending.set_exception(exc)
try:
img = pending.result()
except Exception as exc:
raise from_stack(exc) from exc
with self._lock:
s.uploads += 1
return {"imageId": image_id, "width": img.width, "height": img.height}

页面发送该物体的全部点;后端按图像尺寸检查这些点,并带上显式的 positive 转发给 POST /v1/refine。

源码: python/backend.py (在新标签页打开)

def _refine(self, req: Request, s: Session) -> dict:
self._limit(s.refine)
try:
doc = json.loads(req.read_body(REFINE_BYTES).decode("utf-8"))
except (ValueError, RecursionError):
raise invalid("the body is not JSON") from None
image_id, points, box, model = parse_refine(doc, self.models)
with self._lock:
pending = self._images.get(image_id)
if pending is not None:
self._images.move_to_end(image_id)
not_found = ApiError(404, "image_not_found", "unknown imageId: upload the image again")
if pending is None:
raise not_found
try:
img = pending.result()
except Exception:
raise not_found from None
check_bounds(points, box, img)
# Stateless: every click sends all points of the object. The body is the same in every language.
image = sc.image_base64(img.data) if img.handle is None else sc.image_handle(img.handle)
call: dict = {"model": model, "image": image, "points": points}
if box:
call["box"] = box
t = time.monotonic()
try:
result = self.stack.post("/v1/refine", call, tag=s.tag)
except sc.StackError as exc:
self.log(f"stack error: {exc}")
raise from_stack(exc) from exc
latency_ms = round((time.monotonic() - t) * 1000)
with self._lock:
s.clicks += 1
# Stack returns the outline as a simplified polygon with holes by default: no mask decoding needed here.
inst = (result.get("instances") or [{}])[0]
return {
"polygon": inst.get("polygon") or [],
"bbox": inst.get("bbox") or [0, 0, 0, 0],
"area": inst.get("area", 0),
"score": inst.get("score", 0),
"model": result.get("model") or model,
"costCredits": result.get("cost", 0),
"listCredits": (result.get("billing") or {}).get("total", 0),
"cache": "hit" if result.get("cache") == "hit" else "miss",
"latencyMs": latency_ms,
}

每个会话有两个令牌桶:细化每分钟 60 次、突发 10 次;上传每分钟 10 次、突发 5 次。超出限额时返回 429 rate_limited 并带 Retry-After。这是后端自己的限额;如果 Stack 本身返回 429,后端的客户端会按它给出的 Retry-After 等待,页面最多看到一个可重试的错误。

源码: python/backend.py (在新标签页打开)

class RateLimit:
"""Token bucket: `per_minute` sustained, `burst` at once. take() returns 0 when allowed, else the wait in ms."""
def __init__(self, per_minute: float, burst: float, now: float):
self.per_minute, self.burst, self.tokens, self.at = per_minute, burst, burst, now
def take(self, now: float) -> int:
self.tokens = min(self.burst, self.tokens + (now - self.at) * self.per_minute / 60_000)
self.at = now
if self.tokens >= 1:
self.tokens -= 1
return 0
return math.ceil((1 - self.tokens) * 60_000 / self.per_minute)
@dataclass
class Session:
id: str
tag: str # ledger tag of this session's calls in the client file
seen: float
refine: RateLimit
upload: RateLimit
uploads: int = 0
clicks: int = 0

Stack 的错误信息可能涉及账户情况,因此只记录在日志中,不转发;页面看到的是后端的错误码,上游错误另附 Stack 的错误码。

源码: python/backend.py (在新标签页打开)

class ApiError(Exception):
"""A backend error, sent as {"error": {code, message, retryable, retryAfterMs, upstreamCode?, requestId?}}."""
def __init__(self, status, code, message, retryable=False, retry_after_ms=0, upstream_code=None, request_id=None):
super().__init__(message)
self.status, self.code, self.message = status, code, message
self.retryable, self.retry_after_ms = retryable, retry_after_ms
self.upstream_code, self.request_id = upstream_code, request_id
self.allow: str | None = None # Allow header of a 405
def body(self) -> dict:
err = {"code": self.code, "message": self.message, "retryable": self.retryable, "retryAfterMs": self.retry_after_ms}
if self.upstream_code:
err["upstreamCode"] = self.upstream_code
if self.request_id:
err["requestId"] = self.request_id
return {"error": err}
# What the backend says when the free tier refuses for good: its own text, never Stack's.
FREE_REFUSED = {
"daily_limit_reached": "the daily limit of the free tier is used up (it resets at 00:00 UTC); start the backend with FOLDBUN_API_KEY to continue now",
"free_tier_unavailable": "the free tier is not available; start the backend with FOLDBUN_API_KEY",
}
def from_stack(err: BaseException) -> ApiError:
"""Map an error of the client file (after its own retries) to the backend's error. Stack's message is not forwarded."""
if isinstance(err, ApiError):
return err
if isinstance(err, sc.BudgetExceeded):
return ApiError(503, "credit_cap", "the backend's credit cap is reached")
if isinstance(err, sc.MissingApiKey): # a call that only a key can make
return ApiError(502, "upstream_refused", "this needs an API key: start the backend with FOLDBUN_API_KEY", False, 0, err.code)
if isinstance(err, sc.StackError):
if err.retryable or err.code in sc.RETRY_CODES: # rate_limited and free_busy that outlived the client's waits
return ApiError(503, "upstream_busy", "Foldbun Stack is busy; try again", True, max(1000, err.retry_after_ms), err.code, err.request_id)
message = FREE_REFUSED.get(err.code, "Foldbun Stack refused the call")
return ApiError(502, "upstream_refused", message, False, 0, err.code, err.request_id)
if isinstance(err, OSError | http.client.HTTPException | ValueError): # no usable answer (for example, not JSON)
return ApiError(503, "upstream_busy", "Foldbun Stack is busy; try again", True, 1000, "network_error")
return ApiError(500, "internal", "internal error")

即客户端账本中属于本会话的行:页面可以据此显示点击的花费,模拟器则把这些行复制进 result.json。

源码: python/backend.py (在新标签页打开)

def _usage(self, req: Request, s: Session) -> dict:
calls = self.stack.calls(s.tag)
billed = [c for c in calls if not c["replayed"]]
with self._lock:
uploads, clicks = s.uploads, s.clicks
return {
"sessionId": s.id,
"uploads": uploads,
"clicks": clicks,
"costCredits": round(sum(c["charged"] for c in billed), 6),
"listCredits": round(sum(c["list"] for c in billed), 6),
"cacheHits": sum(1 for c in calls if c["cache"] == "hit"),
"cacheMisses": sum(1 for c in calls if c["cache"] == "miss"),
"calls": calls,
}

源码: python/main.py (在新标签页打开)

# No key: the free tier, and the backend sends the image inline with every click. With FOLDBUN_API_KEY: it uploads
# each image once and sends its handle. The base URL, project and credit cap come from FOLDBUN_API_BASE,
# FOLDBUN_PROJECT_ID and FOLDBUN_MAX_CREDITS.
client = sc.StackClient()
models = [m.strip() for m in (os.environ.get("SEGMENTER_MODELS") or "sam-lite").split(",") if m.strip()]
server = Server(args.host, args.port, Backend(client, models=models, static_dir=args.static))
def stop(signum, frame):
threading.Thread(target=server.shutdown).start() # serve_forever runs in this thread: shutdown must be called from another
for sig in (signal.SIGTERM, signal.SIGINT):
signal.signal(sig, stop)
print(f"listening on http://{args.host}:{server.server_address[1]}", flush=True)
print("mode: " + ("free tier (images are sent inline with every click)" if client.free else "API key (images are uploaded once)"), flush=True)
server.serve_forever()
server.server_close()

harness/clickbot.py 通过契约驱动任意一种后端,因此各语言的结果可以逐项比较。它遵循交互式分割的通行协议:第一次点击位于真值掩码内离边界最远的点;之后每次点击位于当前最大错误区域内离其边界最远的点,漏掉的区域加正点,多出的区域加负点。IoU 达到 0.90 或达到点击上限(smoke 4 次,full 10 次)时停止;对真实 API 每秒最多点击一次。

报告的指标有:NoC@85 和 NoC@90(IoU 达到 0.85 或 0.90 所需的点击数;始终未达到的物体按上限计)、k 次点击后的平均 IoU、每个物体的 credits,以及缓存命中率。planning_credits_per_object 对每次点击都计入图像编码费;list_credits_per_object 是所记录的这次运行的标价,其中编码仍在缓存中的点击没有支付这项费用。缓存命中没有保证,因此预算应以前者为准。它不报告每次点击的耗时:该数值取决于读者到 API 之间的网络路径,不反映服务本身。

在录得真实运行之前,以下数字来自离线假 API。对见过的请求,它的细化结果重放真实冒烟运行的记录;其余请求则返回围住正点的矩形:这些数字说明模拟器、后端和计费工作正常且各语言一致,并不反映 sam-lite 的分割质量。

Smoke 集(3 个物体,最多 4 次点击),离线:

指标 数值
objects 3
objects_ok 3
noc85_mean 1.333
noc85_reached 1
noc90_mean 1.333
noc90_reached 1
miou_at_1 0.885
miou_at_2 0.9424
miou_at_3 0.9424
miou_at_4 0.9424
clicks_per_object 1.333
list_credits_per_object 0.213333
planning_credits_per_object 0.28
charged_credits_per_object 0
cache_hit_rate 0.25

完整集合(30 个物体,至多 10 次点击),实测;维护者记录一次运行后,由 expected/full-summary.json 自动填入:

指标 数值
objects 30
objects_ok 30
noc85_mean 1.5
noc85_reached 1
noc90_mean 1.8
noc90_reached 0.967
miou_at_1 0.7706
miou_at_2 0.8975
miou_at_3 0.9338
miou_at_4 0.9429
miou_at_5 0.9473
miou_at_6 0.949
miou_at_7 0.9489
miou_at_8 0.9487
miou_at_9 0.9485
miou_at_10 0.9213
clicks_per_object 1.8
list_credits_per_object 0.024667
planning_credits_per_object 0.378
charged_credits_per_object 0.024667
cache_hit_rate 0.9815

使用 sam-lite 时,若只有第一次点击未命中编码缓存,k 次点击分割一个物体的标价为 0.2 + 0.01 k credits;若每次都未命中,最多为 0.21 k。上传免费。smoke 运行在免费层上免费:运行时会打印这笔标价并标注“免费层,不扣费”;带密钥的运行按此扣费。

运行 调用次数 标价(credits) 实扣(credits)
smoke 4 0.64 0
full 54 0.74 0.74
  • 细长或透明的物体(线缆、玻璃、头发、栅栏)需要较多点击。
  • 第一次点击要支付编码费(sam-lite 为 0.2 credits)。缓存不作保证,应按每次点击都未命中来规划。
  • 一次只处理一个物体。 若要找出图中某一类的全部物体,应改用文字提示(用例 01)。
  • 后端是示例,不是访问控制。 会话标识只用于区分访问者以便计数和限速;放到公开页面之前,应先置于站点自身的登录之后。
  • 状态保存在内存中。 后端重启后页面需要重新上传图像(404 image_not_found);客户端在进程存续期间保留每张图像的字节和每一条账本行。

参见文档中的 Images (在新标签页打开)、Rate limits (在新标签页打开) 和 Billing (在新标签页打开)。

Smoke 集是来自 Open Images V7 验证集的 3 个物体(一只鹅、一只鸟和一个托盘):图像以 CC BY 2.0 授权,版权归各自作者,长边缩放到不超过 1,024 像素;分割掩码以 CC BY 4.0 授权,版权归 Google LLC,已缩放到与图像一致。署名信息见 assets/smoke/ATTRIBUTION.csv。权利人如需移除某张图片或某个数据集,可通过联系页面 (在新标签页打开)提出。