CONFLICT PREVENTION FOR PEER-TO-PEER REPLICATION
First Claim
Patent Images
1. A method implemented at least in part by a computer, the method comprising:
- obtaining information in a replica of a data structure that is replicated on multiple peers, the information indicating an owner peer that has rights to update the data structure;
determining if a peer is the owner peer via the information;
if the peer is not the owner peer, performing actions, comprising;
sending a request for an access token to the owner peer;
receiving a response to the request, the response providing the access token; and
modifying the replica of the data structure after the response is received.
2 Assignments
0 Petitions
Accused Products
Abstract
Aspects of the subject matter described herein relate to conflict prevention. In aspects, a peer that seeks to modify a data structure first determines whether it is the owner of the data structure. An owner of the data structure has rights to update the data structure. If the peer is not the owner, the peer sends a request to the owner. The owner responds to the request by changing ownership of the data structure to the peer. Once this change is replicated to the peer, the peer is able to update the data structure as desired.
-
Citations
20 Claims
-
1. A method implemented at least in part by a computer, the method comprising:
-
obtaining information in a replica of a data structure that is replicated on multiple peers, the information indicating an owner peer that has rights to update the data structure; determining if a peer is the owner peer via the information; if the peer is not the owner peer, performing actions, comprising; sending a request for an access token to the owner peer; receiving a response to the request, the response providing the access token; and modifying the replica of the data structure after the response is received. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer storage medium having computer-executable instructions, which when executed perform actions, comprising:
-
receiving, at a receiving peer, a request for an access token from a requesting peer that is one of a plurality of peers that replicate data, the access token relating to a data structure that the requesting peer seeks to update, the data structure being replicated on the peers, the access token allowing updates to the data structure; determining if the receiving peer is an owner peer that has exclusive rights to update the data structure; and if the receiving peer is the owner peer, providing the access token. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. In a computing environment, an apparatus, comprising:
-
an update manager operable to update a replica of a data structure that is replicated on a plurality of peers; an ownership manager operable to determine an owner peer of the data structure based on information included in the replica of the data structure, the owner peer having rights to update the data structure; a replication mechanism operable to participate in replicating the data structure across the peers; and a token requester operable to obtain an access token from the owner peer before the update manager updates the replica of the data structure if the data structure is not owned by a peer hosted on the apparatus. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification