DEVICE ADDRESS UPDATE BASED ON EVENT OCCURRENCES
Technologies are generally described for updating a device address based on predetermined event occurrences. In some examples, a method performed under control of a first device that is connected to a second device via a communication network may include generating a device address for the first device for use in data communications with the second device via the communication network; re-setting an event counter; detecting a first occurrence of an event associated with the first device; counting, by the event counter, occurrences of the detected event; determining that the counted number of occurrences reaches a threshold value; and generating a new device address for the first device.
1 . A method performed under control of a first device that is connected to a second device via a communication network, the method comprising:
generating a device address for the first device for use in data communications with the second device via the communication network;
re-setting an event counter;
detecting a first occurrence of an event associated with the first device;
counting, by the event counter, occurrences of the detected event;
determining that the counted number of occurrences reaches a threshold value; and
generating a new device address for the first device.
2 . The method of claim 1 , further comprising:
generating at least one data packet based at least in part on the detected first occurrence of the event associated with the first device.
3 . The method of claim 2 , further comprising:
transmitting the generated data packet to the second device via the communication network using the generated device address.
4 . The method of claim 1 , wherein the communication network is a short-range wireless communication network.
5 . The method of claim 1 , wherein the communication network is a network using Bluetooth standard.
6 . The method of claim 1 , wherein the generated device address is a random private address.
7 . The method of claim 1 , wherein the event associated with the first device is a movement of the first device.
8 . The method of claim 1 , wherein the event associated with the first device is a step.
9 . The method of claim 1 , wherein the first device includes at least one of a wearable device, a U/I peripheral device or a medical device.
10 . A user device, comprising:
a connecting unit configured to connect the user device to another device via a communication network;
a detecting unit configured to detect an event associated with the user device;
a packet generating unit configured to generate one or more data packets;
a transmitting unit configured to transmit at least one of the generated data packets to the other device using a device address;
a determining unit configured to determine that a number of the transmitted data packet reaches a threshold value; and
an address generating unit configured to generate a new device address for the user device.
11 . The user device of claim 10 , wherein at least some of the data packets generated by the packet generating unit are associated with the event detected by the detecting unit.
12 . The user device of claim 10 , wherein the device address is generated by the other device.
13 . The user device of claim 10 , wherein the communication network is a short-range wireless communication network.
14 . The user device of claim 10 , wherein the communication network is a network using Bluetooth standard.
15 . The user device of claim 10 , wherein the transmitting unit is further configured to transmit the at least one of the generated data packets to the other device using the new device address after the new device address is generated.
16 . The user device of claim 10 , wherein the device address includes a random private address.
17 . The user device of claim 10 , wherein the event associated with the user device is a movement of the user device.
18 . The user device of claim 10 , wherein the user device includes at least one of a wearable device, a U/I peripheral device or a medical device.
19 . A non-transitory computer-readable storage medium having stored thereon computer-executable instructions that, in response to execution, cause a first device that is connected to a second device via a communication network, to perform operations, comprising:
generating a device address for the first device for use in data communications with the second device via the communication network;
re-setting a packet counter;
generating one or more data packets;
transmitting at least one of the generated data packets to the second device using the device address;
counting, by the packet counter, a number of the transmitted data packets;
determining that the number of the transmitted data packets reaches a threshold value; and
generating a new device address for the first device.
20 . The non-transitory computer-readable storage medium of claim 19 , wherein the operations further comprise:
detecting one or more occurrences of an event associated with the first device.
21 . The non-transitory computer-readable storage medium of claim 20 , wherein at least some of the one or more data packets are associated with the one or more occurrences of the event.
22 . The non-transitory computer-readable storage medium of claim 19 , wherein the operations further comprise:
transmitting the at least one of the generated data packet to the second device via the communication network using the new device address after the new device address is generated.
23 . The non-transitory computer-readable storage medium of claim 19 , wherein the event associated with the first device is a movement of the first device.
24 . The non-transitory computer-readable storage medium of claim 19 , wherein the first device includes at least one of a wearable device, a U/I peripheral device or a medical device.