Google

วันศุกร์ที่ 31 สิงหาคม พ.ศ. 2550

Intenet Connection by ISDN (Integrated Service Digital Network)

Integrated Service Digital Network (ISDN)

Integrated Service Digital Network (ISDN) is one of the oldest high-speed digital access methods for consumers and businesses to connect to the Internet. It is a telephone data service standard. Its use in the United States peaked in the late 1990s prior to the availability of DSL and cable modem technologies. Broadband service is usually compared to ISDN-BRI because this was the standard high-speed access technology that formed a baseline for the challenges faced by the early broadband providers. These providers sought to compete against ISDN by offering faster and cheaper services to consumers.A basic rate ISDN line (known as ISDN-BRI) is an ISDN line with 2 data "bearer" channels (DS0 - 64 kbit/s each). Using ISDN terminal adapters (erroneously called modems), it is possible to bond together 2 or more separate ISDN-BRI lines to reach speeds of 256 kbit/s or more. The ISDN channel bonding technology has been used for video conference applications and high-speed data transmission.Primary rate ISDN, known as ISDN-PRI, is an ISDN line with 23 DS0 channels and total speed of 1,544 kbit/s (US standard). ISDN E1 (European standard) line is an ISDN lines with 30 DS0 channels and total speed of 2,048 kbit/s. Because ISDN is a telephone-based product, a lot of the terminology and physical aspects of the line are shared by the ISDN-PRI used for voice services. An ISDN line can therefore be "provisioned" for voice or data and many different options, depending on the equipment being used at any particular installation, and depending on the offerings of the telephone company's central office switch. Most ISDN-PRI's are used for telephone voice communication using large PBX systems, rather than for data. One obvious exception is that ISP's usually have ISDN-PRI's for handling ISDN data and modem calls.It is mainly of historical interest that many of the earlier ISDN data lines used 56 kbit/s rather than 64 kbit/s "B" channels of data. This caused ISDN-BRI to be offered at both 128 kbit/s and 112 kbit/s rates, depending on the central office's switching equipment.

Advantages:1. Constant data speed at 64 kbit/s for each DS0 channel.

2. Two way high speed symmetric data transmission, unlike ADSL.

3. One of the data channels can be used for phone conversation without disturbing the data transmission through the other data channel. When a phone call is ended, the bearer channel can immediately dial and re-connect itself to the data call.

4. Call setup is very quick.

5. Low latency

6. ISDN Voice clarity is unmatched by other phone services.

7. Caller ID is almost always available for no additional fee.

8. Maximum distance from the central office is much greater than it is for DSL.

9. When using ISDN-BRI, there is the possibility of using the low-bandwidth 16 kbit/s "D" channel for packet data and for always on capabilities.

Disadvantages:1. ISDN offerings are dwindling in the marketplace due to the widespread use of faster and cheaper alternatives.

2. ISDN routers, terminal adapters ("modems"), and telephones are more expensive than ordinary POTS equipment, like dial-up modems.

3. ISDN provisioning can be complicated due to the great number of options available.

4. ISDN users must dial in to a provider that offers ISDN Internet service, which means that the call could be disconnected.

5. ISDN is billed as a phone line, to which is added the bill for Internet ISDN access.

6. "Always on" data connections are not available in all locations.

7. Some telephone companies charge unusual fees for ISDN, including call setup fees, per minute fees, and higher rates than normal for other services.

Internet Connection by Digital subscriber line (DSL)

DSL

DSL or xDSL, is a family of technologies that provide digital data transmission over the wires of a local telephone network. DSL originally stood for digital subscriber loop, although in recent years, many have adopted digital subscriber line as a more marketing-friendly term for the most popular version of consumer-ready DSL, ADSL.Typically, the download speed of consumer DSL services ranges from 256 kilobits per second (kbit/s) to 24,000 kbit/s, depending on DSL technology, line conditions and service level implemented. Typically, upload speed is lower than download speed for Asymmetric Digital Subscriber Line (ADSL) and equal to download speed for Symmetric Digital Subscriber Line (SDSL).

Voice and data
Some variants of DSL connections, like ADSL and VDSL, typically work by dividing the frequencies used in a single phone line into two primary 'bands'. The ISP data is carried over the high frequency band (25Khz and above) whereas the voice is carried over the lower frequency band (4Khz and below). (See the ADSL article on how the high frequency band is sub-divided). The user typically installs a DSL filter on each phone. This filters out the high frequencies from the phone, so that the phone only sends or receives the lower frequencies (the human voice), creating two independent 'bands'. Thus the DSL modem and the phone can simultaneously use the same phone line without interfering with each other.

History and Science
Digital subscriber line technology was originally implemented as part of the ISDN specification, which is later reused as IDSL. Higher speed DSL connections like HDSL and SDSL are developed to extend the range of DS1 services on copper lines. Consumer oriented ADSL is designed to operate also on a BRI ISDN line, which itself is a form of DSL, as well as on an analog phone line.DSL, like many other forms of communication, stems directly from Claude Shannon's seminal 1948 scientific paper describing a theory of digital communication. Shannon's A Mathematical Theory of Communication laid out the basic elements of any digital communication:• An information source which produces a message • A transmitter which operates on the message to create a signal which can be sent through a channel • A channel, which is the medium over which the signal carrying the information that comprises the message is sent • A receiver, which transforms the signal back into the message intended for delivery • A destination, which can be a person or a machine, for whom or which the message is intended Joe Lechleider at Bellcore (now Telcordia Technologies) developed ADSL in 1988 by placing wideband digital signals above the existing baseband analog voice signal carried between telephone company central offices and customers on conventional twisted pair cabling.[1]US telephone companies promote DSL to compete with cable modems. DSL service was first provided over a dedicated "dry loop", but when the FCC required ILECs to lease their lines to competing providers such as Earthlink, shared-line DSL became common. Also known as DSL over UNE), this allows a single pair to carry data (via a DSLAM) and analog voice (via a circuit switched telephone switch) at the same time. Inline low-pass filter/splitters keep the high frequency DSL signals out of the user's telephones. Although DSL avoids the voice frequency band, the nonlinear elements in the phone would otherwise generate audible intermodulation products and impair the operation of the data modem.Older ADSL standards can deliver 8 Mbit/s to the customer over about 2 km (1.25 miles) of unshielded twisted pair copper wire. The latest standard, ADSL2+, can deliver up to 24 Mbit/s, depending on the distance from the DSLAM. Distances greater than 2 km (1.25 miles) significantly reduce the bandwidth usable on the wires, thus reducing the data rate.

Equipment
The customer end of the connection consists of a DSL modem. This converts data from the digital signals used by computers into a voltage signal of a suitable frequency range which is then applied to the phone line.In some DSL variations (for example, HDSL), the modem is directly connected to the computer via a serial interface, using protocols such as RS-232 or V.35. In other cases (particularly ADSL), it's common for the customer equipment to be integrated with higher level functionality, such as routing, firewalling, or other application-specific hardware and software. In this case, the entire equipment is usually referred to as a DSL router or DSL gateway.Some kinds of DSL technology require installation of appropriate filters to separate, or "split", the DSL signal from the low frequency voice signal. The separation can be done either at the demarcation point, or can be done with filters installed at the telephone outlets inside the customer premises. Either way has its practical and economical limitations. See ADSL for more information about this.At the exchange, a digital subscriber line access multiplexer (DSLAM) terminates the DSL circuits and aggregates them, where they are handed off onto other networking transports. In the case of ADSL, the voice component is also separated at this step, either by a filter integrated in the DSLAM or by a specialized filtering equipment installed before it. The DSLAM terminates all connections and recovers the original digital information.

DSL technologies
The line length limitations from telephone exchange to subscriber are more restrictive for higher data transmission rates. Technologies such as VDSL provide very high speed, short-range links as a method of delivering "triple play" services (typically implemented in fiber to the curb network architectures).
Example DSL technologies (sometimes called xDSL) include:
High Data Rate Digital Subscriber Line (HDSL), also covered in this article
Symmetric Digital Subscriber Line (SDSL), a standardised version of HDSL
Asymmetric Digital Subscriber Line (ADSL), a version of DSL with a slower upload speed
ISDN Digital Subscriber Line (IDSL)
Rate-Adaptive Digital Subscriber Line (RADSL)
Very High Speed Digital Subscriber Line (VDSL)
Very High Speed Digital Subscriber Line 2 (VDSL2), an improved version of VDSL
Symmetric High-speed Digital Subscriber Line (G.SHDSL), a standardised replacement for early proprietary SDSL by the International Telecommunication Union Telecommunication Standardization Sector
Powerline Digital Subscriber Line (PDSL), a high speed powerline communications solution which modulates high speed data onto existing electricity distribution infrastructure
UDSL Etherloop Ethernet Local Loop

Internet connection by dial up

Dial-up access

Dial-up access is a form of Internet access via telephone line. The client uses a modem connected to a computer and a telephone line to dial into an Internet service provider's (ISP) node to establish a modem-to-modem link, which is then routed to the Internet.
Availability
Dial-up requires no additional infrastructure on top of the telephone network. As telephone points are available throughout the world, dial-up remains useful to travelers. Dial-up is usually the only choice available for most rural or remote areas where getting a broadband connection is impossible due to low population and demand. Sometimes dial-up access may also be an alternative to people who have limited budgets as it is offered for free by some, though broadband is now increasingly available at lower prices in countries such as the United States, Canada and the United Kingdom due to market competition.Dial-up requires time to establish a telephone connection (several seconds, depending on the location) and perform handshaking before data transfers can take place. In locales with telephone connection charges, each connection incurs an incremental cost. If calls are time-charged, the duration of the connection incurs costs.Dial-up access is a transient connection, because either the user or the ISP terminates the connection. Internet service providers will often set a limit on connection durations to prevent hogging of access, and will disconnect the user — requiring reconnection and the costs and delays associated with it.
Performance
Modern dial-up modems typically have a maximum theoretical speed of 56 kbit/s (using the V.92 protocol), although in most cases only up to 53 kbit/s is possible due to overhead and, in the United States, FCC regulation. These speeds are currently considered the maximum possible; in many cases transfer speeds will be lower, averaging anywhere between 33-43 kbit/s. Factors such as phone line noise and conditions, as well as the quality of the modem itself, play a large part in determining connection speeds.Dial-up connections usually have high latency that can be as high as 400 ms or even more, which can make online gaming or videoconferencing difficult, if not impossible. Some games, such as Star Wars: Galaxies, The Sims Online, Warcraft 3, Halo: Combat Evolved and Guild Wars are capable of running on 56 K dial-up. Gamers with dial-up connections are often disconnected from game servers due to the "lag", or high latency, of the connection. Many computer games released in 2005 (such as Battlefield 2 or Star Wars: Battlefront 2) are not compatible for online play with dial-up modems. These first person shooter style games are the most sensitive to latency, making playing them impractical on dial-up.
Replacement by broadband
Since approximately the year 2000, broadband Internet access (cable and DSL) has been replacing dial-up access in many parts of the world. The reason for this is mostly due to broadband connections featuring speeds which far exceed the capacity of dial-up, many of which provide speeds greater than 1 Mbit/s, as well as reducing prices under dial-up prices offered by companies such as Verizon. An increasing amount of Internet content such as Macromedia Flash, online gaming and streaming media require large amounts of bandwidth.However, many areas still remain without high speed Internet despite the eagerness of potential customers. This can be attributed to population, location, or sometimes ISPs' lack of interest for whatever reason.Dial-up access is still being used in some areas in the U.S. (MSN/AOL), but is increasingly losing ground to broadband.

วันอังคารที่ 28 สิงหาคม พ.ศ. 2550

Device driver

Device driver

From wikipidia

This article needs additional references or sources for verification.
Please help to improve this article by adding reliable references.
Unverifiable material may be challenged and removed.
This article has been tagged since June 2007.

Windows XP loading drivers during a Safe Mode bootup

Windows XP loading drivers during a Safe Mode bootup

A device driver, or software driver is a computer program allowing higher-level computer programs to interact with a computer hardware device.

A driver typically communicates with the device through the computer bus or communications subsystem to which the hardware is connected. When a program invokes a routine in the driver, the driver issues commands to the device, and when the device sends data, the driver invokes routines in the program. Drivers are hardware-dependent and operating-system-specific. They usually provide the interrupt handling required for any necessary asynchronous time-dependent hardware interface.

Purpose

Device drivers simplify programming by acting like a translator between a device and the applications or operating systems that use it. The higher-level code can be written independently of whatever specific hardware device it may control. Every version of a device, such as a printer, requires its own specialized commands. In contrast, most applications access devices (such as sending a file to a printer) by using high-level, generic commands, such as PRINTLN. The driver accepts these generic statements and converts them into the low-level commands required by the device.

Design

Device drivers can be abstracted into logical and physical layers. Logical layers process data for a class of devices such as ethernet ports or disk drives. Physical layers communicate with a specific device instance. For example, a serial port needs to handle standard communication protocols such as XON/XOFF that are common for all serial port hardware. This would be managed by a serial port logical layer. However, the logical layer needs to communicate with a particular serial port chip. 16550 UART hardware differs from PL-011. The physical layer addresses these chip specific variations. Conventionally, OS requests go to the logical layer first. In turn, the logical layer calls upon the physical layer to implement OS requests in terms understandable by the hardware. Inversely, when a hardware device needs to respond to the OS, it uses the physical layer to speak through the logical layer.

Linux device drivers are built into the OS kernel, and thus get built for the appropriate bit-width automatically. Provided that sufficient technical information about the hardware is available, the Linux kernel team will write the drivers free of charge.[1][2][3] This absolves both hardware vendors and end users from having to worry about drivers.

Additionally, the device drivers can either be built as parts of the kernel or can be built separately as loadable modules. The Windows(TM) .sys files and Linux .ko modules are loadable device drivers. The advantage of loadable device drivers is that they can be loaded only when necessary and then unloaded, thus saving kernel memory.

Development

Writing a device driver requires an in-depth understanding of how the hardware and the software of a given platform function. Drivers "...operate in a highly privileged environment and can cause disaster if they get things wrong..." [1] In contrast, most user-level software on modern operating systems can be stopped without greatly affecting the rest of the system. Even drivers executing in user mode can crash a system if the device is erroneously programmed. These factors make it more difficult and dangerous to diagnose problems.

Thus drivers are usually written by software engineers who come from the companies that develop the hardware. This is because they have better information than most outsiders about the design of their hardware. Moreover, it was traditionally considered in the hardware manufacturer's interest to guarantee that their clients can use their hardware in an optimum way. Typically, the logical device driver (LDD) is written by the operating system vendor, while the physical device driver (PDD) is implemented by the device vendor. But in recent years non-vendors have written numerous device drivers, mainly for use with free operating systems. In such cases, it is important that the hardware manufacturer provides information how the device communicates. Although this information can instead be learned by reverse engineering, this is much more difficult with hardware than it is with software.

Microsoft has attempted to reduce system instability due to poorly written device drivers, by creating a new framework for driver development, called Windows Driver Foundation (WDF). This includes User-Mode Driver Framework (UMDF) that encourages development of certain types of drivers - primarily those that implement a message-based protocol for communicating with their devices - as user mode drivers. If such drivers malfunction, they do not cause system instability. The Kernel-Mode Driver Framework (KMDF) model continues to allow development of kernel-mode device drivers, but attempts to provide standard implementations of functions that are well known to cause problems, including cancellation of I/O operations, power management, and plug and play device support.

Apple has an open-source framework for developing drivers on Mac OS X called the I/O Kit.

Device driver applications

Because of the diversity of modern hardware and operating systems, many ways exist in which drivers can be used. Drivers are used for interfacing with:

Printers

Video adapters

Network cards

Sound cards

Local buses of various sorts - in particular, for bus mastering on modern systems

Low-bandwidth I/O buses of various sorts (for pointing devices such as mice, keyboards, USB, etc.)

computer storage devices such as hard disk, CD-ROM and floppy disk buses (ATA, SATA, SCSI)

Implementing support for different file systems

Implementing support for image scanners and digital cameras

Common levels of abstraction for device drivers are

For hardware:

Interfacing directly

Using some higher-level interface (e.g. Video BIOS)

Using another lower-level device driver (e.g. file system drivers using disk drivers)

Simulating work with hardware, while doing something entirely different

For software:

Allowing the operating system direct access to hardware resources

Implementing only primitives

Implementing an interface for non-driver software (e.g. TWAIN)

Implementing a language, sometimes quite high-level (e.g. PostScript)

Choosing and installing the correct device drivers for given hardware is often a key component of computer system configuration.

Virtual device drivers

A particular variant of device drivers are virtual device drivers. They are used in virtualization environments, for example when an MS-DOS program is run on a Microsoft Windows computer or when a guest operating system is run on, for example, a Xen host. Instead of enabling the guest operating system to dialog with hardware, virtual device drivers take the opposite role and emulate a piece of hardware, so that the guest operating system and its drivers running inside a virtual machine can have the illusion of accessing real hardware. Attempts by the guest operating system to access the hardware are routed to the virtual device driver in the host operating system as e.g. function calls. The virtual device driver can also send simulated processor-level events like interrupts into the virtual machine.

วันศุกร์ที่ 24 สิงหาคม พ.ศ. 2550

History of computer

History of computing

From Wikipedia, the free encyclopedia


It is difficult to define any one device as the earliest computer. The very definition of a computer has changed and it is therefore impossible to identify the first computer. Many devices once called "computers" would no longer qualify as such by today's standards.

Originally, the term "computer" referred to a person who performed numerical calculations (a human computer), often with the aid of a mechanical calculating device. Examples of early mechanical computing devices included the abacus, the slide rule and arguably the astrolabe and the Antikythera mechanism (which dates from about 150-100 BC). The end of the Middle Ages saw a re-invigoration of European mathematics and engineering, and Wilhelm Schickard's 1623 device was the first of a number of mechanical calculators constructed by European engineers.

However, none of those devices fit the modern definition of a computer because they could not be programmed. In 1801, Joseph Marie Jacquard made an improvement to the textile loom that used a series of punched paper cards as a template to allow his loom to weave intricate patterns automatically. The resulting Jacquard loom was an important step in the development of computers because the use of punched cards to define woven patterns can be viewed as an early, albeit limited, form of programmability.

In 1837, Charles Babbage was the first to conceptualize and design a fully programmable mechanical computer that he called "The Analytical Engine".[2] Due to limited finance, and an inability to resist tinkering with the design, Babbage never actually built his Analytical Engine.[1]

Large-scale automated data processing of punched cards was performed for the US Census in 1890 by tabulating machines designed by Herman Hollerith and manufactured by the Computing Tabulating Recording Corporation, which later became IBM. By the end of the 19th century a number of technologies that would later prove useful in the realization of practical computers had begun to appear: the punched card, Boolean algebra, the vacuum tube (thermionic valve) and the teleprinter.

During the first half of the 20th century, many scientific computing needs were met by increasingly sophisticated analog computers, which used a direct mechanical or electrical model of the problem as a basis for computation. However, these were not programmable and generally lacked the versatility and accuracy of modern digital computers.
Defining characteristics of five first operative digital computers
Computer Shown working Binary Electronic Programmable Turing complete
Zuse Z3 May 1941 Yes No By punched film stock Yes (1998)
Atanasoff–Berry Computer Summer 1941 Yes Yes No No
Colossus December 1943 / January 1944 Yes Yes Partially, by rewiring No
Harvard Mark I – IBM ASCC 1944 No No By punched paper tape Yes (1998)
ENIAC 1944 No Yes Partially, by rewiring Yes
1948 No Yes By Function Table ROM Yes
A succession of steadily more powerful and flexible computing devices were constructed in the 1930s and 1940s, gradually adding the key features that are seen in modern computers. The use of digital electronics (largely invented by Claude Shannon in 1937) and more flexible programmability were vitally important steps, but defining one point along this road as "the first digital electronic computer" is difficult (Shannon 1940). Notable achievements include:
* Konrad Zuse's electromechanical "Z machines". The Z3 (1941) was the first working machine featuring binary arithmetic, including floating point arithmetic and a measure of programmability. In 1998 the Z3 was proved to be Turing complete, therefore being the world's first operational computer.
* The non-programmable Atanasoff–Berry Computer (1941) which used vacuum tube based computation, binary numbers, and regenerative capacitor memory.
* The secret British Colossus computer (1944), which had limited programmability but demonstrated that a device using thousands of tubes could be reasonably reliable and electronically reprogrammable. It was used for breaking German wartime codes.
* The Harvard Mark I (1944), a large-scale electromechanical computer with limited programmability.
* The US Army's Ballistics Research Laboratory ENIAC (1946), which used decimal arithmetic and is sometimes called the first general purpose electronic computer (since Konrad Zuse's Z3 of 1941 used electromagnets instead of electronics). Initially, however, ENIAC had an inflexible architecture which essentially required rewiring to change its programming.

Several developers of ENIAC, recognizing its flaws, came up with a far more flexible and elegant design, which came to be known as the stored program architecture or von Neumann architecture. This design was first formally described by John von Neumann in the paper "First Draft of a Report on the EDVAC", published in 1945. A number of projects to develop computers based on the stored program architecture commenced around this time, the first of these being completed in Great Britain. The first to be demonstrated working was the Manchester Small-Scale Experimental Machine (SSEM) or "Baby". However, the EDSAC, completed a year after SSEM, was perhaps the first practical implementation of the stored program design. Shortly thereafter, the machine originally described by von Neumann's paper—EDVAC—was completed but did not see full-time use for an additional two years.


Vacuum tube Nearly all modern computers implement some form of the stored program architecture, making it the single trait by which the word "computer" is now defined. By this standard, many earlier devices would no longer be called computers by today's definition, but are usually referred to as such in their historical context. While the technologies used in computers have changed dramatically since the first electronic, general-purpose computers of the 1940s, most still use the von Neumann architecture. The design made the universal computer a practical reality.
-based computers were in use throughout the 1950s, but were largely replaced in the 1960s by transistor-based devices, which were smaller, faster, cheaper, used less power and were more reliable. These factors allowed computers to be produced on an unprecedented commercial scale. By the 1970s, the adoption of integrated circuit technology and the subsequent creation of microprocessors such as the Intel 4004 caused another leap in size, speed, cost and reliability. By the 1980s, computers had become sufficiently small and cheap to replace simple mechanical controls in domestic appliances such as washing machines. Around the same time, computers became widely accessible for personal use by individuals in the form of home computers and the now ubiquitous personal computer. In conjunction with the widespread growth of the Internet since the 1990s, personal computers are becoming as common as the television and the telephone and almost all modern electronic devices contain a computer of some kind.

What is computer

Computer

From Wikipedia, the free encyclopedia

A computer is a programmable machine that takes in data and processes it into information we can use.

Computers take many physical forms. Early electronic computers were the size of a large room, consuming as much power as several hundred modern personal computers (and were nowhere near as advanced).[1] Today, computers can be made small enough to fit into a wrist watch and be powered from a watch battery. Society has come to recognize personal computers and their portable equivalent, the laptop computer, as icons of the information age; they are what most people think of as "a computer". However, the most common form of computer in use today is by far the embedded computer. Embedded computers are small, simple devices that are often used to control other devices—for example, they may be found in machines ranging from fighter aircraft to industrial robots, digital cameras, and even children's toys.


A computer in a wristwatch.
A computer in a wristwatch.
The ability to store and execute programs makes computers extremely versatile and distinguishes them from calculators. The Church–Turing thesis is a mathematical statement of this versatility: Any computer with a certain minimum capability is, in principle, capable of performing the same tasks that any other computer can perform. Therefore, computers with capability and complexity ranging from that of a personal digital assistant to a supercomputer are all able to perform the same computational tasks as long as time and storage capacity are not considerations.