Low energy mutual detection of nearby short range transceivers
A method of detecting nearby monitoring devices by a monitoring device, including using an internal real-time clock to keep track of periodic preselected times for the monitoring devices to communicate with each other; upon approaching the preselected times, using a processor and short range transceiver to perform a three stage process that enables nearby monitoring devices to take turns communicating their identity to each other.
1. A method of detecting nearby monitoring devices by a monitoring device, comprising:
using an internal real-time clock to keep track of periodic preselected times for the monitoring devices to attempt to communicate with each other;
upon approaching the preselected times, using a processor and short range transceiver to perform the following three stages:
a) placing the monitoring device in receive mode for a first selected amount of time before reaching the periodic preselected times; wherein in receive mode the monitoring device is configured to listen for control signals identifying a transmitting monitoring device from nearby monitoring devices;
b) placing the monitoring device in receive mode for a second selected amount of time and upon completing without detecting nearby monitoring devices, the monitoring device transmits its control signal:
c) placing the monitoring device in receive mode for a third selected amount of time after transmitting the control signal;
at any stage while in receive mode upon detecting a control signal transmitted from a nearby monitoring device the monitoring device waits until the end of the transmission of the control signal and records the identity of the nearby monitoring device detected;
during the first selected amount of time and the third selected amount of time the monitoring device resumes monitoring in receive mode until completing the respective selected amount of time; during the second selected amount of tune the monitoring device restarts stage b after recording the identity of the detected nearby monitoring device, without transmitting the control signal of the monitoring device.
2. The method of claim 1 , wherein the second selected amount of time is unique for each monitoring device.
3. The method of claim 1 , wherein the second selected amount of time is randomly selected.
4. The method of claim 3 , wherein the second selected amount of time is reselected each time stage b is restarted.
5. The method of claim 1 , wherein the first selected amount of time and third selected amount of time are selected based on the number of monitoring devices expected to be nearby.
6. The method of claim 1 , wherein the first selected amount of time and third selected amount of time are the same for all the monitoring devices.
7. The method of claim 1 , wherein the first selected amount of time and third selected amount of time are the same for each monitoring device.
8. The method of claim 1 , wherein communication time to detect nearby monitoring devices is less than a tenth of a time between two consecutive periodic preselected times.
9. The method of claim 1 , wherein the first selected amount of time is selected as a function of the accuracy of the internal real-time clock of the monitoring devices and accuracy of the synchronization between the monitoring devices.
10. The method of claim 1 , wherein the second selected amount of time is smaller than the third selected amount of time.
11. A monitoring device, comprising:
a processor and memory configured to store and execute a program to detect nearby monitoring devices;
a real-time clock configured to keep track of periodic preselected times for the monitoring devices to communicate with nearby monitoring devices;
a short range transceiver configured to communicate with nearby monitoring devices;
wherein the processor executes a program to perform the following three stages upon approaching the periodic preselected times:
a) placing the monitoring device in receive mode for a first selected amount of time before reaching the periodic preselected times; wherein in receive mode the monitoring device is configured to listen for control signals identifying a transmitting monitoring device from nearby monitoring devices;
b) placing the monitoring device in receive mode for a second selected amount of time and upon completing without detecting nearby monitoring devices, the monitoring device transmits its control signal:
c) placing the monitoring device in receive mode for a third selected amount of time after transmitting the control signal;
at any stage while in receive mode upon detecting a control signal transmitted from a nearby monitoring device the monitoring device waits until the end of the transmission of the control signal and records the identity of the nearby monitoring device detected;
during the first selected amount of time and the third selected amount of time the monitoring device resumes monitoring in receive mode until completing the respective selected amount of time; during the second selected amount of time the monitoring device restarts stage b after recording the identity of the detected nearby monitoring device, without transmitting the control signal of the monitoring device.
12. The monitoring device of claim 11 , wherein the second selected amount of time is unique for each monitoring device.
13. The monitoring device of claim 11 , wherein the second selected amount of time is randomly selected.
14. The monitoring device of claim 13 , wherein the second selected amount of time is reselected each time stage b is restarted.
15. The monitoring device of claim 11 , wherein the first selected amount of time and third selected amount of time are selected based on the number of monitoring devices expected to be nearby.
16. The monitoring device of claim 11 , wherein the first selected amount of time and third selected amount of time are the same for all the monitoring devices.
17. The method monitoring device of claim 11 , wherein the first selected amount of time and third selected amount of time are the same for each monitoring device.
18. The monitoring device of claim 11 , wherein communication time to detect nearby monitoring devices is less than a tenth of a time between two consecutive periodic preselected times.
19. The monitoring device of claim 11 , wherein the first selected amount of time is selected as a function of the accuracy of the internal real-time clock of the monitoring devices and accuracy of the synchronization between the monitoring devices.
20. The monitoring device of claim 11 , wherein the second selected amount of time is smaller than the third selected amount of time.