-
Notifications
You must be signed in to change notification settings - Fork 0
/
监控流程图.drawio
180 lines (180 loc) · 15.9 KB
/
监控流程图.drawio
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<mxfile host="app.diagrams.net" modified="2023-11-22T01:43:16.762Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" etag="vH6ewpgtUN9gV5ykX9Qt" version="22.1.3" type="github">
<diagram name="第 1 页" id="dAueB1Siruz7Ru2IpDfj">
<mxGraphModel dx="1411" dy="545" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="3300" pageHeight="4681" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="xrgXY2-mwNu85WDdIgUO-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitPerimeter=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-7" target="xrgXY2-mwNu85WDdIgUO-3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="260" y="120" as="targetPoint" />
<mxPoint x="310" y="480" as="sourcePoint" />
<Array as="points">
<mxPoint x="270" y="480" />
<mxPoint x="270" y="70" />
<mxPoint x="150" y="70" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-2" target="xrgXY2-mwNu85WDdIgUO-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-2" value="<br>更新车最新时间<br>更新车云偏移量" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="100" y="280" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-3" target="xrgXY2-mwNu85WDdIgUO-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-3" value="实时接受车端数据" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="100" y="120" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-7" target="xrgXY2-mwNu85WDdIgUO-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-7" value="是否开始监控" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;direction=south;" vertex="1" parent="1">
<mxGeometry x="100" y="430" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-11" target="xrgXY2-mwNu85WDdIgUO-13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-11" value="保持偏移量不变<br>设定监控开始时间(云)<br>设定监控结束时间(云)" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="80" y="570" width="140" height="100" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-13" target="xrgXY2-mwNu85WDdIgUO-16">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-13" value="基于偏移量计算车上报的数据是否在监控区间内,并实时统计告警和状态数据" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="20" y="725" width="260" height="70" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-16">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="70" as="targetPoint" />
<Array as="points">
<mxPoint x="361" y="920" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-16" value="监控结束" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="100" y="870" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-19" value="基于机器人状态1.0和告警<br>实时更新车端时间;<br>计算云车偏移量" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="595" y="459" width="150" height="71" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-20" target="xrgXY2-mwNu85WDdIgUO-19">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-20" value="实时接受车端数据" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="620" y="360" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-22" value="状态1.0是30秒上报一次,保证了时间的时效性" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="440" y="464" width="140" height="60" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-24" value="是否在线" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="940" y="170" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-27" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#b85450;dashed=1;fillColor=#f8cecc;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-19" target="xrgXY2-mwNu85WDdIgUO-33">
<mxGeometry relative="1" as="geometry">
<mxPoint x="880" y="550" as="sourcePoint" />
<mxPoint x="920" y="362.5" as="targetPoint" />
<Array as="points">
<mxPoint x="850" y="495" />
<mxPoint x="850" y="370" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-28" value="获取最新的车端时间" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;" connectable="0" vertex="1" parent="xrgXY2-mwNu85WDdIgUO-27">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-29" value="Source" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;" connectable="0" vertex="1" parent="xrgXY2-mwNu85WDdIgUO-27">
<mxGeometry x="-1" relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-30" value="云-车&lt;60s<br style="border-color: var(--border-color);">or<br style="border-color: var(--border-color);">偏移量<span style="background-color: initial;">一阶差分不离散</span>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="810" y="280" width="160" height="71" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-33" target="xrgXY2-mwNu85WDdIgUO-35">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-53" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-33" target="xrgXY2-mwNu85WDdIgUO-52">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-33" value="是否不积压" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="940" y="321" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-24" target="xrgXY2-mwNu85WDdIgUO-33">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-35" target="xrgXY2-mwNu85WDdIgUO-37">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-35" value="基于最新的车端时间<br>设定监控开始时间(车)<br>设定监控结束时间(车)" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="913.5" y="458" width="153" height="66" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-37" value="统计监控时间内的告警<br>统计监控时间内的状态" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="920" y="570" width="140" height="70" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-39" target="xrgXY2-mwNu85WDdIgUO-47">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-39" value="车端时间是否到达监控结束时间" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="940" y="680" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-37" target="xrgXY2-mwNu85WDdIgUO-39">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-41" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#b85450;dashed=1;fillColor=#f8cecc;" edge="1" parent="1" target="xrgXY2-mwNu85WDdIgUO-39">
<mxGeometry relative="1" as="geometry">
<mxPoint x="745" y="495" as="sourcePoint" />
<mxPoint x="940" y="371" as="targetPoint" />
<Array as="points">
<mxPoint x="850" y="495" />
<mxPoint x="850" y="370" />
<mxPoint x="850" y="730" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-42" value="获取最新的车端时间" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;" connectable="0" vertex="1" parent="xrgXY2-mwNu85WDdIgUO-41">
<mxGeometry relative="1" as="geometry">
<mxPoint y="89" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-43" value="Source" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;" connectable="0" vertex="1" parent="xrgXY2-mwNu85WDdIgUO-41">
<mxGeometry x="-1" relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-45" value="结束监控" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.terminator;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="940" y="822" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-39" target="xrgXY2-mwNu85WDdIgUO-45">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-47">
<mxGeometry relative="1" as="geometry">
<mxPoint x="990" y="660" as="targetPoint" />
<mxPoint x="1160" y="820" as="sourcePoint" />
<Array as="points">
<mxPoint x="1160" y="800" />
<mxPoint x="1070" y="800" />
<mxPoint x="1070" y="660" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-51" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-47" target="xrgXY2-mwNu85WDdIgUO-50">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-47" value="是否在线" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="1110" y="680" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-50" value="离线时间达到一定时长,结束监控<br>如果最终状态是异常是否要考虑告警?" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="1270" y="691" width="220" height="77" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-56" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="xrgXY2-mwNu85WDdIgUO-52" target="xrgXY2-mwNu85WDdIgUO-55">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-52" value="积压会会导致数据延迟,会导致数据乱序,最终使得统计出错" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="1180" y="333" width="180" height="75" as="geometry" />
</mxCell>
<mxCell id="xrgXY2-mwNu85WDdIgUO-55" value="以延迟的车端时间作为监控时间(会和云端监控触发时间存在误差),由于数据乱序需要增加延迟窗口处理乱序的问题" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="1175" y="464" width="190" height="89" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>