الأربعاء، 18 أبريل 2012

طبقة الإرسال Transport Layer

الاضافة رقم: 13
الشهادة +CompTIA Network  


الفصل 1 : اساسيات التشبيك  CHAPTER 1: NETWORKING BASICS 

طبقة الإرسال   Transport Layer


------------------------------------------------------------
- تزود بروتوكولات طبقة الإرسال خدمات تتمم :
تلك الخدمات التي تزودها طبقة الشبكة.
- The transport layer protocols provide services that complement:
 those provided by the network layer.
------------------------------------------------------------
- معاً ، يجب على بروتوكول طبقة الشبكة وبروتوكول طبقة الإرسال أن يحققا :
نوعية الخدمة التي يتطلبها البرنامج الذي يستعمل الشبكة.
- Together, a network layer protocol and a transport layer protocol must achieve:
the quality of service required by the application that’s using the network.
------------------------------------------------------------
- في معظم الحالات:
يُظن ان بروتوكولات طبقة الإرسال وطبقة الشبكة المستعملة لإرسال البيانات زوج متطابق.
- In most cases:
the transport and network layer protocols used to transmit data are thought of as a matched pair.
------------------------------------------------------------
- كما في حالة التركيبة TCP/IP :
التي يأخذ منها طقم البروتوكولات TCP/IP اسمه.
- as in the case of the TCP/IP combination:
from which the TCP/IP protocol suite takes its name.
------------------------------------------------------------
- هذه التركيبة تتضمن:
IP الذي يشتغل في طبقة الشبكة، و TCP الذي يشتغل في طبقة الإرسال
- This combination includes:
IP, running at the network layer, and TCP, which runs at the transport layer.
------------------------------------------------------------
- البديل لـ TCP هو:
بروتوكول وحدة بيانات المستخدم (User Datagram Protocol) أو UDP. المستعمل أيضا إلى جانب IP.
- The alternative to TCP is:
 the User Datagram Protocol (UDP), which is also used in combination with IP.
------------------------------------------------------------
- يزود طقم بروتوكولات IPX أيضا خياراً بين بروتوكولات طبقة الإرسال، ومن بينها:
NetWare Core Protocol او (NCP) و Sequenced Packet Exchange أو (SPX)
- The IPX protocol suite also provides a choice between transport layer protocols, including:
the NetWare Core Protocol (NCP) and Sequenced Packet Exchange (SPX).
------------------------------------------------------------
UDP: User Datagram Protocol
NCP: NetWare Core Protocol
SPX: Sequenced Packet Exchange
------------------------------------------------------------
بروتوكولات تابعة لطبقة الشبكة(TCP,UDP,NCP,SPX)
البروتوكولات TCP/IP و IPX تُستعمل في طبقة الإرسال
------------------------------------------------------------


● البروتوكولات الاتصالية المنحنى والعديمة الاتصال

- في معظم الحالات الفرق بين البروتوكولات ضمن طقم بروتوكولات مزوًد في طبقة الارسال هو:
أن بعضها اتصالي المنحنى (connection-oriented) وبعضها عديم الاتصال (connectionless)
- In most cases the difference between the protocols within a particular protocol suite provided at the transport layer is:
 that some are connection-oriented and some are connectionless.
------------------------------------------------------------
- البروتوكول اتصالي المنحنى هو:
بروتوكول يتبادل فيه النظامان رسائل لإنشاء اتصال قبل ان يرسلا أي بيانات.
- A connection-oriented protocol is:
 one in which the two communicating systems exchange messages to establish a connection before they transmit any application data.
------------------------------------------------------------
- عندما يُنشأ الاتصال:
سيُعطى معرﱢف قناة منطقية ، الذي تستطيع الأنظمة أن تستعمله لاستخدام ذلك الاتصال بالذات . إنشاء الاتصال يضمن أن النظامين يعملان وجاهزان لتبادل البيانات.
- When a connection is established:
 it’s assigned a logical channel identifier, which the systems can then use to reference that particular connection. The establishment of the connection ensures that the systems are both active and ready to exchange data.
------------------------------------------------------------
- TCP، مثلاَ :
هو بروتوكول اتصالي المنحنى.
- TCP, for example:
is a connection-oriented protocol.
------------------------------------------------------------
- عندما تستعمل مستعرض ويب للاتصال بملقم انترنت :
ينفذ المستعرض والملقم اولا ما يسمى بمصافحة ثلاثية الاتجاه لإنشاء الاتصال. فقط عندما يبدأ المستعرض بإرسال عنوان صفحة الوب المطلوبة إلى الملقم. عندها ينتهي إرسال البيانات ، تنفذ الأنظمة مصافحة مماثلة لتفكيك الاتصال.
- When you use a Web browser to connect to an Internet server:
the browser and the server first perform what is known as a three- way handshake to establish the connection. Only then does the browser transmit the address of the desired Web page to the server. When the data transmission is complete, the systems perform a similar handshake to break down the connection.

------------------------------------------------------------
- تستطيع البروتوكولات الاتصالية المنحنى أن تزود أيضا خدمات كـ :
□ تقسيم البيانات
□ إشعار الرزمة
□ التحكم بالانسياب
□ اكتشاف وتصحيح الأخطاء
- Connection-oriented protocols can also provide services such as:
data segmentation
packet acknowledgment
flow control
end-to-end error detection and correction
------------------------------------------------------------
- تستعمل الأنظمة هذا النوع من البروتوكولات عادة:
لإرسال كميات كبيرة نسبيا من المعلومات لا يمكن السماح ولو لبت واحد فيها أن يأتي مشوها،كملفات البيانات أو ملفات البرامج وتلك الخدمات الإضافية تضمن الإرسال الصحيح للبيانات.
- Systems generally use this type of protocol:
to transmit relatively large amounts of information that can’t tolerate even a single bit error, such as data or program files, and these additional services ensure the correct transmission of the data.
------------------------------------------------------------
- بسبب تلك الخدمات، يقال في اغلب الأحيان أن البروتوكولات اتصالية المنحنى:
"موثوقة".
- Because of these services, connection-oriented protocols are often said to be:
“reliable”
------------------------------------------------------------
- وهذا المصطلح تقني يشير إلى  حقيقة أن :
كل رزمة مرسلة باستعمال البروتوكول قد اقر المستلم باستلامها وانه تأكد من خلوها من أي خطأ.
- a technical term referring to the fact that:
each packet transmitted using the protocol has been acknowledged by the recipient and has been verified as having been transmitted without error.
------------------------------------------------------------
- العائق مع هذا النوع من البروتوكولات هو :
انه يزيد بشكل كبير كمية بيانات التحكم المتبادلة بين النظامين.بالإضافة إلى الرسائل الزائدة المطلوبة لإنشاء وإنهاء الاتصال.
- The drawback of this type of protocol is that:
it greatly increases the amount of control data exchanged by the two systems In addition to the extra messages needed to establish and terminate the connection.
------------------------------------------------------------
- الرأس الذي يطبقه بروتوكول اتصالي المنحنى:
اكبر بكثير من رأس بروتوكول عديم الاتصالات.
- the header applied by a connection-oriented protocol is:
substantially larger than that of a connectionless protocol.
------------------------------------------------------------
- مثلاً:
في حالة بروتوكولات طبقة إرسال TCP/IP، يستعمل TCP رأس حجمه 20 بايت ، بينما يستعمل UDP، وهو بروتوكول عديم الاتصالات رأس حجمه 8 بايت فقط.
- For example:
in the case of the TCP/IP transport layer protocols, TCP uses a 20-byte header, while UDP, a connectionless protocol, uses only an 8-byte header.
------------------------------------------------------------
- البروتوكول العديم الاتصالات هو:
بروتوكول لا يتم فيه اتصال تمهيدي بين النظامين قبل إرسال بيانات البرنامج.فالمرسل يرسل فقط بياناته إلى الوجه من دون أن يعرف إن كان النظام المتلقي جاهز لتلقي البيانات أو إن كان موجود حتى.

- A connectionless protocol is:
one in which there is no preliminary communication between the two systems before the transmission of application data. The sender simply transmits its data to the destination without knowing if the receiving system is ready to receive data or whether it even exists.
------------------------------------------------------------
- تستعمل الأنظمة البروتوكولات العديمة الاتصالات، كــ UDP:
عادة للمعاملات الموجزة التي تتألف من طلب وجواب واحد فقط أو لإرسال البيانات التي يمكنها السماح بخسارة بعض البتات منها كدفق أصوات او دفق فيديو. في حالة المعاملة طلب/جواب يعمل الجواب من المستلم كإشعار صامت لعملية الإرسال.
- Systems generally use connectionless protocols, such as UDP:
for brief transactions that consist only of single requests and responses or for the transmission of data that can tolerate the loss of a few bits, such as an audio or video stream. In the case of a request/ response transaction, the response from the recipient functions as a tacit acknowledgment of the transmission.
------------------------------------------------------------
● وظائف طبقة الإرسال  Transport Layer Functions

- تزوؔد بروتوكولات طبقة الإرسال مجموعة متنوعة من الوظائف، بناءً على معايير كالتالية:
□ ما اذا كان بروتوكول اتصالي المنحنى او بروتوكول عديم الاتصالات
□ نوعية الخدمة التي يتطلبها البرنامج الذي يولد البيانات
□ الخدمات التي يزودها بروتوكول طبقة الشبكة
- Transport layer protocols provide a variety of functions, depending on criteria such as the following:
Whether it is a connection-oriented or connectionless protocol
The quality of service required by the application generating the
     data
The services provided by the network layer protocol
------------------------------------------------------------
بعض هذه الخدمات مشروح بمصطلحات عامة في الأقسام التالية:
Some of these services are described in general terms in the following sections.

تقسيم البيانات (data segmentation)  عندما يولد برنامج  بيانات سيتم إرسالها عبر شبكة، لن يهتم بــ ، أو حتى يدرك طبيعة الشبكة الموصول بها الكمبيوتر. لذا على بروتوكولات طبقة الإرسال الاتصالية المنحنى في اغلب الأحيان تقسيم دفق البيانات إلى أقسام ملائمة لترسل من خلال رزم فردية.هذه العملية تسمى تقسيم البيانات.
Data Segmentation When applications generate data that will be transmitted over a network, they aren’t concerned with, or even aware of, the nature of the network to which the computer is connected. Therefore, connection-oriented transport layer protocols often have to split the data stream for a particular network transaction into sections suitable for transmission via individual packets. This process is called segmentation.
------------------------------------------------------------
- عملية التقسيم مهمة للعديد من الوظائف الأخرى التي تزودها بروتوكولات طبقة الإرسال الاتصالية المنحنى:
لأنه خلال التقسيم يتم ترقيم الرزم الفردية لتسهيل الرجوع إليها في المستقبل
- The segmentation process is critical to many of the other functions provided by the connection-oriented transport layer protocols:
because it’s during segmentation that the individual packets are numbered for future reference.
------------------------------------------------------------
- إن آليات إشعار الرزمة والتحكم بالانسياب وتصحيح الأخطاء في بروتوكول طبقة الإرسال تستعمل:
أرقام الأقسام تلك لتحدد أي الرزم يجب إعادة إرسالها.
- The packet acknowledgment, flow control, and error correction mechanisms in the transport layer protocol use:
these segment numbers to specify which packets have to be retransmitted.
------------------------------------------------------------
- بالإضافة إلى ذلك:
يستعمل البروتوكول أرقام الأقسام ليعيد تركيب رسالة البرنامج الأصلية عندما تصل الرزم إلى الوجه بلا ترتيب.
- In addition:
the protocol uses the segment numbers to reconstitute the original application message when packets arrive at the destination out of sequence.
------------------------------------------------------------
إشعار الرزمة (packet acknowledgment) إشعار الرزمة هي الآلية التي تضمن تسليم بروتوكول اتصالي المنحنى لكل قسم بيانات بشكل ملائم.
■ Packet Acknowledgment Packet acknowledgment is the mechanism that ensures the proper delivery of each data segment by a connection-oriented protocol.
------------------------------------------------------------
- خلال عملية تقسيم البيانات:
يتم تقسيم دفق بيانات طبقة البرامج إلى أقسام ويتم ترقيم كل قسم. ثم يتم تخزين الأقسام على النظام المرسل  ولا تحذف إلى أن يقر النظام المتلقي بتلقيها.
- During the data segmentation process:
an application layer data stream is divided into segments and each segment is numbered. The segments are then stored on the transmitting system and aren’t deleted until the receiving system has acknowledged their receipt.
------------------------------------------------------------
- يمكن أن تاخذ عمليات تطبيق إشعار الرزمة عدة أشكال. في بعض الحالات:
يولد النظام المتلقي رسالة إشعار منفصلة لكل قسم يتلقاه.
- Packet acknowledgment implementations can take several forms. In some cases:
the receiving system generates a separate acknowledgment message for each segment it receives.
------------------------------------------------------------
- هذه الطريقة فعالة، لكنها:
تولد أيضا مقدار كبير من حركة المرور الإضافية في الشبكة.
- This method is effective, but:
it also generates a great deal of additional network traffic.

- هذه الأيام، معظم البروتوكولات اتصالية المنحنى:
تمكن النظام المتلقي من يقر باستلام عدة رزم بواسطة رسالة واحدة.
- Today, most connection-oriented protocols:
enable the receiving system to acknowledge multiple packets with a single message.
------------------------------------------------------------
■ التحكم بالانسياب (flow control) التحكم بالانسياب هو آلية تمكن النظام المتلقي من تنظيم السرعة التي يرسل بها النظام المرسل الرزم.
Flow Control Flow control is a mechanism that enables a receiving system to regulate the speed at which the transmitting system sends packets.
------------------------------------------------------------
- هذا يمنع:
انغمار النظام المتلقي بعدد كبير من الرزم.
- This prevents:
the receiving system from being overwhelmed by too many packets.
------------------------------------------------------------
- بطاقة الشبكة في كل كمبيوتر لها دارئ يمكنها أن:
تخزن فيه الرزم الواردة حيث تنتظر حتى يصبح النظام جاهز لمعالجتها.
- The network interface adapter in every computer has a buffer in which it can:
store incoming packets, where they wait until the system is ready to process them.
------------------------------------------------------------
- إذا وصل عدد كبير من الرزم بسرعة:
يمتلئ الدارئ ويجب رمي بعض الرزم.
- If too many packets arrive too quickly:
the buffer fills up and some packets must be discarded.

- لمنع هذا من الحصول:
يرسل النظام المتلقي رسالة إلى النظام المرسل يطلب منه فيها أن يبطئ سرعة إرسال الرزم على معرف قناة منطقية معينة.
- To prevent this from happening:
the receiving system sends a message to the transmitting system, requesting that it slow down the transmission rate of packets for a particular logical channel identifier.
------------------------------------------------------------
- عندما تصبح هناك مساحة كافية في الدارئ مرة أخرى:
يستطيع النظام المتلقي أن رسل رسالة أخرى يطلب فيها أن يسرع النظام المرسل عمليات الإرسال.
- When there is sufficient room in the buffer again:
the receiving system can send another message requesting that the transmitting system speed up its transmissions.
------------------------------------------------------------
■ اكتشاف وتصحيح أخطاء طبقة الإرسال  تزود بروتوكولات طبقة الإرسال في اغلب الأحيان اشمل خدمة لاكتشاف أخطاء مكدس البروتوكولات بأكمله وتزود خدمة لتصحيح الأخطاء أيضا.
■ Transport Layer Error Detection and Correction Transport layer protocols often provide the most comprehensive error detection service of the entire protocol stack and provide error correction as well.
------------------------------------------------------------
- لقد تعلمت سابقا في هذا الفصل أن بروتوكولات وصلة البيانات في اغلب الأحيان تستعمل:
العملية الحسابية CRC (فحص التكرار الدوري) لاكتشاف أخطاء الإرسال.
- Earlier in this chapter you learned that data-link layer protocols often use:
a CRC calculation to detect transmission errors.
------------------------------------------------------------
- لكن تلك البروتوكولات:
لا تستطيع تصحيح الأخطاء، بل تتكل على بروتوكول طبقة الإرسال ليعيد إرسال الرزم المفقودة أو المعطوبة
- but these protocols:
can’t correct the errors. Instead, they rely on the transport layer protocol to retransmit packets that have been lost or corrupted.
------------------------------------------------------------
- هذا النوع من الخطاء يسمى:
خطأ مؤشر (signaled) لان بروتوكول آخر يبلغ بروتوكول طبقة الإرسال ما هي الرزم التي يجب إعادة إرسالها.
- This type of error is called:
a signaled error because another protocol informs the transport layer protocol which packets must be retransmitted.
------------------------------------------------------------
- الخطأ غير المؤشر هو:
خطأ لم يكتشفه بعد بروتوكول في طبقة أخرى، لتلك الأنواع من الأخطاء ، يجب أن ينفذ بروتوكول طبقة الإرسال العملية بأكملها.
- An unsignaled error is:
one that has not already been detected by a protocol at another layer; for these types of errors the transport layer protocol must perform the entire process.
------------------------------------------------------------
- لاكتشاف الأخطاء:
تستعمل بروتوكولات طبقة الإرسال عادة، العملية الحسابية CRC على الرزمة بأكملها، بما في ذلك الحمولة المتلقاة من طبقة البرامج.هذه هي الآلية الوحيدة لتصحيح أخطاء الأطراف التي تتضمن بيانات البرنامج.
- To detect errors:
transport layer protocols typically use a CRC calculation on the entire packet, including the payload received from the application layer. This is the only end-to-end error connection mechanism that includes the application data.
------------------------------------------------------------
- لتصحيح الأخطاء:
يولد النظام المتلقي رسائل تعترف بتلقي كل الرزم ما عدا تلك التي فشلت في الفحص CRC أو لم تصل أبدا إلى الوجهة، ويرسل الرسائل إلى النظام المرسل الذي يعيد عندها إرسال تلك الرزم.
- To correct errors:
the receiving system generates messages that acknowledge the receipt of all packets except those that have failed the CRC check or have never arrived at the destination, and it sends the messages to the transmitting system, which then resends the unacknowledged packets.
------------------------------------------------------------
تعريف بروتوكول طبقة البرامج تزود بروتوكولات طبقة الإرسال عادة مسار عبر الطبقات فوقها تماما مثلما تفعل بروتوكولات طبقة الشبكة وطبقة وصلة البيانات. مثلا، تتضمن رؤوس البروتوكولين TCP و UDP أرقام منافذ تعرف البرنامج الذي جاءت منه الرزمة والبرنامج الذي تذهب إليه الرزمة.
Application Layer Protocol Identification Transport layer protocols typically provide a path through the layers above, just as network and data-link layer protocols do. The headers for both TCP and UDP, for example, include port numbers that identify the applications from which the packet originated and for which it’s destined.

ليست هناك تعليقات:

إرسال تعليق