1. Trang chủ
  2. » Công Nghệ Thông Tin

Practical TCP/IP and Ethernet Networking- P10 ppt

5 180 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 137,79 KB

Nội dung

4KZ]UXQOTML[TJGSKTZGRY   • TP1 (transfer protocol class 1) It assumes a type B subnet; that is, one that may be unreliable. To deal with this, TP1 provides its own error detection, along with facilities for getting the sender to retransmit any erroneous packets • TP2 (transfer protocol class 2) It also assumes a type A subnet. However, TP2 can multiplex transmissions, so that multiple transport connections can be sustained over the single network connection • TP3 (transfer protocol class 3) It also assumes a type B subnet. TP3 can also multiplex transmissions, so that this protocol has the capabilities of TP1 and TP2 • TP4 (transfer protocol class 4) It is the most powerful protocol, in that it makes minimal assumptions about the capabilities or reliability of the subnet. TP4 is the only one of the OSI transport-layer protocols that supports connectionless service  4KZ]UXQRG_KX The network layer is the third lowest layer, or the uppermost subnet layer. It is responsible for the following tasks: • Determining addresses or translating from hardware to network addresses. These addresses may be on a local network or they may refer to networks located elsewhere on an internetwork. One of the functions of the network layer is, in fact, to provide capabilities needed to communicate on an internetwork • Finding a route between a source and a destination node or between two intermediate devices • Establishing and maintaining a logical connection between these two nodes, to establish either a connectionless or a connection-oriented communication. The data is processed and transmitted using the data link layer below the network layer. Responsibility for guaranteeing proper delivery of the packets lies with the transport layer, which uses network layer services • Fragmentation of large packets of data into frames which are small enough to be transmitted by the underlying data link layer (fragmentation). The corresponding network layer at the receiving node undertakes reassembly of the packet  *GZGROTQRG_KX The data link layer is responsible for creating, transmitting, and receiving data packets. It provides services for the various protocols at the network layer, and uses the physical layer to transmit or receive material. The data link layer creates packets appropriate for the network architecture being used. Requests and data from the network layer are part of the data in these packets (or frames, as they are often called at this layer). These packets are passed down to the physical layer and from there, the data is transmitted to the physical layer on the destination machine. Network architectures (such as Ethernet, ARCnet, Token Ring, and FDDI) encompass the data link and physical layers, which is why these architectures support services at the data link level. These architectures also represent the most common protocols used at the data link level.  6XGIZOIGR:)6/6GTJ+ZNKXTKZ4KZ]UXQOTM   The IEEE (802.x) networking working groups have refined the data link layer into two sub layers: • Logical-link control (LLC) sub layer at the top • Media-access control (MAC) sub layer at the bottom The LLC sub layer must provide an interface for the network layer protocols, and control the logical communication with its peer at the receiving side. The MAC sub layer must provide access to a particular physical encoding and transport scheme.  6N_YOIGRRG_KX The physical layer is the lowest layer in the OSI reference model. This layer gets data packets from the data link layer above it, and converts the contents of these packets into a series of electrical signals that represent 0 and 1 values in a digital transmission. These signals are sent across a transmission medium to the physical layer at the receiving end. At the destination, the physical layer converts the electrical signals into a series of bit values. These values are grouped into packets and passed up to the data link layer. :XGTYSOYYOUTVXUVKXZOKYJKLOTKJ The mechanical and electrical properties of the transmission medium are defined at this level. These include the following: • The type of cable and connectors used. Cable may be coaxial, twisted-pair, or fiber optic. The types of connectors depend on the type of cable • The pin assignments for the cable and connectors. Pin assignments depend on the type of cable and also on the network architecture being used • Format for the electrical signals. The encoding scheme used to signal 0 and 1 values in a digital transmission or particular values in an analog transmission depend on the network architecture being used. Most networks use digital signaling, and most use some form of Manchester encoding for the signal  /TZKXUVKXGHOROZ_GTJOTZKXTKZ]UXQOTM Interoperability is the ability for users of a network to transfer information between different communications systems; irrespective of the way those systems are supported. One definition of interoperability is: ‘The capability of using similar devices from different manufacturers as effective replacements for each other without losing functionality or sacrificing the degree of integration with the host system. In other words, it is the capability of software and hardware systems on different devices to communicate together. This results in the user being able to choose the right devices for an application independent of the supplier, control system and the protocol.’ It describes how networks can communicate with each other, as well as how they can share data. Internetworking is a term that is used to describe the interconnection of differing networks so that they retain their own status as a network. What is important in these concepts is that internetworking devices be made available so that the exclusivity of each of the linked networks is retained, but that the ability to share information, and physical resources if necessary, becomes both seamless and transparent to the end user. The problems that can be observed through the inability to consider these important concepts can be seen in a typical plant wide situation. For example, consider a 4KZ]UXQOTML[TJGSKTZGRY   manufacturing industry that wishes to connect a series of networks from the plant equipment through to the corporate management level. Equipment will have been purchased from a variety of vendors, most of who will not have previously considered the ability to interact with other vendors, let alone other levels of information system equipment. The difficulties have led to the introduction of a number of standardization schemes, which to a greater or lesser degree comply with the OSI reference model. In the United States, both Boeing Aircraft Company and General Motors – two large manufacturing organizations – have developed schemes to allow interoperability between equipment differing manufacturers. These standards are known as the Technical Office Protocol (TOP) and the Manufacturing Automation Protocol (MAP), and are designed as a subset of the OSI model. At the field sensor level, a standard that is being used is the international Fieldbus standard. These attempts at interoperability are shown in diagrammatic form below. The MAP/TOP approaches were never successful; but their design and implementation have been built into many of the protocol standards used today. Figure 2.11 It should be noted that at the plant level, the requirement for all seven layers of the OSI model is not appropriate if real time communications are to take place. Hence a simplified OSI model is often preferred for industrial applications where time critical communications is more important than full communications functionality provided by the full seven layer model. Such a protocol stack is acceptable since there will be no internetworking at this level. Two well-known stacks are the Mini-MAP and the Fieldbus standard, which is shown in Figure 2.12. Generally most industrial protocols are written around three layers: • The physical layer • The data link layer • The application layer When the reduced OSI model is implemented the following limitations exist: • The maximum size of the application messages is limited by the maximum size allowed on the channel (as there is no network layer to fragment large packets) • No routing of messages is possible between different networks (as there is no network layer) • Only half-duplex communications is possible (as there is no session layer)  6XGIZOIGR:)6/6GTJ+ZNKXTKZ4KZ]UXQOTM   • Message formats must be the same for all nodes (as there is no presentation layer) MiniMAP and the Fieldbus protocol standards use the reduced OSI model with only three layers. Similarly other industrial protocols such as the Allen Bradley Data Highway Plus protocol, Modbus Plus and the HART smart instrumentation protocols have all standardized on the three layers only. One of the challenges with the use of the OSI model is the concept of interoperability and the need for definition of another layer above the application layer, called the ‘user’ layer. Figure 2.12 ‘Collapsed’ OSI stack However, it is the so-called user layer that actually specifies the type of data in information and how it is to be used. Specification of the user layer is essential to ensure complete performance of a fieldbus system. From the point of view of internetworking, TCP/IP operates as a set of programs that interacts at the transport and network layer levels without needing to know the details of the technologies used in the underlying layers. As a consequence this has developed as a de facto industrial internetworking standard. Many manufacturers of proprietary equip- ment are using TCP/IP to facilitate internetworking.  6XUZUIURYGTJVXUZUIURYZGTJGXJY A protocol has already been defined as the rules for exchanging data in a manner that is understandable to both the transmitter and the receiver. There must be a formal and agreed set of rules if the communication is to be successful. The rules generally relate to such responsibilities as error detection and correction methods, flow control methods, and voltage and current standards. However, there are other properties such as the size of the data packet that are important in the protocols that are used in LANs. Another important responsibility is the method of routing the packet, once it has been assembled. In a self contained local area network i.e. intranet work, this is not a problem, since all packets will eventually reach their destination by virtue of design. However, if the packet is to be switched across networks i.e. on an internetwork – such as a wide area network – then a routing decision must be made. In this regard we have already examined the use of a datagram service vis à vis a virtual circuit. 4KZ]UXQOTML[TJGSKTZGRY   There are two other classes of service provision that you might encounter. These are the acknowledged connectionless service ALS and the unconfirmed connection oriented service UOS, sometimes called send-and-pray. The ALS service is used for real-time communications. It is similar to the datagram or connectionless service, except it provides the transmitter with an acknowledgment that the data has been delivered. The UOS service is a connection oriented service that insists a link be established before data packets are transmitted. However, subsequent delivery of the packets is not acknowledged. In summary, there are many different types of protocol, but they can be classified in terms of their functional emphasis. One scheme of classification is: • Master/slave vs peer-to-peer A master slave relationship requires that one of the communicators act as a master controller. Peer-to-peer protocols allow all communications to take place as and when required • Connection oriented Connectionless; acknowledged connectionless; unconfirmed connection oriented. These are described above • Asynchronous vs synchronous Synchronous protocols send data at the clock rate of the network. Asynchronous protocols send data one byte at a time, with a varying delay between each byte • Layered vs monolithic The OSI model illustrates a layered approach to protocols. The monolithic approach uses a single layer to provide all functionality • Heavy vs light A heavy protocol has a wide range of functions built in, and consequently incurs a high processing delay overhead. A light protocol incurs low processing delay but only provides minimal functionality  /+++/95YZGTJGXJY The Institute of Electrical and Electronic Engineers in the United States has been given the task of developing standards for local area networking under the auspices of the IEEE 802 committees. Once a draft standard has been agreed and completed, it is passed to the International Standards Organization ISO for ratification. The corresponding ISO standard, which is generally internationally accepted, is given the same committee number as the IEEE committee, with the addition of an extra ‘8’ in front of the number i.e. the IEEE 802 committees are equivalent to the ISO 8802 committees. These IEEE committees, consisting of various technical, study and working groups, provide recommendations for various features within the networking field. Each committee is given a specific area of interest, and a separate subnumber to distinguish it. The main committees and the standards that they are working on are described below. /+++.OMNRK\KROTZKXLGIK The HILI sub committee is concerned with issues such as high level interfaces, internetworking and addressing. There are a series of sub committees, such as: • 802.1B LAN management • 802.1D Local bridging . standards are known as the Technical Office Protocol (TOP) and the Manufacturing Automation Protocol (MAP), and are designed as a subset of the OSI model. At the field sensor level, a standard. generally relate to such responsibilities as error detection and correction methods, flow control methods, and voltage and current standards. However, there are other properties such as the size. Plus and the HART smart instrumentation protocols have all standardized on the three layers only. One of the challenges with the use of the OSI model is the concept of interoperability and

Ngày đăng: 04/07/2014, 08:21

TỪ KHÓA LIÊN QUAN