| 
 | 
 | 
# AVL AES Key Handling
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
```mermaid
 | 
| 
 | 
 | 
sequenceDiagram
 | 
| 
 | 
 | 
sequenceDiagram;
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
participant "Device" as Dev
 | 
| 
 | 
 | 
participant "Device TCP Session" as Dev_TCP
 | 
| 
 | 
 | 
participant "D2Sphere TCP Session" as D2S_TCP 
 | 
| 
 | 
 | 
participant "D2Sphere Database" as D2S_DB
 | 
| 
 | 
 | 
participant "D2SPhere REST API" as D2S_API
 | 
| 
 | 
 | 
participant "Device" as Dev;
 | 
| 
 | 
 | 
participant "Device TCP Session" as Dev_TCP;
 | 
| 
 | 
 | 
participant "D2Sphere TCP Session" as D2S_TCP; 
 | 
| 
 | 
 | 
participant "D2Sphere Database" as D2S_DB;
 | 
| 
 | 
 | 
participant "D2SPhere REST API" as D2S_API;
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
autonumber
 | 
| ... | ... |  |