The present technology pertains to synchronizing data, and more specifically pertains to synchronizing application data, such as current application state information, among multiple platforms.
Computing devices and applications are becoming more commonplace. People use applications on their computing devices every day, especially as mobile applications are growing in number and in function. The various types and models of computing devices are also growing. There are applications that are compatible with a wide variety of computing device platforms. For example, an application can be built to include a version that works on a particular operating system but also have another version(s) that works on another operating system(s). In another example, a gaming application can be installed on a smartphone computing device, on a tablet computing device, as well as on a gaming console system. In other words, in the example, the gaming application can have different versions to work with the different computing devices, which can run different operating systems.
With the increasingly large number of applications and computing devices, it can be difficult for a user to keep track of his data in each of his applications on each of his devices. For example, it can be inconvenient for a user to keep track of his progress in each application on each of his devices. This can reduce the overall user experience associated with using apps on computing devices.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or can be learned by practice of the herein disclosed principles. The features and advantages of the disclosure can be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. These and other features of the disclosure will become more fully apparent from the following description and appended claims, or can be learned by the practice of the principles set forth herein.
Disclosed are systems, methods, and non-transitory computer-readable storage media for multiple platform data storage and synchronization. Various embodiments of the present disclosure enable data to be stored with a network service in a networked environment. The data can include, but is not limited to, data used by an application(s) (i.e., application data).
In some embodiments, an application can be installed on multiple platforms. For example, an application can have different versions to be installed for different computing devices running different operating systems. Often times, a user can use and/or own multiple, different platforms. In one example, the user can have a smartphone device that runs operating system A, a tablet device that runs operating system B, and a desktop computing device that runs operating system C. On each of these devices, the user can have installed a particular application (i.e., one compatible version of the particular application for each operating system). Various embodiments of the present disclosure can enable changes, progress, updates, etc., made on one of the user's devices to be reflected onto the other devices of the user as well, even though the devices may correspond to different platforms (e.g., run different operating systems).
In some embodiments, application data for one version of a user's application on a particular platform can be stored at a network service. Application data for another version of the user's application on another platform can also be stored at the network service. When there is a change, update, etc., to the application data on one of the platforms, the change and/or update can be detected and stored at the network service. The network service can then propagate (i.e., transmit back) the change/update to all the platforms having the user's application, thereby syncing the application data for various versions of the user's application on various platforms (e.g., computing devices with different operating systems).
Moreover, in some embodiments, the disclosed technology can detect conflicts among application data to be synced. The disclosed technology can also provide for approaches to handling the detected conflicts. For example, various embodiments of the present disclosure can provide application programming interface (API) calls useful for implementing various conflict resolution algorithms.
The above-recited and other advantages and features of the disclosure will become apparent by reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only exemplary embodiments of the disclosure and are not therefore to be considered to be limiting of its scope, the principles herein are described and explained with additional specificity and detail through the use of the accompanying drawings in which:
Various embodiments of the disclosure are discussed in detail below. While specific implementations are discussed, it should be understood that this is done for illustration purposes only. A person skilled in the relevant art will recognize that other components and configurations may be used without parting from the spirit and scope of the disclosure.
The disclosed technology addresses the need in the art for storing and syncing data for applications running on various platforms. The disclosed technology can enable application data to be stored with a network and/or online service in a networked environment (e.g., an online content management system). For example, the present disclose can provide application programming interface (API) calls for applications and/or application developers to enable application data to be stored with the network service. In some embodiments, a user's application installed on a first computing device can send application data, such as current state information of the application, to be stored on the network service. If the user's application is also installed on a second computing device, then the application data (e.g., current state information, changes to the application, updates to the application, etc.) stored with the network service can be transmitted to the second computing device, thereby causing the application data for the user's application to be synced with respect to both the first device and the second device. Various data for the user's application can be shared and/or synced among multiple, different platforms (e.g., computing devices running different operating systems). Moreover, the disclosed technology can provide approaches, such as via API calls, for managing conflicts among application data to be synced.
An exemplary system configuration 100 is shown in
In system 100, a user can interact with content management system 106 through client devices 1021, 1022, . . . , 102n(collectively “102”) connected to network 104 by direct and/or indirect communication. Content management system 106 can support connections from a variety of different client devices, such as desktop computers; mobile computers; mobile communications devices, e.g. mobile phones, smart phones, tablets; smart televisions; set-top boxes; and/or any other network enabled computing devices. Client devices 102 can be of varying type, capabilities, operating systems, etc. Furthermore, content management system 106 can concurrently accept connections from and interact with multiple client devices 102.
A user can interact with content management system 106 via a client-side application installed on client device 102i. In some embodiments, the client-side application can include a content management system specific component. For example, the component can be a stand-alone application, one or more application plug-ins, and/or a browser extension. However, the user can also interact with content management system 106 via a third-party application, such as a web browser, that resides on client device 102i and is configured to communicate with content management system 106. In either case, the client-side application can present a user interface (UI) for the user to interact with content management system 106. For example, the user can interact with the content management system 106 via a client-side application integrated with the file system or via a webpage displayed using a web browser application.
Content management system 106 can make it possible for a user to store content, as well as perform a variety of content management tasks, such as retrieve, modify, browse, and/or share the content. Furthermore, content management system 106 can make it possible for a user to access the content from multiple client devices 102. For example, client device 102i can upload content to content management system 106 via network 104. The content can later be retrieved from content management system 106 using the same client device 102i or some other client device 102j.
To facilitate the various content management services, a user can create an account with content management system 106. The account information can be maintained in user account database 150. User account database 150 can store profile information for registered users. In some cases, the only personal information in the user profile can be a username and/or email address. However, content management system 106 can also be configured to accept additional user information.
User account database 150 can also include account management information, such as account type, e.g. free or paid; usage information, e.g. file edit history; maximum storage space authorized; storage space used; content storage locations; security settings; personal configuration settings; content sharing data; etc. Account management module 124 can be configured to update and/or obtain user account details in user account database 150. The account management module 124 can be configured to interact with any number of other modules in content management system 106.
An account can be used to store content, such as documents, text files, audio files, video files, etc., from one or more client devices 102 authorized on the account. The content can also include folders of various types with different behaviors, or other mechanisms of grouping content items together. For example, an account can include a public folder that is accessible to any user. The public folder can be assigned a web-accessible address. A link to the web-accessible address can be used to access the contents of the public folder. In another example, an account can include a photos folder that is intended for photos and that provides specific attributes and actions tailored for photos; an audio folder that provides the ability to play back audio files and perform other audio related actions; or other special purpose folders. An account can also include shared folders or group folders that are linked with and available to multiple user accounts. The permissions for multiple users may be different for a shared folder.
The content can be stored in content storage 160. Content storage 160 can be a storage device, multiple storage devices, or a server. Alternatively, content storage 160 can be a cloud storage provider or network storage accessible via one or more communications networks. Content management system 106 can hide the complexity and details from client devices 102 so that client devices 102 do not need to know exactly where the content items are being stored by content management system 106. In one variation, content management system 106 can store the content items in the same folder hierarchy as they appear on client device 102i. However, content management system 106 can store the content items in its own order, arrangement, or hierarchy. Content management system 106 can store the content items in a network accessible storage (SAN) device, in a redundant array of inexpensive disks (RAID), etc. Content storage 160 can store content items using one or more partition types, such as FAT, FAT32, NTFS, EXT2, EXT3, EXT4, ReiserFS, BTRFS, and so forth.
Content storage 160 can also store metadata describing content items, content item types, and the relationship of content items to various accounts, folders, or groups. The metadata for a content item can be stored as part of the content item or can be stored separately. In one variation, each content item stored in content storage 160 can be assigned a system-wide unique identifier.
Content storage 160 can decrease the amount of storage space required by identifying duplicate files or duplicate segments of files. Instead of storing multiple copies, content storage 160 can store a single copy and then use a pointer or other mechanism to link the duplicates to the single copy. Similarly, content storage 160 can store files more efficiently, as well as provide the ability to undo operations, by using a file version control that tracks changes to files, different versions of files (including diverging version trees), and a change history. The change history can include a set of changes that, when applied to the original file version, produce the changed file version.
Content management system 106 can be configured to support automatic synchronization of content from one or more client devices 102. The synchronization can be platform agnostic. That is, the content can be synchronized across multiple client devices 102 of varying type, capabilities, operating systems, etc. For example, client device 102i can include client software, which synchronizes, via a synchronization module 132 at content management system 106, content in client device 102i's file system with the content in an associated user account. In some cases, the client software can synchronize any changes to content in a designated folder and its sub-folders, such as new, deleted, modified, copied, or moved files or folders. The client software can be a separate software application, can integrate with an existing content management application in the operating system, or some combination thereof. In one example of client software that integrates with an existing content management application, a user can manipulate content directly in a local folder, while a background process monitors the local folder for changes and synchronizes those changes to content management system 106. Conversely, the background process can identify content that has been updated at content management system 106 and synchronize those changes to the local folder. The client software can provide notifications of synchronization operations, and can provide indications of content statuses directly within the content management application. Sometimes client device 102i may not have a network connection available. In this scenario, the client software can monitor the linked folder for file changes and queue those changes for later synchronization to content management system 106 when a network connection is available. Similarly, a user can manually stop or pause synchronization with content management system 106.
A user can also view or manipulate content via a web interface generated and served by user interface module 122. For example, the user can navigate in a web browser to a web address provided by content management system 106. Changes or updates to content in the content storage 160 made through the web interface, such as uploading a new version of a file, can be propagated back to other client devices 102 associated with the user's account. For example, multiple client devices 102, each with their own client software, can be associated with a single account and files in the account can be synchronized between each of the multiple client devices 102.
Content management system 106 can include a communications interface 120 for interfacing with various client devices 102, and can interact with other content and/or service providers 1091, 1092, . . . , 109n (collectively “109”) via an Application Programming Interface (API). Certain software applications can access content storage 160 via an API on behalf of a user. For example, a software package, such as an app on a smartphone or tablet computing device, can programmatically make calls directly to content management system 106, when a user provides credentials, to read, write, create, delete, share, or otherwise manipulate content. Similarly, the API can allow users to access all or part of content storage 160 through a web site.
Content management system 106 can also include authenticator module 126, which can verify user credentials, security tokens, API calls, specific client devices, and so forth, to ensure only authorized clients and users can access files. Further, content management system 106 can include analytics module 134 module that can track and report on aggregate file operations, user actions, network usage, total storage space used, as well as other technology, usage, or business metrics. A privacy and/or security policy can prevent unauthorized access to user data stored with content management system 106.
Content management system 106 can include sharing module 130 for managing sharing content publicly or privately. Sharing content publicly can include making the content item accessible from any computing device in network communication with content management system 106. Sharing content privately can include linking a content item in content storage 160 with two or more user accounts so that each user account has access to the content item. The sharing can be performed in a platform agnostic manner. That is, the content can be shared across multiple client devices 102 of varying type, capabilities, operating systems, etc. The content can also be shared across varying types of user accounts.
In some embodiments, content management system 106 can be configured to maintain a content directory identifying the location of each content item in content storage 160. The content directory can include a unique content entry for each content item stored in the content storage.
A content entry can include a content path that can be used to identify the location of the content item in a content management system. For example, the content path can include the name of the content item and a folder hierarchy associated with the content item. For example, the content path can include a folder or path of folders in which the content item is placed as well as the name of the content item. Content management system 106 can use the content path to present the content items in the appropriate folder hierarchy.
A content entry can also include a content pointer that identifies the location of the content item in content storage 160. For example, the content pointer can include the exact storage address of the content item in memory. In some embodiments, the content pointer can point to multiple locations, each of which contains a portion of the content item.
In addition to a content path and content pointer, a content entry can also include a user account identifier that identifies the user account that has access to the content item. In some embodiments, multiple user account identifiers can be associated with a single content entry indicating that the content item has shared access by the multiple user accounts.
To share a content item privately, sharing module 130 can be configured to add a user account identifier to the content entry associated with the content item, thus granting the added user account access to the content item. Sharing module 130 can also be configured to remove user account identifiers from a content entry to restrict a user account's access to the content item.
To share content publicly, sharing module 130 can be configured to generate a custom network address, such as a uniform resource locator (URL), which allows any web browser to access the content in content management system 106 without any authentication. To accomplish this, sharing module 130 can be configured to include content identification data in the generated URL, which can later be used to properly identify and return the requested content item. For example, sharing module 130 can be configured to include the user account identifier and the content path in the generated URL. Upon selection of the URL, the content identification data included in the URL can be transmitted to content management system 106 which can use the received content identification data to identify the appropriate content entry and return the content item associated with the content entry.
In addition to generating the URL, sharing module 130 can also be configured to record that a URL to the content item has been created. In some embodiments, the content entry associated with a content item can include a URL flag indicating whether a URL to the content item has been created. For example, the URL flag can be a Boolean value initially set to 0 or false to indicate that a URL to the content item has not been created. Sharing module 130 can be configured to change the value of the flag to 1 or true after generating a URL to the content item.
In some embodiments, sharing module 130 can also be configured to deactivate a generated URL. For example, each content entry can also include a URL active flag indicating whether the content should be returned in response to a request from the generated URL. For example, sharing module 130 can be configured to only return a content item requested by a generated link if the URL active flag is set to 1 or true. Thus, access to a content item for which a URL has been generated can be easily restricted by changing the value of the URL active flag. This allows a user to restrict access to the shared content item without having to move the content item or delete the generated URL. Likewise, sharing module 130 can reactivate the URL by again changing the value of the URL active flag to 1 or true. A user can thus easily restore access to the content item without the need to generate a new URL.
While content management system 106 is presented with specific components, it should be understood by one skilled in the art, that the architectural configuration of system 106 is simply one possible configuration and that other configurations with more or less components are also possible.
With reference now to
The system 200 can also include a plurality of computing devices, such as Device 1 (210), Device 2 (212), Device 3 (214), Device 4 (216), Device 5 (218), and Device 6 (220), as shown in
Continuing with
When an app is being executed/run, there can be data corresponding to and/or used by the app (i.e., application data). For example, for a gaming app (i.e., game), there can be state information associated with the user's play. In other words, if the user is at a particular level, has reached a particular state, has achieved a particular score, etc., in the game, then the data about the particular level, state, achievement, etc., for the user can be stored as app data. In another example, a calendar app can include information about a meeting, event, reminder, etc., that the user has set with the calendar app. As such, app data for the calendar app can include information about meetings, events, reminders, etc., for the user. A person with ordinary skill in the art would recognize that there can be various types and kinds of app data that can work in conjunction with the present disclosure.
As shown in
Data 204 for App X for User 1 stored at Network Service 202 can be updated by any one of app data 222, app data 224, or app data 226 from Device 1 (210), Device 2 (212), or Device 3 (214), respectively, even though the three devices can be associated with different platforms (e.g., running different operating systems). In other words, if any one of app data 222, app data 224, or app data 226 has been changed, updated, etc., then the change, update, etc., can be sent to Network Service 202 and be stored at data 204. Then Network Service 202 can propagate the change/update (e.g., data 204) back to app data 222, app data 224, and app data 226, independent of platform. Similarly, data 206 for App X for User 2 can be stored at Network Service 202 and can enable app data sharing/synchronization for app data 228 and app data 230 on Device 3 (214) and Device 4 (216), respectively. Likewise, data 208 for App Y for User 1 stored at Network Service 202 can enable app data sharing/synchronization for app data 232 and app data 234 on Device 5 (218) and Device 6 (220), respectively.
With reference now to
Similarly, app data 310 can handle changes, updates, etc., for App Y for User 1. App data 310 can enable app data sharing/syncing for app data 336 and app data 338 on Device 5 (322) and Device 6 (324), respectively. Likewise, app data 312 can handle/process changes, updates, etc., for App X for User 2 and thereby enable app data sharing/syncing for app data 332 and app data 334 on Device 3 (318) and Device 4 (320), respectively.
Furthermore, in some embodiments, files and/or other data stored with a user account at Network Service 302 can be accessed by an authorized application. For example, file 340 on Network Service 302 can be a file, such as a picture or document of User 2. If User 2 so authorizes, App X (e.g., on Device 3 (318) and/or Device 4 (320)) can access file 340, such as to enhance, modify, and/or otherwise utilize file 340. (Similar to discussions above, Device 1 (314), Device 2 (316), Device 3 (318), Device 4 (320), Device 5 (322), and Device 6 (324), etc., can correspond to client devices 1021, 1022, . . . , 102n of
Continuing with the example, in some embodiments, app data 326 can be generated periodically and then transmitted to Network Service. In some embodiments, app data 326 can be generated and transmitted to Network Service at a specified time(s). In some embodiments, app data 326 can be generated and transmitted to Network Service when the user pauses and/or exits App X 404. In some embodiments, app data 326 can be generated and transmitted to Network Service when a change, update, etc., occurs. When Network Service 302 receives app data 326 (including App X state information 416), it can change/update data 308 for App X for User 1 (304, 412). Accordingly, the changed/updated data 308 (including App X state information 416) can be transmitted back to Device 2 (316) to change/update app data 328 and also to Device 3 (318) to change/update app data 330. As such, any change/update to app data on one device can enable the change/update to be reflected among app data for other linked/synced devices, no matter what platforms the devices are associated with.
Continuing with the example, App X data 508 for User 1 can enable (e.g., handle, manage, process, etc.) data syncing for User 1's App X data on Device 1, Device 2, and Device 3, even though the three devices are on different platforms. App X data 510 for User 2 can enable data syncing for User 2's App X data on Device 3 and Device 4, independent of platform. Moreover, App Y data 512 for User 1 can enable data syncing for User 1's App Y data on Device 5 and Device 6, no matter what platform Like mentioned above, Device 1, Device 2, Device 3, Device 4, Device 5, and Device 6, etc., can correspond to client devices 1021, 1022, . . . , 102n(collectively “102”) of
Once the user is logged in, App X 604 can optionally prompt 610 the user to request authorization to enable app data syncing, as shown in
Assuming that app data syncing has been enabled, state information and/or other app data for App X for User 2 (e.g., 608) can be synced among multiple devices of User 2 running App X. Again, the syncing among multiple devices can be independent of device platforms.
As shown in
Various embodiments of the present disclosure can also enable sync conflict management. A sync conflict can be an event that occurs when pieces of overlapping, but differing, data would overwrite one another. With reference to
In
In some embodiments, a conflict resolution algorithm can be utilized to resolve sync conflicts. In some embodiments, a most-recently-used algorithm can be utilized. As such, API calls can enable the most recent app data to override other data when there is a sync conflict(s). With reference to the previous example, applying the most-recently-used conflict resolution algorithm, Meeting B 726 can override Meeting A 706 because Meeting B was scheduled at a more recent time 728 (e.g., 12:12 on Dec. 12, 2012) than the time 708 at which Meeting A was scheduled (e.g., 12:00 on Dec. 12, 2012).
In another example, a conflict event can occur when multiple contact information entries are entered in an address book app, but the contact information entries contain conflicting contact information. In a further example, a conflict event can occur for a plurality of conflicting document versions. In some cases, the most-recently-used algorithm can resolve conflicting contact information entries and conflicting document versions.
In some embodiments, the conflict resolution algorithm can attempt to resolve conflicts by merging data. In one example, a conflict event can occur for a plurality of conflicting files names. The data merging algorithm can keep the plurality of files with conflicting file names by modifying the file names, thereby preventing the need to overwrite, delete, or substantively modify any files. In another example, a conflict event can occur for contact entries with conflicting contact data. The data merging algorithm can merge the two pieces of conflicting contact data. If, for example, two contact entries have the same name, but one includes only a phone number and the other includes only an email address, the two entries can be merged into one contact entry with the same name and both the phone number and the email address. Similarly, for example, if two contact entries have the same name but two conflicting phone numbers, both phone numbers can be included in a single merged contact entry of the same name. It is contemplated that a person having ordinary skill in the art would recognize various other conflict events.
In some embodiments, the conflict resolution algorithm can involve choosing a state that is associated with a higher prioritized computing device. For example, a user's primary computing device (e.g., smartphone) can have a higher priority than the user's secondary computing device (e.g., tablet). Applying this approach, a meeting event scheduled using the primary device can override an event scheduled using the secondary device. In addition, a person having ordinary skill in the art would recognize various other ways, approaches, and/or implementations for conflict resolution algorithms.
At step 806, the method 800 can communicate with a second version of the application on a second device. The second version of the application can also be associated with the user account. Step 808 can include transmitting the data about the state of the first version to the second version on the second device. In some embodiments, the data about the state of the first version can be utilized, at least in part, to configure the second version to have a state synced with the first version. Also, the first device and the second device can correspond to different platforms. For example, the first and second devices can be running different operating systems.
With reference now to
To enable user interaction with the computing device 1000, an input device 1045 can represent any number of input mechanisms, such as a microphone for speech, a touch-sensitive screen for gesture or graphical input, keyboard, mouse, motion input, speech and so forth. An output device 1035 can also be one or more of a number of output mechanisms known to those of skill in the art. In some instances, multimodal systems can enable a user to provide multiple types of input to communicate with the computing device 1000. The communications interface 1040 can generally govern and manage the user input and system output. There is no restriction on operating on any particular hardware arrangement and therefore the basic features here may easily be substituted for improved hardware or firmware arrangements as they are developed.
Storage device 1030 is a non-volatile memory and can be a hard disk or other types of computer readable media which can store data that are accessible by a computer, such as magnetic cassettes, flash memory cards, solid state memory devices, digital versatile disks, cartridges, random access memories (RAMs) 1025, read only memory (ROM) 1020, and hybrids thereof.
The storage device 1030 can include software modules 1032, 1034, 1036 for controlling the processor 1010. Other hardware or software modules are contemplated. The storage device 1030 can be connected to the system bus 1005. In one aspect, a hardware module that performs a particular function can include the software component stored in a computer-readable medium in connection with the necessary hardware components, such as the processor 1010, bus 1005, display 1035, and so forth, to carry out the function.
Chipset 1060 can also interface with one or more communication interfaces 1090 that can have different physical interfaces. Such communication interfaces can include interfaces for wired and wireless local area networks, for broadband wireless networks, as well as personal area networks. Some applications of the methods for generating, displaying, and using the GUI disclosed herein can include receiving ordered datasets over the physical interface or be generated by the machine itself by processor 1055 analyzing data stored in storage 1070 or 1075. Further, the machine can receive inputs from a user via user interface components 1085 and execute appropriate functions, such as browsing functions by interpreting these inputs using processor 1055.
It can be appreciated that exemplary systems 1000 and 1050 can have more than one processor 1010 or be part of a group or cluster of computing devices networked together to provide greater processing capability.
For clarity of explanation, in some instances the present technology may be presented as including individual functional blocks including functional blocks comprising devices, device components, steps or routines in a method embodied in software, or combinations of hardware and software.
In some embodiments the computer-readable storage devices, mediums, and memories can include a cable or wireless signal containing a bit stream and the like. However, when mentioned, non-transitory computer-readable storage media expressly exclude media such as energy, carrier signals, electromagnetic waves, and signals per se.
Methods according to the above-described examples can be implemented using computer-executable instructions that are stored or otherwise available from computer readable media. Such instructions can comprise, for example, instructions and data which cause or otherwise configure a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. Portions of computer resources used can be accessible over a network. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, firmware, or source code. Examples of computer-readable media that may be used to store instructions, information used, and/or information created during methods according to described examples include magnetic or optical disks, flash memory, USB devices provided with non-volatile memory, networked storage devices, and so on.
Devices implementing methods according to these disclosures can comprise hardware, firmware and/or software, and can take any of a variety of form factors. Typical examples of such form factors include laptops, smart phones, small form factor personal computers, personal digital assistants, and so on. Functionality described herein also can be embodied in peripherals or add-in cards. Such functionality can also be implemented on a circuit board among different chips or different processes executing in a single device, by way of further example.
The instructions, media for conveying such instructions, computing resources for executing them, and other structures for supporting such computing resources are means for providing the functions described in these disclosures.
Although a variety of examples and other information was used to explain aspects within the scope of the appended claims, no limitation of the claims should be implied based on particular features or arrangements in such examples, as one of ordinary skill would be able to use these examples to derive a wide variety of implementations. Further and although some subject matter may have been described in language specific to examples of structural features and/or method steps, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to these described features or acts. For example, such functionality can be distributed differently or performed in components other than those identified herein. Rather, the described features and steps are disclosed as examples of components of systems and methods within the scope of the appended claims.