This application claims priority to Korean Patent Application No. 10-2008-0094172, filed Sep. 25, 2008, the contents of which are herein incorporated by reference in its entirety.
1. Technical Field
The present inventive concept relates to a dual role device, and more particularly, to a role switching method performed in dual role device, and the dual role device.
2. Discussion of the Related Art
A point-to-point dual role device (DRD) described in the wireless Universal Serial Bus (W-USB) version 1.0 standard has a structure that is capable of properly performing its functions only when both a default link and a reverse link are continuously maintained from the beginning of an association therebetween. Accordingly, the conventional point-to-point DRD should maintain both the default link and the reverse link simultaneously in order to share an initial connection context (CC), for example, a connection host identifier (CHID), a connection device ID (CDID), and a clock CK. Thus, overhead increases and a significant level of power is consumed by each of a plurality of devices that constitute the DRD.
Exemplary embodiments of the present inventive concept provide a role switching method performed in a point-to-point dual role device (DRD) which does not need to maintain both a default link and a reverse link simultaneously, in contrast with a conventional point-to-point DRD which requires that these links be simultaneously and continuously maintained. Accordingly overhead and the amount of power consumed by devices that constitute the point-to-point DRD and the DRD performing the role switching method may be reduced.
According to an exemplary embodiment of the present inventive concept, there is provided a role switching method performed in a DRD, the method including receiving a request command from a device DRD that requires a role switch, wherein the receiving is performed in a host DRD; and consecutively transmitting M micro-scheduled management commands (MMCs) to the device DRD, when the host DRD accepts the request command, wherein the transmitting is performed in the host DRD and M is a positive integer.
Each of the M MMCs may include a connection host identifier (CHID) and a role switch acknowledgement information element (IE) that may include information about timing when the device DRD is to transmit the MMCs to the host DRD. The device DRD may transmit the request command including a connection device ID (CDID) to the host DRD via a device notification time slot (DNTS). The M may be 3.
According to an exemplary embodiment of the present inventive concept, there is provided a role switching method performed in a DRD, the method including determining a switch from a host role to a device role when the role switch is needed, wherein the determining is performed in a host DRD; and consecutively transmitting M MMCs to a device DRD, wherein the transmitting is performed in the host DRD and M is a positive integer, wherein each of the M MMCs includes a role switch IE.
According to an exemplary embodiment of the present inventive concept, there is provided a role switching method performed in a DRD, the method including receiving a first superframe including a first indicator from a current device DRD when the current device DRD wants to play a host role, wherein the receiving is performed in a current host DRD; and transmitting to the current device DRD a second superframe including a second indicator, the second indicator having values identical to or different from a value of an indicator previously transmitted to the device DRD, in response to the received first indicator, wherein the transmitting is performed in the current host DRD.
Each of the first and second indicators may be included in a wireless universal serial bus (W-USB) application specific information element (ASIE) of a beacon slot. Each of the first and second indicators may include 2 bits.
The device DRD may continuously play a role of a device DRD in response to the second indicator having the identical values. The current device DRD may continuously play a role of a host DRD in response to the second indicator having the different values.
According to an exemplary embodiment of the present inventive concept, there is provided a role switching method performed in a DRD, the method including transmitting a first superframe including a first indicator that indicates a role switch to a current device DRD when a current host DRD wants the role switch, wherein the transmitting is performed in the current host DRD; and transmitting a second superframe including a second indicator to the current host DRD whose role has been switched to the role of a device DRD, wherein the transmitting is performed in the current device DRD whose role has been switched to the role of a host DRD in response to the first indicator.
Each of the first and second indicators may be included in an ASIE of a WiMedia superframe. A recording medium may record a computer program for executing each of the role switching methods.
According to an exemplary embodiment of the present inventive concept, there is provided a DRD including a program memory storing a program for executing a role switching operation; and a processor performing the program stored in the program memory.
The processor may receive a request command from an external device DRD which may require a role switch via a media access control (MAC)/Physical Layer (PHY) block, and consecutively transmits M (where M is a positive integer) MMCs to the external device DRD via the MAC/PHY block according to a program which is executed when the request command is accepted.
According to an exemplary embodiment of the present inventive concept, there is provided a DRD capable of switching its role from a host DRD to a device DRD, the DRD including a program memory storing a program for executing a role switching operation; and a processor performing the program stored in the program memory.
The processor may determine a role switch to the role of the device DRD according to a program which is executed when the role switch is executed, and consecutively transmits M MMCs each including a role switch IE to an external device DRD via a MAC/PHY block.
According to an exemplary embodiment of the present inventive concept, there is provided a DRD including a program memory storing a program for executing a role switching operation; and a processor performing the program stored in the program memory. The processor receives a first superframe including a first indicator from an external device DRD via a MAC/PHY block every time the external device DRD wants to play a host role, and transmits a second superframe including a second indicator, the second indicator having values identical to or different from a value of an indicator previously transmitted to the external device DRD, to the external device DRD via the MAC/PHY block in response to the received first indicator.
The second indicator having the identical values may be an indictor that allows the external device DRD to play a role of a device DRD. The second indicator having the different values may be an indictor that allows the external device DRD to play a role of a host DRD.
According to an exemplary embodiment of the present inventive concept, there is provided a DRD including a program memory storing a program for executing a role switching operation; and a processor performing the program stored in the program memory. The processor transmits a first superframe including a first indicator that indicates a role switch to an external DRD via a MAC/PHY block only when the role switch is required, receives a second superframe including a second indicator from the external device DRD whose role has been switched to the role of a host DRD in response to the first indicator, via the MAC/PHY block, and receives an MMC from the external device DRD via the MAC/PHY block.
Exemplary embodiments of the present inventive concept will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings in which:
Referring to
MMCs are used to help hosts and devices discover information about a W-USB cluster, notify their intentions, manage power, and schedule data transmissions efficiently to maintain high throughputs. MMCs are UWB control frames that include Information Elements (IE). In conventional wired USB, Start of Frame (SOF) packets are regularly sent between hosts and devices and are used for synchronization. SOFs also may be used to ensure that hosts and devices will not enter a power-down mode. Wireless USB does not use SOF packets, but rather transmits MMCs to all hosts and devices from time to time to maintain synchronization.
The host DRD 10 transmits MMCs, and the device DRD 20 receives the MMCs. The DRD model or the point-to-point DRD model according to an exemplary embodiment of the present inventive concept does not need to perform simultaneous maintenance of a default link and a reverse link, and accordingly, power consumption may be reduced by not continuously maintaining these links. A method in which the host DRD 10 switches its role in response to a role switching request command received from the device DRD 20 will now be described with reference to
In operation S10, the host DRD 10 may transmit MMCs to the device DRD 20. In operation S12, the device DRD 20 transmits the role switching request command to the host DRD 10 via a device notification time slot (DNTS) only when a role switch, a role change, or a role swap is wanted.
In this case, as illustrated in
A role switching request command DN_RS_INFO transmitted from the device DRD 20 to the host DRD 10 may be included in the type identifier field of the payload shown in
As illustrated in
Each of the M consecutive MMCs includes the role switch acknowledgement IE RS_ACK IE. The role switch acknowledgement IE RS_ACK IE includes a connection host ID (CHID) and timing information MMC_start. For example, the CHID may be 16 bytes. The timing information MMC_start represents the timing when the device DRD 20 whose role has been switched to a host role is to transmit an MMC to the host DRD 10 whose role has been switched to a device role.
In operation S17, the device DRD 20 changes its device role to a host DRD in response to the M consecutive MMCs. Accordingly, in operation S18, the device DRD 20 may transmit the MMCs to the host DRD 10 whose role has been switched to a device DRD. However, if the host DRD 10 does not accept the role switching request, the respective unique roles of the host DRD 10 and the device DRD 20 are not switched.
As described above with reference to
In operation S21, a host DRD transmits MMCs to a device DRD. If the host DRD wants its host role to be switched to a device role, the host DRD determines execution of the role switch and transmits M MMCs to the device DRD consecutively, in operation S23. As illustrated in
The device DRD switches its own role to a host role in response to the role switch IE Role_Switch IE included in at least one of the M MMCs. In this case, in operation S25, the device DRD transmits the MMCs to the host DRD whose host role has been switched to a device role.
Referring to
A role switch indicator (RSI) is made up of 2 bits, and each of the WUSB ASIEs 30 and 40 includes the RSI. A host DRD transmits the WUSB ASIE 30 including the RSI to the device DRD, and a device DRD transmits the WUSB ASIE 40 including the RSI to the host DRD. Here, A is a positive integer, for example, 2.
Referring to
A method in which the host DRD 10 changes its role in response to an RSI output from the device DRD 20 will now be described with reference to
On other hand, when the host DRD 10 accepts the role switch as in case II, the host DRD 10 transmits a second RSI RSI#2′, for example, ‘01’, to the device DRD 20, in operation S41. At this time, the host DRD 10 transmits, to all device DRDs (including the device DRD 20) connected with the host DRD 10, a disconnection command that requests disconnection from the host DRD 10, and stops transmitting MMCs to all of the devices DRDs including the device DRD 20. Then, the device DRD 20 whose role has been switched to a host role transmits a fourth RSI RSI#4, for example, ‘10’, to the host DRD 10 whose role has been switched to a device role, in operation S43. Thereafter, in operation S45, the device DRD 20 whose role has been switched to a host role transmits MMCs to the host DRD 10 whose role has been switched to a device role, within a legacy distributed reservation protocol (DRP) period.
In operation S53, the device DRD 20 whose role has been switched to a host role transmits a sixth RSI RSI#12, for example, ‘10’, to the host DRD 10 whose role has been switched to a device role. Then, in operation S55, the device DRD 20 whose role has been switched to a host role transmits the MMCs to the host DRD 10 whose role has been switched to a device role.
As described above with reference to
As described above with reference to
The program memory 150 stores a program for executing the role switching methods described above with reference to
As described above with reference to
The processor 120 performs the program stored in the program memory 150 for executing the role switching methods, for example, as described above. In greater detail, the processor 120 reads out at least a part of the data packet stored in the data memory 140 and performs the role switching methods according to the program. Accordingly, the processor 120 determines whether to accept or refuse a role switch in response to a role switching request command.
If the host DRD 100 accepts the role switch in response to the role switching request command in operation S14, the host DRD 100 transmits M consecutive MMCs (or MMC packets) to the device DRD 20, in operation S16. Here, M is a positive integer, for example, 3. As described above with reference to
The processor 120 performs the program stored in the program memory 150 for executing the role switching methods, for example, as described above. In greater detail, the processor 120 reads out at least a part of the data packet stored in the data memory 140 and performs the role switching methods according to the program. Accordingly, the processor 120 determines whether to accept or refuse a role switch in response to a role switching request command. For example, when the processor 120 does not accept a role switch as in case I, the processor 120 transmits the second RSI RSI#2, for example, ‘10’, to the device DRD 20 via the MAC/PHY block 130, in operation S33. On the other hand, when the processor 120 accepts the role switch as in case II, the processor 120 transmits the second RSI RSI#2′, for example, ‘01’, to the device DRD 20 via the MAC/PHY block 130, in operation S41.
As described above with reference to
The DRD 100 of
In a point-to-point DRD according to one or more embodiments of the present invention and a role switching method performed in the point-to-point DRD, both a default link and a reverse link are not needed to be maintained simultaneously in contrast with a conventional point-to-point DRD to thereby reduce overhead and to reduce the amount of power consumed by devices that constitute the point-to-point DRD. Therefore, the point-to-point DRD and the role switching method according to the one or more exemplary embodiments of the present inventive concept may release not-used channel resources, thereby increasing channel usability.
While exemplary embodiments of the present inventive concept have been particularly shown and described with reference to the figures, it will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the inventive concept.
Number | Date | Country | Kind |
---|---|---|---|
10-2008-0094172 | Sep 2008 | KR | national |