-
公开(公告)号:US08489566B2
公开(公告)日:2013-07-16
申请号:US12099620
申请日:2008-04-08
申请人: Sherry Guo , Ryan Jerome Kern , Bilung Lee , Paul Arnold Ostler
发明人: Sherry Guo , Ryan Jerome Kern , Bilung Lee , Paul Arnold Ostler
CPC分类号: G06F17/30356
摘要: Systems and methods to implement optimistic locking in online and offline environments are provided. A particular method includes receiving from an application an application data request related to retrieving a data item from a data store. The method also includes sending an optimistic locking information request to the data store to retrieve optimistic locking information, such as an identifier, associated with the data item. Additionally, the method includes receiving a data item update statement from the application while a connection between the application and a database server coupled to the data store persists or after a connection between the application and the database server has terminated and reconnected. The data item update statement relates to storing an updated version of the data item at the data store. Further, the method includes synchronizing the data item with the updated version of the data item based on the optimistic locking information.
摘要翻译: 提供了在线和离线环境中实现乐观锁定的系统和方法。 一种特定的方法包括从应用程序接收与数据存储检索数据项有关的应用程序数据请求。 该方法还包括向数据存储发送乐观锁定信息请求以检索与数据项相关联的乐观锁定信息,例如标识符。 此外,该方法包括从应用程序接收数据项更新语句,同时应用程序与耦合到数据存储库的数据库服务器之间的连接持续存在或应用程序和数据库服务器之间的连接已终止并重新连接。 数据项更新语句涉及将数据项的更新版本存储在数据存储中。 此外,该方法包括基于乐观锁定信息来同步数据项与数据项的更新版本。
-
公开(公告)号:US20090254556A1
公开(公告)日:2009-10-08
申请号:US12099620
申请日:2008-04-08
申请人: Sherry Guo , Ryan Jerome Kern , Bilung Lee , Paul Arnold Ostler
发明人: Sherry Guo , Ryan Jerome Kern , Bilung Lee , Paul Arnold Ostler
IPC分类号: G06F17/30
CPC分类号: G06F17/30356
摘要: Systems and methods to implement optimistic locking in online and offline environments are provided. A particular method includes receiving from an application an application data request related to retrieving a data item from a data store. The method also includes sending an optimistic locking information request to the data store to retrieve optimistic locking information, such as an identifier, associated with the data item. Additionally, the method includes receiving a data item update statement from the application while a connection between the application and a database server coupled to the data store persists or after a connection between the application and the database server has terminated and reconnected. The data item update statement relates to storing an updated version of the data item at the data store. Further, the method includes synchronizing the data item with the updated version of the data item based on the optimistic locking information.
摘要翻译: 提供了在线和离线环境中实现乐观锁定的系统和方法。 一种特定的方法包括从应用程序接收与数据存储检索数据项有关的应用程序数据请求。 该方法还包括向数据存储发送乐观锁定信息请求以检索与数据项相关联的乐观锁定信息,例如标识符。 此外,该方法包括从应用程序接收数据项更新语句,同时应用程序与耦合到数据存储库的数据库服务器之间的连接持续存在或应用程序和数据库服务器之间的连接已终止并重新连接。 数据项更新语句涉及将数据项的更新版本存储在数据存储中。 此外,该方法包括基于乐观锁定信息来同步数据项与数据项的更新版本。
-