am-freescan/docs/scanner-scene-diagnostic-20261023.json
lixiaolong 6f8a40644c feat(scanner): 完善补扫、执行监控及资源释放
完善扫描流式预览、成果归档与PLY/STL查看、补扫历史、执行步骤及日志展示,支持局域网访问和改名节点的原始组件识别。修复试运行终止后的占用释放及未采集时重复暂停SDK的问题,增加终止中交互与回归验证。

验证:后端1114项通过、18项既有跳过;前端109项通过,类型检查及构建通过;Python脚本54项通过;模拟扫描设备7组试运行/终止接口回归通过。
2026-10-26 11:04:07 +08:00

264 lines
7.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"checkedAt": "2026-10-23T13:50:27.440983+08:00",
"images": {
"supplier": {
"size": [
1280,
615
],
"bytes": 28628,
"sha256": "c6d2b2daa87644a0c9135094ce52d581b29f685e7a61e5c5c48a40e4a288ed43",
"centralBlackPercent": 58.7034,
"centralRgbExtrema": [
[
0,
255
],
[
0,
255
],
[
0,
255
]
],
"contentType": "image/jpeg"
},
"platform": {
"size": [
1280,
615
],
"bytes": 28628,
"sha256": "c6d2b2daa87644a0c9135094ce52d581b29f685e7a61e5c5c48a40e4a288ed43",
"centralBlackPercent": 58.7034,
"centralRgbExtrema": [
[
0,
255
],
[
0,
255
],
[
0,
255
]
],
"contentType": "image/jpeg;charset=UTF-8"
}
},
"status": {
"backend": "native_cpp",
"busy": false,
"calibrationActive": false,
"deviceOnline": true,
"deviceStatusCheckedUtc": "2026-10-23T05:50:24.528Z",
"deviceType": 3,
"disconnectBehavior": "pause_acquisition_end_sdk_session_keep_disk_files_and_http",
"frameAgeMs": 32,
"frameHeight": 923,
"frameWidth": 1920,
"implementation": "C++17",
"initialized": true,
"meshState": "none",
"previewEnabled": true,
"previewFresh": true,
"projectId": "Scan_20261023_134849_705_fc81da",
"projectReady": true,
"restartRequired": false,
"scanMode": "trak",
"scanning": false,
"sdkProcessIsolation": true,
"serverTimeUtc": "2026-10-23T05:50:25.579Z",
"sessionId": "5bd0b96335134863ad494ce2687fe461",
"simulated": false,
"state": "ready",
"stateUncertain": false,
"stopBehavior": "pause_acquisition_keep_project_and_preview"
},
"data/scene": {
"available": false,
"reason": "no_scene_snapshot"
},
"preview/metrics": {
"averageEncodeMs": 26.48,
"averageEncodedFps": 19.62,
"capturedTimeMeaning": "managed_frame_received_not_hardware_exposure",
"encodedFrames": 299896,
"encoderRunning": true,
"encodingFailures": 0,
"frameAgeMs": 155,
"freshnessLimitMs": 2000,
"height": 615,
"implementation": "C++17",
"importedFrames": 1670,
"jpegQuality": 75,
"latestEncodeMs": 25.0057,
"latestFrameBytes": 28628,
"latestSequence": 276832,
"maxFps": 20,
"maxWidth": 1280,
"metricSource": "worker_encoder_cache",
"offeredFrames": 325189,
"queueDepth": 0,
"replacedFrames": 0,
"simulated": false,
"sourceHeight": 923,
"sourceWidth": 1920,
"throttledFrames": 25292,
"width": 1280
},
"health": {
"deviceStatusUrl": "/api/v1/status",
"implementation": "C++17",
"running": true,
"service": "FreeScan HTTP API",
"utc": "2026-10-23T05:50:25.758Z"
},
"executions": [
{
"id": 2113507924537995265,
"status": "FAILED",
"failure_reason": "执行异常:ScannerException: 扫描设备[scene_data_unavailable] No actual requested SDK scene data arrived within ten seconds. ",
"scan_stage": "FAILED"
}
],
"conclusion": {
"previewBytesIdentical": true,
"previewContainsScene": true,
"rawSceneAvailable": false,
"snapshotApi": "POST /api/v1/data/snapshots",
"snapshotError": "scene_data_unavailable",
"sdkRootCauseKnown": false,
"supplierSourceOrLogsAvailable": false,
"alternativeToValidate": [
"POST /api/v1/mesh",
"POST /api/v1/mesh/confirm",
"POST /api/v1/exports"
],
"alternativeHardwareVerified": false
},
"commands": [
{
"operation": "SCAN_STOP",
"state": "SUCCEEDED",
"createdAt": "2026-10-23 13:50:06",
"remoteResult": {
"action": "stopScan",
"createdUtc": "2026-10-23T05:50:06.689Z",
"error": null,
"finishedUtc": "2026-10-23T05:50:07.640Z",
"result": {
"acquisitionStopped": true,
"previewEnabled": true,
"projectPreserved": true,
"scanning": false,
"sdkOperation": "Sn3DPauseScan"
},
"startedUtc": "2026-10-23T05:50:06.689Z",
"state": "succeeded",
"taskId": "7f99220747994283b9764ac978c43dc4"
}
},
{
"operation": "SNAPSHOT",
"state": "FAILED",
"createdAt": "2026-10-23 13:49:56",
"remoteResult": {
"action": "dataSnapshot",
"createdUtc": "2026-10-23T05:49:56.269Z",
"error": {
"code": "scene_data_unavailable",
"httpStatus": 503,
"message": "No actual requested SDK scene data arrived within ten seconds. "
},
"finishedUtc": "2026-10-23T05:50:06.274Z",
"result": null,
"startedUtc": "2026-10-23T05:49:56.269Z",
"state": "failed",
"taskId": "3045f4104a224e2fbacd559b0d97d9ec"
}
},
{
"operation": "SCAN_START",
"state": "SUCCEEDED",
"createdAt": "2026-10-23 13:48:55",
"remoteResult": {
"action": "startScan",
"createdUtc": "2026-10-23T05:48:55.214Z",
"error": null,
"finishedUtc": "2026-10-23T05:48:55.336Z",
"result": {
"alreadyScanning": false,
"projectId": "Scan_20261023_134849_705_fc81da",
"scanning": true
},
"startedUtc": "2026-10-23T05:48:55.214Z",
"state": "succeeded",
"taskId": "ad450eb1960f405fbb670afda1e205b0"
}
},
{
"operation": "PREVIEW_START",
"state": "SUCCEEDED",
"createdAt": "2026-10-23 13:48:54",
"remoteResult": {
"action": "startPreview",
"createdUtc": "2026-10-23T05:48:54.929Z",
"error": null,
"finishedUtc": "2026-10-23T05:48:54.929Z",
"result": {
"alreadyInRequestedState": true,
"previewEnabled": true,
"projectPreserved": true,
"scanning": false
},
"startedUtc": "2026-10-23T05:48:54.929Z",
"state": "succeeded",
"taskId": "b10eb775c5d047c4a17f6dc6160180fe"
}
},
{
"operation": "CREATE_PROJECT",
"state": "SUCCEEDED",
"createdAt": "2026-10-23 13:48:49",
"remoteResult": {
"action": "createProject",
"createdUtc": "2026-10-23T05:48:49.704Z",
"error": null,
"finishedUtc": "2026-10-23T05:48:54.129Z",
"result": {
"mode": "trak",
"previewEnabled": true,
"projectId": "Scan_20261023_134849_705_fc81da"
},
"startedUtc": "2026-10-23T05:48:49.704Z",
"state": "succeeded",
"taskId": "e612704221224fe3813f2c92b8b6be3e"
}
},
{
"operation": "SNAPSHOT",
"state": "FAILED",
"createdAt": "2026-10-23 13:37:35",
"remoteResult": {
"action": "dataSnapshot",
"createdUtc": "2026-10-23T05:37:35.867Z",
"error": {
"code": "scene_data_unavailable",
"httpStatus": 503,
"message": "No actual requested SDK scene data arrived within ten seconds. "
},
"finishedUtc": "2026-10-23T05:37:45.885Z",
"result": null,
"startedUtc": "2026-10-23T05:37:35.867Z",
"state": "failed",
"taskId": "aadb2c80d08a4523bfeecb3f5d9ba84e"
}
}
]
}