1.6 Data Encapsulation تضمين/تغليف البيانات
التجزئة (Segmenting) هو عملية تقسيم الرسائل إلى وحدات أصغر. التجميع (Multiplexing) هو عمليات أخذ تيارات متعددة من البيانات المجزأة وتداخلها معا.
Segmenting messages has two primary benefits:
توفر تجزئة الرسائل فائدتين رئيسيتين:
•
Increases speed - Large amounts of data can be sent over the network without
tying up a communications link.
يمكن
إرسال كميات كبيرة من البيانات عبر الشبكة دون ربط رابط الاتصالات
•
Increases efficiency - Only segments which fail to reach the destination
need to be retransmitted, not the entire data stream.
يجب إعادة إرسال الأجزاء التي تفشل في الوصول إلى الوجهة فقط، وليس تدفق
البيانات بأكمله.
Sequencing التسلسل
Sequencing messages is the process of numbering the segments so that the message may be reassembled at the destination.
تسلسل الرسائل
هو عملية ترقيم الأجزاء بحيث يمكن إعادة تجميع الرسالة في الوجهة.
TCP هو المسؤول عن تسلسل القطاعات الفردية.
Protocol Data Units ( PDU )وحدات بيانات البروتوكول
Encapsulation is the process where protocols add their information to the data.
التغليف هو العملية التي تضيف البروتوكولات معلوماتها إلى البيانات.
•
At each stage of the process, a PDU has a different
name to reflect its new functions.
•
ويطلق
على وحدة PDU
اسمٌ مختلفٌ في كل مرحلة من العملية بما يعكس وظائفها الجديدة.
•
There is no universal naming convention for PDUs, the PDUs are named according to the protocols
of the TCP/IP suite.
• لا يوجد اصطلاح تسمية عالمي لوحدات PDUs، يتم تسمية وحدات PDU وفقًا لبروتوكولات مجموعة TCP/IP.
•
PDUs passing down the stack are as follows:
1. Data (Data
Stream)
2. Segment
3. Packet
4. Frame
5. Bits (Bit Stream)
Encapsulation Example مثال للتضمين
•
Encapsulation is a top down process.
•
التغليف/التضمين(Encapsulation)
هو عملية من أعلى إلى أسفل.
• The level above
does its process and then passes it down to the next level of the model. This
process is repeated by each layer until it is sent out as a bit stream
• المستوى أعلاه يقوم بعملها ثم يمررها إلى المستوى التالي من النموذج. يتم تكرار هذه العملية من قبل كل طبقة حتى يتم إرسالها كـ bit stream.
De-encapsulation Example مثال إزالة التضمين
يتم ازالة تغليف/تضمين البيانات
أثناء تحريكها لأعلى stack.
•
When a layer completes its process, that layer strips
off its header and passes it up to the next level to be processed. This is
repeated at each layer until it is a data stream that the application can
process.
عندما تكمل الطبقة عمليتها، تقوم هذه
الطبقة بتجريدها من رأسها وتمررها إلى المستوى التالي المراد معالجتها. يتم تكرار
هذا في كل طبقة حتى يكون تدفق البيانات التي يمكن للتطبيق معالجتها.
1. Received as Bits
(Bit Stream)
2. Frame
3. Packet
4. Segment
5. Data (Data
Stream)