Data synchronization and disablement of dependent data fields
Abstract
Methods for synchronizing data in client-server architectures are described. A client stores data in first and second fields. The value stored in the second field depends on the value stored in the first. When the client writes a new value to the first field, it disables writing to the second field. The client sends a refresh request and receives a refresh response from a server. The refresh request and response contain differences in data stored in the client and server fields. If the refresh response includes a new value for the second field, the client writes the value to the second field. A round trip pending flag associated with the first field is set. A data invalid flag associated with the second field is set. New data can be written to a third field when the value of the third field does not depend on the value of the first field.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A computer implemented method for synchronizing data in a client-server architecture, comprising:
receiving a first data value on a client computer, wherein the client computer stores data in a first data field and a second data field and the data value stored in the second data field depends on the data value stored in the first data field;
writing the first data value to the first data field;
disabling writing a new data value to the second data field;
sending a refresh request to a server computer, wherein the refresh request includes one or more data values, and each of the one or more data values is stored in a respective data field in the client computer and differs in value from a corresponding data value that is stored in a corresponding data field in the server computer;
receiving a refresh response from the server computer; and
enabling writing a new data value to the second data field.
2. The computer implemented method of claim 1 , wherein the refresh response includes a second data value, further comprising writing the second data value to the second data field on the client computer.
3. The computer implemented method of claim 2 , wherein the second data value is determined by the server computer and depends on the first data value.
4. The computer implemented method of claim 1 , wherein the refresh response includes one or more data values, and each of the one or more data values is stored in a respective data field in the server computer and differs in value from a corresponding data value that is stored in a corresponding data field in the client computer.
5. The computer implemented method of claim 1 , further comprising setting a round trip pending flag that is associated with the first data field after writing the first data value to the first data field.
6. The computer implemented method of claim 1 , further comprising setting a data invalid flag that is associated with the second data field after writing the first data value to the first data field.
7. The computer implemented method of claim 1 , further comprising receiving a third data value and writing the third data value to a third data field, wherein the data value stored in the third data field does not depend on the data value stored in the first data field.
8. A non-transitory computer-readable medium storing instructions operable to cause a programmable processor to:
receive a first data value on a client computer, wherein the client computer stores data in a first data field and a second data field and the data value stored in the second data field depends on the data value stored in the first data field;
write the first data value to the first data field;
disable writing a new data value to the second data field;
send a refresh request to a server computer, wherein the refresh request includes one or more data values, and each of the one or more data values is stored in a respective data field in the client computer and differs in value from a corresponding data value that is stored in a corresponding data field in the server computer;
receive a refresh response from the server computer; and
enable writing a new data value to the second data field.
9. The non-transitory computer-readable medium of claim 8 , wherein the refresh response includes a second data value, further comprising instructions operable to cause the programmable processor to write the second data value to the second data field on the client computer.
10. The non-transitory computer-readable medium of claim 9 , wherein the second data value is determined by the server computer and depends on the first data value.
11. The non-transitory computer-readable medium of claim 8 , wherein the refresh response includes one or more data values, and each of the one or more data values is stored in a respective data field in the server computer and differs in value from a corresponding data value that is stored in a corresponding data field in the client computer.
12. The non-transitory computer-readable medium of claim 8 , further comprising instructions operable to cause the programmable processor to set a round trip pending flag that is associated with the first data field after writing the first data value to the first data field.
13. The non-transitory computer-readable medium of claim 8 , further comprising instructions operable to cause the programmable processor to set a data invalid flag that is associated with the second data field after writing the first data value to the first data field.
14. The non-transitory computer-readable medium of claim 8 , further comprising instructions operable to cause the programmable processor to receive a third data value and write the third data value to a third data field, wherein the data value stored in the third data field does not depend on the data value stored in the first data field.Join the waitlist — get patent alerts
Track US8510373B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.