Data transmission and packets
مُقدَّم
10:32
نقل البيانات
ترسل صورة إلى صديق على الجانب الآخر من العالم. لا تنتقل الصورة كتلة واحدة، بل تُقسّم إلى مئات الحزم الصغيرة، تحمل كل منها تسمية…
سرد باللغة الإنجليزية · ترجمة نصية بالإنجليزية و中文 يمكنك التبديل بينهما
في هذا الدرس
| English | المعنى |
|---|---|
| Data transmission/ˈdeɪtə trænˈsmɪʃn/ | |
| packets/ˈpækɪts/ | حزم البيانات |
| serial/ˈsɪərɪəl/ | تسلسلي |
| parallel/ˈpærəlel/ | متوازي |
| packet switching/ˈpækɪt ˈswɪtʃɪŋ/ | Sending data as separate packets that share network links and may travel along different routes. |
| header/ˈhedə/ | رأس البيانات |
| IP addresses | |
| packet number | |
| payload/ˈpeɪləʊd/ | الحمولة |
| trailer/ˈtreɪlə/ | |
| end marker | |
| error check | |
| file/faɪl/ | A named collection of data stored and managed as a unit. |
| routers/ˈruːtəz/ | الموجهات |
| bit/bɪt/ | A binary digit, taking the value zero or one. |
| USB | Uses standard connectors , can auto-detect devices and load drivers , and can carry power. |
| Simplex/ˈsɪmpleks/ | One direction only (computer → printer). |
| Half-duplex/hɑːf ˈdjuːpleks/ | Both directions, one at a time (walkie-talkie). |
| Full-duplex/fʊl ˈdjuːpleks/ | Both directions at once (phone call). |
| connectors/kəˈnektəz/ | |
| drivers |
إرسال البيانات
- نقل البيانات ينقل البيانات من مكان إلى آخر.
- يتم تقسيم البيانات إلى قطع صغيرة متساوية تسمى حزم.
- نختار أيضًا كيفية انتقالها: تسلسلي/متوازي والاتجاه.
الحزم والتبديل بالحزم
- الحزمة تتكون من ثلاثة أجزاء: رأس (عناوين IP للمرسل والمستقبل، رقم الحزمة)، الحمولة (البيانات)، وذيل (علامة نهاية + فحص أخطاء).
- فوائد الحزم: فقط الحزمة المفقودة تُعاد إرسالها (وليس الملف بأكمله)؛ يمكن للحزم اتباع مسارات مختلفة؛ العديد من المستخدمين يشاركون الاتصال.
- في التبديل بالحزم، تقوم الموجهات بقراءة كل رأس واختيار مسار؛ قد تصل الحزم غير مرتبة وتقوم بـ إعادة ترتيبها حسب الرقم.

الحزمة لها رأس، وحمولة (البيانات) وذيل؛ يحمل الرأس العناوين ورقم الحزمة.

الموجهات توجه الحزم، ويمكن أن تتبع حزم مختلفة مسارات مختلفة لتصل إلى نفس المستقبل.
How data travels in packets
Step through packet switching. Splitting a file into addressed packets is why one lost packet only needs resending, and why many users can share the same line.
A packet header contains:
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
The header carries control info (addresses + packet number); the payload is the data; the trailer marks the end + error check.
Match each part of a packet to what it carries.
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
A packet = header (control info) + payload (data) + trailer (end + error check); splitting up means only lost packets are resent.
التسلسلي مقابل المتوازي
- التسلسلي يرسل بتًا واحدًا في كل مرة عبر سلك واحد — أرخص، وممتاز لمسافات طويلة (تبقى البتات مرتبة).
- المتوازي يرسل عدة بتات في وقت واحد عبر عدة أسلاك — أسرع ولكن فقط لمسافات قصيرة (يمكن أن تصل البتات بأوقات مختلفة قليلاً).

كابل إيثرنيت بقبعة RJ45، يُستخدم غالبًا لنقل البيانات على شبكة سلكية

Serial transmission:
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Serial = one bit at a time (cheaper, long-distance reliable); parallel = many bits at once (fast, short-distance).
الاتجاه وUSB
- باجهة واحدة (Simplex) — اتجاه واحد فقط (حاسوب ← طابعة).
- نصف ثنائي الاتجاه (Half-duplex) — اتجاهان، لكن واحدًا تلو الآخر (راديو مشفر).
- ثنائي الاتجاه الكامل (Full-duplex) — اتجاهان في آن واحد (مكالمة هاتفية).
- USB: منفذ قياسي واحد، يكشف الجهاز تلقائيًا ويحمل السائق، ينقل الطاقة، ويناسب طريقة واحدة فقط.

كابل ألياف ضوئية ينقل البيانات على شكل نبضات ضوئية عبر ألياف زجاجية رفيعة


Half-duplex sends data both ways at the same time, like a phone call, while full-duplex sends both ways but only one at a time.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
False. They are swapped: half-duplex sends both ways but one direction at a time (like a walkie-talkie), while full-duplex sends both ways at once (like a phone call). Simplex is one way only.
A benefit of USB is that:
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
USB uses standard connectors, can auto-detect devices and load drivers, and can carry power.
هذه البطاقة جديدة، لذلك تظهر باللغة الإنجليزية حتى تصبح ترجمتها جاهزة.
Worked example: an email in packets
An email is split into packets 1, 2 and 3. They arrive at the receiver in the order 3, 1, 2. Explain how the email is still read correctly, and why the packets may arrive out of order.
- Each packet's header holds the receiver's IP address and its packet number. The receiver waits for all the packets and puts them back in order 1, 2, 3 by their numbers.
- In packet switching 分组交换, each router sends each packet along the route that is free at that moment, so packets take different routes and some arrive sooner. If one never arrives, the receiver asks for it to be sent again.
Which of these is stored in a packet's header?
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
The header holds the sender's and receiver's IP addresses and the packet number; the data is the payload.
Parallel transmission is the better choice for sending data over long distances.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Over long distances the bits on parallel wires can arrive at different times (skew) and the extra wires cost more, so serial is used.
لقد فهمت الأمر
- الحزمة = الرأس (العناوين + الرقم) + الحمولة + الذيل؛ فقط الحزم المفقودة تُعاد إرسالها
- التبديل بالحزم: الموجهات توجه كل حزمة؛ تُعيد ترتيبها حسب رقم الحزمة
- تسلسلي = بت واحد/سلك واحد (مسافة طويلة)؛ متوازي = عدة بتات/عدة أسلاك (قصيرة)
- باجهة واحدة / نصف ثنائي الاتجاه / ثنائي الاتجاه الكامل = اتجاه واحد / واحد تلو الآخر / كلاهما في آن واحد
ما المشكلة؟ لا يرى ذلك سوى فريق الموقع.