SlideShare une entreprise Scribd logo
1  sur  10
Shaked Hindi
BGU
shakedhi@post.bgu.ac.il
SmartSociety
Incentive Server
29/01/16 www.smart-society-project.eu
 The Incentive Server (IS) offers smart incentivizations
framework for sending incentives to single and multiple
users, across all of the applications of the SmartSociety
project.
 The IS uses SmartCom Communication API in order to send
the incentives to the peers and the collectives, using
different communication channels.
Functionality
2
Usage Example
3
 You can find a nice exercise that you can use in order to
create “Hello World” program here.
This will give you a better understanding about the usage of
the Incentive Server, and some of its features.
Features
4
 There are three types of incentives you can send:
Message – for incentive with message of your choice.
Preconfigured – for sending a predefined incentives.
Reminder – for sending a reminder for a collective, with the
option of invalidating peers from it.
 Incentives can be sent to single peers and whole collectives
(Message & Preconfigured) or even to only a part of a
collective (Reminder only).
 The incentives can be sent at one or more moments of
your choice, or at a time which the IS decides for you.
Interfaces, endpoints and resources
exposed
5
 Get all existing incentives
Postfix: /api/incentive/
Method: HTTP GET or using the web GUI.
Description: This call returns all the incentives that was
created in the Incentive Server (IS).
 Add new incentive
Postfix: /api/incentive/
Method: HTTP POST or using the web GUI.
Description: Adds new incentive to the IS.
Interfaces, endpoints and resources
exposed (cont.)
6
 Collective reminder
Postfix: /collectiveReminder/
Method: HTTP POST or using the web GUI.
Description: Generates reminder request for a collective with a
given id, that will be sent at given time with a given message.
Invalidate from collective
Postfix: /invalidate/:collective_id/
Method: HTTP POST or using the web GUI.
Description: Invalidate peers from collective that is about to be
reminder. This call has a parameter 'collective_id' that should
be replaced with the collective's identifier.
Interfaces, endpoints and resources
exposed (cont.)
7
 Send incentive to a collective or a peer
Postfix: /sendIncentive/
Method: HTTP POST or using the web GUI.
Description: This call is generalization of the collective
reminder call, however it supports other types of messages
and does not support invalidation from collectives.
This call generates incentive request for a collective or a
peer, with a certain id.
You can send an incentive of your own or use a preconfigured
one. You can also choose at what time(s) you want the
incentive to be sent, or let the IS choose it for you.
Interfaces, endpoints and resources
exposed (cont.)
8
 Change timeout
Postfix: /timeout/
Method: Using the web GUI.
Description: Changes the timeout value defined in the IS.
 Get incentive for a specific user
Postfix: /getIncUser/
Method: HTTP POST or using the web GUI.
Description: This call is independent and relies on a stream of
events. It can return 'Staying' if the IS thinks the user is going
to stay or an incentive message otherwise.
 The full API of the Incentive Server can be found here.
Implementation
9
 We are using Python as our main programming language,
in order to perform the major tasks and the data analysis
efficiently.
 We are using Django framework as the front-end for our
Incentive Server, which is also providing our REST API.
 We are using Java in a program that our server uses, that
uses the SmartCom library and acts as a communication
adapter between the IS which is written in Python and the
users of the SmartSociety applications.
Repository
10
 The source code of the Incentive Server can be found in the
GitLab Repository:
https://gitlab.com/smartsociety/IncentiveServer

Contenu connexe

Similaire à Training Toolkit - Incentive Server

Fitbit-Final Presentation
Fitbit-Final PresentationFitbit-Final Presentation
Fitbit-Final Presentation
Avik Das
 
Azure APIM Presentation to understand about.pptx
Azure APIM Presentation to understand about.pptxAzure APIM Presentation to understand about.pptx
Azure APIM Presentation to understand about.pptx
pythagorus143
 
In Act Developers Platform
In Act Developers PlatformIn Act Developers Platform
In Act Developers Platform
Eris Ristemena
 

Similaire à Training Toolkit - Incentive Server (20)

Push notification to the open web
Push notification to the open webPush notification to the open web
Push notification to the open web
 
Subscription based control system to automate management of events for robots
Subscription based control system to automate management of events for robotsSubscription based control system to automate management of events for robots
Subscription based control system to automate management of events for robots
 
ChatGPT and Slack Integration with MuleSoft
ChatGPT and Slack Integration with MuleSoftChatGPT and Slack Integration with MuleSoft
ChatGPT and Slack Integration with MuleSoft
 
Inter process communication
Inter process communicationInter process communication
Inter process communication
 
Push Notification with Unity in iOS using App42 Backend
Push Notification with Unity in iOS using App42 BackendPush Notification with Unity in iOS using App42 Backend
Push Notification with Unity in iOS using App42 Backend
 
Session 8 Android Web Services - Part 1.pdf
Session 8 Android Web Services - Part 1.pdfSession 8 Android Web Services - Part 1.pdf
Session 8 Android Web Services - Part 1.pdf
 
Mastering Microservices with Kong (DevoxxUK 2019)
Mastering Microservices with Kong (DevoxxUK 2019)Mastering Microservices with Kong (DevoxxUK 2019)
Mastering Microservices with Kong (DevoxxUK 2019)
 
User Management and App Authentication with Amazon Cognito - SID343 - re:Inve...
User Management and App Authentication with Amazon Cognito - SID343 - re:Inve...User Management and App Authentication with Amazon Cognito - SID343 - re:Inve...
User Management and App Authentication with Amazon Cognito - SID343 - re:Inve...
 
RESTHeart - Modern runtime for microservices with instant Data API on MongoDB.
RESTHeart - Modern runtime for microservices with instant Data API on MongoDB.RESTHeart - Modern runtime for microservices with instant Data API on MongoDB.
RESTHeart - Modern runtime for microservices with instant Data API on MongoDB.
 
Designing the Call of Cthulhu app with Google App Engine
Designing the Call of Cthulhu app with Google App EngineDesigning the Call of Cthulhu app with Google App Engine
Designing the Call of Cthulhu app with Google App Engine
 
Fitbit-Final Presentation
Fitbit-Final PresentationFitbit-Final Presentation
Fitbit-Final Presentation
 
OAuth for QuickBooks Online REST Services
OAuth for QuickBooks Online REST ServicesOAuth for QuickBooks Online REST Services
OAuth for QuickBooks Online REST Services
 
Api manager preconference
Api manager preconferenceApi manager preconference
Api manager preconference
 
XSS
XSSXSS
XSS
 
XSS
XSSXSS
XSS
 
Talk 1: Google App Engine Development: Java, Data Models, and other things yo...
Talk 1: Google App Engine Development: Java, Data Models, and other things yo...Talk 1: Google App Engine Development: Java, Data Models, and other things yo...
Talk 1: Google App Engine Development: Java, Data Models, and other things yo...
 
Creating Great REST and gRPC API Experiences (in Swift)
Creating Great REST and gRPC API Experiences (in Swift)Creating Great REST and gRPC API Experiences (in Swift)
Creating Great REST and gRPC API Experiences (in Swift)
 
Azure APIM Presentation to understand about.pptx
Azure APIM Presentation to understand about.pptxAzure APIM Presentation to understand about.pptx
Azure APIM Presentation to understand about.pptx
 
In Act Developers Platform
In Act Developers PlatformIn Act Developers Platform
In Act Developers Platform
 
Crafting APIs
Crafting APIsCrafting APIs
Crafting APIs
 

Plus de Smart-Society-Project

Ridesharing: from the simple matching scenario to the real world application
Ridesharing: from the simple matching scenario to the real world applicationRidesharing: from the simple matching scenario to the real world application
Ridesharing: from the simple matching scenario to the real world application
Smart-Society-Project
 
Intervention Strategies for Increasing Engagement in Crowdsourcing
Intervention Strategies for Increasing Engagement in CrowdsourcingIntervention Strategies for Increasing Engagement in Crowdsourcing
Intervention Strategies for Increasing Engagement in Crowdsourcing
Smart-Society-Project
 
Interactive Plan Recognition
Interactive Plan RecognitionInteractive Plan Recognition
Interactive Plan Recognition
Smart-Society-Project
 
Diversity aware recommendation for human collectives
Diversity aware recommendation for human collectivesDiversity aware recommendation for human collectives
Diversity aware recommendation for human collectives
Smart-Society-Project
 

Plus de Smart-Society-Project (10)

Future of Trust in the Sharing Economy
Future of Trust in the Sharing EconomyFuture of Trust in the Sharing Economy
Future of Trust in the Sharing Economy
 
Towards a responsible sharing economy
Towards a responsible sharing economyTowards a responsible sharing economy
Towards a responsible sharing economy
 
Ridesharing: from the simple matching scenario to the real world application
Ridesharing: from the simple matching scenario to the real world applicationRidesharing: from the simple matching scenario to the real world application
Ridesharing: from the simple matching scenario to the real world application
 
Intervention Strategies for Increasing Engagement in Crowdsourcing
Intervention Strategies for Increasing Engagement in CrowdsourcingIntervention Strategies for Increasing Engagement in Crowdsourcing
Intervention Strategies for Increasing Engagement in Crowdsourcing
 
Interactive Plan Recognition
Interactive Plan RecognitionInteractive Plan Recognition
Interactive Plan Recognition
 
Diversity in Action, the SmartSociety perspective
Diversity in Action, the SmartSociety perspectiveDiversity in Action, the SmartSociety perspective
Diversity in Action, the SmartSociety perspective
 
Diversity aware recommendation for human collectives
Diversity aware recommendation for human collectivesDiversity aware recommendation for human collectives
Diversity aware recommendation for human collectives
 
Towards Hybrid and Diversity-Aware Collective Adaptive Systems
Towards Hybrid and Diversity-Aware Collective Adaptive SystemsTowards Hybrid and Diversity-Aware Collective Adaptive Systems
Towards Hybrid and Diversity-Aware Collective Adaptive Systems
 
Human-machine Coexistence in Groups
Human-machine Coexistence in GroupsHuman-machine Coexistence in Groups
Human-machine Coexistence in Groups
 
Smart Society: Vision and Challenges
Smart Society: Vision and ChallengesSmart Society: Vision and Challenges
Smart Society: Vision and Challenges
 

Dernier

pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
F
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
ydyuyu
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
F
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 

Dernier (20)

pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime BalliaBallia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
 
Mira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call GirlsMira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 

Training Toolkit - Incentive Server

  • 2.  The Incentive Server (IS) offers smart incentivizations framework for sending incentives to single and multiple users, across all of the applications of the SmartSociety project.  The IS uses SmartCom Communication API in order to send the incentives to the peers and the collectives, using different communication channels. Functionality 2
  • 3. Usage Example 3  You can find a nice exercise that you can use in order to create “Hello World” program here. This will give you a better understanding about the usage of the Incentive Server, and some of its features.
  • 4. Features 4  There are three types of incentives you can send: Message – for incentive with message of your choice. Preconfigured – for sending a predefined incentives. Reminder – for sending a reminder for a collective, with the option of invalidating peers from it.  Incentives can be sent to single peers and whole collectives (Message & Preconfigured) or even to only a part of a collective (Reminder only).  The incentives can be sent at one or more moments of your choice, or at a time which the IS decides for you.
  • 5. Interfaces, endpoints and resources exposed 5  Get all existing incentives Postfix: /api/incentive/ Method: HTTP GET or using the web GUI. Description: This call returns all the incentives that was created in the Incentive Server (IS).  Add new incentive Postfix: /api/incentive/ Method: HTTP POST or using the web GUI. Description: Adds new incentive to the IS.
  • 6. Interfaces, endpoints and resources exposed (cont.) 6  Collective reminder Postfix: /collectiveReminder/ Method: HTTP POST or using the web GUI. Description: Generates reminder request for a collective with a given id, that will be sent at given time with a given message. Invalidate from collective Postfix: /invalidate/:collective_id/ Method: HTTP POST or using the web GUI. Description: Invalidate peers from collective that is about to be reminder. This call has a parameter 'collective_id' that should be replaced with the collective's identifier.
  • 7. Interfaces, endpoints and resources exposed (cont.) 7  Send incentive to a collective or a peer Postfix: /sendIncentive/ Method: HTTP POST or using the web GUI. Description: This call is generalization of the collective reminder call, however it supports other types of messages and does not support invalidation from collectives. This call generates incentive request for a collective or a peer, with a certain id. You can send an incentive of your own or use a preconfigured one. You can also choose at what time(s) you want the incentive to be sent, or let the IS choose it for you.
  • 8. Interfaces, endpoints and resources exposed (cont.) 8  Change timeout Postfix: /timeout/ Method: Using the web GUI. Description: Changes the timeout value defined in the IS.  Get incentive for a specific user Postfix: /getIncUser/ Method: HTTP POST or using the web GUI. Description: This call is independent and relies on a stream of events. It can return 'Staying' if the IS thinks the user is going to stay or an incentive message otherwise.  The full API of the Incentive Server can be found here.
  • 9. Implementation 9  We are using Python as our main programming language, in order to perform the major tasks and the data analysis efficiently.  We are using Django framework as the front-end for our Incentive Server, which is also providing our REST API.  We are using Java in a program that our server uses, that uses the SmartCom library and acts as a communication adapter between the IS which is written in Python and the users of the SmartSociety applications.
  • 10. Repository 10  The source code of the Incentive Server can be found in the GitLab Repository: https://gitlab.com/smartsociety/IncentiveServer