×
Namespaces

Variants
Actions
(Difference between revisions)

WISE Syncronization Logic

From Nokia Developer Wiki
Jump to: navigation, search
vvsnaresh (Talk | contribs)
(categories added)
croozeus (Talk | contribs)
m (Corrected Typos)
Line 1: Line 1:
 
== Timing ==
 
== Timing ==
* Every device sets the time frame when it is available for syncronization by setting the start time and duration.
+
* Every device sets the time frame when it is available for synchronization by setting the start time and duration.
 
[[Image:WISE_18.png]]
 
[[Image:WISE_18.png]]
  
 
== Example ==
 
== Example ==
* In this example every device has the same starting time for syncronization. Each device starts the process by running as a client and searching for available servers.  
+
* In this example every device has the same starting time for synchronization. Each device starts the process by running as a client and searching for available servers.  
 
* None of them finds an available server and sleeps for a while (random time between MIN time and MAX time).
 
* None of them finds an available server and sleeps for a while (random time between MIN time and MAX time).
 
* Next the devices start a server service and wait for clients. If no client tries to connect within a wait time the device sleeps again and tries to find a server again. The server's wait time varies randomly between MIN time and MAX time.
 
* Next the devices start a server service and wait for clients. If no client tries to connect within a wait time the device sleeps again and tries to find a server again. The server's wait time varies randomly between MIN time and MAX time.
* The ramdom times should cause the devices to be in a condition where one device is running as a server and another is running as a client.
+
* The random times should cause the devices to be in a condition where one device is running as a server and another is running as a client.
* A [[WISE Protocol|syncronization]] is then run between the devices  
+
* A [[WISE Protocol|synchronization]] is then run between the devices  
 
[[Image:WISE_17.png]]
 
[[Image:WISE_17.png]]
  
Line 15: Line 15:
 
* [[WISE Protocol]]
 
* [[WISE Protocol]]
  
[[Category:WLAN]][[Category:Maemo]][[Category:S60]]
+
[[Category:S60]][[Category:Maemo]][[Category:WLAN]]

Revision as of 13:34, 22 January 2009

Timing

  • Every device sets the time frame when it is available for synchronization by setting the start time and duration.

WISE 18.png

Example

  • In this example every device has the same starting time for synchronization. Each device starts the process by running as a client and searching for available servers.
  • None of them finds an available server and sleeps for a while (random time between MIN time and MAX time).
  • Next the devices start a server service and wait for clients. If no client tries to connect within a wait time the device sleeps again and tries to find a server again. The server's wait time varies randomly between MIN time and MAX time.
  • The random times should cause the devices to be in a condition where one device is running as a server and another is running as a client.
  • A synchronization is then run between the devices

WISE 17.png

Links

82 page views in the last 30 days.
×