4.1 Transportation of Data نقل البيانات
Role of the Transport Layer دور طبقة النقل
The
transport layer is:
•
responsible for logical communications between
applications running on different hosts.
مسؤولة عن الاتصالات المنطقية بين
التطبيقات التي تعمل على مختلف المضيفين.
•
The link between the application layer and the lower
layers that are responsible for network transmission.
الربط بين طبقة التطبيق والطبقات
السفلي المسؤولة عن الإرسال في الشبكة.
Transport Layer Responsibilities
The
transport layer has the following responsibilities: تشتمل طبقة النقل على مسؤوليات عديدة
:
•
Segmenting data and reassembling segments
تجزئة البيانات وإعادة
تجميع المقاطع
•
Adds header information إضافة معلومات الرأس
•
Identify, separate, and manage multiple conversations
تحديد المحادثات المتعددة وفصلها
وإدارتها
•
Uses segmentation and multiplexing to enable different
communication conversations to be interleaved on the same network
يستخدم التجزئة والتعدد المتعدد
لتمكين محادثات الاتصالات المختلفة ليتم تشويقها على نفس الشبكة
Transport Layer Protocols
•
IP does not specify how the delivery or transportation
of the packets takes place.
•
IP لا
يقوم بتحديد كيفية حدوث عملية تسليم الحزم أو نقلها.
•
Transport layer protocols specify how to transfer
messages between hosts, and are responsible for managing reliability
requirements of a conversation.
•
تحدد
بروتوكولات طبقة النقل كيفية نقل الرسائل بين المضيفين، وهي مسؤولة عن إدارة
متطلبات الموثوقية للمحادثة.
•
The transport layer includes the TCP and UDP
protocols.
• تشتمل طبقة النقل على كل من بروتوكولي TCP و UDCP.
Transmission
Control Protocol
( TCP )
TCP
provides reliability and flow control. TCP basic operations:
TCP
يوفر الموثوقية والتحكم في التدفق. عمليات TCP
الأساسية:
•
Number and track data segments transmitted to a
specific host from a specific application
ترقيم وتعقب مقاطع البيانات المرسلة
إلى مضيف محدد من تطبيق محدد
•
Acknowledge received data إقرار بالبيانات المستلمة
•
Retransmit any unacknowledged data after a certain
amount of time
•
إعادة
إرسال أي بيانات لم يصل اقرار استلامها بعد فترة زمنية محددة
•
Sequence data that might arrive in wrong order
•
بيانات
التسلسل التي قد تصل بترتيب خاطئ
•
Send data at an efficient rate that is acceptable by
the receiver
•
إرسال
البيانات بمعدل فعال مقبول من قبل المتلقي
User Datagram Protocol (UDP)
UDP
provides the basic functions for delivering datagrams between the appropriate
applications, with very little overhead and data checking.
ويوفر بروتوكول UDP الوظائف الأساسية لتسليم مخطط بيانات
المستخدم بين التطبيقات الملائمة، مع عبء قليل جدًا وقليل من فحص البيانات.
•
UDP is a connectionless protocol.
•
UDP هو
بروتوكول طبقة النقل بدون اتصال.
•
UDP is known as a best-effort delivery protocol
because there is no acknowledgment that the data is received at the destination.
•
تتم
الإشارة إلى UDP علي أنه بروتوكول التسليم بأفضل جهد، وذلك
لعدم الإقرار بما إذا كان تم تسليم البيانات للوجهة أم لا.
The Right
Transport Layer Protocol for the Right Application
بروتوكول طبقة النقل الصحيح للتطبيق الصحيح
UDP is
also used by request-and-reply applications where the data is minimal, and
retransmission can be done quickly.
يتم استخدام UDP أيضًا من قبل تطبيقات الطلب والرد حيث تكون
البيانات ضئيلة، ويمكن إعادة الإرسال بسرعة.
If it is
important that all the data arrives and that it can be processed in its proper
sequence, TCP is used as the transport protocol.
إذا كان من المهم أن جميع البيانات تصل وأنه يمكن معالجتها في تسلسلها
الصحيح، يتم استخدام TCP كبروتوكول النقل.