Truyền dữ liệu
Truyền dữ liệu hay truyền dữ liệu số hay truyền-thông số là sự chuyển giao dữ liệu (một bit stream dữ liệu số hoặc một tín hiệu analog đã được số hóa) qua một kênh truyền point-to-point (đơn điểm đến đơn điểm) hoặc point-to-multipoint (đơn điểm đến đa điểm). Ví dụ của các kênh đó là dây đồng, sợi quang học, các kênh truyền không dây, media lưu trữ và bus máy tính. Dữ liệu được đại diện như một tín hiệu điện từ, điện thế, sóng vô tuyến, vi sóng, hoặc tín hiệu hồng ngoại.
Truyền tương tự hoặc tương tự là phương thức truyền tải thông tin thoại, dữ liệu, hình ảnh, tín hiệu hoặc video bằng tín hiệu liên tục thay đổi theo biên độ, pha hoặc một số thuộc tính khác tương ứng với biến số. Các thông điệp được biểu diễn bằng một chuỗi các xung bằng phương tiện của một dòng mã ( baseband truyền ), hoặc bởi một tập hợp giới hạn các dạng sóng khác nhau liên tục ( passband truyền ), sử dụng phương pháp điều chế kỹ thuật số. Điều chế passband và giải điều chế tương ứng (còn được gọi là phát hiện) được thực hiện bởi thiết bị modem. Theo định nghĩa phổ biến nhất của tín hiệu số, cả tín hiệu băng tần và băng thông đại diện cho luồng bit được coi là truyền số, trong khi định nghĩa thay thế chỉ xem xét tín hiệu cơ sở là kỹ thuật số và truyền dữ liệu số dưới dạng chuyển đổi số sang tương tự.
Dữ liệu được truyền có thể là tin nhắn kỹ thuật số có nguồn gốc từ nguồn dữ liệu, ví dụ như máy tính hoặc bàn phím. Nó cũng có thể là tín hiệu tương tự như cuộc gọi điện thoại hoặc tín hiệu video, số hóa d thành luồng bit, ví dụ, sử dụng điều chế mã xung (PCM) hoặc cao hơn nguồn coding (analog-to-digital conversion và data compression). Mã hóa và giải mã nguồn này được thực hiện bởi thiết bị codec.
Digital transmission or data transmission traditionally belongs to telecommunications and electrical engineering. Basic principles of data transmission may also be covered within the computer science/computer engineering topic of data communications, which also includes computer networking or computer communication applications and networking protocols, for example routing, switching and inter-process communication. Although the Transmission control protocol (TCP) involves the term "transmission", TCP and other transport layer protocols are typically not discussed in a textbook or course about data transmission, but in computer networking.
The term tele transmission involves the analog as well as digital communication. In most textbooks, the term analog transmission only refers to the transmission of an analog message signal (without digitization) by means of an analog signal, either as a non-modulated baseband signal, or as a passband signal using an analog modulation method such as AM or FM. It may also include analog-over-analog pulse modulatated baseband signals such as pulse-width modulation. In a few books within the computer networking tradition, "analog transmission" also refers to passband transmission of bit-streams using digital modulation methods such as FSK, PSK và ASK. Note that these methods are covered in textbooks named digital transmission or data transmission, for example.
Protocol layers and sub-topicsSửa đổi
|Mô hình OSI|
|7||Tầng ứng dụng|
|6||Tầng trình diễn|
|4||Tầng giao vận|
|2||Tầng liên kết dữ liệu|
|• Tầng con LLC|
|• Tầng con MAC|
|1||Tầng vật lý|
Courses and textbooks in the field of data transmission typically deal with the following OSI model protocol layers and topics:
- Layer 1, the physical layer:
- Layer 2, the data link layer:
- Layer 6, the presentation layer:
Applications and historySửa đổi
Data (mainly but not exclusively informational) has been sent via non-electronic (e.g. optical, acoustic, mechanical) means since the advent of communication. Analog signal data has been sent electronically since the advent of the telephone. However, the first data electromagnetic transmission applications in modern time were telegraphy (1809) and teletypewriters (1906), which are both digital signals. The fundamental theoretical work in data transmission and information theory by Harry Nyquist, Ralph Hartley, Claude Shannon and others during the early 20th century, was done with these applications in mind.
Data transmission is utilized in computers in computer buses and for communication with peripheral equipment via parallel ports and serial ports such as RS-232 (1969), Firewire (1995) and USB (1996). The principles of data transmission are also utilized in storage media for Error detection and correction since 1951.
Data transmission is utilized in computer networking equipment such as modems (1940), local area networks (LAN) adapters (1964), repeaters, repeater hubs, microwave links, wireless network access points (1997), etc.
In telephone networks, digital communication is utilized for transferring many phone calls over the same copper cable or fiber cable by means of Pulse code modulation (PCM), i.e. sampling and digitization, in combination with Time division multiplexing (TDM) (1962). Telephone exchanges have become digital and software controlled, facilitating many value added services. For example, the first AXE telephone exchange was presented in 1976. Since the late 1980s, digital communication to the end user has been possible using Integrated Services Digital Network (ISDN) services. Since the end of the 1990s, broadband access techniques such as ADSL, Cable modems, fiber-to-the-building (FTTB) and fiber-to-the-home (FTTH) have become widespread to small offices and homes. The current tendency is to replace traditional telecommunication services by packet mode communication such as IP telephony và IPTV.
Transmitting analog signals digitally allows for greater signal processing capability. The ability to process a communications signal means that errors caused by random processes can be detected and corrected. Digital signals can also be sampled instead of continuously monitored. The multiplexing of multiple digital signals is much simpler to the multiplexing of analog signals.
Because of all these advantages, and because recent advances in wideband communication channels and solid-state electronics have allowed scientists to fully realize these advantages, digital communications has grown quickly. Digital communications is quickly edging out analog communication because of the vast demand to transmit computer data and the ability of digital communications to do so.
The digital revolution has also resulted in many digital telecommunication applications where the principles of data transmission are applied. Examples are second-generation (1991) and later cellular telephony, video conferencing, digital TV (1998), digital radio (1999), telemetry, etc.
Data transmission, digital transmission or digital communications is the physical transfer of data (a digital bit stream or a digitized analog signal) over a point-to-point or point-to-multipoint communication channel. Examples of such channels are copper wires, optical fibers, wireless communication channels, storage media and computer buses. The data are represented as an electromagnetic signal, such as an electrical voltage, radiowave, microwave, or infrared signal.
While analog transmission is the transfer of a continuously varying analog signal over an analog channel, digital communications is the transfer of discrete messages over a digital or an analog channel. The messages are either represented by a sequence of pulses by means of a line code (baseband transmission), or by a limited set of continuously varying wave forms (passband transmission), using a digital modulation method. The passband modulation and corresponding demodulation (also known as detection) is carried out by modem equipment. According to the most common definition of digital signal, both baseband and passband signals representing bit-streams are considered as digital transmission, while an alternative definition only considers the baseband signal as digital, and passband transmission of digital data as a form of digital-to-analog conversion.
Data transmitted may be digital messages originating from a data source, for example a computer or a keyboard. It may also be an analog signal such as a phone call or a video signal, digitized into a bit-stream for example using pulse-code modulation (PCM) or more advanced source coding (analog-to-digital conversion and data compression) schemes. This source coding and decoding is carried out by codec equipment.
Serial and parallel transmissionSửa đổi
In telecommunications, serial transmission is the sequential transmission of signal elements of a group representing a character or other entity of data. Digital serial transmissions are bits sent over a single wire, frequency or optical path sequentially. Because it requires less signal processing and less chances for error than parallel transmission, the transfer rate of each individual path may be faster. This can be used over longer distances as a check digit or parity bit can be sent along it easily.
In telecommunications, parallel transmission is the simultaneous transmission of the signal elements of a character or other entity of data. In digital communications, parallel transmission is the simultaneous transmission of related signal elements over two or more separate paths. Multiple electrical wires are used which can transmit multiple bits simultaneously, which allows for higher data transfer rates than can be achieved with serial transmission. This method is used internally within the computer, for example the internal buses, and sometimes externally for such things as printers, The major issue with this is "skewing" because the wires in parallel data transmission have slightly different properties (not intentionally) so some bits may arrive before others, which may corrupt the message. A parity bit can help to reduce this. However, electrical wire parallel data transmission is therefore less reliable for long distances because corrupt transmissions are far more likely.
Types of communication channels (Network topologies)Sửa đổi
Some communications channel types include:
Asynchronous and synchronous data transmissionSửa đổi
Asynchronous start-stop transmission uses start and stop bits to signify the beginning bit[cần dẫn nguồn] ASCII character would actually be transmitted using 10 bits. For example, "0100 0001" would become "1 0100 0001 0". The extra one (or zero, depending on parity bit) at the start and end of the transmission tells the receiver first that a character is coming and secondly that the character has ended. This method of transmission is used when data are sent intermittently as opposed to in a solid stream. In the previous example the start and stop bits are in bold. The start and stop bits must be of opposite polarity.[cần dẫn nguồn] This allows the receiver to recognize when the second packet of information is being sent.
Synchronous transmission uses no start and stop bits, but instead synchronizes transmission speeds at both the receiving and sending end of the transmission using clock signal(s) built into each component.[mơ hồ] A continual stream of data is then sent between the two nodes. Due to there being no start and stop bits the data transfer rate is quicker although more errors will occur, as the clocks will eventually get out of sync, and the receiving device would have the wrong time that had been agreed in the protocol for sending/receiving data, so some bytes could become corrupted (by losing bits).[cần dẫn nguồn] Ways to get around this problem include re-synchronization of the clocks and use of check digits to ensure the byte is correctly interpreted and received
Xem thêmSửa đổi
Ghi chúSửa đổi
- ^ a ă â A. P. Clark, "Principles of Digital Data Transmission", Published by Wiley, 1983
- ^ David R. Smith, "Digital Transmission Systems", Kluwer International Publishers, 2003, ISBN 1-4020-7587-1. See table-of-contents.
- ^ Sergio Benedetto, Ezio Biglieri, "Principles of Digital Transmission: With Wireless Applications", Springer 2008, ISBN 0-306-45753-9, ISBN 978-0-306-45753-1. See table-of-contents
- ^ Simon Haykin, "Digital Communications", John Wiley & Sons, 1988. ISBN 978-0-471-62947-4. See table-of-contents.
- ^ John Proakis, "Digital Communications", 4th edition, McGraw-Hill, 2000. ISBN 0-07-232111-3. See table-of-contents.
- ^ “What is Asynchronous Transmission? - Definition from Techopedia”. Techopedia.com (bằng tiếng Anh). Truy cập ngày 8 tháng 12 năm 2017.