Managing concurrent data updates in a composite services delivery system
First Claim
1. A composite service enabling data processing system comprising:
- a plurality of channel servlets executing in an application server in a data processing system for storing and executing program code including at least one processor coupled to memory elements through a system bus, the servlets enabled to establish multiple, different channels of access to a common session for a composite service;
a location registry comprising a table of entries associating the different channels of access with the common session for the composite service; and
,a model servlet executing in the application server and configured for coupling to a model for the common session, for modifying state data in the model for the common session, and to synchronize views for each of the different channels of access to the common session responsive to changes detected in the model; and
,a conflict detector for detecting collisions in concurrent requests to update the model for the common session by different ones of the channels of access, the conflict detector being coupled to the model servlet and enabled to permit updates to the model by individual ones of the channels of access without record locking through a comparison of a previous value of the model disposed in each of the concurrent requests to an actual previous value of the model.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a method, system and computer program product for deploying and delivering composite services in an NGN network. A collision detection and resolution method for updating a model in a composite services enablement environment can include establishing for a single session having a corresponding model, multiple channels of communication for different corresponding channels of access to a service. The method further can include synchronizing updates to the model by individual ones of the channels of access to the services for each of the channels of access to the services. The method yet further can include detecting collisions in synchronizing the updates to the model. Finally, the method can include rejecting the updates to the model when collisions are detected.
123 Citations
16 Claims
-
1. A composite service enabling data processing system comprising:
-
a plurality of channel servlets executing in an application server in a data processing system for storing and executing program code including at least one processor coupled to memory elements through a system bus, the servlets enabled to establish multiple, different channels of access to a common session for a composite service; a location registry comprising a table of entries associating the different channels of access with the common session for the composite service; and
,a model servlet executing in the application server and configured for coupling to a model for the common session, for modifying state data in the model for the common session, and to synchronize views for each of the different channels of access to the common session responsive to changes detected in the model; and
,a conflict detector for detecting collisions in concurrent requests to update the model for the common session by different ones of the channels of access, the conflict detector being coupled to the model servlet and enabled to permit updates to the model by individual ones of the channels of access without record locking through a comparison of a previous value of the model disposed in each of the concurrent requests to an actual previous value of the model. - View Dependent Claims (2, 3, 4)
-
-
5. A collision detection and resolution method for updating a model in a composite services enablement environment, the method comprising:
-
establishing multiple channels of access to a common session for a composite service; modifying state data in the model; and synchronizing changes of state in the model corresponding to the common session in a view for each of the channels of access to the common session; detecting collisions in concurrent requests to update the model for the common session by different ones of the channels of access; and permitting updates to the model by individual ones of the channels of access without record locking through a comparison of a previous value of the model disposed in each of the concurrent requests to an actual previous value of the model. - View Dependent Claims (6, 7, 8, 9, 10)
-
-
11. A computer program product comprising a non-transitory medium having computer usable program code for collision detection and resolution for updating a model in a composite services enablement environment, the computer program product including:
-
computer usable program code for establishing multiple channels of access to a common session for a composite service; computer usable program code for modifying state data in the model; computer usable program code for synchronizing changes of state in the model corresponding to the common session in a view for each of the channels of access to the common session; computer usable program code for detecting collisions in concurrent requests to update the model for the common session by different ones of the channels of access; and computer usable program code for permitting updates to the model by individual ones of the channels of access without record locking through a comparison of a previous value of the model disposed in each of the concurrent requests to an actual previous value of the model. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification