Application data synchronization method and apparatus
First Claim
1. An application data synchronization method, wherein the method is applied to a terminal, a first operating system and a second operating system are installed in the terminal, a first application is installed on the first operating system, a second application is installed on the second operating system, and at least one same function is achieved by the first application and the second application, wherein the method comprises:
- when the second application runs on the second operating system, performing the function by using second application data, and updating the second application data according to first application data, and updating the first application data when the first application runs on the first operating system to perform the function, whereinthe first application data and the second application data are stored in the terminal, wherein updating the first application data and the second application data is performed according to a comparison of a first update time of a first file containing the first application data with respect to a second update time of a second file containing the second application data, and is performed using a storage configuration file that stores details for the first application data and second application data including storage locations, storage formats, and data sizes.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention discloses an application data synchronization method and an apparatus. When a first operating system and a second operating system are installed in a terminal, and a first application and a second application that have a same function are installed on the first operating system and the second operating system respectively, the method includes: when the second application runs on the second operating system, performing the function by using second application data, and updating the second application data, where the second application data is updated according to first application data, and the first application data is updated when the first application runs on the first operating system to perform the function; where the first application data and the second application data are stored in the terminal. By using the solutions, sharing of data of a same application between different systems is more convenient and less time-consuming.
-
Citations
21 Claims
-
1. An application data synchronization method, wherein the method is applied to a terminal, a first operating system and a second operating system are installed in the terminal, a first application is installed on the first operating system, a second application is installed on the second operating system, and at least one same function is achieved by the first application and the second application, wherein the method comprises:
-
when the second application runs on the second operating system, performing the function by using second application data, and updating the second application data according to first application data, and updating the first application data when the first application runs on the first operating system to perform the function, wherein the first application data and the second application data are stored in the terminal, wherein updating the first application data and the second application data is performed according to a comparison of a first update time of a first file containing the first application data with respect to a second update time of a second file containing the second application data, and is performed using a storage configuration file that stores details for the first application data and second application data including storage locations, storage formats, and data sizes. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A terminal, wherein a first operating system and a second operating system are installed in the terminal, a first application is installed on the first operating system, a second application is installed on the second operating system, and at least one same function is achieved by the first application and the second application, wherein the terminal comprises:
-
a memory; and a processor in communication with the memory, wherein the processor is configured to; when the second application runs on the second operating system, perform the function by using second application data, and update the second application data according to first application data, and when the first application runs on the first operating system to perform the function, update the first application data, wherein updating the first application data and the second application data is performed according to a comparison of a first update time of a first file containing the first application data with respect to a second update time of a second file containing the second application data, and is performed using a storage configuration file that stores details for the first application data and second application data including storage locations, storage formats, and data sizes; and store the first application data and the second application data. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A terminal, comprising:
-
a first operating system and a second operating system installed in the terminal; memory configured to store system data corresponding to the first operating system and system data corresponding to the second operating system are stored in the memory, wherein a first application is installed on the first operating system, a second application is installed on the second operating system, and at least one same function is achieved by the first application and the second application; a processor configured to; call the system data to correspondingly run the first operating system or the second operating system, when the second application runs on the second operating system, perform the function by using second application data, and update the second application data according to first application data, and when the first application runs on the first operating system to perform the function, update the first application data, wherein updating the first application data and the second application data is performed according to a comparison of a first update time of a first file containing the first application data with respect to a second update time of a second file containing the second application data, and is performed using a storage configuration file that stores details for the first application data and second application data including storage locations, storage formats, and data sizes; and wherein the memory is further configured to store the first application data and the second application data. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. An application data synchronization method, wherein the method is performed by at least one processor of a terminal, a first operating system and a second operating system are installed in the terminal, a first application is installed on the first operating system, a second application is installed on the second operating system, and at least one same function is achieved by the first application and the second application, wherein the method comprises:
-
registering the first application with a middleware application via a first registration request; recording the first registration request by the middleware application in a storage configuration file; when the first application runs on the first operating system, performing the function by using first application data; storing, by the middleware application, the first application data into a shared storage area; registering the second application with the middleware application via a second registration request; recording the second registration request by the middleware application in the storage configuration file; when the second application runs on the second operating system, mapping the shared storage area to a file system of the second operating system by the middleware application according to the storage configuration file, wherein the storage configuration file stores details for the first application data including storage locations, storage formats, and data sizes; and performing the function by the second application by using first application data in the shared storage area according to the mapping. - View Dependent Claims (20, 21)
-
Specification