Maintaining state synchronization of an application between computing devices as well as maintaining state synchronization of common information between different applications without requiring periodic synchronization

Information

  • Patent Grant
  • 10313436
  • Patent Number
    10,313,436
  • Date Filed
    Wednesday, October 25, 2017
    7 years ago
  • Date Issued
    Tuesday, June 4, 2019
    5 years ago
Abstract
A method, system and computer program product for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications. A server receives a request from a client device to access a shared state scope. A shared state scope is a data store that physically resides on the server, where the data store stores state information. The state information stored in these scopes can be shared among multiple instances of an application residing on multiple client devices. Furthermore, the state information may include common information that is shared among different applications. Upon the server providing access to the requested scope, the server receives an update to the state information stored within the requested scope from the requesting client device. The server then notifies other client devices regarding the update to the state information that have access to the shared state scope.
Description
TECHNICAL FIELD

The present invention relates generally to state synchronization, and more particularly to maintaining state synchronization of an application between computing devices (e.g., between a mobile computing device and a desktop computing device) as well as maintaining state synchronization of common information (e.g., user information) between different applications without requiring periodic synchronization.


BACKGROUND

Today, users may often use multiple computing devices, such as mobile computing devices and desktop computing devices. In addition, such users may utilize multiple instances of an application on these computing devices. For example, instances of an e-mail application may be loaded onto a laptop computer, a smartphone and a desktop computer. In this way, the user may have access to the same application and/or application data on multiple devices. For instance, the user may check an e-mail account on the user's desktop computer at home and then later check the e-mail account on the user's smartphone while running errands.


As a result of having multiple instances of an application on multiple devices, the application state, such as application settings, for each of the instances of the application needs to be synchronized in order for the user to be provided with a seamless and consistent experience. That is, the application state, such as application settings, for each of the instances of the application needs to be synchronized in order for each application to perform consistently regardless of which device the user is using. For example, if the user configures a new e-mail account within an e-mail application on a laptop computer, then the new e-mail account should be reflected within the e-mail application on the user's desktop computer. As a result, the application state for each of the instances of the application needs to be synchronized.


Currently, such instances of an application become synchronized by creating an interface with a remote service (e.g., web services, such as JAX-RS services) and have those instances periodically synchronize in order to maintain consistency. Unfortunately, such a synchronization process occurs at unpredictable times. Furthermore, such a synchronization process may have unpredictable results depending on which application instance is synchronized first.


SUMMARY

In one embodiment of the present invention, a method for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications comprises receiving a request to access a scope from a first client device, where the scope comprises a data store storing state information. The method further comprises receiving an update to the state information stored within the scope from the first client device. The method additionally comprises notifying, by a processor, a second client device that has access to the scope regarding the update to the state information stored within the scope.


Other forms of the embodiment of the method described above are in a system and in a computer program product.


The foregoing has outlined rather generally the features and technical advantages of one or more embodiments of the present invention in order that the detailed description of the present invention that follows may be better understood. Additional features and advantages of the present invention will be described hereinafter which may form the subject of the claims of the present invention.





BRIEF DESCRIPTION OF THE DRAWINGS

A better understanding of the present invention can be obtained when the following detailed description is considered in conjunction with the following drawings, in which:



FIG. 1 illustrates a network system configured in accordance with an embodiment of the present invention;



FIG. 2 illustrates a hardware configuration of a server in accordance with an embodiment of the present invention;



FIG. 3 is a flowchart of a method for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications in accordance with an embodiment of the present invention;



FIG. 4 illustrates a client device accessing state information stored in a shared state scope in accordance with an embodiment of the present invention;



FIG. 5 illustrates synchronizing state information of an application among multiple instances of the application in accordance with an embodiment of the present invention; and



FIG. 6 illustrates synchronizing state information of an application among multiple instances of the application as well as synchronizing common information used by different applications in accordance with an embodiment of the present invention.





DETAILED DESCRIPTION

The present invention comprises a method, system and computer program product for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications. In one embodiment of the present invention, a server receives a request from a client device to access a shared state scope. A shared state scope is a data store (e.g., map, database) that physically resides on the server, where the data store stores state information and includes rules directed to defining the type of state information (e.g., user-wide state information, device-wide state information, application-specific state information) stored within the data store as well as rules directed to defining the lifecycle of the state information (e.g., duration of time that the state information is valid). The state information stored in these shared state scopes can be shared among multiple instances of an application residing on multiple client devices. Furthermore, the state information may include common information (e.g., user information) that is shared among different applications. Upon the server providing access to the state information stored within the requested shared state scope to the requesting client device, the server receives an update to the state information that was performed by the requesting client device. The server then notifies one or more other client devices regarding the update to the state information that have access to the shared state scope. In this manner, the state information of an application is synchronized among multiple instances of the application without requiring periodic synchronization. Furthermore, the state information containing common information used by different applications can be synchronized among these applications without requiring periodic synchronization.


In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced without such specific details. In other instances, well-known circuits have been shown in block diagram form in order not to obscure the present invention in unnecessary detail. For the most part, details considering timing considerations and the like have been omitted inasmuch as such details are not necessary to obtain a complete understanding of the present invention and are within the skills of persons of ordinary skill in the relevant art.


Referring now to the Figures in detail, FIG. 1 illustrates a network system 100 for practicing the principles of the present invention in accordance with an embodiment of the present invention. Network system 100 includes client devices 101A-101C (identified as “Client Device A,” “Client Device B,” and “Client Device C,” respectively, in FIG. 1) connected to a server 102 via a network 103. Client devices 101A-101C may collectively or individually be referred to as client devices 101 or client device 101, respectively. Client device 101 may be any type of computing device (e.g., portable computing unit, Personal Digital Assistant (PDA), smartphone, laptop computer, mobile phone, navigation device, game console, desktop computer system, workstation, Internet appliance and the like) configured with the capability of connecting to network 103 and consequently communicating with other client devices 101 and server 102. Client devices 101 and server 102 may communicate with each other using any protocol, including, but not limited to, client devices 101 using a Representational State Transfer (REST) service to communicate with server 102 and server 102 using a push channel to communicate with clients 101.


In one embodiment, server 102 is configured to store state information (e.g., application settings) in multiple partitions or “shared state scopes” (also referred to as simply “scopes”). As will be discussed in further detail below, a shared state scope is a data store (e.g., map, database) that physically resides on server 102, where the data store includes rules directed to defining the type of state information (e.g., user-wide state information, device-wide state information, application-specific state information) stored within the data store as well as rules directed to defining the lifecycle of the state information (e.g., duration of time that the state information is valid). Furthermore, the principles of the present invention cover all different types of scopes, including a user scope (partition with user-wide state information), an application scope (partition with application-specific state information), a device scope (partition with device-wide state information) and a global scope (partition of data that any application can access). The state information stored in these shared state scopes can be shared among the multiple instances of an application residing on multiple client devices 101. For example, the state information in a shared state scope can be shared among an instance of an application on a laptop computer and an instance of the application on a desktop computer. Furthermore, the state information may include common information (e.g., user information) that is shared among different applications. For example, common user information may be shared among multiple different applications thereby negating the requirement of each application maintaining a separate copy of common user information. In this manner, the state information of an application having multiple instances on multiple client devices 101 can be synchronized among these client devices 101 (e.g., between a mobile computing device and a desktop computing device) without requiring periodic synchronization as discussed further below. Furthermore, in this manner, the state information containing common information used by different applications can be synchronized among these applications without requiring periodic synchronization as discussed further below. A description of the hardware configuration of server 102 is provided below in connection with FIG. 2.


Network 103 may be, for example, a local area network, a wide area network, a wireless wide area network, a circuit-switched telephone network, a Global System for Mobile Communications (GSM) network, Wireless Application Protocol (WAP) network, a WiFi network, an IEEE 802.11 standards network, various combinations thereof, etc. Other networks, whose descriptions are omitted here for brevity, may also be used in conjunction with system 100 of FIG. 1 without departing from the scope of the present invention.


While FIG. 1 illustrates three clients 101A-101C and a single server 102, network system 100 may include any number of clients 101 and servers 102. The embodiments of network system 100 are not to be limited in scope to the depiction of FIG. 1.


Referring now to FIG. 2, FIG. 2 illustrates a hardware configuration of server 102 (FIG. 1) which is representative of a hardware environment for practicing the present invention. Server 102 has a processor 201 coupled to various other components by system bus 202. An operating system 203 runs on processor 201 and provides control and coordinates the functions of the various components of FIG. 2. An application 204 in accordance with the principles of the present invention runs in conjunction with operating system 203 and provides calls to operating system 203 where the calls implement the various functions or services to be performed by application 204. Application 204 may include, for example, a program for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications as discussed further below in association with FIGS. 3-6.


Referring again to FIG. 2, read-only memory (“ROM”) 205 is coupled to system bus 202 and includes a basic input/output system (“BIOS”) that controls certain basic functions of server 102. Random access memory (“RAM”) 206 and disk adapter 207 are also coupled to system bus 202. It should be noted that software components including operating system 203 and application 204 may be loaded into RAM 206, which may be server's 102 main memory for execution. Disk adapter 207 may be an integrated drive electronics (“IDE”) adapter that communicates with a disk unit 208, e.g., disk drive. In one embodiment, disk unit 208 stores the shared state scopes (data stores) as discussed further below. It is noted that the program for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications, as discussed further below in association with FIGS. 3-6, may reside in disk unit 208 or in application 204.


Server 102 may further include a communications adapter 209 coupled to bus 202. Communications adapter 209 interconnects bus 202 with an outside network (e.g., network 103 of FIG. 1) thereby enabling server 102 to communicate with client 101 (FIG. 1).


The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.


The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.


Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.


Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.


Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.


These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.


The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.


The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.


As stated in the Background section, as a result of having multiple instances of an application on multiple devices, the application state, such as application settings, for each of the instances of the application needs to be synchronized in order for the user to be provided with a seamless and consistent experience. That is, the application state, such as application settings, for each of the instances of the application needs to be synchronized in order for each application to perform consistently regardless of which device the user is using. For example, if the user configures a new e-mail account within an e-mail application on a laptop computer, then the new e-mail account should be reflected within the e-mail application on the user's desktop computer. As a result, the application state for each of the instances of the application needs to be synchronized. Currently, such instances of an application become synchronized by creating an interface with a remote service (e.g., web services, such as JAX-RS services) and have those instances periodically synchronize in order to maintain consistency. Unfortunately, such a synchronization process occurs at unpredictable times. Furthermore, such a synchronization process may have unpredictable results depending on which application instance is synchronized first.


The principles of the present invention provide a means for synchronizing the state information of an application among multiple instances of the application without requiring periodic synchronization as discussed further below in connection with FIGS. 3-6. Furthermore, the state information containing common information used by different applications can be synchronized among these applications without requiring periodic synchronization as discussed further below in connection with FIGS. 3-6. FIG. 3 is a flowchart of a method for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications. FIG. 4 illustrates a client device accessing state information stored in a shared state scope. FIG. 5 illustrates synchronizing state information of an application among multiple instances of the application. FIG. 6 illustrates synchronizing state information of an application among multiple instances of the application as well as synchronizing common information used by different applications.


As stated above, FIG. 3 is a flowchart of a method 300 for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications in accordance with an embodiment of the present invention.


Referring to FIG. 3, in conjunction with FIGS. 1-2, in step 301, server 102 receives a request from client device 101 (e.g., client device 101A) to access a shared state scope, where the shared state scope is a data store (e.g., map, database) configured to store state information. State information, as used herein, refers to information used/accessed by an application, including, but not limited to, user-wide state information, device-wide state information and application-specific state information. Furthermore, in one embodiment, the data store includes rules directed to defining the type of state information (e.g., user-wide state information, device-wide state information, application-specific state information) stored within the data store as well as rules directed to defining the lifecycle of the state information (e.g., duration of time that the state information is valid). The state information stored in these shared state scopes can be shared among the multiple instances of an application residing on multiple client devices 101. For example, the state information in a shared state scope can be shared among an instance of an application on a laptop computer and an instance of the application on a desktop computer. Furthermore, the state information may include common information (e.g., user information) that is shared among different applications. For example, common user information may be shared among multiple different applications thereby negating the requirement of each application maintaining a separate copy of common user information. An illustration of client device 101 requesting to access a shared state scope is provided in connection with FIG. 4.


Referring to FIG. 4, FIG. 4 illustrates client device 101 accessing state information stored in a shared state scope in accordance with an embodiment of the present invention. As illustrated in FIG. 4, client device 101 issues a request (identified by the arrow labeled “request access to scope”) to access a shared state scope 401A-401D (identified as “Scope A,” “Scope B,” “Scope C,” and “Scope D,” respectively, in FIG. 4) in server 102, such as in disk unit 208. Shared state scopes 401A-401D may collectively or individually be referred to as shared state scopes 401 or shared state scope 401, respectively. As discussed above, each shared state scope 401 may correspond to a partition of data, where each scope 401 corresponds to a data store.


Returning to FIG. 3, in conjunction with FIGS. 1-2 and 4, in step 302, a determination is made by server 102 as to whether the requesting client device 101 is authorized to access the requested shared state scope 401. For example, client device 101 may have to provide configuration information to server 102 in order to be granted access to an instance of the requested shared state scope 401. For instance, if client device 101 is requesting the shared state scope 401 for a particular user, then client device 101 would have to identify the user in question.


If client device 101 is not authorized to access the requested shared state scope 401, then, in step 303, server 102 does not provide access to the requested shared state scope 401 to the requesting client device 101.


If, however, client device 101 is authorized to access the requested shared state scope 401, then, in step 304, server 102 provides access to the state information (e.g., user-wide state information, device-wide state information, application-specific state information) stored within the requested shared state scope 401 to the requesting client device 101 as illustrated in FIG. 4 (identified by the arrow labeled “state information of scope”).


In step 305, server 102 receives an update to the state information by the requesting client device 101. For example, once client device 101 obtains the state information stored in the requested shared state scope 401, client device 101 may perform various operations on the state information. For example, if the user of client device 101 configures a new e-mail account within an e-mail application, then the state information directed to application settings is modified/updated to reflect the new e-mail account. Client device 101 may immediately send the update to the state information to server 102 or after a period of time, such as in the case where shared state scope 401 is defined as only being accessible by one client device 101 at a time. In such a scenario (where shared state scope 401 is defined as only being accessible by one client device 101 at a time), client device 101 may simply send all of its updates to server 102 at one particular time.


In step 306, a determination is made by server 102 as to whether there are other instances of the application, whose state information was updated, being used by other client devices 101 with access to the requested shared state scope 401.


If there are other instances of the application, whose state information was updated, being used by other client devices 101 with access to the requested shared state scope 401, then, in step 307, server 102 notifies those client device(s) 101 with access to the requested shared state scope 401 regarding the update to the state information for the application as illustrated in FIG. 5. FIG. 5 illustrates synchronizing state information of an application among multiple instances of the application in accordance with an embodiment of the present invention.


Referring to FIG. 5, if client device 101A had previously received access to the state information from the requested shared state scope 401A and such state information was updated, then client device 101A sends an update to the state information to server 102 (identified by the arrow labeled as “update Scope A”). If there is another client device 101B using an instance of the application whose state information was updated and has access to the updated shared state scope 401A, then server 102 notifies that client device 101B regarding the update to the state information for the application (identified by the arrow labeled as “Scope A updated”). For instance, referring to the example discussed above, if the user of client device 101A (e.g., laptop computer) configures a new e-mail account within an e-mail application, then the state information directed to application settings is modified/updated to reflect the new e-mail account. Such updates will then be notified by server 102 to other client devices 101 (e.g., client device 101B, such as a desktop computer) using another instance of the application. In this manner, the new e-mail account will be reflected within the e-mail application on client device 101B without requiring periodic synchronization.


Referring again to FIG. 3, in conjunction with FIGS. 1-2, if, however, there are no other instances of the application, whose state information was updated, being used by other client devices 101 with access to the requested shared state scope 401, then, in step 308, a determination is made by server 102 as to whether the updated state information corresponds to common information (e.g., user information) used by different applications from client devices 101 with access to the requested shared state scope 401. That is, in step 308, a determination is made by server 102 as to whether the updated state information corresponds to common information (e.g., user information) that is shared among different applications.


If the updated state information corresponds to common information that is shared among different applications from client devices 101 with access to the requested shared state scope 401, then, in step 309, server 102 notifies other client device(s) 101 with access to the requested shared state scope regarding the update to the common information used by other application(s) of the notified client device(s) 101 as illustrated in FIG. 6.



FIG. 6 illustrates synchronizing state information of an application among multiple instances of the application as well as synchronizing common information used by different applications in accordance with an embodiment of the present invention.


Referring to FIG. 6, client device 101A includes an instance of an application designated as “Application A” 601 and an instance of an application designated as “Application B” 602A. Furthermore, as shown in FIG. 6, another client device 101, client device 101B, includes a second instance of “Application B” 602B. Additionally, as illustrated in FIG. 6, client device 101A updates the state information directed to user-wide state information, such as updating the “lastName” of a user, which is used by “Application A” 601 of client device 101A. As discussed above, client device 101A sends the update to server 102 (indicated by the arrow labeled as “update “lastName””). If such state information is “common information” that is shared among different applications, such as “Application B” 602A-602B, then server 102 notifies other client device(s) 101, such as client devices 101A, 101B, regarding the update to the common information used by other application(s), such as the instances of “Application B” 602A, 602B of client device 101A, 101B, respectively, as illustrated in FIG. 6 (indicated by the arrow labeled as ““lastName” updated”). In this manner, the state information containing common information used by different applications can be synchronized among these applications without requiring periodic synchronization as opposed to requiring each application to maintain their own separate copy of common information.


Furthermore, FIG. 6 illustrates an update to an applications' state information where such an update needs to be reflected among the other instances of the application. For example, as shown in FIG. 6, a feature of “Application B” 602A of client device 101A was updated, and, as a result, client device 101A sends the update to server 102 (indicated by the arrow labeled as “update “feature””). As discussed above in connection with step 307, server 102 notifies those client device(s) 101, such as client device 101B, containing other instance(s) of the application, such as “Application B” 602B, whose state information was updated (indicated by the arrow labeled as ““feature” updated.” In this manner, the state information of an application is synchronized among multiple instances of the application without requiring periodic synchronization.


Referring again to step 308 of FIG. 3, in conjunction with FIGS. 1-2, if, however, the updated state information does not correspond to common information that is shared among different applications from client devices 101 with access to the requested shared state scope, then, in step 310, server 102 does not notify other client devices 101 regarding such an update to the state information.


In some implementations, method 300 may include other and/or additional steps that, for clarity, are not depicted. Further, in some implementations, method 300 may be executed in a different order presented and that the order presented in the discussion of FIG. 3 is illustrative. Additionally, in some implementations, certain steps in method 300 may be executed in a substantially simultaneous manner or may be omitted.


The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims
  • 1. A computer program product for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code comprising the programming instructions for: receiving a request to access a scope out of a plurality of scopes from a first client device, wherein each of said plurality of scopes corresponds to a partition of data, wherein said scope comprises a data store storing state information;receiving an update to said state information stored within said scope from said first client device; andnotifying a second client device that has access to said scope regarding said update to said state information stored within said scope.
  • 2. The computer program product as recited in claim 1, wherein said state information is shared among a first instance and a second instance of said application, wherein said first instance of said application resides on said first client device, wherein said second instance of said application resides on said second client device.
  • 3. The computer program product as recited in claim 2, wherein the program code further comprises the programming instructions for: providing access to said state information stored within said scope to said first client device; andreceiving said update to said state information for said first instance of said application from said first client device.
  • 4. The computer program product as recited in claim 1, wherein said state information comprises common information shared between a first application and a second application.
  • 5. The computer program product as recited in claim 4, wherein the program code further comprises the programming instructions for: receiving said update to said common information used by said first application residing on said first client device from said first client device.
  • 6. The computer program product as recited in claim 5, wherein the program code further comprises the programming instructions for: notifying said second client device regarding said update to said common information to be used by said second application residing on said second client device.
  • 7. The computer program product as recited in claim 5, wherein the program code further comprises the programming instructions for: notifying said first client device regarding said update to said common information to be used by said second application residing on said first client device.
  • 8. The computer program product as recited in claim 1, wherein said data store comprises rules defining a type of state information stored within said data store and defining a lifecycle of said state information.
  • 9. The computer program product as recited in claim 1, wherein said state information comprises one of the following: user-wide state information, device-wide state information and application-specific state information.
  • 10. A system, comprising: a memory unit for storing a computer program for maintaining state synchronization of an application between computing devices and maintaining state synchronization of common information between different applications; anda processor coupled to the memory unit, wherein the processor is configured to execute the program instructions of the computer program comprising: receiving a request to access a scope out of a plurality of scopes from a first client device, wherein each of said plurality of scopes corresponds to a partition of data, wherein said scope comprises a data store storing state information;receiving an update to said state information stored within said scope from said first client device; andnotifying a second client device that has access to said scope regarding said update to said state information stored within said scope.
  • 11. The system as recited in claim 10, wherein said state information is shared among a first instance and a second instance of said application, wherein said first instance of said application resides on said first client device, wherein said second instance of said application resides on said second client device.
  • 12. The system as recited in claim 11, wherein the program instructions of the computer program further comprise: providing access to said state information stored within said scope to said first client device; andreceiving said update to said state information for said first instance of said application from said first client device.
  • 13. The system as recited in claim 10, wherein said state information comprises common information shared between a first application and a second application.
  • 14. The system as recited in claim 13, wherein the program instructions of the computer program further comprise: receiving said update to said common information used by said first application residing on said first client device from said first client device.
  • 15. The system as recited in claim 14, wherein the program instructions of the computer program further comprise: notifying said second client device regarding said update to said common information to be used by said second application residing on said second client device.
  • 16. The system as recited in claim 14, wherein the program instructions of the computer program further comprise: notifying said first client device regarding said update to said common information to be used by said second application residing on said first client device.
  • 17. The system as recited in claim 10, wherein said data store comprises rules defining a type of state information stored within said data store and defining a lifecycle of said state information.
  • 18. The system as recited in claim 10, wherein said state information comprises one of the following: user-wide state information, device-wide state information and application-specific state information.
US Referenced Citations (110)
Number Name Date Kind
6049838 Miller et al. Apr 2000 A
6594671 Aman et al. Jul 2003 B1
7788346 Kumar et al. Aug 2010 B2
7899917 Chitre et al. Mar 2011 B2
7900203 Ozzie et al. Mar 2011 B2
8103797 Day Jan 2012 B2
8386540 McAlister et al. Feb 2013 B1
8463884 Clinton Jun 2013 B2
8484716 Hodgson et al. Jul 2013 B1
8539567 Logue et al. Sep 2013 B1
8613070 Borzycki et al. Dec 2013 B1
8621091 Akalin et al. Dec 2013 B1
8631066 Lim et al. Jan 2014 B2
8635373 Supramaniam et al. Jan 2014 B1
8666933 Pizzomi et al. Mar 2014 B2
8666938 Pancholy Mar 2014 B1
8682916 Wong et al. Mar 2014 B2
8769127 Selimis et al. Jul 2014 B2
8806570 Barton et al. Aug 2014 B2
8812856 Tamma Aug 2014 B2
8832712 Houston et al. Sep 2014 B2
8843599 Pope et al. Sep 2014 B2
8880588 Prasad Nov 2014 B2
8893147 Yin et al. Nov 2014 B2
8954611 Chan et al. Feb 2015 B2
8966438 Chamberlain Feb 2015 B2
8983983 Antonysamy Mar 2015 B2
9003299 Freedman Apr 2015 B2
9008088 Ashwood-Smith et al. Apr 2015 B2
9027098 Legacy May 2015 B2
9032248 Petty et al. May 2015 B1
9037714 Belchee et al. May 2015 B2
9043458 Balaji et al. May 2015 B2
9043706 Nancke-Krogh May 2015 B2
9063756 Ben-Shaul et al. Jun 2015 B2
9071627 Buck Jun 2015 B2
9116862 Rath et al. Aug 2015 B1
9146822 Patankar et al. Sep 2015 B2
9170812 Vorbach et al. Oct 2015 B2
9262435 Vibhor et al. Feb 2016 B2
9331937 Koponen et al. May 2016 B2
9338677 Hederstierna et al. May 2016 B2
9361122 Chen et al. Jun 2016 B2
9396245 MacKenzie et al. Jul 2016 B2
9438697 Teng et al. Sep 2016 B2
9443230 Pratt et al. Sep 2016 B2
9514014 Webman et al. Dec 2016 B2
9519490 Vanturennout et al. Dec 2016 B2
9542231 Khan et al. Jan 2017 B2
9563413 Chan et al. Feb 2017 B2
9600552 Quan et al. Mar 2017 B2
9632828 Mehta et al. Apr 2017 B1
9633098 Aissi et al. Apr 2017 B2
9641599 Wesley et al. May 2017 B2
9647917 Hasha et al. May 2017 B2
9674731 Raleigh et al. Jun 2017 B2
9690836 Johnsen et al. Jun 2017 B2
9721246 Ho Aug 2017 B2
9729631 Addala et al. Aug 2017 B2
9740761 Adoc, Jr. et al. Aug 2017 B2
9753754 Howell et al. Sep 2017 B2
9800608 Korsunsky et al. Oct 2017 B2
9838240 Cormie et al. Dec 2017 B1
9854063 Borzycki et al. Dec 2017 B2
9875149 McDevitt et al. Jan 2018 B2
9888068 Kamath et al. Feb 2018 B2
9937414 Mahajan et al. Apr 2018 B2
20020198883 Nishizawa et al. Dec 2002 A1
20060085594 Roberson et al. Apr 2006 A1
20060190468 Mihaila et al. Aug 2006 A1
20070101326 Cai et al. May 2007 A1
20070203943 Adlung et al. Aug 2007 A1
20080320244 Shen et al. Dec 2008 A1
20090112779 Wolf et al. Apr 2009 A1
20090172101 Arthursson Jul 2009 A1
20100030995 Wang et al. Feb 2010 A1
20100262958 Clinton et al. Oct 2010 A1
20100275260 Bergheaud et al. Oct 2010 A1
20110055827 Lin et al. Mar 2011 A1
20110078274 Joachimpillai et al. Mar 2011 A1
20110270855 Antonysamy Nov 2011 A1
20120109926 Novik et al. May 2012 A1
20120137210 Dillon May 2012 A1
20120185500 Bhogal et al. Jul 2012 A1
20120254175 Horowitz et al. Oct 2012 A1
20120254289 Sathish Oct 2012 A1
20120278344 Berg et al. Nov 2012 A1
20130047165 Goetz et al. Feb 2013 A1
20130066832 Sheehan et al. Mar 2013 A1
20130212340 Berg et al. Aug 2013 A1
20130318158 Teng et al. Nov 2013 A1
20140032875 Butler Jan 2014 A1
20140068328 Jain et al. Mar 2014 A1
20140095625 Quan et al. Apr 2014 A1
20140199979 Singhai Jul 2014 A1
20140244721 Taine et al. Aug 2014 A1
20140258703 Vanturennout et al. Sep 2014 A1
20140280499 Basavaiah et al. Sep 2014 A1
20140287836 Chan et al. Sep 2014 A1
20140289411 Bornstein et al. Sep 2014 A1
20140304409 Kamath et al. Oct 2014 A1
20140334369 Kaikkonen Nov 2014 A1
20140358987 Howard et al. Dec 2014 A1
20140358988 Howard Dec 2014 A1
20160218939 Tiwari Jul 2016 A1
20160299960 Chene et al. Oct 2016 A1
20170054790 McCubbin Feb 2017 A1
20170063968 Kitchen et al. Mar 2017 A1
20170097974 Adoc, Jr. et al. Apr 2017 A1
20170177694 Aissi et al. Jun 2017 A1
Foreign Referenced Citations (1)
Number Date Country
2007128687 Nov 2007 WO
Non-Patent Literature Citations (6)
Entry
Office Action for U.S. Appl. No. 15/793,641 dated Feb. 26, 2018, pp. 1-21.
Bolosky, WJ., et al., “Paxos Replicated State Machines as the Basis of a High-performance Data Store,” http://static.usenix.org/events/nsdi11/tech/full_papers/Bolosky.pdf, Feb. 18, 2012.
Anonymous, “Efficient Run-time Scoped Memory Assignment Rules Checking,” http://priorartdatabase.com/IPCOM/000210483, Sep. 6, 2011.
IBM, “A Mechanism for Defining Dynamic Event Sequencing Scope,” http://www.ip.com/pubview/IPCOM000167189D, Feb. 2, 2008.
Wang et al.; “A Scalable Queuing Service Based on an In-Memory Data Grid,” Proceedings 2010 IEEE 7th International Conference on e-Business Engineering (ICEBE 2010), pp. 236-243, 2010.
Office Action for U.S. Appl. No. 13/903,174 dated Nov. 20, 2017, pp. 1-29.
Related Publications (1)
Number Date Country
20180048707 A1 Feb 2018 US
Continuations (1)
Number Date Country
Parent 13903130 May 2013 US
Child 15793488 US