当前位置:网站首页>What is the difference between agreement and service?
What is the difference between agreement and service?
2022-06-25 08:07:00 【Shrek】
Explain a concept first : Entity !
Entity (entity): Any hardware or software process that can send or receive information , An entity is a specific software module .
Understanding agreements and services
1、 agreement Is to control two peer entities ( Or multiple entities ) Of the communication rules aggregate .
The agreement has three elements :
(1) grammar : That is, the format of data and control information .
(2) semantics : The operation to be completed by the sender or receiver , That is, what kind of control information needs to be sent , What actions to complete and what responses to make
(3) Sync : That is, a detailed description of the sequence of event implementation
Under the control of the protocol , The communication between two peer entities enables this layer to provide services to the upper layer . To implement this layer protocol , You also need to use the services provided by the following layer .
2、 service It's vertical , Provide services from the bottom to the top .
3、 The difference between agreement and service :
(1) The implementation of the protocol ensures that it can provide services like the upper layer . The service users of this layer can only see the service, but not the following protocol . The following protocol is transparent to the above service users .
(2) Agreement is “ Horizontal ”, That is, the protocol controls two peer entities ( Between peers ) The rules of communication .
But the service is “ Vertical ”, That is, service is The lower Through interlayer interface Up to the top Provided . The upper layer uses the services provided by the lower layer by exchanging some commands with the lower layer , These orders are in OSI Called service primitives in .
边栏推荐
猜你喜欢

CAN透传云网关CANIOT,CANDTU记录CAN报文远程收发CAN数据

Ubuntu18下登录mysql 5.7设置root密码

Electronics: Lesson 011 - experiment 10: transistor switches

Apache CouchDB 代码执行漏洞(CVE-2022-24706 )批量POC

剑指offer刷题(简单等级)

深度学习系列45:图像恢复综述

Use the frame statistics function of the message and waveform recording analyzer royalscope to troubleshoot the accidental faults of the CAN bus

静态网页服务器

Electronics: Lesson 010 - Experiment 8: relay oscillator

力扣 272. 最接近的二叉搜索树值 II 递归
随机推荐
Number theory template
Matlab代码格式一键美化神器
Neural network and deep learning-3-simple example of machine learning pytorch
MySQL interview - the response of executing SQL is relatively slow, and the troubleshooting ideas.
TCP与UDP
Import data into Matlab
电子学:第008课——实验 6:非常简单的开关
Opencv daily function structure analysis and shape descriptor (8) Fitline function fitting line
环网冗余式CAN/光纤转换器的CAN光端机在消防火灾联网报警系统中的应用
Use the frame statistics function of the message and waveform recording analyzer royalscope to troubleshoot the accidental faults of the CAN bus
初体验完全托管型图数据库 Amazon Neptune
挖掘微生物暗物质——新思路
电子学:第009课——实验 7:研究继电器
C disk drives, folders and file operations
50 pieces of professional knowledge of Product Manager (IV) - from problem to ability improvement: amdgf model tool
php数组函数大全
Drawing of clock dial
【莫比乌斯反演】
50. pow (x, n) - fast power
电子学:第013课——实验 14:可穿戴的脉冲发光体