-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUntitled Diagram.drawio
139 lines (139 loc) · 11.1 KB
/
Untitled Diagram.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
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36" version="24.7.14">
<diagram name="Page-1" id="jjtNCCXJwxjibi0O1gz5">
<mxGraphModel dx="2000" dy="1163" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="pU8MznzVKb6HY-WG7ddG-42" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="420" y="120" width="527" height="1040" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-40" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;align=left;" vertex="1" parent="1">
<mxGeometry x="80" y="120" width="240" height="280" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="pU8MznzVKb6HY-WG7ddG-1" target="pU8MznzVKb6HY-WG7ddG-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-1" value="生成公钥和私钥文件" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="160" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="pU8MznzVKb6HY-WG7ddG-2" target="pU8MznzVKb6HY-WG7ddG-4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-2" value="用公钥加密授权文件,该授权文件包含当前时间、使用期限、调用次数、和授权文件id" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="260" width="120" height="90" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="pU8MznzVKb6HY-WG7ddG-4">
<mxGeometry relative="1" as="geometry">
<mxPoint x="637" y="260" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-4" value="鉴权服务使用私钥加载授权文件" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="577" y="160" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-13" 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="pU8MznzVKb6HY-WG7ddG-8" target="pU8MznzVKb6HY-WG7ddG-12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-14" value="是" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="pU8MznzVKb6HY-WG7ddG-13">
<mxGeometry x="0.0333" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="pU8MznzVKb6HY-WG7ddG-8">
<mxGeometry relative="1" as="geometry">
<mxPoint x="637" y="540" as="targetPoint" />
<Array as="points">
<mxPoint x="772" y="315" />
<mxPoint x="772" y="510" />
<mxPoint x="637" y="510" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-19" value="否" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="pU8MznzVKb6HY-WG7ddG-18">
<mxGeometry x="-0.4105" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-8" value="读取本地加密的pkl文件和根据<div>i<span style="background-color: initial;">d号判断是否是新的授权文件</span></div>" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="522" y="260" width="230" height="110" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-16" 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="pU8MznzVKb6HY-WG7ddG-12">
<mxGeometry relative="1" as="geometry">
<mxPoint x="637" y="540" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-12" value="更新本地加密的pkl文件,已调用次数置为0" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="577" y="410" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="pU8MznzVKb6HY-WG7ddG-21" target="pU8MznzVKb6HY-WG7ddG-28">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-21" value="服务加载完毕" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="577" y="540" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;" edge="1" parent="1" source="pU8MznzVKb6HY-WG7ddG-23">
<mxGeometry relative="1" as="geometry">
<mxPoint x="637" y="671" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-23" value="当有外部请求后" style="shape=document;whiteSpace=wrap;html=1;boundedLbl=1;" vertex="1" parent="1">
<mxGeometry x="457" y="656" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="638" y="970" as="targetPoint" />
<mxPoint x="638" y="920" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-33" value="是" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="pU8MznzVKb6HY-WG7ddG-31">
<mxGeometry x="-0.3268" y="5" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-37" value="否" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="pU8MznzVKb6HY-WG7ddG-31">
<mxGeometry x="-0.24" y="4" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="pU8MznzVKb6HY-WG7ddG-27">
<mxGeometry relative="1" as="geometry">
<mxPoint x="807" y="870" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-38" value="是" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="pU8MznzVKb6HY-WG7ddG-32">
<mxGeometry x="-0.0548" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-27" value="判断调用次数是否<div>超限或使用期限是否超时</div>" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="539.5" y="820" width="195" height="100" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="pU8MznzVKb6HY-WG7ddG-28" target="pU8MznzVKb6HY-WG7ddG-27">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-28" value="查询pkl文件后获取当前鉴权服务状态(已调用次数,授权起始时间)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="577" y="730" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-35" 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="pU8MznzVKb6HY-WG7ddG-34">
<mxGeometry relative="1" as="geometry">
<mxPoint x="637" y="1070" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-34" value="更新本地加密的pkl文件" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="577" y="970" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-36" value="返回True" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="577" y="1070" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-39" value="返回False" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="807" y="840" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-41" value="览智侧" style="text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;" vertex="1" parent="1">
<mxGeometry x="70" y="120" width="100" height="40" as="geometry" />
</mxCell>
<mxCell id="pU8MznzVKb6HY-WG7ddG-43" value="对方服务器侧" style="text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;" vertex="1" parent="1">
<mxGeometry x="807" y="130" width="100" height="40" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>