Feature and Technical Overview

Local Navigation

Organizer data process flows

Process flow: Synchronizing organizer data for the first time on a BlackBerry device

  1. A user activates a new BlackBerry® device or upgrades an existing BlackBerry device and receives the service book for the BlackBerry Synchronization Service.
  2. The BlackBerry device requests the synchronization configuration information from the BlackBerry Synchronization Service.

    The configuration information indicates whether wireless data synchronization on the BlackBerry® Enterprise Server is turned on, and which database can be synchronized. The configuration information also provides database synchronization types and conflict resolution settings. All data that the BlackBerry device and BlackBerry Enterprise Server send between each other is compressed and encrypted.

  3. The BlackBerry Synchronization Service returns the configuration information and synchronizes the databases using that information.

    A synchronization agent on the BlackBerry device tracks which databases can be synchronized over the wireless network. If data already exists on both the BlackBerry device and BlackBerry Enterprise Server, the BlackBerry Synchronization Service merges, adds, or updates the records during the synchronization process. If data exists on only the BlackBerry device or BlackBerry Enterprise Server, the BlackBerry Synchronization Service restores the data from the appropriate location. The BlackBerry device and BlackBerry Enterprise Server do not delete records during the initial synchronization process.

    After the BlackBerry Synchronization Service registers a database for wireless data synchronization, it can no longer be synchronized or restored using the BlackBerry® Desktop Software.

The initial synchronization process is complete when the data on the BlackBerry device and the data on the BlackBerry Enterprise Server are synchronized. Future changes on the BlackBerry device or BlackBerry Enterprise Server are synchronized over the wireless network.

If the user changes data on the BlackBerry device or in the organizer application on the user's computer during the initial synchronization process, the BlackBerry Synchronization Service synchronizes the changes after the initial synchronization completes.

If the user connects the BlackBerry device to a computer that is running the BlackBerry® Device Manager, the initial synchronization process can occur over the connection to the BlackBerry Router instead of over the wireless network.

Process flow: Synchronizing subsequent changes to organizer data

  1. A user saves a change to the organizer data or BlackBerry® device settings (for example, a new AutoText entry) on a BlackBerry device or in the organizer application on the user's computer.
  2. Depending on where the user made the change, the BlackBerry device or the BlackBerry® Enterprise Server adds the change to a changelist and sends the changelist to the BlackBerry Synchronization Service.

    The changelist includes the target database and record information for the organizer application.

  3. The BlackBerry Synchronization Service sends a change to organizer data over the wireless network, along with other entries in the changelist for the user.

    The BlackBerry Synchronization Service sends other changes, including BlackBerry device information, time zone information, and backup and restore data, at the batch synchronization interval that is set on the BlackBerry Enterprise Server. By default, the batch synchronization interval is 10 minutes.

    To prevent synchronization errors, the BlackBerry Enterprise Server and BlackBerry device can send only a single changelist at a time for a user account.

    The BlackBerry Synchronization Service writes a synchronization request entry to the SynchRequest table of the BlackBerry Configuration Database, and sends the changed records to the BlackBerry Dispatcher.

  4. The BlackBerry Dispatcher compresses the content, encrypts it using the device transport key of the BlackBerry device, and sends the encrypted content to the BlackBerry Router for delivery to the BlackBerry device.
  5. The BlackBerry device sends a delivery confirmation to the BlackBerry Synchronization Service for each record that it receives.
  6. The BlackBerry Synchronization Service receives delivery confirmations, deletes the corresponding synchronization request entries from the SyncRequest table, and writes an entry to the SyncRecordState table for each delivery confirmation.

    Each organizer database record has a unique identifier that is mapped to a corresponding record on the BlackBerry device.

Process flow: Adding a contact picture on a BlackBerry device

  1. A user adds a picture to a contact in the address book on a BlackBerry® device and saves the change.
  2. The BlackBerry device creates a changelist request to synchronize the changed record. The changelist request includes the updated record information and identifies the address book as the target for the update.

    The BlackBerry device compresses and encrypts the request, and sends the request to the BlackBerry Dispatcher over port 3101.

  3. The BlackBerry Dispatcher uses the device transport key of the BlackBerry device to decrypt and decompress the request, and sends the request to the BlackBerry Synchronization Service.
  4. The BlackBerry Synchronization Service receives the changelist request, writes a synchronization request entry in the SynchRequest table of the BlackBerry Configuration Database, and sends the changed record to the BlackBerry Dispatcher.
  5. The BlackBerry Dispatcher sends the changed record, in XML format, to the BlackBerry Messaging Agent.

    If the file size of the picture exceeds 32 KB, the BlackBerry Messaging Agent rejects the synchronization request.

  6. The BlackBerry Messaging Agent sends the changed record to the messaging server.
  7. The messaging server updates the user’s personal contact list.
  8. The BlackBerry Messaging Agent sends a delivery confirmation to the BlackBerry Dispatcher.
  9. The BlackBerry Dispatcher sends the delivery confirmation to the BlackBerry Synchronization Service.
  10. The BlackBerry Synchronization Service deletes the synchronization request entry from the SyncRequest table, writes an entry in the SyncRecordState table, and sends the delivery confirmation to the BlackBerry Dispatcher.
  11. The BlackBerry Dispatcher encrypts the results using the device transport key of the BlackBerry device, compresses them, and sends them to the BlackBerry Router.
  12. The BlackBerry Router sends the results to the wireless network over port 3101.
  13. The wireless network verifies that the PIN belongs to a valid BlackBerry device and sends the delivery confirmation to the BlackBerry device.

    If the BlackBerry device does not receive the delivery confirmation from the wireless network within 20 minutes, it sends the synchronization request to the wireless network again. If the BlackBerry device does not receive the delivery confirmation within 8 hours, it stops resending the synchronization request to the wireless network.


Was this information helpful? Send us your comments.