The above and other aspects, features and other advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
Exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Referring to
The beacon for network connection is a beacon for confirming whether the surrounding ZigBee devices 12a through 12d maintain the connection to the ZigBee network, or normally operates to the extent that it downloads a data, and has a configuration according to an IEEE 802.15.4 standard.
Then, the ZigBee devices 12a through 12d downloading the beacon for network connection transmit a data frame to the ZigBee coordinator 11 (S210), the data frame corresponding to the beacon for network connection.
The data frame may be an acknowledge frame acknowledging the beacon for network connection, and a data frame including information used for performing a predetermined operation in the ZigBee coordinator 11 to perform the operation by request of the acknowledge frame and external users.
Next, the ZigBee coordinator 11 downloading the data frame transmits an acknowledge frame to the ZigBee device transmitting the data frame, the acknowledge frame indicating the downloading of the data frame.
In this case, when a data to be transmitted afterward remains in the ZigBee device transmitting the data frame, the ZigBee coordinator 11 transmits the data, including a certain bit, to ZigBee device transmitting the data frame, the certain bit indicating that the data to be transmitted remains in the acknowledge frame (S220).
The certain bit may be a bit in an unused field out of various kinds of fields having the acknowledge frame, and preferably a frame pending bit included in a frame control field.
For example, the frame pending bit may be set to a bit value of “0” or “1” since it is composed of one bit, and therefore the frame pending bit may be set to a value of “1” and then transmitted to the ZigBee device that will transmit the data when data to be transmitted remains, whereas the frame pending bit may be set to a bit value of “0” and then transmitted to the ZigBee device when data to be transmitted does not remain.
Then, the ZigBee device downloading the acknowledge frame including the certain bit estimates the certain bit in the acknowledge frame (S310), and recognizes the presence of data to be transmitted from the ZigBee coordinator 11 when the certain bit is “1”, and then transmits a data request frame corresponding to the bit value of “1” to the ZigBee coordinator 11 (S320).
Subsequently, the ZigBee coordinator 11 downloading the data request frame transmits a data, which is expected to transmit, to the ZigBee device that has transmitted the data request frame (S400).
Referring to
The controller 110 may be composed of an application layer, a network layer and a MAC layer. Here, some of the MAC layer may be composed of separate hardware.
The storage unit 120 stores address information and transmission data information used in the controller 110, and provides the information through the control of the controller 110.
The transmission unit 130 transmits/receives a predetermined data through the control of the controller 110.
As described above, the ZigBee unit used in the present invention may be used as a ZigBee coordinator and ZigBee devices, which constitute a ZigBee network, and therefore a data transmission method between the ZigBee coordinator and the ZigBee devices according to the present invention will be described in detail.
Referring to
Then, a network layer of the ZigBee coordinator sends to the MAC layer an Mcps Data Request command indicating that data to be transmitted remains in the ZigBee coordinator. Also, the network layer of the ZigBee device sends to the MAC layer an Mcps Data Request command indicating that a data for the beacon for network connection remains in the ZigBee coordinator, and therefore the MAC layer of the ZigBee device transmits a data frame to the MAC layer of the ZigBee coordinator (S210 of
Subsequently, the MAC layer of the ZigBee coordinator transmits an acknowledge frame corresponding to the data frame. At this time, the MAC layer sets a certain bit of the acknowledge frame to a bit value of “1” and transmits the set acknowledge frame to the ZigBee device when data to be transmitted to the ZigBee device that has transmitted the data frame remains (S300 of
Referring to
The MAC header (MHR) includes a 2 byte size frame control field and a 1 byte size sequence number field.
Each bit in the frame control field is configured so that it can provide various functions, and, among them, a frame pending bit is used to indicate whether data is transmitted. The frame pending bit has a bit size of 1, and therefore it is set to a bit value of “1” in the presence of data to be transmitted, and set to a bit value of “0” in the absence of data to be transmitted.
Referring to
After the above-mentioned command transmission time (transmission delay time T), the ZigBee device transmits a data request frame for requesting data to the ZigBee coordinator (S320 of
Next, the ZigBee coordinator downloading the data request frame transmits an acknowledge frame to the ZigBee device (“5” of
Finally, the MAC layer of the ZigBee device transmits to the network layer an Mcps Data Indication command indicating the data transmission, and the MAC layer of the ZigBee coordinator downloading the acknowledge frame transmits to the network layer an Mcps Data Confirm command indicating that the data transmission is completed.
Then, the above-mentioned operations are repeated when data continues to be transmitted.
Referring to
As described above, the data transmission method according to the present invention can be useful to shorten a delay time for data transmission by previously indicating that a data to be transmitted to the ZigBee device remains by using a certain bit in the acknowledge frame, which leads to the shortened data transmission time.
While the present invention has been shown and described in connection with the exemplary embodiments, it will be apparent to those skilled in the art that modifications and variations can be made without departing from the spirit and scope of the invention as defined by the appended claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 10-2006-0092748 | Sep 2006 | KR | national |