add translate
This commit is contained in:
32
en/flow/app_encryption_interaction.md
Normal file
32
en/flow/app_encryption_interaction.md
Normal file
@@ -0,0 +1,32 @@
|
||||
```mermaid
|
||||
graph TD
|
||||
Start[Generate/Import Mnemonic] --> Show[UI: 12-word Mnemonic Display]
|
||||
Show --> Backup[Prompt Physical Backup/Write Down]
|
||||
|
||||
subgraph Action_Phase [Initialization Phase]
|
||||
Backup --> Email[Click: Email Backup]
|
||||
Email --> SendEmail[Invoke System Email: Send Mnemonic or Encrypted Version]
|
||||
Backup --> Process[Click: Backup Complete/Next]
|
||||
end
|
||||
|
||||
Process --> Core[Core Calculation Logic]
|
||||
|
||||
subgraph Logic_Layer [Logic Layer]
|
||||
Core --> Key[Derive Master Seed]
|
||||
Key --> SSS[SSS 3/2 Split]
|
||||
Key --> S0[Write S0 to TEE/SE]
|
||||
SSS --> S1[Transmit S1 to Cloud Node]
|
||||
SSS --> S2[S2 Processing Interface]
|
||||
end
|
||||
|
||||
S2 --> S2_Action{Process S2 Immediately?}
|
||||
S2_Action -->|Yes| S2_Send[Send to Designated Executor/Download]
|
||||
S2_Action -->|No| S2_Skip[Skip, Destroy S2 & Mnemonic in Memory]
|
||||
|
||||
subgraph Future_S2 [Late S2 Processing]
|
||||
S2_Skip --> S2_Late[Late Click: Configure Heir]
|
||||
S2_Late --> Re_Auth{Permission Check}
|
||||
Re_Auth -->|Option A: Re-enter| Input[Require User to Re-enter Mnemonic]
|
||||
Re_Auth -->|Option B: Reset| Reset[Regenerate Completely, Re-encrypt All Data]
|
||||
end
|
||||
```
|
||||
44
en/flow/asset_inheritance_flow.md
Normal file
44
en/flow/asset_inheritance_flow.md
Normal file
@@ -0,0 +1,44 @@
|
||||
```mermaid
|
||||
graph TD
|
||||
%% Phase 1: Initialization
|
||||
subgraph Initialization [1. Initialization Phase]
|
||||
A[Mnemonic Phrase] -->|PBKDF2/Scrypt| B[Master Seed]
|
||||
B -->|SSS 3/2 Split| S0[Shard S0: Mobile Held]
|
||||
B -->|SSS 3/2 Split| S1[Shard S1: Distributed Custody]
|
||||
B -->|SSS 3/2 Split| S2[Shard S2: Offline Credential, Inheritance]
|
||||
end
|
||||
|
||||
%% Phase 2: Storage & Distribution
|
||||
subgraph Storage [2. Storage & Distribution]
|
||||
S0 -->|Persist| TEE[Mobile Secure Chip TEE/SE]
|
||||
S1 -->|VSS Resharding - Anti-Collusion| Cloud[Distributed Cloud Nodes]
|
||||
S2 -->|Delivery/Backup| Heir[Heir/Lawyer/Vault]
|
||||
end
|
||||
|
||||
%% Phase 3: Active State
|
||||
subgraph Active_State [3. User Active State (Alive)]
|
||||
User((User)) -->|Biometrics| TEE
|
||||
TEE -->|S0| Auth{TEE/SE Computation}
|
||||
DATA{Data to Process} -->|S0| Auth
|
||||
Auth --> Action[Processing Result]
|
||||
end
|
||||
|
||||
%% Phase 4: Inheritance Logic
|
||||
subgraph Inheritance_Logic [4. Inheritance Trigger Logic]
|
||||
Signal{Heartbeat Signal Interrupted?} -->|Yes| Pending[Enter Pending Freeze Period]
|
||||
Pending -->|Timeout & No Intervention| Contract[Smart Contract Triggers Released]
|
||||
Contract -->|Unlock Signal| Cloud
|
||||
end
|
||||
|
||||
%% Phase 5: Recovery
|
||||
subgraph Recovery [5. Asset Recovery]
|
||||
Heir -->|Holds S2| Recovery_Auth{Combine & Restore}
|
||||
Cloud -->|Unfreeze & Release S1| Recovery_Auth
|
||||
Recovery_Auth -->|S1 + S2| B2[Reconstruct Master Seed]
|
||||
B2 --> Success[Asset/Data Inheritance Success]
|
||||
end
|
||||
|
||||
%% Styling
|
||||
style A fill:#f9f,stroke:#333,stroke-width:2px
|
||||
style B fill:#fff,stroke:#333,stroke
|
||||
```
|
||||
54
en/flow/user_interaction_and_privacy_archiving_flowchart.md
Normal file
54
en/flow/user_interaction_and_privacy_archiving_flowchart.md
Normal file
@@ -0,0 +1,54 @@
|
||||
```mermaid
|
||||
graph TD
|
||||
subgraph AI_LLM
|
||||
GEMINI
|
||||
end
|
||||
subgraph AI_Server_Proxy
|
||||
Prompts[Prompt Template API]
|
||||
|
||||
LLM_REQ[AI Request Proxy API]
|
||||
LLM_RESP[AI Response Proxy API]
|
||||
LLM_REQ --> LLM_P[Wrap Prompt]
|
||||
LLM_P --> GEMINI
|
||||
GEMINI --> LLM_RESP
|
||||
|
||||
end
|
||||
%% Phase 1: AI Interaction
|
||||
subgraph AI_Interaction [1. AI Interaction & Local Logs]
|
||||
A[Mobile Periodic Check or Push]
|
||||
B(Mobile AI Assistant)
|
||||
RESULT(Mobile Display Result)
|
||||
A --> Prompts
|
||||
Prompts --> |Template Desc & ID| B
|
||||
B -->|User Input| C{Privacy Proxy}
|
||||
C -->|Desensitize| LLM_REQ
|
||||
LLM_RESP -->|Return| RESULT
|
||||
C -->|Local Save| E[(Interaction Records Local DB)]
|
||||
RESULT --> E
|
||||
end
|
||||
|
||||
|
||||
|
||||
%% Phase 2: Archiving Decision
|
||||
subgraph Decision_Phase [2. Summary & Backup Trigger]
|
||||
E -->|AI Local Summary| F[Asset/Info Identification]
|
||||
F -->|Ask User| G{Confirm Backup?}
|
||||
G -->|No| H[Local Retention Only]
|
||||
end
|
||||
|
||||
%% Phase 3: Sentinel Dual Encryption
|
||||
subgraph Secure_Vault [3. Sentinel Dual Encryption]
|
||||
G -->|Yes: Authorize| I[TEE Invokes Key]
|
||||
I <-->|Inner Layer Enc/Dec| J[User Ciphertext Data_Enc_D0]
|
||||
J -->|Upload| K[Sentinel Server]
|
||||
K -->|Download| J
|
||||
K -->|Server PubKey/Outer Layer Enc/Dec| L[Final Ciphertext Enc_Data_Final]
|
||||
L <-->|Distributed Storage| M[(Arweave / Filecoin)]
|
||||
M <-->|Record Hash| N[Smart Contract Lock/Proof]
|
||||
end
|
||||
|
||||
%% Styling
|
||||
style I fill:#f96,stroke:#333
|
||||
style K fill:#bbf,stroke:#333
|
||||
style M fill:#9f9,stroke:#333
|
||||
```
|
||||
@@ -1,53 +0,0 @@
|
||||
```mermaid
|
||||
graph TD
|
||||
subgraph AI_LLM
|
||||
GEMINI
|
||||
end
|
||||
subgraph AI_Server_Proxy
|
||||
Prompts[Prompt 模板API]
|
||||
|
||||
LLM_REQ[AI请求代理 API]
|
||||
LLM_RESP[AI返回代理 API]
|
||||
LLM_REQ --> LLM_P[包装提示词]
|
||||
LLM_P --> GEMINI
|
||||
GEMINI --> LLM_RESP
|
||||
|
||||
end
|
||||
%% 第一阶段:AI 普惠层
|
||||
subgraph AI_Interaction [1. AI 交互与本地日志]
|
||||
A[手机端定期检查或者推送]
|
||||
B(手机端 AI 小助手)
|
||||
RESULT(手机端展示结果)
|
||||
A --> Prompts
|
||||
Prompts --> |模板描述和模板ID| B
|
||||
B -->|用户输入| C{隐私代理}
|
||||
C -->|脱敏| LLM_REQ
|
||||
LLM_RESP -->|回传| RESULT
|
||||
C -->|本地保存| E[(交互记录 Local DB)]
|
||||
RESULT --> E
|
||||
end
|
||||
|
||||
|
||||
|
||||
%% 第二阶段:智能归档决策
|
||||
subgraph Decision_Phase [2. 总结与备份触发]
|
||||
E -->|AI 本地总结| F[资产/信息识别]
|
||||
F -->|询问用户| G{确认备份?}
|
||||
G -->|No| H[仅本地留存]
|
||||
end
|
||||
|
||||
%% 第三阶段:哨兵双重加密存储
|
||||
subgraph Secure_Vault [3. 哨兵双重加密流程]
|
||||
G -->|Yes: 授权| I[TEE 调用密钥]
|
||||
I -->|内层加密| J[用户密文 Data_Enc_D0]
|
||||
J -->|上传| K[Sentinel 服务器]
|
||||
K -->|服务器公钥/外层加密| L[最终密文 Enc_Data_Final]
|
||||
L -->|分布式存储| M[(Arweave / Filecoin)]
|
||||
M -->|记录 Hash| N[智能合约锁死/存证]
|
||||
end
|
||||
|
||||
%% 样式
|
||||
style I fill:#f96,stroke:#333
|
||||
style K fill:#bbf,stroke:#333
|
||||
style M fill:#9f9,stroke:#333
|
||||
```
|
||||
Reference in New Issue
Block a user