새벽을 밝히는 붉은 달

1-2. Definition of Protocol 본문

Computer Science/Computer Network

1-2. Definition of Protocol

자윰 2022. 1. 6. 16:28

아주대학교 노병희 교수님의 강의와 강의노트를 기반으로 정리한 내용입니다.

수강한지 1년이 지나 복습 겸 작성하는 글이기 때문에 잘못된 내용이 있다면 댓글로 알려주시면 감사하겠습니다. 🙏


1. Definition of protocols

위키피디아의 정의에 따르면, 통신에서의 protocol의 의미는 a defined set of rules and regulations that determine how data is transmitted in telecommunications and computer networking 이다. 한국말로 다시  풀어서 써보자면, telecommunication과 computer networking에서 어떻게 data가 전송될 지 정의한 일종의 규율 또는 규칙이다.

 

communicate가 성공적으로 수행되기 위해서는 1. 무엇이 communication하는지 2. 어떻게 communication 하는지 3. 언제 communication 하는지가 상호적으로 확인이 되어야 한다. 즉, Protocol이란 communication을 하려고 하는 두 entity가 있을 때, 이 두 entity가 어떤 정보 또는 메세지를 성공적으로 교환하기 위한 어떤 일련의 서로 일치되어야 할 규칙이다.


2. Key Elements of a Protocol

Protocol의 요소는 크게 Syntax, Semantics, Timing의 3가지가 있다.

 

Syntax는 data format을 의미하는 것으로, data formats, encoding/decoding information, signal level 등이 여기에 속한다. Semantics는 메세지를 전송하거나 받았을 때 취할 일종의 action으로, response, control information, error handling 등이 여기에 속한다. Timing은 메세지의 순서를 의미하는 것으로, speed matching, sequence number가 여기에 해당한다.

 

Server와 Client 간 통신시 protocol의 3요소를 나타낸 그림은 다음과 같다.

 

'Computer Science > Computer Network' 카테고리의 다른 글

[Network] 웹사이트에 접속하는 과정  (1) 2023.10.21
1-3. Layered Protocol Model  (0) 2022.01.06
1-1. What is the Internet?  (0) 2022.01.02
Comments