sub2sub2 / AI-LINUX-RUST

0 stars 2 forks source link

[AIModel] Read data from the filePath #43

Closed hyunsube closed 1 month ago

hyunsube commented 2 months ago

App --> 대용량 파일 request ------> MCA (fila_path) (실제 데이터를 보내야함) FTP / curl --> MCA(known) // 신뢰 문제가 있다.

hyunsube commented 2 months ago
  1. MCA 가 pull 하는 것. request안에 ip / port / 파일 size 등등을 같이 보낸다?
  2. App 이 FTP(TCP) server가 된다. MCA가 client(?)

App 1.1 Request (file, ip, porf, size) --> gRPC(?) / hook(secret key를 주고 아는 앱만 인증) 1.2. TCP server open 1.3. wait() 3.1. if 붙으면 3.2 send()

MCA 2.1 Rudest 는 받고 hook으로 체크 2.2. 받은 데이터에서 ip랑 port확인 2.3 ip랑 Port로 connect 4.1 다 받으면 --> fin 하기 (?) 5.1 d-bus로 모델에 file_path 전달 5.2 결과 값 wait 6.1 모델로 부터 file_path를 받음 6.2 App으로 파일 전송 7.1 send()