1.1 The Rules
Ø Communications
Fundamentals أساسيات
الاتصال
Networks can vary in size and complexity. It is not enough to have a
connection, devices must agree on “how” to communicate.
يمكن
أن تختلف الشبكات من حيث الحجم والتعقيد. لا يكفي أن يكون لديك اتصال، يجب أن
توافق الأجهزة على «كيفية» التواصل.
There are three elements to any communication: هناك
ثلاثة عناصر لأي اتصال:
•
There will be a source (sender)سيكون
هناك مصدر (مرسل) .
•
There will be a destination (receiver). سيكون
هناك وجهة (المتلقي)
•
There will be a channel (media) that provides for the
path of communications to occur.
• سيكون هناك قناة (وسائل الاتصال) التي تنص على مسار الاتصالات أن يحدث
Ø Communications Protocols بروتوكولات الاتصالات
•
All communications are governed by protocols.
تخضع جميع
الاتصالات للبروتوكولات
•
Protocols are the rules that communications will
follow.
البروتوكولات
هي القواعد التي سوف تتبع الاتصالات
These rules
will vary depending on the protocol
• هذه القواعد سوف تختلف اعتمادا على البروتوكول.
Ø Network Protocol
Requirements متطلبات
بروتوكول الشبكة
Common computer protocols
must be in agreement and include the following requirements:
يجب أن تكون بروتوكولات الكمبيوتر المشتركة متفقة
وتشمل المتطلبات التالية:
•
Message encoding
•
Message formatting and encapsulation
•
Message size
•
Message timing
• Message delivery options
Message Encoding
o
Encoding is the process of converting information into
another acceptable form for transmission.
الترميز هو عملية تحويل المعلومات إلى شكل آخر مقبول لإرسالها.
o
Decoding reverses this process to interpret the
information.
أما عملية فك الترميز فتعكس هذه العملية لترجمة المعلومات
Message Formatting and Encapsulation تنسيق الرسائل وتضمينها
o
When a message is sent, it must use a specific format
or structure.
عند إرسال رسالة، يجب أن تستخدم تنسيقًا أو بنية معينة.
o
Message formats depend on the type of message and the
channel that is used to deliver the message.
وتعتمد تنسيقات الرسالة على نوع الرسالة والقناة المستخدمة لتسليم الرسالة.
Message Size
Encoding between hosts
must be in an appropriate format for the medium.
فيجب أن يكون الترميز بين المضيفين
بتنسيق ملائم للوسيط.
•
Messages sent across the network are converted to bits
يتم تحويل الرسائل المرسلة عبر الشبكة إلى وحدات bits
•
The bits are encoded into a pattern of light, sound,
or electrical impulses.
يتم ترميز bits إلى نمط من الضوء أو الصوت أو النبضات الكهربائية.
•
The destination host must decode the signals to
interpret the message
يستقبل مضيف الوجهة الإشارات ويفك ترميزها لترجمة الرسالة.
Message Timing
Message timing includes the following: يتضمن توقيت الرسالة ما يلي:
Flow Control – Manages the rate of data transmission and defines how much
information can be sent and the speed at which it can be delivered.
: التحكم في التدفق
Response Timeout – Manages how long a device waits when it does not hear a reply from the
destination.
مهلة الاستجابة - يدير المدة التي ينتظر فيها الجهاز عندما لا يسمع رد من الوجهة.
Access method - Determines when someone can send a message.
تحدد طريقة الوصول الوقت الذي يكون
فيه الشخص قادرًا على إرسال الرسالة
•
There may be various rules governing issues like
“collisions”. This is when more than one device sends traffic at the same time
and the messages become corrupt.
وقد تكون هناك قواعد مختلفة تنظم مسائل مثل «الاصطدامات». هذا هو عندما يرسل أكثر من جهاز واحد حركة المرور في نفس الوقت والرسائل تصبح تالفة.
•
Some protocols are proactive and attempt to prevent
collisions; other protocols are reactive and establish a recovery method after
the collision occurs.
بعض البروتوكولات استباقية وتحاول منع الاصطدامات؛ البروتوكولات الأخرى هي رد الفعل وتضع طريقة الاسترداد بعد حدوث الاصطدام.
Message Delivery Options خيارات تسليم الرسائل
Message
delivery may one of the following methods:
قد يكون تسليم الرسائل إحدى الطرق التالية:
•
Unicast – one to one communication اتصال
مباشر
•
Multicast – one to many, typically not all واحد
لكثيرين، عادة ليس كل شيء
• Broadcast – one to all واحد إلى الكل
Note: Broadcasts are used in IPv4 networks, but are
not an option for IPv6. Later we will also see “Anycast” as an additional
delivery option for IPv6.