Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

ALOHAnet

From Wikipedia, the free encyclopedia
(Redirected from Aloha protocol)

ALOHAnet, also known as the ALOHA System,[1][2][3] or simply ALOHA, was a pioneering computer networking system developed at the University of Hawaii. ALOHAnet became operational in June 1971, providing the first public demonstration of a wireless packet data network.[4][5]

The ALOHAnet used a new method of medium access, called ALOHA random access, and experimental ultra high frequency (UHF) for its operation. In its simplest form, later known as Pure ALOHA, remote units communicated with a base station (Menehune) over two separate radio frequencies (for inbound and outbound respectively). Nodes did not wait for the channel to be clear before sending, but instead waited for acknowledgement of successful receipt of a message, and re-sent it if this was not received. Nodes would also stop and re-transmit data if they detected any other messages while transmitting. While simple to implement, this results in an efficiency of only 18.4%. A later advancement, Slotted ALOHA, improved the efficiency of the protocol by reducing the chance of collision, improving throughput to 36.8%.

ALOHA was subsequently employed in the Ethernet cable based network in the 1970s, and following regulatory developments in the early 1980s it became possible to use the ALOHA random-access techniques in both Wi-Fi and in mobile telephone networks. ALOHA channels were used in a limited way in the 1980s in 1G mobile phones for signaling and control purposes. In the late 1980s, the European standardization group GSM who worked on the Pan-European Digital mobile communication system GSM greatly expanded the use of ALOHA channels for access to radio channels in mobile telephony. In the early 2000s additional ALOHA channels were added to 2.5G and 3G mobile phones with the widespread introduction of General Packet Radio Service (GPRS), using a slotted-ALOHA random-access channel combined with a version of the Reservation ALOHA scheme first analyzed by a group at BBN Technologies.

History

[edit]

One of the early computer networking designs, development of the ALOHA network was begun in September 1968 at the University of Hawaii under the leadership of Norman Abramson and Franklin Kuo, along with Thomas Gaarder, Shu Lin, Wesley Peterson and Edward ("Ned") Weldon. The goal was to use low-cost commercial radio equipment to connect users on Oahu and the other Hawaiian islands with a central time-sharing computer on the main Oahu campus. The first packet broadcasting unit went into operation in June 1971. Terminals were connected to a special purpose terminal connection unit using RS-232 at 9600 bit/s.[6]

ALOHA was originally a contrived acronym standing for Additive Links On-line Hawaii Area.[7]

The original version of ALOHA used two distinct frequencies in a hub configuration, with the hub machine broadcasting packets to everyone on the outbound channel, and the various client machines sending data packets to the hub on the inbound channel. If data was received correctly at the hub, a short acknowledgment packet was sent to the client; if an acknowledgment was not received by a client machine after a short wait time, it would automatically retransmit the data packet after waiting a randomly selected time interval. This acknowledgment mechanism was used to detect and correct for collisions created when two client machines both attempted to send a packet at the same time.

ALOHAnet's primary importance was its use of a shared medium for client transmissions. Unlike the ARPANET where each node could only talk to a single node at the other end of a wire or satellite circuit, in ALOHAnet all client nodes communicated with the hub on the same frequency. This meant that some sort of mechanism was needed to control who could talk at what time. The ALOHAnet solution was to allow each client to send its data without controlling when it was sent, and implementing an acknowledgment/retransmission scheme to deal with collisions. This approach radically reduced the complexity of the protocol and the networking hardware, since nodes do not need to negotiate who is allowed to speak.

This solution became known as a pure ALOHA, or random-access channel, and was the basis for subsequent Ethernet development and later Wi-Fi networks.[5] Various versions of the ALOHA protocol (such as Slotted ALOHA) also appeared later in satellite communications, and were used in wireless data networks such as ARDIS, Mobitex, CDPD, and GSM.

The Aloha network introduced the mechanism of randomized multiple access, which resolved device transmission collisions by transmitting a packet immediately if no acknowledgement is present, and if no acknowledgment was received, the transmission was repeated after a random waiting time.[8] The probability distribution of this random waiting time for retransmission of a packet that has not been acknowledged as received is critically important for the stability of Aloha-type communication systems. The average waiting time for retransmission is typically shorter than the average time for generation of a new packet from the same client node, but it should not be allowed to be so short as to compromise the stability of the network, causing a collapse in its overall throughput.[9]

Also important was ALOHAnet's use of the outgoing hub channel to broadcast packets directly to all clients on a second shared frequency and using an address in each packet to allow selective receipt at each client node.[4] Separate frequencies were used for incoming and outgoing communications to the hub so that devices could receive acknowledgments regardless of transmissions.

Protocol

[edit]

Pure ALOHA

[edit]
Graph of frames being sent from 4 different stations according to the pure ALOHA protocol with respect to time, with overlapping frames shaded to denote collision.
Pure ALOHA protocol. Boxes indicate frames. Shaded boxes indicate frames that have collided.

The original version of the protocol (now called Pure ALOHA, and the one implemented in ALOHAnet) was quite simple:

  • If you have data to send, send the data
  • If, while you are transmitting data, you receive any data from another station, there has been a message collision. All transmitting stations will need to try resending later.

Pure ALOHA does not check whether the channel is busy before transmitting. Since collisions can occur and data may have to be sent again, ALOHA cannot efficiently use 100% of the capacity of the communications channel. How long a station waits until it retransmits, and the likelihood a collision occurs are interrelated, and both affect how efficiently the channel can be used. This means that the concept of retransmit later is a critical aspect; The quality of the backoff scheme chosen significantly influences the efficiency of the protocol, the ultimate channel capacity, and the predictability of its behavior.

To assess Pure ALOHA, there is a need to predict its throughput, the rate of (successful) transmission of frames.[10] First make a few simplifying assumptions:

  • All frames have the same length.
  • Stations cannot generate a frame while transmitting or trying to transmit. That is, while a station is sending or trying to resend a frame, it cannot be allowed to generate more frames to send.
  • The population of stations attempting to transmit (both new transmission and retransmissions) follows a Poisson distribution.

Let T refer to the time needed to transmit one frame on the channel, and define frame-time as a unit of time equal to T. Let G refer to the mean used in the Poisson distribution over transmission-attempt amounts. That is, on average, there are G transmission attempts per frame-time.

Graph of 3 frames with respect to time. The earlier green frame overlaps with the yellow frame sent at time t0, which overlaps with the later purple frame.
Overlapping frames in the pure ALOHA protocol. Frame-time is equal to 1 for all frames.

Consider what needs to happen for a frame to be transmitted successfully. Let t refer to the time at which it is intended to send a frame. It is preferable to use the channel for one frame-time beginning at t, and all other stations to refrain from transmitting during this time.

For any frame-time, the probability of there being k transmission-attempts during that frame-time is:

Throughput vs. Traffic Load of Pure Aloha and Slotted Aloha.
Comparison of Pure Aloha and Slotted Aloha shown on Throughput vs. Traffic Load plot.

The average number of transmission-attempts for two consecutive frame-times is 2G. Hence, for any pair of consecutive frame-times, the probability of there being k transmission attempts during those two frame-times is:

Therefore, the probability () of there being zero transmission-attempts between t-T and t+T (and thus of a successful transmission for us) is:

The throughput can be calculated as the rate of transmission attempts multiplied by the probability of success, and it can be concluded that the throughput () is:

The maximum throughput is 0.5/e frames per frame-time (reached when ), which is approximately 0.184 frames per frame-time. This means that, in Pure ALOHA, only about 18.4% of the time is used for successful transmissions.

Slotted ALOHA

[edit]
Graph of frames being sent from 8 different stations according to the slotted ALOHA protocol with respect to time, with frames in the same slots shaded to denote collision.
Slotted ALOHA protocol. Boxes indicate frames. Shaded boxes indicate frames which are in the same slots.

An improvement to the original ALOHA protocol was Slotted ALOHA, which introduced discrete time slots and increased the maximum throughput.[11] A station can start a transmission only at the beginning of a time slot, and thus collisions are reduced. In this case, only transmission-attempts within 1 frame-time and not 2 consecutive frame-times need to be considered, since collisions can only occur during each time slot. Thus, the probability of there being zero transmission attempts by other stations in a single time slot is:

the probability of a transmission requiring exactly k attempts is (k-1 collisions and 1 success):[10]

The throughput is:

The maximum throughput is 1/e frames per frame-time (reached when G = 1), which is approximately 0.368 frames per frame-time, or 36.8%.

Slotted ALOHA is used in low-data-rate tactical satellite communications networks by military forces, in subscriber-based satellite communications networks, mobile telephony call setup, set-top box communications and in the contactless RFID technologies.

Reservation ALOHA

[edit]

Reservation ALOHA, or R-ALOHA, is an effort to improve the efficiency of Slotted ALOHA. The improvements with Reservation ALOHA are markedly shorter delays and ability to efficiently support higher levels of utilization. As a contrast of efficiency, simulations have shown that Reservation ALOHA exhibits less delay at 80% utilization than Slotted ALOHA at 20–36% utilization.[12]

The chief difference between Slotted and Reservation ALOHA is that with Slotted ALOHA, any slot is available for utilization without regards to prior usage. Under Reservation ALOHA's contention-based reservation schema, the slot is temporarily considered "owned" by the station that successfully used it. Additionally, Reservation ALOHA simply stops sending data once the station has completed its transmission. As a rule, idle slots are considered available to all stations that may then implicitly reserve (utilize) the slot on a contention basis.

Packet Reservation Multiple Access

[edit]

Packet reservation multiple access (PRMA) is an implicit reservation scheme. Some fixed number of slots form a frame. After each frame, the satellite broadcasts the status of each slot from the previous frame, which indicates the reservation status of the corresponding slots of the next frame. All ground stations wishing to transmit compete exactly like slotted ALOHA during any "free slot" of that next frame (i.e., either no one transmitted in that slot of the previous frame, or there was a collision when multiple ground stations transmitted in that slot of the previous frame). If exactly one ground station happens to transmit during a "free slot", that ground station succeeds in reserving that slot of a frame -- the corresponding slot is implicitly reserved in all future frames. From then on, the satellite broadcasts that that particular ground station has reserved that slot of the frame, and that ground station can continue transmitting with a guaranteed data rate during that slot of the frame; other ground stations are careful *not* to transmit during that slot of the frame, so there are no collisions during reserved slots. When a ground station with a reserved slot has nothing to send, it simply stops transmitting, which gives up its reservation; the satellite notices its reserved slot is idle in one frame, and broadcasts that fact, which indicates that that slot will be a "free slot" in the next frame.[13][14]

Maximum channel efficiency for slotted ALOHA is 36%; PRMA improves maximum channel efficiency to 80%.[14]

Demand Assigned Multiple Access

[edit]

Demand assigned multiple access (DAMA), also called reservation ALOHA, is an explicit reservation scheme often used in satellite communications. DAMA alternates between two phases: During the reservation phase of a frame, DAMA acts like slotted ALOHA for some fixed number of short slots, except instead of ground stations sending complete packets, ground stations only send short requests for later transmission. The satellite collects all the successful requests (i.e., the ones not destroyed by collision) and sends them back as a reservation list assigning specific ground stations to specific TDM slots. During the TDM phase of a frame, the ground stations obey the reservation list and each one only transmits during the long TDM slot(s) reserved for it. Collisions may occur during the reservation phase, but not during the TDM phase.[14][15]

Maximum channel efficiency for slotted ALOHA is 36%; DAMA improves maximum channel efficiency to 80%.[14]

Mobile Slotted Aloha

[edit]

Other protocols

[edit]

The use of a random-access channel in ALOHAnet led to the development of carrier-sense multiple access (CSMA), a listen before send random-access protocol that can be used when all nodes send and receive on the same channel. CSMA in radio channels was extensively modeled.[16] The AX.25 packet radio protocol is based on the CSMA approach with collision recovery,[17] based on the experience gained from ALOHAnet. A variation of CSMA, CSMA/CD is used in early versions of Ethernet.

ALOHA and the other random-access protocols have an inherent variability in their throughput and delay performance characteristics. For this reason, applications that need highly deterministic load behavior may use master/slave or token-passing schemes (such as Token Ring or ARCNET) instead of contention systems.

Hardware

[edit]

The central node communications processor was an HP 2100 minicomputer called the Menehune, which is the Hawaiian language word for dwarf people,[18] and was named for its similar role to the original ARPANET Interface Message Processor (IMP) which was being deployed at about the same time. In the original system, the Menehune forwarded correctly received user data to the UH central computer, an IBM System 360/65 time-sharing system. Outgoing messages from the 360 were converted into packets by the Menehune, which were queued and broadcast to the remote users at a data rate of 9600 bit/s. Unlike the half-duplex radios at the user TCUs, the Menehune was interfaced to the radio channels with full-duplex radio equipment.[19]

The original user interface developed for the system was an all-hardware unit called an ALOHAnet Terminal Control Unit (TCU) and was the sole piece of equipment necessary to connect a terminal into the ALOHA channel. The TCU was composed of a UHF antenna, transceiver, modem, buffer and control unit. The buffer was designed for a full line length of 80 characters, which allowed handling of both the 40- and 80-character fixed-length packets defined for the system. The typical user terminal in the original system consisted of a Teletype Model 33 or a dumb CRT user terminal connected to the TCU using a standard RS-232 interface. Shortly after the original ALOHA network went into operation, the TCU was redesigned with one of the first Intel microprocessors, and the resulting upgrade was called a Programmable Control Unit (PCU).

Additional basic functions performed by the TCUs and PCUs were generation of a cyclic-parity-check code vector and decoding of received packets for packet error detection purposes, and generation of packet retransmissions using a simple random interval generator. If an acknowledgment was not received from the Menehune after the prescribed number of automatic retransmissions, a flashing light was used as an indicator to the human user. Also, since the TCUs and PCUs did not send acknowledgments to the Menehune, a steady warning light was displayed to the human user when an error was detected in a received packet. Considerable simplification was incorporated into the initial design of the TCU as well as the PCU for interfacing a human user into the network.

In later versions of the system, simple radio relays were placed in operation to connect the main network on the island of Oahu to other islands in Hawaii, and Menehune routing capabilities were expanded to allow user nodes to exchange packets with other user nodes, the ARPANET, and an experimental satellite network.[4]

Network architecture

[edit]

Two fundamental choices which dictated much of the ALOHAnet design were the two-channel star configuration of the network and the use of random access for user transmissions.

The two-channel configuration was primarily chosen to allow for efficient transmission of the relatively dense total traffic stream being returned to users by the central time-sharing computer. An additional reason for the star configuration was the desire to centralize as many communication functions as possible at the central network node (the Menehune) to minimize the cost of the original all-hardware terminal control unit (TCU) at each user node.

The random-access channel for communication between users and the Menehune was designed specifically for the traffic characteristics of interactive computing. In a conventional communication system, a user might be assigned a portion of the channel on either a frequency-division multiple access or time-division multiple access basis. Since it was well known that in time-sharing systems (circa 1970), computer and user data are bursty, such fixed assignments are generally wasteful of bandwidth because of the high peak-to-average data rates that characterize the traffic.

To achieve a more efficient use of bandwidth for bursty traffic, ALOHAnet developed the random-access packet switching method that has come to be known as a pure ALOHA channel. This approach effectively dynamically allocates bandwidth immediately to a user who has data to send, using the acknowledgment and retransmission mechanism described earlier to deal with occasional access collisions. While the average channel loading must be kept below about 10% to maintain a low collision rate, this still results in better bandwidth efficiency than when fixed allocations are used in a bursty traffic context.

Two 100 kHz channels in the experimental UHF band were used in the implemented system, one for the user-to-computer random-access channel and one for the computer-to-user broadcast channel. The system was configured as a star network, allowing only the central node to receive transmissions in the random-access channel. All user TCUs received each transmission made by the central node in the broadcast channel. All transmissions were made in bursts at 9600 bit/s, with data and control information encapsulated in packets.

Each packet consisted of a 32-bit header and a 16-bit header parity check word, followed by up to 80 bytes of data and a 16-bit parity check word for the data. The header contained address information identifying a particular user so that when the Menehune broadcast a packet, only the intended user's node would accept it.

Legacy

[edit]
Holmes Hall Manoa ALOHAnet IEEE Milestone Plaque
IEEE Milestone on the ground floor at Holmes Hall, in the University of Hawaiʻi at Mānoa

In the 1970s ALOHA random access was employed in the nascent Ethernet cable based network[20] and then in the Marisat (now Inmarsat) satellite network.[21]

In the early 1980s frequencies for mobile networks became available, and in 1985 frequencies suitable for what became known as Wi-Fi were allocated in the US.[22] These regulatory developments made it possible to use the ALOHA random-access techniques in both Wi-Fi and in mobile telephone networks.

ALOHA channels were used in a limited way in the 1980s in 1G mobile phones for signaling and control purposes.[23] In the late 1980s, the European standardization group GSM who worked on the Pan-European Digital mobile communication system GSM greatly expanded the use of ALOHA channels for access to radio channels in mobile telephony. In addition, SMS message texting was implemented in 2G mobile phones. In the early 2000s additional ALOHA channels were added to 2.5G and 3G mobile phones with the widespread introduction of General Packet Radio Service (GPRS), using a slotted-ALOHA random-access channel combined with a version of the Reservation ALOHA scheme first analyzed by a group at BBN Technologies.[24]

References

[edit]
  1. ^ Abramson, N. (1970). The ALOHA System - Another Alternative for Computer Communications (PDF). Proc. 1970 Fall Joint Computer Conference. AFIPS Press.
  2. ^ Kuo, F. F. (1995-01-11). "The ALOHA System". ACM SIGCOMM Computer Communication Review. 25 (1): 41–44. doi:10.1145/205447.205451. ISSN 0146-4833. S2CID 2355657.
  3. ^ Kuo, Franklin F. (1981). "Computer Networks–The ALOHA System" (PDF). Journal of Research of the National Bureau of Standards. 86 (6). Report of the Office of Naval Research: 591–595. doi:10.6028/jres.086.027. PMC 6753009. PMID 34566062. Archived (PDF) from the original on February 28, 2017.
  4. ^ a b c Binder, R.; Abramson, N.; Kuo, F. F.; Okinaka, A.; Wax, D. (1975). ALOHA packet broadcasting - A retrospect (PDF). Proc. 1975 National Computer Conference. AFIPS Press.
  5. ^ a b Abramson, N. (December 2009). "The Alohanet - surfing for wireless data [History of Communications]" (PDF). IEEE Communications Magazine. 47 (12): 21–25. doi:10.1109/MCOM.2009.5350363. S2CID 7757418. Archived (PDF) from the original on 2011-07-18.
  6. ^ Abramson, Norman (Mar 1985). "Development of the ALOHANET". IEEE Transactions on Information Theory. 31 (2): 119–123. Bibcode:1985ITIT...31..119A. doi:10.1109/TIT.1985.1057021.
  7. ^ Kamins, Robert M.; Potter, Robert E. (1998). Måalamalama: A History of the University of Hawai'i. University of Hawaii Press. p. 159. ISBN 9780824820060. Retrieved August 2, 2015.
  8. ^ Walrand, Jean; Parekh, Shyam (2010). Communication Networks: A Concise Introduction. University of California, Berkeley: Morgan & Claypool Publishers series. pp. 28–29. ISBN 9781608450947.
  9. ^ Carleial, A. B. and Hellman, M. E. (1975) "Bistable Behavior of Aloha-Type Systems", IEEE Transactions on Communications, vol. COM-23, pages 401-410, April 1975.
  10. ^ a b Tanenbaum, A. S. (2003). Computer Networks. Prentice Hall PTR. ISBN 9780130661029 – via The Internet Archive.
  11. ^ Roberts, Lawrence G. (April 1975). "ALOHA Packet System With and Without Slots and Capture". Computer Communications Review. 5 (2): 28–42. doi:10.1145/1024916.1024920. S2CID 3062884.
  12. ^ "Aloha Simulation Validations - Computer Science - Provided by Laynetworks.com". www.laynetworks.com. Archived from the original on 2003-08-01.
  13. ^ Alex Brand; Hamid Aghvami. "Multiple Access Protocols for Mobile Communications: GPRS, UMTS and Beyond. 2002. p. 77.
  14. ^ a b c d Syed Imran Patel, Dr. M. Prasad, Dr. Ankur Goyal, Shivkant Kaushik "Wireless Networks and Mobile Computing". 2021. p. 33.
  15. ^ Ramjee Prasad; Marina Ruggieri. "Technology Trends in Wireless Communications". 2003. p. 44.
  16. ^ Kleinrock, Len; Tobagi, Fouad A. (1975). "Packet switching in Radio Channels: Part I – Carrier Sense Multiple Access Modes and their Throughput-Delay Characteristics" (PDF). IEEE Transactions on Communications. 23 (COM–23): 1400–1416. CiteSeerX 10.1.1.475.2016. doi:10.1109/tcom.1975.1092768. S2CID 5879608. Archived from the original (PDF) on 2017-08-09. Retrieved 2017-11-01.
  17. ^ "AX.25 Link Access Protocol for Amateur Packet Radio" (PDF). Tucson Amateur Packet Radio. 1997. p. 39. Retrieved 2014-01-06.
  18. ^ Mary Kawena Pukui; Samuel Hoyt Elbert (2003). "lookup of Menehune". in Hawaiian Dictionary. Ulukau, the Hawaiian Electronic Library, University of Hawaii Press. Retrieved August 11, 2011.
  19. ^ Kuo, Franklin F. (November–December 1981). "Computer Networks - the ALOHA System" (PDF). Journal of Research of the National Bureau of Standards. 86 (6): 591–595. doi:10.6028/jres.086.027. ISSN 0160-1741. PMC 6753009. PMID 34566062. Retrieved 2014-07-12.
  20. ^ Metcalfe, Robert M.; Boggs, David R. (July 1976). "Ethernet: Distributed Packet Switching for Local Computer Networks". Comm. ACM. 19 (7): 395–404. doi:10.1145/360248.360253. S2CID 429216.
  21. ^ Lipke, David W.; Swearingen, D. W.; Parker, J. F.; Steinbrecher, E. E.; Calvit, T. O.; Dodel, H. (Fall 1977). "MARISAT - A maritime satellite communications system" (PDF). COMSAT Technical Review. 7: 351–391. Bibcode:1977COMTR...7..351L. OCLC 785438248.
  22. ^ "Authorization of Spread Spectrum Systems Under Parts 15 and 90 of the FCC Rules and Regulations". Federal Communications Commission. June 18, 1985. Archived from the original (TXT) on 2007-09-28. Retrieved 2007-08-31.
  23. ^ Stavenow, B. (1984). Throughput-Delay Characteristics and Stability Considerations of the Access Channel in a Mobile Telephone System. Proceedings of the 1984 ACM SIGMETRICS Conference on Measurement and Modeling of Computer Systems. pp. 105–112.
  24. ^ Crowther, Will (January 1973). A System for Broadcast Communication: Reservation-ALOHA. Proceedings of the 6th Hawaii International Conference on Systems Sciences. Honolulu. pp. 371–374.

Further reading

[edit]
  • Stallings, William (1988). Data and computer communications (2nd ed.). MacMillan. pp. 296–302. ISBN 978-0-02-415451-4.
  • R. Metcalfe, Xerox PARC memo, from Bob Metcalfe to Alto Aloha Distribution on Ether Acquisition, May 22, 1973.
  • R. Binder, ALOHAnet Protocols, ALOHA System Technical Report, College of Engineering, The University of Hawaii, September, 1974.
  • R. Binder, W.S. Lai and M. Wilson, The ALOHAnet Menehune – Version II, ALOHA System Technical Report, College of Engineering, The University of Hawaii, September, 1974.
  • N. Abramson, The ALOHA System Final Technical Report, Advanced Research Projects Agency, Contract Number NAS2-6700, October 11, 1974.
  • N. Abramson "The Throughput of Packet Broadcasting Channels", IEEE Transactions on Communications, Vol 25 No 1, pp117–128, January 1977.
  • M. Schwartz, Mobile Wireless Communications, Cambridge Univ. Press, 2005.
  • K. J. Negus, and A. Petrick, History of Wireless Local Area Networks (WLANs) in the Unlicensed Bands, George Mason University Law School Conference, Information Economy Project, Arlington, VA., USA, April 4, 2008.
  • H. Wu; C. Zhu; R. J. La; X. Liu; Y. Zhang. "FASA: Accelerated S-ALOHA using access history for event-driven M2M communications" (PDF). IEEE/ACM Transactions on Networking, 2013. Archived from the original (PDF) on 2015-01-23. Retrieved 2015-01-22.
[edit]