The present invention relates, in general, to a method of setting a beacon slot using a beacon table in a Wireless Personal Area Network (WPAN) and to a WPAN device, and, more particularly, to a method of setting a beacon slot and a WPAN device, in which each device sets my beacon slot in consideration of the beacon transmission time slots of neighbor devices and devices neighboring the neighbor devices through the generation of a beacon table in a WPAN environment, thus enabling the beacon transmission time slots of other devices to be reused without causing collisions between beacons.
Wireless Personal Area Network (hereinafter referred to as ‘WPAN’) technology is one of the core technologies for ubiquitous networks in which persons, computers and objects are connected to each other through a single structure. A representative example of the application of WPAN technology is a sensor network, which functions to combine an existing sensor network environment with an actual physical environment.
A sensor network occupies an important role in realizing the ubiquitous generation. In particular, when ubiquitous networking is implemented in the home, it will provide a large incentive to construct national-level infrastructure, and thus the construction of a ubiquitous networking environment in the home is very significant. Further, home networking technology, which is one of the ubiquitous networking technologies, has emerged as a core technology for overcoming the serious situation in which existing markets for electric home appliances are rather depressed, in the ubiquitous generation, and a sensor network is central to such home networking technology.
It is predicted that a sensor network, expected to be composed of several hundreds or thousands of small sensor modules, will be applied to various fields, such as remote monitoring in intelligent home networks, automatic manufacturing process control, the administration of warehouse and physical distribution, remote patient monitoring in hospitals, and security systems for break-in detection.
Meanwhile, a WPAN can be used to implement such technology, and is characterized in that it has advantages, such as a transmission range of less than 10 m, low power consumption, and a size small enough to be mounted in a sensor or the like. Of such WPAN technologies, technology that is currently attracting attention includes ZigBee, which is low-speed and low-power WPAN technology. However, current ZigBee technology is limitedly applicable to networks and suffers from the instability of networks.
During the sleep period, the transmission of data is possible, but the reception of data is impossible. The transmission of a beacon is required in order to connect a node below a reference node, so that the last node present in the configuration of a network does not require the transmission of a beacon after a certain period of time has elapsed.
In network configuration in which the depth of nodes is 5, as shown in
However, since the period in which the fourth node can receive data has already elapsed, the fifth node must wait for the next period in which the fourth node can receive data. As a result, since the time taken to transmit data up to the first node is increased by one cycle in this way, there is a problem in that the total transmission time increases.
In the drawing, the WPAN environment is configured such that a coordinator has first and second nodes in its own communication range, and the first node and the second node have third and fourth nodes and fifth and sixth nodes in their own communication ranges, respectively.
As shown in the drawing, in the case where the beacon transmission interval is configured using the method of
In this case, as described above, since the first and second nodes are not located in their communication ranges, there is no problem in transmitting beacons so as to set up connection to third, fourth, fifth and sixth nodes and perform data transmission even if the beacon transmission time slots of the first and second nodes are identical to each other. However, if another node appears and sets up a new connection, a collision between beacons may occur. This phenomenon is described in detail with reference to
As shown in
In this case, when beacon transmission time slots are configured using the methods of
When the network is configured in this way, there is no problem in the communication between the coordinator and the first, second and seventh nodes because the first, second and seventh nodes need to receive only the beacon from the coordinator. However, when the seventh node is generated after the network of
That is, as shown in
Accordingly, the present invention has been made keeping in mind the above problems occurring in the prior art, and an object of the present invention is to provide a method of setting a beacon slot using a beacon table in a WPAN and a WPAN device, in which each device detects beacon transmission time slots to be avoided so as to prevent collisions between beacons using a beacon table required to manage the beacon transmission time slots of neighbor devices and the beacon transmission time slots of devices neighboring the neighbor devices, and sets my beacon transmission time slot on the basis of the detected beacon transmission time slots to be avoided, thus enabling beacon slots used by devices, having no correlation therebetween, to be reused.
Another object of the present invention is to provide a method of setting a beacon slot and a WPAN device, in which each device transmits beacon scheduling information, including information about my beacon transmission time slot and the beacon transmission time slots of neighbor devices, in order to manage the beacon transmission time slots of neighbor devices and the beacon transmission time slots of devices neighboring the neighbor devices, and in which the device for setting a beacon slot generates a beacon table and sets a beacon slot using the received beacon scheduling information.
A further object of the present invention is to provide a method of setting a beacon slot and a WPAN device, which prevent collisions between beacons from occurring even if a node having any communication range is generated at any location, thus realizing the stability of network configuration, which enable a beacon-only period to be reused by detecting a correlation between devices using a beacon table, without causing the size of a beacon-only period to infinitely increase as the number of devices increases, thus efficiently using limited data and a limited memory size, and which enable data transmission to neighbor devices through beacons by overcoming limited communication conducted only in a parent-child relationship, thus enabling a wireless mesh network to be configured.
In accordance with an aspect of the present invention to accomplish the above objects, there is provided a method of setting a beacon slot using a beacon table in a Wireless Personal Area Network (WPAN), the method being performed such that each device sets my beacon slot (Beacon Transmission Time Slot: BTTS) using a beacon table in the WPAN, which uses superframes, each having a beacon-only period during which two or more beacons are transmitted, comprising a first step of receiving beacon scheduling information, including information about beacon slots of one or more neighbor devices and information about beacon slots of devices neighboring the neighbor devices, from the neighbor devices; a second step of combining the beacon scheduling information received from the neighbor devices, and inputting the beacon slot information of the neighbor devices and the beacon slot information of the devices neighboring the neighbor devices, into a beacon table, including a field for neighbors' BTTSs and a field for neighbors' neighbors' BTTSs; a third step of inputting the beacon slots of the neighbor devices and the beacon slots of the devices neighboring the neighbor devices into a field for BTTSs to be avoided in the beacon table; a fourth step of setting my beacon slot among beacon slots of the beacon-only period, except for the beacon slots input into the field for BTTSs to be avoided; and a fifth step of inputting information about the set beacon slot into a field for my BTTS in the beacon table.
Preferably, the first step may further comprise the steps of obtaining the beacon slot information of respective neighbor devices from payload information of beacons transmitted from the neighbor devices; transmitting a frame for requesting beacon slot information of neighbor devices to surrounding devices, receiving frames, including the beacon slot information of neighbor devices of the surrounding devices, from respective surrounding devices in response to the request frame, and obtaining beacon slot information of the devices neighboring the neighbor devices of the relevant device from the received frames.
Preferably, the fourth step may comprise the steps of arranging beacon slots of the beacon-only period, except for the beacon slots input into the field for BTTSs to be avoided; deleting beacon slots earlier than a beacon slot of a parent device of a relevant device from the arranged beacon slots; and setting an earliest slot of beacon slots, remaining after deletion, as my beacon slot of the relevant device.
Preferably, at the third step, the relevant device may input a beacon slot of a coordinator into a field for BTTSs to be avoided.
Preferably, the method may further comprise, after the fifth step, a sixth step of the relevant device transmitting beacon scheduling information, which includes my beacon slot information and the beacon slot information of the neighbor devices and which is included in the beacon table, to the neighbor devices.
Preferably, the method may further comprise, after the fifth step, a sixth step of, if beacon scheduling information, including beacon slot information of a newly generated neighbor device, is received from the newly generated neighbor device, updating the field for neighbors' BTTSs in the beacon table on a basis of the received information.
In accordance with another aspect of the present invention to accomplish the above objects, there is provided a method of setting a beacon slot using a beacon table in a Wireless Personal Area Network (WPAN), the method being performed such that each device sets my beacon slot (Beacon Transmission Time Slot: BTTS) using BTTS information of one or more neighbor devices and devices neighboring the neighbor devices in the WPAN, which uses superframes, each having a beacon-only period during which two or more beacons are transmitted, comprising a first step of setting my beacon slot; and a second step of transmitting beacon scheduling information, including information about my beacon slot and beacon slots of one or more neighbor devices, to the neighbor devices.
Preferably, the second step may comprise the steps of (2-1) including my beacon slot information in a beacon payload, and transmitting the beacon payload to the neighbor devices in my BTTS; and (2-2) if a frame for requesting beacon slot information of neighbor devices is received, transmitting a frame, including the beacon slot information of the neighbor devices, in response to the request frame.
Preferably, the step (2-1) may be performed such that, in order to allow a newly generated device to be connected to a device having a small depth value, the relevant device includes my depth value in the beacon payload and transmits the beacon payload.
Preferably, the method may further comprise the step of, before the first step, setting my beacon slot among beacon slots of the beacon-only period, except for BTTSs of the neighbor devices and BTTSs of the devices neighboring the neighbor devices, on a basis of the beacon scheduling information that is received from the neighbor devices and that includes the beacon slot information of the neighbor devices and beacon slot information of devices neighboring the neighbor devices.
Preferably, the method may further comprise the step of, before the first step, setting an earliest slot of beacon slots of the beacon-only period, except for beacon slots earlier than a beacon slot of a parent device of the relevant device, beacon slots of the neighbor devices and beacon slots of devices neighboring the neighbor devices, as my beacon slot of the relevant device, on a basis of the beacon scheduling information that is received from the neighbor devices and that includes the beacon slot information of the neighbor devices and beacon slot information of devices neighboring the neighbor devices.
In accordance with a further aspect of the present invention to accomplish the above objects, there is provided a Wireless Personal Area Network (WPAN) device, comprising a communication unit for performing transmission/reception of beacons and data over a WPAN, which uses superframes, each having a beacon-only period during which two or more beacons are transmitted; and a control unit for setting my beacon slot of the relevant device among beacon slots of the beacon-only period, except for beacon slots of neighbor devices and beacon slots of devices neighboring the neighbor devices, and controlling the communication unit so that a beacon is transmitted in the set beacon slot.
Preferably, the control unit may set an earliest slot of beacon slots of the beacon-only period, except for beacon slots earlier than a beacon slot of a parent device of the relevant device, the beacon slots of the neighbor devices, and the beacon slots of the devices neighboring the neighbor devices, as my beacon slot of the relevant device.
Preferably, the control unit may set an earliest slot of beacon slots of the beacon-only period, except for a beacon slot of a coordinator, the beacon slots of the neighbor devices, and the beacon slots of the devices neighboring the neighbor devices, as my beacon slot of the relevant device.
Preferably, the control unit may control the communication unit so that beacon scheduling information, including information about my beacon slot and the beacon slots of the neighbor devices, is transmitted to the neighbor devices in order to allow the neighbor devices to set their own beacon slots.
Accordingly, a method of setting a beacon slot using a beacon table in a Wireless Personal Area Network (WPAN) and a WPAN device according to the present invention are advantageous in that each device generates and manages a beacon table used to manage the beacon transmission time slots of neighbor devices and the beacon transmission time slots of devices neighboring the neighbor devices, so that the device can detect beacon transmission time slots to be avoided by it so as to prevent collisions between beacons, and can set my beacon transmission time slot, and so that beacon slots, used by devices having no correlation therebetween, can be reused.
Further, the present invention is advantageous in that, since each device transmits information about my beacon transmission time slot and the beacon transmission time slots of neighbor devices to surrounding devices, and sets my beacon slot on the basis of the transmitted information, each device can efficiently and independently set a beacon slot without requiring a separate beacon slot setting node.
Further, the present invention is advantageous in that, since each device sets my beacon transmission time slot in the interval after the beacon transmission time slot of a parent device, the delay of data flow, occurring when the device has a beacon transmission time slot earlier than that of the parent device, can be prevented, and in that, since collisions between beacons of respective devices do not occur even if a node having any communication range is generated at any location, the stability of network configuration can be realized.
Furthermore, the present invention is advantageous in that, since the correlation between devices is detected using a beacon table and a beacon-only period is reused, without causing the size of a beacon-only period to infinitely increase as the number of devices increases, limited data and a limited memory size can be efficiently used, and in that, since data transmission to neighbor devices can be performed through beacons, beyond limited communication conducted only in a parent-child relationship, a wireless mesh network can be configured.
The above objects, technical construction, operation, and advantages of the present invention will be more clearly understood from the following detailed description, taken in conjunction with the accompanying drawings.
A Wireless Personal Area Network (WPAN) proposed in the present invention uses superframes, each having a beacon-only period during which two or more beacons are transmitted. Each of devices sets a beacon transmission time slot in which it will transmit a beacon, that is, a beacon slot, within the beacon-only period existing in the foremost part of the superframe. In this case, each device transmits or receives the beacon scheduling information of
Of beacon scheduling information, the depth value of a relevant device (My Depth) indicates the number of hops by which a relevant device itself is spaced apart from the device that is generated first. This is a value used to allow the relevant device to be primarily connected to a device having a small depth value when connection between devices is set up. When the depth values of devices that can be connected are identical to each other, the relevant device is connected to the device having an earlier beacon transmission time slot.
A beacon transmission time value (My BTTS: Beacon Tx Time Slot) indicates the time at which the relevant device itself transmits a beacon, that is, a beacon slot. Each device sets a beacon transmission time slot while avoiding specific times using the beacon transmission time slots received from respective surrounding devices.
The beacon transmission time values of neighbor devices (Neighbors' BTTSs) indicate times at which nodes neighboring the relevant device itself transmit beacons.
The device desiring to set my beacon slot can obtain my depth value and my BTTS in the beacon scheduling information, with reference to the payload information of beacons transmitted by surrounding devices.
Further, in the beacon scheduling information, the neighbors' BTTSs can be obtained through corresponding response frames when the relevant device transmits a frame for requesting the neighbors' BTTSs, which is one of network command frames, to surrounding devices, and the surrounding devices, having received the request frame, return response frames, including the BTTSs of their neighbor devices, in response to the request frame.
For this purpose, each device must manage neighbors' BTTSs, as well as my BTTS, as beacon scheduling information.
As described above, each device obtains and combines beacon scheduling information of surrounding devices, and transmits my beacon in the BTTS which is not used by neighbor devices and the neighbors' neighbor devices, thus avoiding collisions between beacons.
As shown in
Therefore, when the device 1 must set a BTTS, the device 1 sets my BTTS to avoid the BTTS of the device 3, which is a device neighboring a device 2, while avoiding the BTTS of the device 2.
Further, in the devices 1 and 4, spaced apart from each other by three hops, a collision between beacons does not occur even if they transmit beacons at the same time, and thus the devices 1 and 4 can use the same beacon slot. Therefore, the present invention enables beacon slots, previously used by other devices, to be reused within a range in which collisions are avoided so as to improve the efficiency of data transmission.
Next, the method of setting a beacon slot according to the present invention will be described in detail below with reference to the examples of
The data communication period can be divided into a Contention Access Period (CAP) during which contentional communication is performed through a Carrier Sense Multiple Access-Collision Avoidance (CSMA-CA) mechanism, and a Contention Free Period (CFP) located after the CAP. The CFP is a period allocated when the end device of a network topology requests CFP from a higher device. When the CFP is not set, the entire data communication period is used as a CAP.
In the present invention, each device configures a beacon table by combining beacon scheduling information transmitted by neighbor devices, and sets a beacon slot, which is the time at which the device itself transmits a beacon, in the beacon-only period within the superframe with reference to the beacon table. This operation will be described below with reference to
As shown in the drawing, the beacon table includes a field for neighbors' BTTSs, a field for neighbors' neighbors' BTTSs, a depth field, a field for BTTSs to be avoided, and a field for my BTTS.
Since the device 1 is a device that is generated first, the depth thereof is 0. Since the device 1 has no neighbor devices, it does not have information about neighbors' BTTSs and the neighbors' neighbors' BTTSs (indicated by X). Therefore, the device 1 sets the first BTTS, which is the earliest BTTS in the beacon-only period of a superframe, that is, the first beacon slot, as my beacon slot.
In order to set my beacon slot, each device configures the beacon table, as shown in
First, the device 2 generates a beacon table on the basis of the beacon scheduling information received from the device 1. Since the device 1 is a neighbor device of the device 2, the device 2 sets my BTTS while avoiding the BTTS of the device 1.
Further, the device 1 receives information about the BTTS of the device 2 and updates a field for neighbors' BTTSs and a field for BTTSs to be avoided in the beacon table. Therefore, the table of
As shown in the drawing, since the devices 1 and 2 are neighbor devices of the device 3, the device 3 receives beacon scheduling information from the two devices, inputs both the beacon slot information of the device 1 and the beacon slot information of the device 2 into the field for BTTSs to be avoided on the basis of the beacon scheduling information, and sets my BTTS (beacon slot) while avoiding the beacon slots input into the field for BTTSs to be avoided.
That is, the device 3 is aware that the BTTS of the neighbor device 1 is slot 1, and the BTTS of the neighbor device 2 is slot 2, and that there are no devices neighboring the neighbor device 1 and the neighbor device 2, and thus inputs slot 1 and slot 2 into the field for BTTSs to be avoided and sets slot 3 as my beacon slot.
Further, with the generation and connection of the device 3, the devices 1 and 2 also update their beacon tables. Accordingly, the devices 1 and 2 add information about the BTTS of the device 3, which is a new neighbor device, to the fields for neighbors' BTTSs, and input information about the BTTS of the device 3 into the fields for BTTSs to be avoided.
As shown in the drawing, in the network in which the device 10 is generated, the device 10 inputs information about the BTTS of the device 8 into the field for neighbors' BTTSs, and inputs information about the BTTSs of the devices 5, 6, and 7, which are the neighbor devices of the device 8, into the field for neighbors' neighbors' BTTSs.
Therefore, the device 10 inputs information about the BTTSs of the devices 5, 6, 7 and 8 into the field for BTTSs to be avoided, on the basis of the field for neighbors' BTTSs and the field for neighbors' neighbors' BTTSs. In this case, the device 1 (coordinator) is not categorized as a neighbor device or as a neighbor's neighbor device, but, when slot 1 is set as a coordinator-only transmission interval, information about the BTTS of the device 1 can be additionally added to the field for BTTSs to be avoided.
Further, the device 10 sets my BTTS with reference to information included in the field for BTTSs to be avoided. In this case, the device 10 can set slot 2, which was used by the device 2 in the beacon-only period, as my beacon slot. However, it is preferable that the device 10 set the ninth BTTS (slot 9), which lags behind the BTTS of the parent device, that is, the device 8, and which is empty, as my BTTS, in order to prevent the delay of a data flow from occurring when the device 10 has a BTTS earlier than that of the parent device.
That is, each device sets my beacon slot among beacon slots of the beacon-only period, except for the neighbors' BTTSs and the neighbors' neighbors' BTTSs, but may set a beacon slot, appearing after the BTTS of the parent device, as my beacon slot.
Meanwhile, with the generation of the device 10, other devices update their own beacon tables. As shown in the drawing, the devices 8 and 9 also configure both the field for neighbors' BTTSs and the field for neighbors' neighbors' BTTSs, detect BTTSs to be avoided by it with reference to the configured fields, and thereafter set their own BTTSs.
Through the above procedure, the devices 9 and 10 consequently use the same BTTS. Since the devices 9 and 10 do not neighbor each other, and do not neighbor the neighbor devices thereof, as shown in
As shown in the drawing, the device 17 receives beacon scheduling information from neighbor devices, and thus inputs information about the BTTSs of devices 11, 13, 14 and 16, which are neighbor devices thereof, and the BTTSs of devices neighboring the neighbor devices, that is, devices 2, 5, 9 and 12, into the beacon table thereof.
Thereafter, the device 17 inputs information about the neighbors' BTTSs, the neighbors' neighbors' BTTSs, and the BTTS of the coordinator (device 1) into the field for BTTSs to be avoided, and sets my BTTS among empty BTTSs after the BTTS of the device 11, which is the parent node of the device 17. At this time, the device 17 sets my BTTS in the empty BTTSs after the BTTS of the parent node, but may preferably set the first slot, that is, slot 13, which is the earliest slot of beacon slots, as my beacon slot.
That is, according to the above procedure, when all of the devices 1 to 20 join the network, the total number of devices is 20, but the total number of time slots allocated in the beacon-only period is 14 because the reuse of the beacon slots is possible.
Hereinafter, the operating procedures of respective devices in the beacon slot setting method according to the present invention are summarized and described below.
As shown in the drawings, a newly generated and connected device receives beacon scheduling information from respective neighbor devices at step S110. The received beacon scheduling information includes information about the BTTSs of the neighbor devices, which transmit the beacon scheduling information, the BTTSs of devices neighboring the neighbor devices, and the depths of the devices.
Next, the device, having received the beacon scheduling information from the neighbor devices, detects slots to be avoided by it at the time of transmitting beacons on the basis of the neighbors' BTTSs and the neighbors' neighbors' BTTSs at step S120. That is, step S120 is the step of configuring the content of the field for BTTSs to be avoided, wherein information about the neighbors' BTTSs and the neighbors' neighbors' BTTSs is input into the field, and information about the BTTS, allocated as the coordinator-only interval, and BTTSs earlier than the BTTS of the parent device thereof may be additionally input into the field.
Accordingly, the newly generated device sets my beacon slot among beacon slots of the beacon-only period, except for the coordinator's BTTS, the neighbors' BTTSs, and the neighbors' neighbors' BTTSs, with reference to the field for BTTSs to be avoided at step S130. In this case, the device can set my beacon slot among beacon slots in which the device can transmit beacons, except for slots earlier than the BTTS of the parent node, and may set the earliest slot of the slots as my beacon slot.
That is, as shown in
Meanwhile, the device that has set the beacon slot, as described above, completes my beacon table using information obtained or detected at steps S110 to S130, and maintains the information of the beacon table. The information included in the beacon table includes information about the neighbors' BTTSs, the neighbors' neighbors' BTTSs, my depth, BTTSs to be avoided, my BTTS, etc.
As shown in the drawing, each device generates a beacon table and sets my beacon slot through the procedures of
That is, when beacon scheduling information is received from a newly generated neighbor device at step S220, the relevant device adds information about the BTTS of the newly generated neighbor device to the field for neighbors' BTTSs, among the information fields of the beacon table thereof, and adds information about the BTTSs of devices neighboring the newly generated neighbor device to the field for neighbors' neighbors' BTTSs at step S230. Further, although not shown in the drawing, a neighbor's neighbor device may be newly generated, and thus each device can update the field for neighbors' neighbors' BTTSs, using the beacon scheduling information received from previously generated neighbor devices. Accordingly, each device can also update the information of the field for BTTSs to be avoided by it.
The beacon table update procedure (step S230) is a procedure that is required to set the beacon slot of a newly generated device. Since the newly generated device must set my BTTS in consideration of neighbors' neighbors' BTTSs, respective devices must continuously update information about neighbor devices joining the network.
Meanwhile, the beacon slot setting method according to the present invention, as described above with reference to
As shown in
The control unit 120 sets my beacon slot among the beacon slots of the beacon-only period, except for neighbors' beacon slots and the neighbors' neighbors' beacon slots, and controls the communication unit 110 so that the beacon is transmitted in the set beacon slot of the beacon-only period.
In this case, the control unit 120 sets my beacon slot, among the slots of the beacon-only period, except for beacon slots earlier than the beacon slot of a parent device, neighbors' beacon slots, and the neighbors' neighbors' beacons slots, but may set the earliest slot of the remaining slots as my beacon slot.
Further, when there is a beacon slot allocated as a coordinator-only transmission interval, the control unit 120 preferably sets my beacon slot among beacon slots, except for the beacon slot of the coordinator.
Meanwhile, in order to allow neighbor devices to set their own beacon slots, the control unit 120 controls the communication unit 110 so that beacon scheduling information, including information about my beacon slot and neighbors' beacon slots, is transmitted to the neighbor devices.
Since those skilled in the art can implement the present invention in other preferred embodiments without changing the technical spirit or essential features thereof, it should be understood that the above-described embodiments are not intended to limit the present invention, and are intended to exemplify the present invention in all aspects. The scope of the present invention is defined by the accompanying claims rather than the above detailed description, and the meaning and scope of the claims and all changes or modifications derived from equivalents thereof should be interpreted as being included within the scope of the present invention.
As described above, the present invention can be applied to a WPAN device for performing wireless personal area communication between devices over a WPAN, which uses superframes, each having a beacon-only period during which two or more beacons are transmitted, and can be utilized to enable the BTTSs of other devices to be reused without causing collisions between beacons.
Number | Date | Country | Kind |
---|---|---|---|
10-2007-0014826 | Feb 2007 | KR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR2008/000848 | 2/13/2008 | WO | 00 | 7/24/2009 |