150 lines
16 KiB
XML
150 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<mxfile host="app.diagrams.net" type="device">
|
||
<diagram id="system" name="system">
|
||
<mxGraphModel grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1264" pageHeight="685" background="#FFFFFF" math="0" shadow="0">
|
||
<root>
|
||
<mxCell id="0" />
|
||
<mxCell id="1" parent="0" />
|
||
<mxCell id="canvas" value="" style="shape=rectangle;fillColor=#FFFFFF;strokeColor=none;locked=1;" vertex="1" parent="1">
|
||
<mxGeometry x="0" y="0" width="1264" height="685" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v3" value="Item Atlas · 系统架构" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=30;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
||
<mxGeometry x="48" y="30" width="790" height="41" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v4" value="客户端统一访问 API,物品管理和模型录入分别运行。" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=15;fontColor=#4D6278;fontStyle=0;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
||
<mxGeometry x="48" y="77" width="900" height="23" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v5" value="" style="shape=rectangle;fillColor=#D9E3ED;strokeColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="48" y="111" width="1168" height="1" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v6" value="" style="rounded=1;absoluteArcSize=1;arcSize=24;whiteSpace=wrap;html=1;fillColor=#F7F9FC;strokeColor=#D9E3ED;strokeWidth=1;container=0;" vertex="1" parent="1">
|
||
<mxGeometry x="48" y="136" width="205" height="470" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v7" value="访问端" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=15;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
||
<mxGeometry x="65" y="151" width="171" height="22" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v8" value="" style="rounded=1;absoluteArcSize=1;arcSize=24;whiteSpace=wrap;html=1;fillColor=#F7F9FC;strokeColor=#D9E3ED;strokeWidth=1;container=0;" vertex="1" parent="1">
|
||
<mxGeometry x="269" y="136" width="226" height="470" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v9" value="入口" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=15;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
||
<mxGeometry x="286" y="151" width="192" height="22" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v10" value="" style="rounded=1;absoluteArcSize=1;arcSize=24;whiteSpace=wrap;html=1;fillColor=#F7F9FC;strokeColor=#D9E3ED;strokeWidth=1;container=0;" vertex="1" parent="1">
|
||
<mxGeometry x="511" y="136" width="282" height="470" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v11" value="业务服务" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=15;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
||
<mxGeometry x="528" y="151" width="248" height="22" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v12" value="" style="rounded=1;absoluteArcSize=1;arcSize=24;whiteSpace=wrap;html=1;fillColor=#F7F9FC;strokeColor=#D9E3ED;strokeWidth=1;container=0;" vertex="1" parent="1">
|
||
<mxGeometry x="809" y="136" width="407" height="470" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v13" value="数据与模型" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=15;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
||
<mxGeometry x="826" y="151" width="373" height="22" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="web" value="<div style="font-weight:700;font-size:16px;line-height:1.28">Web 客户端</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">H5 · PC · 管理后台</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF3FF;strokeColor=#99B6D8;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="67" y="228" width="165" height="72" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="mobile" value="<div style="font-weight:700;font-size:16px;line-height:1.28">原生客户端</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">iOS · Android</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF3FF;strokeColor=#99B6D8;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="67" y="374" width="165" height="66" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="nginx" value="<div style="font-weight:700;font-size:16px;line-height:1.28">Nginx</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">TLS 与站点入口</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF3FF;strokeColor=#99B6D8;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="289" y="261" width="186" height="70" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="gateway" value="<div style="font-weight:700;font-size:16px;line-height:1.28">Spring Cloud Gateway</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">认证 · 路由 · 限流 · 灰度</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF3FF;strokeColor=#99B6D8;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="289" y="409" width="186" height="88" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="inventory" value="<div style="font-weight:700;font-size:16px;line-height:1.28">物品服务</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">物品、位置、检索、关联<br/>家庭权限与个人评分</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF5F1;strokeColor=#8BB8AA;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="534" y="228" width="238" height="82" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="intake" value="<div style="font-weight:700;font-size:16px;line-height:1.28">录入服务</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">批量草稿、模型适配<br/>用量、额度与异步确认</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF5F1;strokeColor=#8BB8AA;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="534" y="409" width="238" height="88" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="inv-db" value="<div style="font-weight:700;font-size:16px;line-height:1.28">PostgreSQL · 物品库</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">物品、位置、家庭权限及移位记录</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#FBF8EF;strokeColor=#CEC098;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="858" y="191" width="334" height="65" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="attachments" value="<div style="font-weight:700;font-size:16px;line-height:1.28">附件存储</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">工作 Mac 外置 SSD</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#FBF8EF;strokeColor=#CEC098;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="858" y="286" width="334" height="65" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="draft-db" value="<div style="font-weight:700;font-size:16px;line-height:1.28">PostgreSQL · 录入库</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">草稿、Outbox 与额度</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#FBF8EF;strokeColor=#CEC098;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="858" y="400" width="334" height="65" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="model" value="<div style="font-weight:700;font-size:16px;line-height:1.28">模型提供方</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">家庭私网 Ollama · 用户选择的云模型</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#FBF8EF;strokeColor=#CEC098;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
||
<mxGeometry x="858" y="505" width="334" height="65" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="web-entry" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#3265A1;dashed=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.35;entryDx=0;entryDy=0;" parent="1" edge="1" source="web" target="nginx">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<Array as="points">
|
||
<mxPoint x="252" y="264" />
|
||
<mxPoint x="252" y="285.5" />
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="mobile-entry" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#3265A1;dashed=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.72;entryDx=0;entryDy=0;" parent="1" edge="1" source="mobile" target="nginx">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<Array as="points">
|
||
<mxPoint x="261" y="407" />
|
||
<mxPoint x="261" y="311.4" />
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="entry-gateway" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#3265A1;dashed=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" edge="1" source="nginx" target="gateway">
|
||
<mxGeometry relative="1" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="gateway-inventory" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#526C85;dashed=0;exitX=1;exitY=0.32;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="gateway" target="inventory">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<Array as="points">
|
||
<mxPoint x="505" y="437.2" />
|
||
<mxPoint x="505" y="269" />
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="gateway-intake" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#526C85;dashed=0;exitX=1;exitY=0.72;exitDx=0;exitDy=0;entryX=0;entryY=0.72;entryDx=0;entryDy=0;" parent="1" edge="1" source="gateway" target="intake">
|
||
<mxGeometry relative="1" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="intake-inventory" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#277260;dashed=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" edge="1" source="intake" target="inventory">
|
||
<mxGeometry relative="1" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="inventory-database" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#526C85;dashed=0;exitX=1;exitY=0.3;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="inventory" target="inv-db">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<Array as="points">
|
||
<mxPoint x="817" y="252.6" />
|
||
<mxPoint x="817" y="223.5" />
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="inventory-attachments" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#526C85;dashed=0;exitX=1;exitY=0.7;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="inventory" target="attachments">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<Array as="points">
|
||
<mxPoint x="830" y="285.4" />
|
||
<mxPoint x="830" y="318.5" />
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="intake-database" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#526C85;dashed=0;exitX=1;exitY=0.27;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="intake" target="draft-db">
|
||
<mxGeometry relative="1" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="intake-model" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#277260;dashed=0;exitX=1;exitY=0.7;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="intake" target="model">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<Array as="points">
|
||
<mxPoint x="826" y="470.6" />
|
||
<mxPoint x="826" y="537.5" />
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="v24" value="API 请求" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=12;fontColor=#4D6278;fontStyle=0;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
||
<mxGeometry x="395" y="357" width="78" height="24" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v25" value="草稿确认" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=12;fontColor=#277260;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
||
<mxGeometry x="664" y="344" width="82" height="24" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v26" value="" style="shape=rectangle;fillColor=#D9E3ED;strokeColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="48" y="630" width="1168" height="1" as="geometry" />
|
||
</mxCell>
|
||
<mxCell id="v27" value="物品与录入各自管理数据。草稿写入由物品服务完成。" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=13;fontColor=#4D6278;fontStyle=0;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
||
<mxGeometry x="48" y="643" width="1150" height="22" as="geometry" />
|
||
</mxCell>
|
||
</root>
|
||
</mxGraphModel>
|
||
</diagram>
|
||
</mxfile>
|