الثلاثاء، 27 مايو 2014

What is a Protocol ?


What is a Protocol?


A protocol is a system of rules that define how something is to be done. In computer terminology, a protocol is usually an agreed-upon or standardized method for transmitting data and/or establishing communications between different devices. Just as two humans need to have a common language between them before they can begin to share ideas and information, so must computers have a common way of sending information between them. The Internet is often used as an example of a successful protocols-based system in which the implementation of key qualities of protocols, such as error correction and message formatting, are utilized and respected across a wide variety of hardware and software.
To demonstrate a common usage of a popular protocol, we can examine the Internet's TCP/IP protocol. Computers can communicate different types of information over TCP/IP such as text, pictures, VOIP (Voice Over Internet Protocol), and more. To indicate that a user wants the page "protocol.html" from the What-Is-What website, the web browser Firefox connects to the What-Is-What server and sends this information: "GET /what_is/protocol.html HTTP/1.1". The server knows that the request is divided into three sections by spaces, and knows what values to expect in each section. The first section specifies the type of request, in this case a GET request. The next section is the location request, in this case the file "protocol.html" which is located in the "what_is" directory. The final section is the transport protocol that the browser would like to use, in this case version 1.1 of HTTP (HyperText Transfer Protocol). If Firefox were to request these properties in a different order, say, with the GET section at the end instead of at the beginning, the web server would not be able to understand the request. The order, and type, of the request is defined in the TCP/IP suite of protocols.
a Protocol logo
In the previous example, we saw how one protocol, TCP/IP, was used to specify the use of another protocol, HTTP. This is an example of high- and low-level protocols and how they interact. TCP and IP are low-level protocols, that are used in establishing the basic connection between two computers on a network. However, just simply connecting does nothing practical, and information must actually be transferred. Just like the low-level protocol defines the properties of the connection, a high-level protocol (such as HTTP) defines the properties of the data transfer. In addition to the familiar HTTP protocol, other common Internet protocols include FTP (File Transfer Protocol), DHCP (Dynamic Host Configuration Protocol), SMTP (Simple Mail Transfer Protocol), POP3 (Post Office Protocol version 3), and IMAP (Internet Message Access Protocol). You have probably noticed that all these acronyms end in the letter "P". In fact, whenever encountered with an unfamiliar computer-related acronym that ends in "P", there is a very good chance that it defines a protocol.

البروتوكول هو نظام من القواعد التي تحدد كيف شيء هو الذي يتعين القيام به . في مصطلحات الكمبيوتر ، و البروتوكول هو عادة متفق عليها أو طريقة موحدة لنقل البيانات و / أو إنشاء الاتصالات بين الأجهزة المختلفة . تماما كما تحتاج اثنين من البشر ل ديهم لغة مشتركة بينهما قبل أن يتمكنوا من البدء في تبادل الأفكار والمعلومات ، لذلك يجب أن أجهزة الكمبيوتر لديها وسيلة مشتركة لإرسال المعلومات فيما بينها . وكثيرا ما يستخدم الإنترنت كمثال لنظام الناجحة القائمة على بروتوكولات التي تستخدم في تنفيذ الصفات الرئيسية لل بروتوكولات ، مثل تصحيح الخطأ و تنسيق الرسالة، و احترام عبر مجموعة واسعة من الأجهزة والبرمجيات.
ل يبرهن على وجود الاستعمال الشائع بروتوكول شعبية ، يمكننا أن دراسة بروتوكول TCP / IP للإنترنت. يمكن لأجهزة الكمبيوتر التواصل أنواع مختلفة من المعلومات عبر TCP / IP مثل النصوص والصور و الصوت عبر بروتوكول الإنترنت (صوت عبر بروتوكول الإنترنت) ، و أكثر من ذلك. تشير إلى أن المستخدم يريد صفحة " protocol.html " من ما هو بين ما على شبكة الإنترنت، متصفح الويب فايرفوكس يتصل هل ما بين ما الخادم و يرسل هذه المعلومات : " GET / what_is / protocol.html HTTP / 1.1 " . خادم يعرف أن ينقسم إلى ثلاثة أقسام طلب بمسافات ، ويعرف ما تقدر أن نتوقع في كل قسم. يحدد القسم الأول نوع من الطلب، في هذه الحالة طلب GET. المقطع التالي هو طلب الموقع ، في هذه الحالة ملف " protocol.html " الذي يقع في " what_is " الدليل. القسم الأخير هو بروتوكول نقل أن المتصفح ترغب في استخدام ، في هذه الحالة الإصدار 1.1 من HTTP ( بروتوكول نقل النص التشعبي ) . إذا كانت فايرفوكس لطلب هذه الخصائص في ترتيب مختلف ، ويقول، مع قسم GET في نهاية بدلا من في البداية، أن خادم الويب لن تكون قادرة على فهم الطلب. ويعرف النظام، و نوع من الطلب في مجموعة TCP / IP من البروتوكولات.
شعار بروتوكول
في المثال السابق ، رأينا كيف بروتوكول واحد ، TCP / IP ، وكان يستخدم ل تحديد استخدام بروتوكول آخر ، HTTP. هذا مثال من البروتوكولات العالية و المنخفضة المستوى و كيفية تفاعلها . TCP و IP هي البروتوكولات ذات المستوى المنخفض ، التي يتم استخدامها في إنشاء الاتصال الأساسية بين اثنين من أجهزة الكمبيوتر على الشبكة. ومع ذلك ، فقط لمجرد ربط العملية لا يفعل شيئا ، و يجب أن يكون في الواقع نقل المعلومات. تماما مثل يحدد البروتوكول على مستوى منخفض خصائص الاتصال، بروتوكول رفيعة المستوى ( مثل HTTP ) يعرف خصائص نقل البيانات. بالإضافة إلى بروتوكول HTTP المألوفة، تشمل غيرها من بروتوكولات الإنترنت شيوعا FTP (بروتوكول نقل الملفات) ، DHCP ( بروتوكول تكوين المضيف الحيوي ) ، SMTP ( بروتوكول نقل البريد البسيط ) ، POP3 ( بروتوكول مكتب البريد الإصدار 3 ) ، و IMAP ( الرسائل إنترنت بروتوكول الوصول) . ربما كنت قد لاحظت أن جميع هذه المختصرات ينتهي في الرسالة "P " . في الواقع، كلما واجه مع اختصار المتصلة بالحاسوب غير مألوف أن ينتهي في " ف " ، وهناك فرصة جيدة جدا أنه يعرف البروتوكول.

0 التعليقات:

إرسال تعليق