Schema updating for synchronizing databases connected by wireless interface
First Claim
Patent Images
1. A method of updating and backing up a database at a portable electronic device, including data records, to accord with an updated schema, the method comprising:
- obtaining at said a portable electronic device the updated schema associated with the database;
comparing at said portable electronic device the updated schema with a previous schema associated with the database, to determine database schema changes, wherein said data records are stored in said database according to said previous schema;
changing the data records at said portable electronic device by deleting a field from each of the data records if the field is deleted in the updated schema;
generating an update command at said portable electronic device based on said comparing, when the updated schema differs from said previous schema, said update command comprising said database schema changes which enables a backup database stored at a server to be updated to accord with the updated schema; and
transmitting said update command from said portable electronic device to said server.
4 Assignments
0 Petitions
Accused Products
Abstract
A method of updating a database, including data records, to accord with an updated schema. The method includes obtaining, at a portable electronic device, the updated schema associated with the database. If a field is deleted in the updated schema, the data records are updated by deleting the field from each of the data records. An update command is transmitted from the portable electronic device for updating the database schema for a corresponding backup database at a server.
-
Citations
26 Claims
-
1. A method of updating and backing up a database at a portable electronic device, including data records, to accord with an updated schema, the method comprising:
-
obtaining at said a portable electronic device the updated schema associated with the database; comparing at said portable electronic device the updated schema with a previous schema associated with the database, to determine database schema changes, wherein said data records are stored in said database according to said previous schema; changing the data records at said portable electronic device by deleting a field from each of the data records if the field is deleted in the updated schema; generating an update command at said portable electronic device based on said comparing, when the updated schema differs from said previous schema, said update command comprising said database schema changes which enables a backup database stored at a server to be updated to accord with the updated schema; and transmitting said update command from said portable electronic device to said server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 17, 18)
-
-
11. A computer program product, comprising a computer usable medium having a computer-readable program code adapted to be executed to implement a method for updating and backing up a database at a portable electronic device, including data records, to accord with an updated schema, the method comprising:
-
obtaining at a portable electronic device the updated schema associated with a database; comparing at said portable electronic device the updated schema with a previous schema associated with the database, to determine database schema changes, wherein said data records are stored in said database according to said previous schema; changing the data records at said portable electronic device by deleting a field from each of the data records if the field is deleted in the updated schema; generating an update command at said portable electronic device based on said comparing, when the updated schema differs from said previous schema, said update command comprising said database schema changes which enables a backup database stored at a server to be updated to accord with the updated schema; and transmitting said update command from said portable electronic device to said server.
-
-
12. A portable electronic device comprising:
-
an input enabled to receive an updated schema associated with a database; a memory enabled to store data records in said database; a processor, connected to the input and the memory, said processor enabled to; compare the updated schema with a previous schema associated with the database, to determine database schema changes, wherein said data records are stored in said database according to said previous schema; change the data records deleting a field from each of the data records if the field is deleted in the updated schema; generating an update command based on said comparing, when the updated schema differs from said previous schema, said update command comprising said database schema changes which enables a backup database stored at a server to be updated to accord with the updated schema; and a transmitter, connected to the processor, said transmitter enabled to transmit said update command to said server. - View Dependent Claims (13)
-
-
14. A method of updating and backing up a database at a portable electronic device, said database comprising data records, to accord with an updated schema, the method comprising:
-
obtaining at said portable electronic device the updated schema associated with the database; comparing at said portable electronic device the updated schema with a previous schema associated with the database, to determine database schema changes, wherein said data records are stored in said database according to said previous schema; changing the data records by; deleting a field from each of the data records, if said database schema changes comprise a deletion of said first field of the data records; modifying field data stored in a second field in each of the data records, if said database schema changes comprise a modification of said second field of the data records; and adding a new field in each of the data records, if said database schema changes comprise an addition of said new field of the data records; generating an update command at said portable electronic device based on said comparing, when the updated schema differs from said previous schema, said update command comprising said database schema changes which enables a backup database stored at a server to be updated to accord with the updated schema; and transmitting said update command from said portable electronic device to the server. - View Dependent Claims (15, 16, 19, 20, 21, 22)
-
-
23. A computer program product, comprising a computer usable medium having a computer-readable program code adapted to be executed to implement a method for updating and backing up a database, at a portable electronic device, said database comprising data records, to accord with an updated schema, said method comprising:
-
obtaining at said portable electronic device the updated schema associated with the database; comparing at said portable electronic device the updated schema with a previous schema associated with the database, to determine database schema changes, wherein said data records are stored in said database according to said previous schema; changing the data records by; deleting a field from each of the data records, if said database schema changes comprise a deletion of said first field of the data records; modifying field data stored in a second field in each of the data records, if said database schema changes comprise a modification of said second field of the data records; and adding a new field in each of the data records, if said database schema changes comprise an addition of said new field of the data records; and generating an update command at said portable electronic device based on said comparing, when the updated schema differs from said previous schema, said update command comprising said database schema changes which enables a backup database stored at a server to be updated, to accord with the updated schema; and transmitting said update command from said portable electronic device to the server.
-
-
24. A portable electronic device comprising:
-
an input enabled to receive an updated database schema associated with a database; a memory enabled to store data records in said database; a processor for executing computer-readable program code embodied in a computer usable medium of the portable electronic device, said computer-readable program code for causing the portable electronic device to; obtain the updated schema associated with the database; compare the updated schema with a previous schema associated with the database, to determine database schema changes, wherein said data records are stored in said database according to said previous schema; change the data records by; deleting a field from each of the data records, if said database schema changes comprise a deletion of said first field of the data records; modifying field data stored in a second field in each of the data records, if said database schema changes comprise a modification of said second field of the data records; and adding a new field in each of the data records, if said database schema changes comprise an addition of said new field of the data records; and generating an update command based on said comparing, when the updated schema differs from said previous schema, said update command comprising said database schema changes which enables a backup database stored at a server to be updated to accord with the updated schema; and transmitting said update command from said portable electronic device to the server. - View Dependent Claims (25)
-
-
26. A method carried out at a server for updating a backup database comprising backup data records stored on the server, to accord with an updated schema operated by a portable electronic device, the method comprising:
-
receiving an update command from the portable electronic device, said update command enables updating a database schema for the backup database, said update command determined at the portable electronic device by comparing an updated schema with a previous schema associated with a database at the portable electronic device, data records at the portable electronic device updated based on the comparison, wherein said data records are stored in said database according to said previous schema; and changing the backup data records according to the update command by; deleting a first field from each of the backup data records if the update command indicates that an associated first field is deleted in the updated schema operated by the portable electronic device, modifying a second field in each of the backup data records, if the update command indicates that an associated second field of a data record stored in the database at the portable electronic device was previously modified when the updated database schema was applied to said database; and adding a new field in each of the backup data records, if the update command indicates that an associated field of a data record stored in the database at the portable electronic device was previously added when the updated database schema was applied to said database.
-
Specification