System, method and computer program product for synchronizing data using data identifying messages
First Claim
1. A computer program product, comprising a non-transitory machine-readable storage medium having a computer readable program code embodied therein, the computer readable program code adapted to be executed to cause a computer to implement a method, the method comprising:
- identifying an update made to a first instance of data stored in a first data set;
generating a message having an identifier that uniquely identifies the first instance of the data to which the update was made as well as a second instance of the data stored in a second data set;
storing the message in a message queue;
retrieving the message from the message queue;
locating the first instance of the data within the first data set, using the identifier included in the message retrieved from the message queue;
identifying a state of the located first instance of the data stored in the first data set;
locating the second instance of the data within the second data set, using the identifier included in the message retrieved from the message queue;
identifying a state of the located second instance of the data stored in the second data set;
comparing the state of the first instance of the data stored in the first data set to the state of the second instance of the data stored in the second data set; and
synchronizing the second instance of the data stored in the second data set and the first instance of the data stored in the first data set, based on the comparison.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for synchronizing data using data identifying messages. These mechanisms and methods for synchronizing data using data identifying messages can enable embodiments to provide notification of a need to synchronize one instance of data with changes made to another instance of data, without necessarily communicating the changes to be made to the other instance of the data. The ability of embodiments to provide synchronization based on such a notification can allow more efficient data synchronization while ensuring that synchronizations are based on up-to-date information.
167 Citations
15 Claims
-
1. A computer program product, comprising a non-transitory machine-readable storage medium having a computer readable program code embodied therein, the computer readable program code adapted to be executed to cause a computer to implement a method, the method comprising:
-
identifying an update made to a first instance of data stored in a first data set; generating a message having an identifier that uniquely identifies the first instance of the data to which the update was made as well as a second instance of the data stored in a second data set; storing the message in a message queue; retrieving the message from the message queue; locating the first instance of the data within the first data set, using the identifier included in the message retrieved from the message queue; identifying a state of the located first instance of the data stored in the first data set; locating the second instance of the data within the second data set, using the identifier included in the message retrieved from the message queue; identifying a state of the located second instance of the data stored in the second data set; comparing the state of the first instance of the data stored in the first data set to the state of the second instance of the data stored in the second data set; and synchronizing the second instance of the data stored in the second data set and the first instance of the data stored in the first data set, based on the comparison. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method, comprising:
-
identifying an update made to a first instance of data stored in a first data set; generating a message having an identifier that uniquely identifies the first instance of the data to which the update was made as well as a second instance of the data stored in a second data set, utilizing a processor; storing the message in a message queue; retrieving the message from the message queue; locating the first instance of the data within the first data set, using the identifier included in the message retrieved from the message queue; identifying a state of the located first instance of the data stored in the first data set; locating the second instance of the data within the second data set, using the identifier included in the message retrieved from the message queue; identifying a state of the located second instance of the data stored in the second data set; comparing the state of the first instance of the data stored in the first data set to the state of the second instance of the data stored in the second data set; and synchronizing the second instance of the data stored in the second data set and the first instance of the data stored in the first data set, based on the comparison.
-
-
14. An apparatus, comprising:
-
a processor for; identifying an update made to a first instance of data stored in a first data set; generating a message having an identifier that uniquely identifies the first instance of the data to which the update was made as well as a second instance of the data stored in a second data set; storing the message in a message queue; retrieving the message from the message queue; locating the first instance of the data within the first data set, using the identifier included in the message retrieved from the message queue; identifying a state of the located first instance of the data stored in the first data set; locating the second instance of the data within the second data set, using the identifier included in the message retrieved from the message queue; identifying a state of the located second instance of the data stored in the second data set; comparing the state of the first instance of the data stored in the first data set to the state of the second instance of the data stored in the second data set; and synchronizing the second instance of the data stored in the second data set and the first instance of the data stored in the first data set, based on the comparison.
-
-
15. A method for transmitting code, comprising:
-
utilizing a processor, transmitting code for identifying an update made to a first instance of data stored in a first data set; transmitting code for generating a message having an identifier that uniquely identifies the first instance of the data to which the update was made as well as a second instance of the data stored in a second data set; transmitting code for storing the message in a message queue; transmitting code for retrieving the message from the message queue; transmitting code for locating the first instance of the data within the first data set, using the identifier included in the message retrieved from the message queue; transmitting code for identifying a state of the located first instance of the data stored in the first data set; transmitting code for locating the second instance of the data within the second data set, using the identifier included in the message retrieved from the message queue; transmitting code for identifying a state of the located second instance of the data stored in the second data set; transmitting code for comparing the state of the first instance of the data stored in the first data set to the state of the second instance of the data stored in the second data set; and transmitting code for synchronizing the second instance of the data stored in the second data set and the first instance of the data stored in the first data set, based on the comparison.
-
Specification