graph TB
subgraph Config["DB 설정"]
Pool[커넥션 풀]
ExecQuery[쿼리 실행]
end
subgraph Tables["주요 테이블"]
T1[발신자 정보]
T2[발송 스케줄]
T3[발신자 그룹]
T4[메일 서버 상태]
T5[블랙리스트]
T6[검색 결과]
end
Pool --> T1
Pool --> T2
Pool --> T3
Pool --> T4
Pool --> T5
Pool --> T6
ExecQuery --> Pool
테이블 관계도
erDiagram
mail_agent ||--o{ mail_delivery_schedule : "발신자"
mail_sender_group ||--o{ mail_delivery_schedule : "발송 스케줄러"
mail_agent ||--o{ search_list : "업체 담당자"
mail_agent {
int no PK
string email
string password
string name
}
mail_delivery_schedule {
int no PK
int sender_group FK
string send_status
string reservation_sent
datetime dispatch_registration_time
}
mail_sender_group {
int no PK
string title
text contents
}
search_list {
int no PK
string id
string keyword
string link
string title
int sender_id FK
}
blacklist {
int no PK
string email
datetime registered_date
}
6. External Layer
외부 시스템 연동
graph TB
subgraph Internal["내부 서비스"]
Search[블로그 크롤러]
Mail[메일 발송]
Hiworks[Hiworks 연동]
end
subgraph NaverAPI["네이버 API"]
N1[모바일 검색 API]
N2[블로그 상세 API]
end
subgraph BlogSecret["BlogSecret API"]
BS1[Load Balancer]
BS2[키워드 정보]
BS3[병렬 처리]
end
subgraph SMTP["SMTP 서버"]
S1[Gmail SMTP]
S2[Naver SMTP]
S3[Hiworks SMTP]
S4[Daum SMTP]
end
Search -->|HTTP| N1
Search -->|HTTP| N2
Search -->|HTTP| BS1
Mail -->|SMTP:587| S1
Mail -->|SMTP:587| S2
Mail -->|SMTP:465| S3
Mail -->|SMTP:465| S4
Hiworks -->|API| S3