1. Field of the Invention
The present invention generally relates to a wireless communication network, and specifically, a method and an apparatus for discovering a node in a wireless self-organized (ad-hoc) network.
2. Description of the Related Art
A technology for discovering an equipment node is very important in a wireless peer-to-peer network. For example, the speed of the data transmission, the speed of the network connection, the safety of the network data transmission and an environment protection element of the network are usually important features of a wireless peer-to-peer network. However, if nodes in the network have to spend a long time to find other nodes, the user satisfaction will decrease with time. Several node discovery protocols for a wireless peer-to-peer network have been provided, however, in most of these protocols, the node discoveries are performed based on internal information of the network.
In U.S. Pat. No. 8,233,495B2, several channels are selected from all of the available wireless channels, which are called social channels; a node in a wireless peer-to-peer network selects a channel as “Discovery Channel” from the social channels, and sends a request in the discovery channel in the form of “Discovery Beacon”; another node determines whether the association between the another node and the node that sends the request has a benefit or not, when the “Discovery Beacon” is received by the another node; and the another node returns a response to the node that sends the request, when the benefit exists. In this way, the two nodes discover each other. However, in this patent, nodes select a “Discovery Channel” independently, and nodes select different “Discovery Channel”. Therefore, it is necessary for the node that sends a request, to scan all social channels so as to discover other nodes, thereby increasing the time for discovering a node.
In Wi-Fi Peer-to-peer (P2P) technology standards (version 1.1) of the Wi-Fi Alliance, a discover process for a P2P node is described. This process includes a Scan Phase and a Find Phase, and the Find Phase includes two state: a Listen State and a Search State. Before entering the Scan Phase, a node selects one channel as a Listen Channel from predetermined three social channels, and listens for this channel in the Listen State. Different nodes may select different listen channels, and the time length of the Listen State is a random value. In the Search State, the node searches all of the three social channels within a predetermined time length. If no node was found, the node enters the Listen State again until another node is searched out or the process times out. The reason why the time length of the Listen State is a random value, is to avoid a state of “dead lock”; however, it is necessary for two nodes to spend time performing the listen and search in the same channel at the same time because of this randomness, namely, the time for discovering a node is increased.
In patent application US2007/0171910A1, a wireless node can discover a target node, perform an authentication of the target device and generate a session key, thereby forming a wireless ad-hoc network. In this invention, a node searches all of the available wireless channels to perform a communication operation. It is generally known that there are many wireless channels, for example, at the frequency band of 2.4 GHz. For example, there are 13 available channels in mainland China, there are 11 available channels in Europe and North America, and there are 14 available channels in Japan. Therefore, the time of the search process in this invention is long.
Therefore, it is necessary to provide a rapid node discovery technology to reduce the time for discovering a node.
In the related art, it is necessary for a node to search all wireless channels to find other nodes, therefore, it is necessary for two nodes to spend time performing operation in the same channel at the same time. The present invention is made in light of the above problems in the related art. In the present invention, nodes select the same channel directly based on unified data information and perform find and communication, therefore, the time for finding a node can be reduced.
According to an aspect of the present invention, a method for discovering a node in a wireless self-organized network includes the steps of determining, by nodes in the network, a unified node discovery channel based on unified information provided by a trusted third party; and finding the node based on the unified node discovery channel.
According to another aspect of the present invention, an apparatus for discovering a node in a wireless self-organized network includes a determination unit configured to determine a unified node discovery channel based on unified information provided by a trusted third party; and a finding unit configured to find the node based on the unified node discovery channel.
The above object and other objects of the present invention will become more apparent from the following detailed description of the embodiments of the present invention when read in conjunction with the accompanying drawings.
In the following, embodiments of the present invention are described in detail with reference to the accompanying drawings, so as to facilitate the understanding of the present invention.
It should be noted that, for a node discovery process, a wireless Peer-to-Peer network is equivalent to a wireless ad-hoc network, therefore in the following description of the present invention, the two kinds of expressions are not distinguished, namely, the two kinds of expressions are alternately used.
As described above, in the technology standard (version 1.1) of the Wi-Fi Peer-to-Peer (P2P) of the WiFi Alliance, a node discovery process of P2P node is described. The node discovery method of the present invention follows this technology standard and improves it. Therefore, in order to facilitate the understanding of the present invention, in the following, the discovery process of the P2P node described in the technology standard will be briefly introduced.
As an example of the node discovery process in the P2P technology standard, the operation of the node 1 is described. In fact, in the node discovery process, other nodes in
In the node discovery process of the above P2P technology standard, the nodes 1 and 2 spend much time performing the listen operation or the search operation in the same channel at the same time. In the embodiment, nodes performing the node discovery process perform the find operation and the search operation directly in the same channel based on unified data information, therefore the time for finding a node can be reduced.
As illustrated in
The unified information provided by the trusted third party may be any information as long as it is the same information for all of the nodes in the wireless ad-hoc network. In this way, the nodes perform the same operation for the same unified information and obtain the same result, that is, determine the unified node discovery channel. For example, a section name which a node in the wireless ad-hoc network belongs to, may be used as the unified information, by digitizing the section name (for example, converting to a corresponding binary number or an ASCII code). As another example, for a wireless ad-hoc network which the area is limited (ARANet), besides a section name, an area encryption key may also be used as the unified information. In the following, as an example of the unified information in the present invention, the ARANet and the area encryption key will be described.
The ARANet is a special wireless ad-hoc network, and includes an area previously limited by a method, such as IR, NFC, ultrasound and microwave. The communication between a node within the limited area and a node out of the limited area cannot be performed, even though the two nodes are located in the range of the communication each other.
As illustrated in
The modulo computation illustrated in
Returning
After the unified node discovery channel is determined, a listen operation and a search operation are performed by the unified node discovery channel. That is, the node for search sends a probe request message only in the channel, and the node for listen performs the listen operation only in the channel. If the node for search receives a probe response message from a node of listen, it means that another node has been found. The detailed process of finding a node by a certain channel is well known in the art, for example, the process of the find phase described in the above P2P technology standard may be used, and the description is omitted here.
In the node discovery method according to the first embodiment of the present invention, the process of finding a node is accelerated by the unified information provided by the trusted third party; therefore, the unified information is very important and it is necessary to guarantee its safety. As an example of the ARANet, it is necessary to guarantee the safety of the area number, because only the nodes within the same ARANet can exchange information each other. Accordingly, in the embodiment, besides the area number, the area encryption key further includes a random encryption key and a counter value, and safety of the area number is guaranteed, by encrypting the area number and the counter value by the random encryption key.
The node discovery method according to the embodiment is different from the first embodiment in that: the safety of the area number is guaranteed by the random encryption key in the step of performing a node finding process by the unified node discovery channel. The detailed description will be described with reference to
In step S52, the node for listen sends a probe response message to the node for search via the unified node discovery channel. This process will be described in detail with reference to
As illustrated in
Returning
As illustrated in
In the following, the node discovery method in the wireless ad-hoc network according to the third embodiment of the present invention will be described.
The node discovery method according to the third embodiment is different from the first embodiment in that: a node scan operation is performed, before the node discovery method described in the first embodiment is performed. The node scan according to the embodiment follows the scan process described in the above technology standard of Wi-Fi Peer-to-Peer (P2P) and improves that.
In the scan process of the technology standard of Wi-Fi Peer-to-Peer (P2P), a scan process defined in the IEEE standard (IEEE Standard 802.11-2007) is used. This description will be described in detail with reference to
As illustrated in
In the embodiment, the time of the scan phase is reduced by using the unified information provided by the trusted third party. Specifically, when a node scanning is preformed, the scanning node broadcasts a probe request message in available channels of the network so as to scan other nodes in the network, and receives only probe response messages for the probe request message that are returned from nodes having the unified information. Similarly, as an example of the ARANet, the area number is added into the probe request message broadcast in the scanning node, only the nodes having the same area number (namely, the nodes that are located the same ARANet to the scanning node) are asked to respond to the probe request message, and the scanning node receives only the probe response messages returned from the nodes having the same area number. In this way, the scanning node does not extend the time length of scanning the current channel from the minimum probe response time to the maximum probe response time when the scanning node receives the probe response message from the nodes having different area number; therefore, the likelihood of extending the time length of scanning a channel from the minimum probe response time to the maximum probe response time is reduced, and the time of scan phase is reduced correspondingly.
<Variation>
The node discovery methods according to the embodiments of the present invention is described above, and a possible variation of the method will be described in the following.
In the above embodiments, the node discovery channel is determined from all of the available channels, when the node of the wireless ad-hoc network determines the unified node discovery channel by using the unified information provided by the trusted third party. In a case where a plurality of ARANets exist, if the node discovery channels determined by the ARANets are the same, the mutual interference of the channel will be large and the communication quality will decrease. In order to avoid this problem, the ARANets may select a channel with small channel interference.
Therefore, in a variation of the present invention, an indicator is used to indicate the allowable degree of the channel interference, and the indicator is included in the area encryption key. In this way, when the area encryption key is used to determine the unified node discovery channel, the nodes select a wireless channel that satisfies the interference condition from all of the available wireless channels. That is, for each of the available channels in the network, it is determined whether the interference condition of the channel is superior to the allowable degree indicated by the indicator or not; and it is determined that the channel is the available channel if the interference condition is superior to the allowable degree indicated by the indicator, otherwise the channel is set as an unavailable channel. And then, the unified node discovery channel is determined by using the area number and the information of the redefined available channels. It should be noted that, since the ARANet is usually configured in a small area, it may be considered that the interference in this area is the same, and the available channels redefined by the nodes in the area is the same.
<Overall Configuration of Node Discovery Apparatus in Wireless Self-Organized Network>
As illustrated in
The basic principle of the present invention is described above with reference to the embodiments. Any one or all of the steps or units of the method or apparatus according to the present invention may be implemented by hardware, software or their combination in any one of computing devices (including a processor, a storage medium, etc.) or a network of computing devices, and it can be implemented by persons skilled in the art who have read the specification of the present application.
Therefore, the present invention may also be realized by a program or a set of programs running on any one of computing devices. The computing devices may be well known general-purpose devices. Therefore, the present invention may also be implemented by providing a program product including program codes for implementing the method or apparatus. That is to say, the program product also belongs to the present invention, and a storage medium storing the program product also belongs to the present invention. Obviously, the storage medium may be any one of well-known storage media or storage media which are to be developed.
In addition, in the apparatus or method of the present invention, units or steps may be divided and/or recombined. The division and/or recombination should be regarded as an equivalent embodiment of the present invention. Steps of the above method may be performed in time order, however the performing sequence is not limited to the time order. Any steps may be performed in parallel or independently.
The above descriptions of the embodiments are just examples, and various modifications, replacements or combinations may be made without departing from the scope of the present invention by persons skilled in the art.
The present application is based on and claims the benefit of priority of Chinese Priority Application No. 201310064506.4 filed on Feb. 28, 2013, the entire contents of which are hereby incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
201310064506.4 | Feb 2013 | CN | national |