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

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

121 lines
2.7 KiB
JSON
Raw 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.

{
"physicalControlRequests": 0,
"status": {
"scanning": false,
"previewEnabled": true,
"busy": false,
"projectReady": true
},
"vendorStatusMs": [
23.6,
30.9,
31.1,
37.1
],
"previewMetrics": {
"averageEncodeMs": 22.35,
"averageEncodedFps": 19.88,
"capturedTimeMeaning": "managed_frame_received_not_hardware_exposure",
"encodedFrames": 4796308,
"encoderRunning": true,
"encodingFailures": 0,
"frameAgeMs": 48,
"freshnessLimitMs": 2000,
"height": 615,
"implementation": "C++17",
"importedFrames": 31150,
"jpegQuality": 75,
"latestEncodeMs": 12.9718,
"latestFrameBytes": 30836,
"latestSequence": 4429919,
"maxFps": 20,
"maxWidth": 1280,
"metricSource": "worker_encoder_cache",
"offeredFrames": 5218190,
"queueDepth": 0,
"replacedFrames": 0,
"simulated": false,
"sourceHeight": 923,
"sourceWidth": 1920,
"throttledFrames": 421882,
"width": 1280
},
"stages": {
"vendor": {
"frames": 113,
"uniqueSequences": 113,
"elapsedSeconds": 6.05,
"firstFrameMs": 33.4,
"steadyFps": 18.62,
"meanJpegBytes": 30836,
"intervalMedianMs": 61.2,
"intervalP95Ms": 94.7
},
"backendRaw": {
"frames": 115,
"uniqueSequences": 115,
"elapsedSeconds": 6.05,
"firstFrameMs": 47.4,
"steadyFps": 18.98,
"meanJpegBytes": 30836,
"intervalMedianMs": 61.6,
"intervalP95Ms": 93.9
}
},
"databaseTimings": {
"databaseRoundTrip": {
"samplesMs": [
4.8,
11.5,
7.74,
12.48,
4.34,
3.33,
5.63,
4.9
],
"medianMs": 5.27
},
"executionRead": {
"samplesMs": [
3.8,
3.63,
9.42,
6.45,
11.25,
3.5,
3.11,
6.97
],
"medianMs": 5.12
},
"runtimeBindingRead": {
"samplesMs": [
47.55,
52.18,
41.87,
32.23,
23.65,
46.27,
33.34,
35.46
],
"medianMs": 38.66,
"validatedCode": 0
}
},
"diagnosis": {
"measuredWhileScanning": false,
"previewFpsIsNotHardwareAcquisitionRate": true,
"confirmed": [
"厂商预览maxFps配置为20",
"停扫预览原始流18.62fps,基础后端转发18.98fps"
],
"suspected": [
"业务预览每帧串行读取执行记录、关联记录、工程绑定并请求设备状态;采集负载和网络延迟会叠加",
"采集时的设备渲染/编码和浏览器解码负载尚未同步取样"
],
"requiredNextStep": "在操作者再次开始采集期间对同一执行同步取样,禁止为了测试自动启动真实设备。"
}
}