This application claims the priority benefit of Korean Patent Application No. 10-2010-0133105, filed on Dec. 23, 2010, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference.
1. Field of the Invention
The present invention relates to an apparatus and method for allocating a synchronous time slot of a low-power wireless personal area network (WPAN) that allocates and controls a time slot based on synchronization in the low-power WPAN.
2. Description of the Related Art
In general, a communication system of a low-power wireless personal area network (WPAN) may perform an operation of controlling a connection to configure a network between a coordinator and a device. The operation of controlling a connection may include a radio link resource management, an allocation of a resource between devices associated with a contentious acquisition of a resource, and a release of a resource.
Referring to
Here, a scheme of dividing resources to allocate to each communication node in a time space may be used as a scheme of avoiding signal interference of a communication node.
For example, a scheme of allocating a synchronous time slot may configure a super-frame for a time slot using a beacon, a management time slot, a unidirectional time slot, and a bidirectional time slot.
Referring to
An aspect of the present invention provides an apparatus and method for allocating a synchronous time slot of a low-power wireless personal area network (WPAN) that controls a connection to a communication node in a communication system of the low-power WPAN using a synchronous time slot based on a beacon.
According to an aspect of the present invention, there is provided a coordinator including a scanner to scan a time slot in response to an occurrence of a beacon, thereby generating a bitmap related to use or non-use of the time slot, an update unit configured to classify the time slot as a non-occupation group and update a number of occupied time slots associated with the non-occupation group when the bitmap related to non-use is generated successively within a predetermined period of time, and a transmitter to broadcast, to a to communication node, information that is for allocating a time slot and includes the updated number of occupied time slots.
According to another aspect of the present invention, there is provided a communication node including a connector to connect to a communication node moving into a coordinator region by performing an operation of receiving a beacon during a predetermined collection time, and a controller to transmit a data frame to the communication node, and to control the connector to maintain the connection when the communication node permits reception of the transmitted data frame or to release the connection when the communication node rejects reception of the transmitted data frame.
According to an aspect of the present invention, there is provided an operating method, the method including scanning, by a coordinator, a time slot in response to an occurrence of a beacon, thereby generating a bitmap related to use or non-use of the time slot, classifying the time slot as a non-occupation group and updating a number of occupied time slots associated with the non-occupation group when the bitmap related to non-use is generated successively within a predetermined period of time, and broadcasting, to a communication node, information that is for allocating a time slot and includes the updated number of occupied time slots.
According to an aspect of the present invention, there is provided an operating method, the method including receiving, by a communication node, a beacon during a predetermined collection time, determining candidates for a time slot to be used based on information that is for allocating a time slot and is included in the collected beacon, attempting to transmit, to each time slot included in the determined candidates, a data frame based on an order of priority, and connecting to a time slot receiving the data frame via a network.
According to an aspect of the present invention, there is provided a method of allocating a time slot by a communication node that may minimize energy consumption and processing load associated with a message exchange since access to and release from a network may be possible without exchanging messages for controlling access between a coordinator and a device, may access a device in motion within a coordinator region by minimizing accessing time, and may enhance utilization of a time slot by optimally distributing links for accessing devices to available time slots uniformly, using information of device global IDs.
Additional aspects, features, and/or advantages of example embodiments will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the disclosure.
These and/or other aspects, features, and advantages of the invention will become apparent and more readily appreciated from the following description of exemplary embodiments, taken in conjunction with the accompanying drawings of which:
Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. Exemplary embodiments are described below to explain the present invention by referring to the figures.
An access to and release from a network may be promptly performed for a communication node without a process of controlling a network configuration when the communication node stays in the network for a relatively short period of time and moves out of the network as illustrated in
Referring to
A communication node 720 may include a connector 721 to connect to a communication node moving into a coordinator region, and a controller 722 to maintain a connection to communication node within a coordinator region, and release a connection to a communication node leaving the coordinator region. The connector 721 may include a collector 721a to collect a beacon, a determining unit 721b configured to determine candidates for a time slot to be used based on information that is for allocating a time slot and is included in the collected beacon, and an allocating unit 721c configured to allocate a time slot in an order of priority from among the candidates for a time slot.
The communication node 720 may designate an identifier that is unique in a wide range within an area using a service.
The coordinator 710 may repeatedly transmit beacons in a time interval TBI. A beacon may include location information ZID of a coordinator, information of a total number of time slots Lts and a number of currently used time slots 0ts.
The collector 721a may perform a scheme of increasing time intervals for collecting beacon information based on whether a communication node receives a beacon. An example of determining time for collecting a beacon by the collector 721a is as follows.
Referring to
The determining unit 721b may select time slots as a first, second, and third priority of candidates using a hash function based on an identifier to determine candidates for a time slot to be used, and may increase a number of hash functions and candidates for a time slot, as necessary. When the identifier corresponds to a resident registration number, the determining unit 721b may determine a location of a time slot of a communication node corresponding to an identifier IDi to be s1=IDi mod Lts when the time slot corresponds to the first priority, s2=(IDi*IDi) mod Lts when the time slot corresponds to the second priority, and s3=(IDi*IDi*IDi) mod Lts when the time slot corresponds to the third priority.
When the allocating unit 721c finds a beacon, it may verify candidates for a time slot to be used during a single beacon interval, and select and use a time slot as per priority from among vacant time slots.
A coordinator may repeatedly transmit beacons according to predetermined intervals. The beacon may include location information of the coordinator, information of a total number of time slots and a number of currently used time slots. An operation of periodically transmitting a beacon by a coordinator is described in the following.
The coordinator may reserve, at a predetermined value, a total number of time slots when a time slot is initialized in operation 801, and may scan a time slot for each beacon, thereby generating a bitmap related to use or non-use of the time slot in operation 802.
The coordinator may exclude the time slot from occupied time slots and update a number of occupied time slots when the time slot remains unused for more than a predetermined period of time in operation 803, and may maintain information for allocating a time slot by including, in a beacon, a total number of time slots, a number of currently occupied time slots, and information for identifying a location of a current coordinator, and broadcasting the beacon in operation 804.
The coordinator may determine a release of the occupied time slots when the time slot is in a state of non-use during a period of time in which a communication node moves out of a coordinator region or when the time slot is in a state of non-use during a predetermined number of scanning times based on a beacon interval.
A communication node may perform a scheme of increasing time for collecting beacon information based on whether a beacon is received. An example of determining a time for collecting a beacon by the communication node is as below.
In operation 805, the communication node may determine a collection time, and perform an operation of receiving a beacon during the collection time. The collection time may be two times a value obtained by multiplying a length of a time slot by a maximum number of time slots provided by a wireless network.
The communication node may collect a beacon twice during a collection time when no beacon exists, may collect a beacon during four times the collection time when a beacon remains impossible to be collected, and may suspend a reception during a sleep time and then continue to collect a beacon when a beacon remains impossible to be collected.
When multiple beacons are collected in operation 806, the communication node may select a beacon having a highest priority for location information in operation 807.
In operation 808, the communication node may select time slots as a first, second, and third priority of candidates using a hash function based on an identifier to determine candidates for a time slot to be used, and may increase a number of hash functions and candidates for a time slot, as necessary.
When the identifier corresponds to a resident registration number, the communication node may determine a location of a time slot of the communication node corresponding to an identifier IDi to be s1=IDi mod Lts when the time slot corresponds to the first priority, s2=(IDi*IDi) mod Lts when the time slot corresponds to the second priority, and s3=(IDi*IDi*IDi) mod Lts when the time slot corresponds to the third priority.
In operation 809, the communication node may verify candidates for a time slot to be used during a single beacon interval, and select and use a time slot as per priority from among vacant time slots.
In operation 810, the communication node may attempt to transmit a data frame during a time interval for a selected time slot. In operation 811, the communication node may maintain a network connection by periodically transmitting a data frame.
When a data transmission fails in operation 812, the communication node may store failure information in operation 813.
The communication node may determine whether a maximum time of stay is over in operation 814, and may transmit failure information while a time slot is distributed and recognize a release from the network in operation 815 when the maximum time of stay is determined to be over.
The above-described exemplary embodiments of the present invention may be recorded in non-transitory computer-readable media including program instructions to implement various operations embodied by a computer. The media may also include, alone or in combination with the program instructions, data files, data structures, and the like. Examples of non-transitory computer-readable media include magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD ROM discs and DVDs; magneto-optical media such as optical discs; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory (ROM), random access memory (RAM), flash memory, and the like. Examples of program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter. The described hardware devices may be configured to act as one or more software modules in order to perform the operations of the above-described exemplary embodiments of the present invention, or vice versa.
Although a few exemplary embodiments of the present invention have been shown and described, the present invention is not limited to the described exemplary embodiments. Instead, it would be appreciated by those skilled in the art that changes may be made to these exemplary embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2010-0133105 | Dec 2010 | KR | national |