5.8 KiB
5.8 KiB
theme, background, title, info, class, drawings, transition, mdc, seoMeta
theme | background | title | info | class | drawings | transition | mdc | seoMeta | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
seriph | https://cover.sli.dev | Welcome to Slidev | ## Slidev Starter Template Presentation slides for developers. Learn more at [Sli.dev](https://sli.dev) | text-center |
|
slide-left | true |
|
Hybirdscope V3 数据结构和后端设计
Start
transition: slide-left
斗胆抛砖引玉
各位都是各个方面的大神, 我也是斗胆在这里给大家讲一下后续后端重构的设计思路和数据结构设计思路
后续在数据对接上大家更加方便, 效率也更高!
如果有不太对的地方也希望大家帮我指证出来, 改进和共同进步!!!
📝 数据结构需要结合业务来设计
🎨 那么我们的主要业务是啥呢? 安全域!!!
🧑💻 既然有了安全域, 安全域为谁服务呢? 用户!!!
🤹 安全域为用户服务什么呢? 资源(配置)!!!
🎥 其实到这里就已经显而易见了, 我们的数据模型就 3 点
📤 资源(配置) <-> 安全域 <-> 用户
<style> h1 { background-color: #2B90B6; background-image: linear-gradient(45deg, #4EC5D4 10%, #146b8c 20%); background-size: 100%; -webkit-background-clip: text; -moz-background-clip: text; -webkit-text-fill-color: transparent; -moz-text-fill-color: transparent; } </style>transition: slide-left level: 2
它们之间的关系
flowchart LR
资源配置 <--> 安全域 <--> 用户
真要这么简单, 我也不用专门让大家来一起过一下这个事情
我们先来看看安全域和用户之间的关系
transition: slide-left level: 2
<style> div { display: flex; justify-content: center;align-items: center; flex-direction: column; } h1 { background-color: #2B90B6; background-size: 100%; -webkit-background-clip: text; -moz-background-clip: text; -webkit-text-fill-color: transparent; -moz-text-fill-color: transparent; } img { height: 70%; } h3 { color: #2B90B6; } </style>安全域 <-> 用户
transition: slide-left level: 2
<style> div { display: flex; justify-content: center;align-items: center; flex-direction: column; } h1 { background-color: #2B90B6; background-size: 100%; -webkit-background-clip: text; -moz-background-clip: text; -webkit-text-fill-color: transparent; -moz-text-fill-color: transparent; } img { height: 80%; } h3 { color: #2B90B6; } </style>资源/配置 <-> 安全域
transition: slide-left level: 2
<style> h1 { background-color: #2B90B6; background-size: 100%; -webkit-background-clip: text; -moz-background-clip: text; -webkit-text-fill-color: transparent; -moz-text-fill-color: transparent; } .img03 { height: 80%; } .img03 img { width: auto; } </style>资源/配置 <-> 安全域 <-> 用户
transition: slide-left level: 2
<style> h1 { background-color: #2B90B6; background-size: 100%; -webkit-background-clip: text; -moz-background-clip: text; -webkit-text-fill-color: transparent; -moz-text-fill-color: transparent; } .img04 { height: 100%; width: 100%; scale: 1.5; } </style>资源/配置 <-> 安全域 <-> 用户
transition: slide-left level: 2
<style> h1 { background-color: #2B90B6; background-size: 100%; -webkit-background-clip: text; -moz-background-clip: text; -webkit-text-fill-color: transparent; -moz-text-fill-color: transparent; } .img05 { height: 100%; width: 100%; scale: 1.3; display: flex; flex-direction: row; } .img06 { height: 100%; } </style>关联表设计
transition: slide-left level: 2
<style> div { display: flex; justify-content: center;align-items: center; flex-direction: column; } h1 { background-color: #2B90B6; background-size: 100%; -webkit-background-clip: text; -moz-background-clip: text; -webkit-text-fill-color: transparent; -moz-text-fill-color: transparent; } </style>资源表

{
"config-xx": 1753627188924,
"config-yy": 1753627188924,
"resource-a1": 1753627188924,
"resource-b1": 1753627188924,
"resource-c1": 1753627188924,
"resource-d1": 1753627188924
}