Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 --Ioana Nistoreanu-- Betreuer: Philipp Obreiter Transaction protocols in self organizing systems Projektarbeit :

Similar presentations


Presentation on theme: "1 --Ioana Nistoreanu-- Betreuer: Philipp Obreiter Transaction protocols in self organizing systems Projektarbeit :"— Presentation transcript:

1 1 --Ioana Nistoreanu-- Betreuer: Philipp Obreiter Transaction protocols in self organizing systems Projektarbeit :

2 2 Ziel  Meine Teilnahme an das Diane-Projekt stellt sich als eine Mitarbeit an der Entwicklung der Transaktionsprotokollen vor.

3 3 Summary 1.Motivation 2.Settings of Internet transactions and of transactions in ad hoc networks 3.Transaction protocols in ad hoc environment 4.Conclusion

4 4 1.Motivation A B C In an ad hoc network, each device has to fulfill services in the benefit of the other devices, Limited resources  mobile devices often tend to reduce their cooperation, mostly in the purpose of saving these resources.

5 5 1. Motivation A B C If A requires B to send a message to C, A should provide at his turn a service for B, as a compensation for the resource losses. For ex, B losses valuable resources by agreeing to forward messages from A to C.

6 6 1. Motivation A B C What happens when A agrees to fulfill the service for B, but in return, B refuses to forward the message to C? Purpose : Develop transaction protocols that 1. address the special features of the ad hoc environment 2. ensure that the transaction runs as fair as possible for all the players

7 7 2. Settings of transactions on the internet and of transactions in ad hoc networks 2.1 Internet transactions -exchange of valuable items over open computer networks -involve multiple players which do not necessarily trust each other -use protocols that ensure fairness to all players, provided they follow the protocol correctly “fair exchange = either each player gets the other player's item, or neither player does”

8 8 2. Settings of transactions on the internet and of transactions in ad hoc networks Existing fair protocols: Gradual Exchange Protocols data1data2 Exchange Protocols with off line third party data1data2 Someone called me ?

9 9 2. Settings of transactions on the internet and of transactions in ad hoc networks Exchange Protocols with on line third party data1 data2 A protocol to ensure fairness to all players is not always possible or cost effective.

10 10 2. Settings of transactions on the internet and of transactions in ad hoc networks If some players suffer a loss of fairness, it may still be possible to obtain fairness by starting a dispute  a protocol must ensure that sufficient evidence is accumulated during the exchange, so that correctly behaving players win a subsequent dispute EVIDENCE

11 11 2. Settings of transactions on the internet and of transactions in ad hoc networks InternetAd hoc Autonomy Infrastructure Value of the exchanged goods Yes High Yes No Low 2.2 Comparison

12 12 2. Settings of transactions on the internet and of transactions in ad hoc networks InternetAd hoc Autonomy Infrastructure Value of the exchanged goods Yes High Yes Low YesNo  no self organization  self organization  commonly trusted 3 rd party  no commonly trusted 3 rd party

13 13 2. Settings of transactions on the internet and of transactions in ad hoc networks InternetAd hoc Autonomy Infrastructure Value of the exchanged goods Yes High Yes No Low

14 14 2. Settings of transactions on the internet and of transactions in ad hoc networks 2.3 Settings for ad hoc networks A fair protocol requires a commonly trusted 3 rd party or a gradual exchange of items Solution: Use of protocols to gather evidences about the behavior of the other players Use these evidences within a distributed reputation system  no trusted instance in ad hoc networks  resource consuming  requires divisible items

15 15 3. Transaction protocols in ad hoc environment 3.1 First Step -> Simple transaction Action = It is a resource consuming activity which is benefit for another peer Roles: Initiator = The entity that processes the first step of the transaction protocol. Responder = The entity that does not process the first step of the transaction protocol.

16 16 3. Transaction protocols in ad hoc environment BDMS Two Way Protocol --Bilateral Direct Mutual Symmetric--

17 17 3. Transaction protocols in ad hoc environment 3.2 Implementation Protocols with states GetSignatureCall.java OriginatorState.java ReceipSignatureState.java ReceiverProtocol.java ReceiveSignatureState.java ResponseSignatureCall.java SendSignatureState.java SignatureCall.java SignatureMessage.java SignatureResponseMessage.java SignatureResponseO.java SignatureResponseR.java TimeOutState.java TransactionUser1.java TransactionUser2.java TransmitterProtocol.java WaitSignatureState.java Suited for complex, multi players protocols

18 18 3. Transaction protocols in ad hoc environment 3.3 Request Response Protocol TwoWayTransactionProtocolRiskPosition.java  class for the initiator … valuateAndHandoverAction(chs,peerID,peerID,myAction, myTID,null,dtsvp); Action receivedAction =receiveAndCheckAction(chs,peerID,peerID,myTID,null, peerActionDescription); if(receivedAction == null) { isif.reportTransaction(peerID,c,new TransactionReport(false)); return null; } isif.reportTransaction(peerID,c,new TransactionReport(true)); …

19 19 3. Transaction protocols in ad hoc environment TwoWayTransactionProtocolSafePosition.java  class for the responder … Action receivedAction =receiveAndCheckAction(chs,peerID,peerID,myTID,null, peerActionDescription); if(receivedAction == null) { isif.reportTransaction(peerID,c,new TransactionReport(false)); return null; } boolean doAction = valuateAndHandoverAction( chs,peerID, peerID, myAction, myTID,null, dtsvp); … isif.reportTransaction(peerID,c,new TransactionReport(true)); …

20 20 3. Transaction protocols in ad hoc environment 3.4 Second Step -> complex transaction Action = It is a resource consuming activity which is benefit for another peer Roles: Initiator = The entity that processes the first step of the transaction protocol. Responder = The entity that does not process the first step of the transaction protocol. Evidences: Contract = Evidence that binds its issuer to a certain behavior during the transaction Receipt = Evidence that proves the correct behavior of the issuer’s partner

21 21 3. Transaction protocols in ad hoc environment BDGS Six Way Protocol --Bilateral Direct Global Symmetric--

22 22 3. Transaction protocols in ad hoc environment Four Way Protocol --Bilateral Direct Global Asymmetric—

23 23 3. Transaction protocols in ad hoc environment 3.4 Third Step ->transactions with third party Action = It is a resource consuming activity which is benefit for another peer Evidences: Contract = Evidence that binds its issuer to a certain behavior during the transaction Receipt = Evidence that proves the correct behavior of the issuer’s partner Roles: Initiator = The entity that processes the first step of the transaction protocol. Responder = The entity that does not process the first step of the transaction protocol. Third party = An entity that assists the transaction peers in performing the transaction.

24 24 3. Transaction protocols in ad hoc environment BIGS Two Way Protocol --Bilateral Indirect Global Symmetric--

25 25 3. Transaction protocols in ad hoc environment BIGS 6 Way Protocol--Bilateral Indirect Global Symmetric—

26 26 3. Transaction protocols in ad hoc environment BIGS 6 Way Protocol--Bilateral Indirect Global Symmetric—

27 27 4. Conclusion Protocols : 2Way Protocol without 3 rd party 2Way Protocol with 3 rd party 4Way Protocol 6Way Protocol without 3 rd party 6Way Protocol with 3 rd party

28 28 Annexe1: Transaction Protocols with defection

29 29 Annexe1: Transaction Protocols with defection

30 30 Annexe1: Transaction Protocols with defection


Download ppt "1 --Ioana Nistoreanu-- Betreuer: Philipp Obreiter Transaction protocols in self organizing systems Projektarbeit :"

Similar presentations


Ads by Google