Patent ID: 7869807

Claim:
A method of managing a code for use in a wireless telecommunications system including a plurality of wireless devices, each of the plurality of wireless devices having a specific address, and independently generating a code for identifying the wireless device, declaring the specific address and the code on a beacon signal and participating in a communications network, said method comprising: a first step of allowing one wireless device among the plurality of wireless devices which wishes to participate in the communications network to use a hash function based on the specific address of the one wireless device and a time at which the one wireless device wishes to participate to generate a code for the one wireless device; a second step of registering the code for the one wireless device in association with the specific address of the one wireless device; a third step of receiving a beacon signal transmitted from an other wireless device among the plurality of wireless devices and determining whether or not the code included in the signal conflicts with the code for the one wireless device; a fourth step of storing, when said third step detects a non-conflicting new code, the new code in association with the specific address of the other wireless device; a fifth step of searching, when said third step detects a conflicting code, codes stored in the one wireless device for a code that has a predetermined relationship with the conflicting code according to a relation in magnitude between the specific addresses of the one wireless device and the other wireless device; and a sixth step of updating the code for the one wireless device registered in said second step to the code that is searched for in said fifth step, wherein the code having the predetermined relationship is an unused code larger than the conflicting code detected in said third step when the specific address of the one wireless device is larger than the specific address of the other wireless device, and an unused code smaller than the conflicting code detected in said third step when the specific address of the one wireless device is smaller than the specific address of the other wireless device.