Method and system for synchronizing data between a database system and its client applications
First Claim
Patent Images
1. A computer-implemented method for synchronizing data between a database system and a client database for a client application on a user computing device, the method comprising:
- determining if enhanced synchronization is enabled for a first object, wherein the first object was downloaded to the client database according to a first protocol for controlling access to the database system;
when enhanced synchronization is enabled for the first object, performing a regular synchronization for updating the first object in the client database according to the first protocol for controlling access to the database system;
determining that the first protocol for controlling access to the database system is replaced with a second protocol for controlling access to the database system; and
performing the enhanced synchronization according to the second protocol for controlling access to the database system, wherein the enhanced synchronization comprises;
determining ID of the first object;
querying the database system for ID of at least one object which should be downloaded to the client database according to the second protocol for controlling access to the database;
determining if the ID of the at least one object includes a new ID which is different from the ID of the first object; and
when the ID of the at least one object includes the new ID, querying the database system for an object with the new ID, and downloading the object with the new ID to the client database,wherein the database system is a customer relationship management (“
CRM”
) system and the first object is a data object in the CRM system.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and methods for synchronizing data between a database system and its client applications are provided. After a regular synchronization, objects'"'"' records on a user computing device may be checked against a new sharing rule. Newly shared records may be synced down to the user computing device regardless of timestamps, and all records which the user no longer has access to may be removed from the user computing device. Consequently, data on the user computing device complies with the new sharing rule.
-
Citations
18 Claims
-
1. A computer-implemented method for synchronizing data between a database system and a client database for a client application on a user computing device, the method comprising:
-
determining if enhanced synchronization is enabled for a first object, wherein the first object was downloaded to the client database according to a first protocol for controlling access to the database system; when enhanced synchronization is enabled for the first object, performing a regular synchronization for updating the first object in the client database according to the first protocol for controlling access to the database system; determining that the first protocol for controlling access to the database system is replaced with a second protocol for controlling access to the database system; and performing the enhanced synchronization according to the second protocol for controlling access to the database system, wherein the enhanced synchronization comprises; determining ID of the first object; querying the database system for ID of at least one object which should be downloaded to the client database according to the second protocol for controlling access to the database; determining if the ID of the at least one object includes a new ID which is different from the ID of the first object; and when the ID of the at least one object includes the new ID, querying the database system for an object with the new ID, and downloading the object with the new ID to the client database, wherein the database system is a customer relationship management (“
CRM”
) system and the first object is a data object in the CRM system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer-implemented method for synchronizing data between a database system and a client database for a client application on a user computing device, the method comprising:
-
performing a regular synchronization for updating a first object and a second object in the client database according to a first protocol for controlling access to the database system, wherein the first object and the second object were downloaded to the client database according to the first protocol for controlling access to the database system; and when enhanced synchronization is enabled for the first object, determining that the first protocol for controlling access to the database system is replaced with a second protocol for controlling access to the database system, and performing the enhanced synchronization according to the second protocol for controlling access to the database system, wherein the enhanced synchronization comprises; determining ID of the first object; querying the database system for ID of at least one object which should be downloaded to the client database according to the second protocol for controlling access to the database; determining if the ID of the first object matches any ID of the at least one object; when the ID of the first object does not match any ID of the at least one object, deleting the first object from the client database; determining if the ID of the at least one object includes a new ID which is different from the Ms of the first object and the second object; and when the ID of the at least one object includes the new ID, querying the database system for an object with the new ID, and downloading the object with the new ID to the client database, wherein the database system is a customer relationship management (“
CRM”
) system and the first object is a data object in the CRM system.
-
-
18. A system for synchronizing data between a database system and a client database for a client application on a user computing device, the system comprising:
a sync module in a processor in the database system which receives an instruction for enabling enhanced synchronization for a first object, wherein the first object was downloaded to the client database in a memory in the user computing device according to a first protocol for controlling access to the database system; determines if enhanced synchronization is enabled for the first object; when the enhanced synchronization is enabled for the first object, performs a regular synchronization for updating the first object in the client database according to the first protocol for controlling access to the database system; determines that the first protocol for controlling access to the database system is replaced with a second protocol for controlling access to the database system; and performs the enhanced synchronization according to the second protocol for controlling access to the database system, wherein the enhanced synchronization comprises; receiving a query for ID of at least one object which should be downloaded to the client database according to the second protocol for controlling access to the database; querying the database system for the ID of at least one object; and when the ID of the at least one object includes a new ID which is different from the ID of the first object, querying the database system for an object with the new ID, and transmitting the object with the new ID to the client database, wherein the database system is a customer relationship management (“
CRM”
) system and the first object is a data object in the CRM system.
Specification