For faster navigation, this Iframe is preloading the Wikiwand page for 会话层.

会话层

此条目没有列出任何参考或来源。 (2018年12月5日)维基百科所有的内容都应该可供查证。请协助补充可靠来源改善这篇条目。无法查证的内容可能会因为异议提出而被移除。
“会话层”的各地常用名称
中国大陆会话层
台湾会议层

会话层,位于OSI模型的第5层,主要为两个会话层实体进行会话(Session),而进行的对话连接的管理服务。

会话层为客户端的应用程式提供了开启、关闭和管理会话的机制,亦即半永久的对话。会话的实体包含了对其他程序作会话链接的要求及回应其他程序提出的会话链接要求。在应用程式的执行环境中,会话层是这些程序用来提出远程过程调用(remote procedure calls,RPC)的地方。

会话层标准为了使会话连接建立阶段能进行功能协商,也为了便于其它国际标准参考和引用,定义了12种功能单元。各个系统可根据自身情况和需要,以核心功能服务单元为基础,选配其他功能单元组成合理的会话服务子集。

会话层服务

[编辑]
  • 认证(Authentication)
  • 权限(Permissions)
  • 会话恢复(Session restoration):包括检查点(checkpointing)和恢复(recovery)

会话层在OSI的模型负责会话检查点和恢复。它允许不同来源的资讯流作适当的合并或同步化。

一个例子是在网络会议的应用,其中音频和视频的流串必须同步,以避免嘴唇与声音不同步的问题。楼层控制确保在屏幕上显示的是当前的发言者。

另一个应用是在电视直播节目中,在那里音频和视频的流串从一个到另一个合并或转换时要无缝,以免出现无声通话时间或过度重叠。

会话层的主要功能

[编辑]
  1. 为会话实体间建立连接:为给两个对等会话服务用户建立一个会话连接,应该做如下几项工作。
    1. 将会话地址映射为运输地址。
    2. 选择需要的运输服务质量参数(QoS)。
    3. 对会话参数进行协商。
    4. 识别各个会话连接。
    5. 传送有限的透明用户数据。
  2. 数据传输阶段:这个阶段是在两个会话用户之间实现有组织的,同步的数据传输。用户数据单元为SSDU,而协议数据单元为SPDU.会话用户之间的数据传送过程是将SSDU转变成SPDU进行的。
  3. 连接释放:连接释放是通过"有序释放","废弃","有限量透明用户数据传送"等功能单元来释放会话连接的。

会话层协议

[编辑]

参考

[编辑]

参看

[编辑]
{{bottomLinkPreText}} {{bottomLinkText}}
会话层
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?