Скачиваний:
31
Добавлен:
02.05.2014
Размер:
3.51 Mб
Скачать

Chapter 4

 

Data Flow Model

Wireless Universal Serial Bus Specification, Revision 1.0

Chapter 4

Data Flow Model

This chapter presents high-level information on how data and information moves across the Wireless USB ‘Link’. The information in this chapter affects all implementers. The information presented is above the signaling and protocol definition(s) of the system. Consult Chapter 5 for details on the low-level protocol. This chapter provides framework overview information that is further expanded in Chapter 7. All implementers should read this chapter so they understand the key concepts of Wireless USB.

4.1Implementer Viewpoints

Wireless USB is very similar to USB 2.0 in that it provides communication services between a Wireless USB Host and attached Wireless USB Devices. The Wireless USB communication model view preserves the USB 2.0 layered architecture and basic components of the communication flow (i.e. point-to-point, same transfer types, etc., See Section 5 in the Universal Serial Bus Specification Revision 2.0).

This chapter describes the differences (from USB 2.0) of how data and control information is communicated between a Wireless USB Host and its attached Wireless USB Devices. In order to understand Wireless USB data flow, the following concepts are useful:

Communications Topology: Section 4.2 reviews the USB communications topology including differences in the physical topology from USB 2.0.

Communication Flow Models: Section 4.3 defines the general mechanisms for accomplishing information exchanges, including data and control information, between a host and devices.

Data Transfers: Section 4.4 provides an overview of how data transfers work in Wireless USB and subsequent sections define the operating constraints for each Wireless USB transfer type.

Device Notifications: Section 4.9 provides an overview of Device Notifications, a feature which allows a device to asynchronously notify its host of events or status on the device.

Media Reliability: Section 4.10 summarizes the information and mechanisms available in Wireless USB that a host might use to manage the reliability of the wireless data flows.

Isochronous transfer model: Section 4.11 provides a detailed model for how isochronous data streams work over a Wireless USB channel.

Connection Process: Section 4.13 outlines the basic connection process and introduces the basic mechanisms for getting devices connected to hosts.

Security Mechanisms: Section 4.15 summaries the security features provided by Wireless USB.

Power Management: Wireless enables mobility and mobility implies battery powered devices. Section 4.16 summarizes the power management model and features provided by Wireless USB.

4.2Communications Topology

The general communications topology of Wireless USB is identical to that used in USB 2.0 (see Figure 4-1). The obvious advantage of this is that many existing USB 2.0 functional components (in hosts and devices) continue to work without modification when the physical layer components supporting USB 2.0 are replaced with those supporting Wireless USB. The delta change from USB 2.0 to Wireless USB is illustrated to the righthand side of Figure 4-1. The Function Layer is (almost) completely the same. The only difference is the isochronous transfer model has some enhancements to allow functions to react to the increased unreliability of the “Bus Layer”. The Device Layer includes a small number of framework extensions to support security (see

19

Chapter 4

 

Data Flow Model

Wireless Universal Serial Bus Specification, Revision 1.0

below) and management commands required to manage devices on the wireless media. Finally, the Bus Layer includes significant changes to provide an efficient, secure communication service over a wireless media.

The copper wire in USB 2.0 provides significant value with regards to security of data communications. The User knows which host the device is associated with because the device has to be physically plugged into a receptacle and the wire provides a specific path for data communications flow between a host and devices that cannot be casually observed by devices not purposely connected. Replacing the physical layer copper with a radio results in ambiguity about the actual association between devices and hosts, and also exposes data communication flows to all devices within listening range. In other words, the loss of the wire results in a significant loss of security which must be replaced by other mechanisms in order for Wireless USB to be a viable and usable technology.

Wireless USB defines processes which allow a device and host to exchange the information required to establish a Secure Relationship (see Section 6.2.8). After a secure relationship has been established, the host and device have the necessary information required to support data encryption for “over the air” communications. Figure 4-1 illustrates how the standard USB data communications flow topology is extended for Wireless USB to include the concept of a secure relationship between a host and device and also illustrates that over-the-air data communications are encrypted. Notice that these new features extend only up to the device layer of the topology, allowing existing applications and device functions to exist and work without modification.

Figure 4-1. Wireless USB Data Communications Topology

Another side-effect of replacing the copper interconnect with a radio is that all low-level signaling events need to be provided mechanisms in the data flow topology that achieve equivalent functions. These include replacements for signaling events such as Connect, Disconnect and Resume.

4.2.1Physical Topology

Wireless USB Devices are not physically attached to a Wireless USB Host. Devices within radio range of a host establish a secure relationship with the host before application data communications are allowed. A host and its associated devices are referred to as a Wireless USB Cluster. A Wireless USB Cluster is comprised of a Wireless USB Host and all the Wireless USB Devices that it directly manages.

20

Соседние файлы в папке Wireless USB Specification Revision 1.0 May 12, 2005