SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
Towards a comprehensive approach to spontaneous
    self-composition in pervasive ecosystems

       Sara Montagna            Mirko Viroli   Danilo Pianini        Jose Luis Fernandez-Marquez
                                     Email: sara.montagna@unibo.it


                                                      `
                   A LMA M ATER S TUDIORUM—Universita di Bologna a Cesena
                               University of Geneva, Switzerland


      Undicesimo Workshop Nazionale “Dagli Oggetti agli Agenti”
                           (WOA’12)

                                Milano-Bicocca, Italy, 17-19 September 2012




Montagna et al. (UniBo/UniGe)              Self-composition of services                     WOA’12   1 / 22
1     A comprehensive approach for pervasive ecosystems


2     The self-composition issue in pervasive service ecosystems


3     Gradient self-compositions


4     Towards simulation of gradient self-compositions




    Montagna et al. (UniBo/UniGe)   Self-composition of services   WOA’12   2 / 22
A comprehensive approach for pervasive ecosystems


Outline



1     A comprehensive approach for pervasive ecosystems


2     The self-composition issue in pervasive service ecosystems


3     Gradient self-compositions


4     Towards simulation of gradient self-compositions




    Montagna et al. (UniBo/UniGe)              Self-composition of services   WOA’12   3 / 22
A comprehensive approach for pervasive ecosystems


Pervasive service ecosystems [VPMS12]



SAPERE Vision
   Mobile devices, people, software services, data, events
             Individuals
     Self-organisation enacted at the system level
     High degrees of
             scale
             openness
             adaptivity
             toleration of long-term evolution




 Montagna et al. (UniBo/UniGe)              Self-composition of services   WOA’12   4 / 22
A comprehensive approach for pervasive ecosystems


Abstract Architecture




              Figure : An architectural view of a pervasive ecosystem.


 Montagna et al. (UniBo/UniGe)              Self-composition of services   WOA’12   5 / 22
A comprehensive approach for pervasive ecosystems


Live semantic annotations


Basic block of semantic chemistry
     A unified description for every entity
     A unique LSA-id plus a semantic description (SD)
     RDF-inspired set of multi-valued properties
     Contains everything is needed for describing the entity

Example: gradient source annotation
:id314 mid:#loc :loc117;            sos:type sos:source;
       sos:step "0";                sos:sourceid "341AB2"
       sos:aggr_prop                sos:sourceid;
       sos:r_diff "10";             sos:r_ctx "100"




 Montagna et al. (UniBo/UniGe)              Self-composition of services   WOA’12   6 / 22
A comprehensive approach for pervasive ecosystems


Eco-Laws

Language of semantic chemistry
     Chemical rules over LSA templates
     P+...+P --r--> Q+...+Q
             Constrained variables written ?V(filter)
             Check for presence “+”, absence “-” or unique existence “=”
     They can diffuse an LSA in the neighborhood
     They can aggregate LSAs like in chemical bonding

Example: source pump
?SOURCE sos:type sos:source; sos:aggr_prop ?P; sos:step ?T; sos:r_diff ?R
--?R-->
?SOURCE sos:step =(?T+1) + ?GRAD(?GRAD clones ?SOURCE)
sos:type -sos:source sos:diff sos:aggr; sos:dist "0"; sos:orientation "here"




 Montagna et al. (UniBo/UniGe)              Self-composition of services   WOA’12   7 / 22
The self-composition issue in pervasive service ecosystems


Outline



1      A comprehensive approach for pervasive ecosystems


2      The self-composition issue in pervasive service ecosystems


3      Gradient self-compositions


4      Towards simulation of gradient self-compositions




    Montagna et al. (UniBo/UniGe)                 Self-composition of services   WOA’12   8 / 22
The self-composition issue in pervasive service ecosystems


Self-Composition




Key issue
      Patterns of behaviour emerge without any supervision
      Example: fully-spontaneous composition of services, possibly at
      multiple levels




 Montagna et al. (UniBo/UniGe)                 Self-composition of services   WOA’12   9 / 22
The self-composition issue in pervasive service ecosystems


Some self-composition issues




      Composition of services not explicitly designed to coordinate
      Composition of “compatible” services
      Creation of “meaningful” services
      Context awareness
      Multi-level composition




 Montagna et al. (UniBo/UniGe)                 Self-composition of services   WOA’12   10 / 22
The self-composition issue in pervasive service ecosystems


Self-composition in service ecosystems

Composition of services in literature
  1   Service Composition in SOA – advanced semantic matching
  2   Evolutionary techniques
  3   Competition-based approaches

All the above, altogether
  1   Choice of the services to compose
  2   Pre-selection of “promising” compositions
  3   Fine parameter tuning
  4   Service evaluation metrics
  5   Best services must be promoted


 Montagna et al. (UniBo/UniGe)                 Self-composition of services   WOA’12   11 / 22
Gradient self-compositions


Outline



1     A comprehensive approach for pervasive ecosystems


2     The self-composition issue in pervasive service ecosystems


3     Gradient self-compositions


4     Towards simulation of gradient self-compositions




    Montagna et al. (UniBo/UniGe)                 Self-composition of services   WOA’12   12 / 22
Gradient self-compositions


Paradigmatic Example: Crowd Steering
Goal and requirements
     Guide people towards POIs
             POIs chosen with respect to people’s interests
             Avoiding obstacles (incl. crowds)
             no supervision

Scenario
   A museum with a dense network of sensor nodes
             Sensing of the presence of nearby visitors
             Computation abilities
     Visitors own smartphone devices holding their preferences

Services available
    Gradient service
     Those provided by sensors (e.g., crowd detection service)
 Montagna et al. (UniBo/UniGe)                 Self-composition of services   WOA’12   13 / 22
Gradient self-compositions


A Prototype Solution for Gradient Composition



Composition “composition recommender” agents computing all the
 available compositions
Contextualisation Gradients are contextualised
Feedback Users public their “satisfaction” once they used the service
Choice Users tend to prefer lower distance and higher satisfaction
Evaporation Satisfaction fades with time
Evolution Parameters tuning by agents using evolutionary techniques




 Montagna et al. (UniBo/UniGe)                 Self-composition of services   WOA’12   14 / 22
Gradient self-compositions


Eco-Laws for Gradient
[PUMP]: An annotation of type source continuously injects the initial gradient annotation
?SOURCE sos:type sos:source; sos:aggr_prop ?P; sos:step ?T; sos:r_diff ?R; sos:r_ctx ?RC
--?R-->
?SOURCE sos:step =(?T+1) +
?GRAD(?GRAD clones ?SOURCE) sos:type -sos:source sos:diff sos:aggr; sos:dist "0"; sos:orientation "here"

[DIFF] A gradient annotation is cloned in a neighbour, with distance increased and updated orientation
?GRAD sos:type sos:diff; sos:dist ?D; sos:r_diff ?R +
?NEIGH mid:type mid:#neigh; mid:remote ?L; mid:orientation ?O; mid:distance ?D2
--?R-->
?GRAD + ?NEIGH +
?GRAD1(?GRAD1 clones ?GRAD) sos:type -sos:diff sos:ctx; sos:dist =(?D+?D2); sos:orient =?O; mid:#loc ?L

[CTX] A contextualising annotation is transformed back into an annotation to be diffused
?GRAD sos:type sos:ctx; sos:r_ctx ?RC --?RC-> ?GRAD sos:type sos:-ctx sos:diff;

[YOUNGEST] Of    two annotations the one with newest information is kept
?ANN1 sos:type   sos:aggr; sos:aggr_prop ?P; ?P =[?C]; sos:step ?T1 +
?ANN2 sos:type   sos:aggr; sos:aggr_prop ?P2; ?P2 =[?C]; sos:step ?T2(?T2<?T1)
--->
?ANN1
[SHORTEST] Of    two annotations the one with shortest distance from source is kept
?ANN1 sos:type   sos:aggr; sos:aggr_prop ?P; ?P =[?C]; sos:dist ?D1; sos:step ?T +
?ANN2 sos:type   sos:aggr; sos:aggr_prop ?P2; ?P2 =[?C]; sos:dist ?D2(?D2>=?D1); sos:step ?T
--->
?ANN1

[DECAY] An annotation decays
?GRA sos:type sos:diff; sos:r_dec ?RD --?RD-> 0


 Montagna et al. (UniBo/UniGe)                 Self-composition of services                    WOA’12   15 / 22
Gradient self-compositions


Eco-Laws for Gradient Composition

[COMPOSITION] The gradient source is composed with the crowd service
?SOURCE sos:type sos:source; scm:satisfaction ?S + ?CROWD scm:type crowd; crowd:level ?CL
--->
?SOURCE + ?CSOURCE(?CSOURCE clones ?SOURCE) scm:property sos:dist;
scm:parameters scm:crowd_op ?CF; scm:crowd_op ?CF*?CL

[CONTEXTUALISATION] If sensors perceive crowd, the gradient distance is augmented
?GRAD sos:type sos ctx; sos:dist ?D; scm:property sos:dist;
scm:parameters scm:crowd_op scm:crowd_factor; scm:crowd_factor ?CF; scm:crowd_op    ?CF*?CL +
?CROWD scm:type crowd; crowd:level ?CL
--->
?CROWD + ?GRAD sos:type -sos:ctx sos:diff; sos:dist =(?D+?CF*?CL)

[FEEDBACK] Feedbacks are used to update the satisfaction values
?FEEDBACK scm:parameters scm:crowd_op; scm:feedback scm:velocity; scm:velocity ?V +
?GRAD scm:satisfaction ?S; scm:parameters scm:crowd_op
--->
?GRAD scm:satisfaction =(?S+?V)

[EVAPORATION] The gradient satisfaction value gets decreased
?GRAD scm:satisfaction ?S; scm:factor_ev ?FE; scm:r_ev ?RE
--?RE->
?GRAD scm:satisfaction =(?FE*?S)

[DECAY] If the gradient satisfaction value becomes zero that composition is removed
?GRAD scm:satisfaction "0";
--->



 Montagna et al. (UniBo/UniGe)                 Self-composition of services                 WOA’12   16 / 22
Towards simulation of gradient self-compositions


Outline



1     A comprehensive approach for pervasive ecosystems


2     The self-composition issue in pervasive service ecosystems


3     Gradient self-compositions


4     Towards simulation of gradient self-compositions




    Montagna et al. (UniBo/UniGe)                Self-composition of services   WOA’12   17 / 22
Towards simulation of gradient self-compositions


Simulation as a proof of concepts




     Conducted using A LCHEMIST [PMV11]
     Early experiments on gradient composition with crowd level
     Different compositions with different crowd relevance
             different composite gradients
     Satisfaction value measures the time to POI
     Users choose one gradient considering distance and satisfaction




 Montagna et al. (UniBo/UniGe)                Self-composition of services   WOA’12   18 / 22
Towards simulation of gradient self-compositions


Simulation Results I




 Figure : Satisfaction values for different compositions changing over time.




 Montagna et al. (UniBo/UniGe)                Self-composition of services   WOA’12   19 / 22
Towards simulation of gradient self-compositions


Simulation Results II




 Figure : Satisfaction values for different compositions changing over time.




 Montagna et al. (UniBo/UniGe)                Self-composition of services   WOA’12   20 / 22
References


References I




     Danilo Pianini, Sara Montagna, and Mirko Viroli.
     A chemical inspired simulation framework for pervasive services ecosystems.
     In Proceedings of the Federated Conference on Computer Science and Information
     Systems, pages 675–682. IEEE Computer Society Press, 2011.
     Mirko Viroli, Danilo Pianini, Sara Montagna, and Graeme Stevenson.
     Pervasive ecosystems: a coordination model based on semantic chemistry.
     In 27th Annual ACM Symposium on Applied Computing (SAC 2012), pages 295–302. ACM,
     2012.




 Montagna et al. (UniBo/UniGe)     Self-composition of services              WOA’12   21 / 22
References




Towards a comprehensive approach to spontaneous
    self-composition in pervasive ecosystems

       Sara Montagna            Mirko Viroli   Danilo Pianini        Jose Luis Fernandez-Marquez
                                     Email: sara.montagna@unibo.it


                                                      `
                   A LMA M ATER S TUDIORUM—Universita di Bologna a Cesena
                               University of Geneva, Switzerland


      Undicesimo Workshop Nazionale “Dagli Oggetti agli Agenti”
                           (WOA’12)

                                Milano-Bicocca, Italy, 17-19 September 2012




Montagna et al. (UniBo/UniGe)              Self-composition of services                    WOA’12   22 / 22

Contenu connexe

En vedette

SAPERE WP1 Alchemist status at 02/2013
SAPERE WP1 Alchemist status at 02/2013SAPERE WP1 Alchemist status at 02/2013
SAPERE WP1 Alchemist status at 02/2013
Danilo Pianini
 
Recipes for Sabayon: cook your own Linux distro within two hours
Recipes for Sabayon: cook your own Linux distro within two hoursRecipes for Sabayon: cook your own Linux distro within two hours
Recipes for Sabayon: cook your own Linux distro within two hours
Danilo Pianini
 

En vedette (6)

SAPERE WP1 Alchemist status at 02/2013
SAPERE WP1 Alchemist status at 02/2013SAPERE WP1 Alchemist status at 02/2013
SAPERE WP1 Alchemist status at 02/2013
 
Software development made serious
Software development made seriousSoftware development made serious
Software development made serious
 
Engineering computational ecosystems (2nd year PhD seminar)
Engineering computational ecosystems (2nd year PhD seminar)Engineering computational ecosystems (2nd year PhD seminar)
Engineering computational ecosystems (2nd year PhD seminar)
 
Recipes for Sabayon: cook your own Linux distro within two hours
Recipes for Sabayon: cook your own Linux distro within two hoursRecipes for Sabayon: cook your own Linux distro within two hours
Recipes for Sabayon: cook your own Linux distro within two hours
 
Protelis: Practical Aggregate Programming - Symposium on Applied Computing (S...
Protelis: Practical Aggregate Programming - Symposium on Applied Computing (S...Protelis: Practical Aggregate Programming - Symposium on Applied Computing (S...
Protelis: Practical Aggregate Programming - Symposium on Applied Computing (S...
 
Democratic process and electronic platforms: concerns of an engineer
Democratic process and electronic platforms: concerns of an engineerDemocratic process and electronic platforms: concerns of an engineer
Democratic process and electronic platforms: concerns of an engineer
 

Similaire à Towards a comprehensive approach to spontaneous self-composition in pervasive ecosystems

2003-12-02 Environmental Information Systems for Monitoring, Assessment, and ...
2003-12-02 Environmental Information Systems for Monitoring, Assessment, and ...2003-12-02 Environmental Information Systems for Monitoring, Assessment, and ...
2003-12-02 Environmental Information Systems for Monitoring, Assessment, and ...
Rudolf Husar
 
Dynamic Synthesis of to Support Interoperability in Autonomic Systems
Dynamic Synthesis of to Support Interoperability in Autonomic SystemsDynamic Synthesis of to Support Interoperability in Autonomic Systems
Dynamic Synthesis of to Support Interoperability in Autonomic Systems
Amel Bennaceur
 
A Survey on the Specification of the Physical Environment of Wireless Sensor...
A Survey on the Specification of the Physical Environment  of Wireless Sensor...A Survey on the Specification of the Physical Environment  of Wireless Sensor...
A Survey on the Specification of the Physical Environment of Wireless Sensor...
Ivano Malavolta
 
Oliver Sola 7486
Oliver Sola 7486Oliver Sola 7486
Oliver Sola 7486
ecocity2008
 
7.1 design exercise presentation 10 11 (47)
7.1 design exercise presentation 10 11 (47)7.1 design exercise presentation 10 11 (47)
7.1 design exercise presentation 10 11 (47)
LeNS_slide
 
7.1 design exercise presentation 10 11 (47)
7.1 design exercise presentation 10 11 (47)7.1 design exercise presentation 10 11 (47)
7.1 design exercise presentation 10 11 (47)
LeNS_slide
 
Thesis Blurb intro-Multisensory Warning Cue Evaluation in Driving-Jan18
Thesis Blurb intro-Multisensory Warning Cue Evaluation in Driving-Jan18Thesis Blurb intro-Multisensory Warning Cue Evaluation in Driving-Jan18
Thesis Blurb intro-Multisensory Warning Cue Evaluation in Driving-Jan18
Yuanjing Sun
 

Similaire à Towards a comprehensive approach to spontaneous self-composition in pervasive ecosystems (20)

HalifaxNGGs
HalifaxNGGsHalifaxNGGs
HalifaxNGGs
 
2003-12-02 Environmental Information Systems for Monitoring, Assessment, and ...
2003-12-02 Environmental Information Systems for Monitoring, Assessment, and ...2003-12-02 Environmental Information Systems for Monitoring, Assessment, and ...
2003-12-02 Environmental Information Systems for Monitoring, Assessment, and ...
 
Big data analytics for smart and sustainable city galway
Big data analytics for smart and sustainable city galwayBig data analytics for smart and sustainable city galway
Big data analytics for smart and sustainable city galway
 
Dynamic Synthesis of to Support Interoperability in Autonomic Systems
Dynamic Synthesis of to Support Interoperability in Autonomic SystemsDynamic Synthesis of to Support Interoperability in Autonomic Systems
Dynamic Synthesis of to Support Interoperability in Autonomic Systems
 
00 Automatic Mental Health Classification in Online Settings and Language Emb...
00 Automatic Mental Health Classification in Online Settings and Language Emb...00 Automatic Mental Health Classification in Online Settings and Language Emb...
00 Automatic Mental Health Classification in Online Settings and Language Emb...
 
Helping online communities enrich folksonomies
Helping online communities enrich folksonomiesHelping online communities enrich folksonomies
Helping online communities enrich folksonomies
 
A Survey on the Specification of the Physical Environment of Wireless Sensor...
A Survey on the Specification of the Physical Environment  of Wireless Sensor...A Survey on the Specification of the Physical Environment  of Wireless Sensor...
A Survey on the Specification of the Physical Environment of Wireless Sensor...
 
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
 
Description and Composition of Bio-Inspired Design Patterns: The Gradient Case
Description and Composition of Bio-Inspired Design Patterns: The Gradient CaseDescription and Composition of Bio-Inspired Design Patterns: The Gradient Case
Description and Composition of Bio-Inspired Design Patterns: The Gradient Case
 
SMART Seminar Series: "Spatial simulation of complex adaptive systems: why “a...
SMART Seminar Series: "Spatial simulation of complex adaptive systems: why “a...SMART Seminar Series: "Spatial simulation of complex adaptive systems: why “a...
SMART Seminar Series: "Spatial simulation of complex adaptive systems: why “a...
 
Oliver Sola 7486
Oliver Sola 7486Oliver Sola 7486
Oliver Sola 7486
 
ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...
ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...
ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...
 
7.1 design exercise presentation 10 11 (47)
7.1 design exercise presentation 10 11 (47)7.1 design exercise presentation 10 11 (47)
7.1 design exercise presentation 10 11 (47)
 
7.1 design exercise presentation 10 11 (47)
7.1 design exercise presentation 10 11 (47)7.1 design exercise presentation 10 11 (47)
7.1 design exercise presentation 10 11 (47)
 
Compositional Blocks for Optimal Self-Healing Gradients
Compositional Blocks for Optimal Self-Healing GradientsCompositional Blocks for Optimal Self-Healing Gradients
Compositional Blocks for Optimal Self-Healing Gradients
 
DSD-INT 2019 Modelling in DANUBIUS-RI-Bellafiore
DSD-INT 2019 Modelling in DANUBIUS-RI-BellafioreDSD-INT 2019 Modelling in DANUBIUS-RI-Bellafiore
DSD-INT 2019 Modelling in DANUBIUS-RI-Bellafiore
 
7.1 design exercise presentation 14 15 (51)
7.1 design exercise presentation 14 15 (51)7.1 design exercise presentation 14 15 (51)
7.1 design exercise presentation 14 15 (51)
 
Thesis Blurb intro-Multisensory Warning Cue Evaluation in Driving-Jan18
Thesis Blurb intro-Multisensory Warning Cue Evaluation in Driving-Jan18Thesis Blurb intro-Multisensory Warning Cue Evaluation in Driving-Jan18
Thesis Blurb intro-Multisensory Warning Cue Evaluation in Driving-Jan18
 
From Self-Organising Mechanisms to Design Patterns
From Self-Organising Mechanisms to Design PatternsFrom Self-Organising Mechanisms to Design Patterns
From Self-Organising Mechanisms to Design Patterns
 
Assessing The Impact Of Global Variables On Program Dependence And Dependence...
Assessing The Impact Of Global Variables On Program Dependence And Dependence...Assessing The Impact Of Global Variables On Program Dependence And Dependence...
Assessing The Impact Of Global Variables On Program Dependence And Dependence...
 

Plus de Danilo Pianini

Plus de Danilo Pianini (10)

Time fluid field-based Coordination
Time fluid field-based CoordinationTime fluid field-based Coordination
Time fluid field-based Coordination
 
Engineering the Aggregate - Talk at Software Engineering for Intelligent and ...
Engineering the Aggregate - Talk at Software Engineering for Intelligent and ...Engineering the Aggregate - Talk at Software Engineering for Intelligent and ...
Engineering the Aggregate - Talk at Software Engineering for Intelligent and ...
 
Versioning and License selection
Versioning and License selectionVersioning and License selection
Versioning and License selection
 
Continuous Integration
Continuous IntegrationContinuous Integration
Continuous Integration
 
Enforce reproducibility: dependency management and build automation
Enforce reproducibility: dependency management and build automationEnforce reproducibility: dependency management and build automation
Enforce reproducibility: dependency management and build automation
 
Productive parallel teamwork: Decentralized Version Control Systems
Productive parallel teamwork: Decentralized Version Control SystemsProductive parallel teamwork: Decentralized Version Control Systems
Productive parallel teamwork: Decentralized Version Control Systems
 
Computational Fields meet Augmented Reality: Perspectives and Challenges
Computational Fields meet Augmented Reality: Perspectives and ChallengesComputational Fields meet Augmented Reality: Perspectives and Challenges
Computational Fields meet Augmented Reality: Perspectives and Challenges
 
Practical Aggregate Programming with Protelis @ SASO2017
Practical Aggregate Programming with Protelis @ SASO2017Practical Aggregate Programming with Protelis @ SASO2017
Practical Aggregate Programming with Protelis @ SASO2017
 
Towards a Foundational API for Resilient Distributed Systems Design
Towards a Foundational API for Resilient Distributed Systems DesignTowards a Foundational API for Resilient Distributed Systems Design
Towards a Foundational API for Resilient Distributed Systems Design
 
Continuous integration and delivery
Continuous integration and deliveryContinuous integration and delivery
Continuous integration and delivery
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Dernier (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 

Towards a comprehensive approach to spontaneous self-composition in pervasive ecosystems

  • 1. Towards a comprehensive approach to spontaneous self-composition in pervasive ecosystems Sara Montagna Mirko Viroli Danilo Pianini Jose Luis Fernandez-Marquez Email: sara.montagna@unibo.it ` A LMA M ATER S TUDIORUM—Universita di Bologna a Cesena University of Geneva, Switzerland Undicesimo Workshop Nazionale “Dagli Oggetti agli Agenti” (WOA’12) Milano-Bicocca, Italy, 17-19 September 2012 Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 1 / 22
  • 2. 1 A comprehensive approach for pervasive ecosystems 2 The self-composition issue in pervasive service ecosystems 3 Gradient self-compositions 4 Towards simulation of gradient self-compositions Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 2 / 22
  • 3. A comprehensive approach for pervasive ecosystems Outline 1 A comprehensive approach for pervasive ecosystems 2 The self-composition issue in pervasive service ecosystems 3 Gradient self-compositions 4 Towards simulation of gradient self-compositions Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 3 / 22
  • 4. A comprehensive approach for pervasive ecosystems Pervasive service ecosystems [VPMS12] SAPERE Vision Mobile devices, people, software services, data, events Individuals Self-organisation enacted at the system level High degrees of scale openness adaptivity toleration of long-term evolution Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 4 / 22
  • 5. A comprehensive approach for pervasive ecosystems Abstract Architecture Figure : An architectural view of a pervasive ecosystem. Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 5 / 22
  • 6. A comprehensive approach for pervasive ecosystems Live semantic annotations Basic block of semantic chemistry A unified description for every entity A unique LSA-id plus a semantic description (SD) RDF-inspired set of multi-valued properties Contains everything is needed for describing the entity Example: gradient source annotation :id314 mid:#loc :loc117; sos:type sos:source; sos:step "0"; sos:sourceid "341AB2" sos:aggr_prop sos:sourceid; sos:r_diff "10"; sos:r_ctx "100" Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 6 / 22
  • 7. A comprehensive approach for pervasive ecosystems Eco-Laws Language of semantic chemistry Chemical rules over LSA templates P+...+P --r--> Q+...+Q Constrained variables written ?V(filter) Check for presence “+”, absence “-” or unique existence “=” They can diffuse an LSA in the neighborhood They can aggregate LSAs like in chemical bonding Example: source pump ?SOURCE sos:type sos:source; sos:aggr_prop ?P; sos:step ?T; sos:r_diff ?R --?R--> ?SOURCE sos:step =(?T+1) + ?GRAD(?GRAD clones ?SOURCE) sos:type -sos:source sos:diff sos:aggr; sos:dist "0"; sos:orientation "here" Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 7 / 22
  • 8. The self-composition issue in pervasive service ecosystems Outline 1 A comprehensive approach for pervasive ecosystems 2 The self-composition issue in pervasive service ecosystems 3 Gradient self-compositions 4 Towards simulation of gradient self-compositions Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 8 / 22
  • 9. The self-composition issue in pervasive service ecosystems Self-Composition Key issue Patterns of behaviour emerge without any supervision Example: fully-spontaneous composition of services, possibly at multiple levels Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 9 / 22
  • 10. The self-composition issue in pervasive service ecosystems Some self-composition issues Composition of services not explicitly designed to coordinate Composition of “compatible” services Creation of “meaningful” services Context awareness Multi-level composition Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 10 / 22
  • 11. The self-composition issue in pervasive service ecosystems Self-composition in service ecosystems Composition of services in literature 1 Service Composition in SOA – advanced semantic matching 2 Evolutionary techniques 3 Competition-based approaches All the above, altogether 1 Choice of the services to compose 2 Pre-selection of “promising” compositions 3 Fine parameter tuning 4 Service evaluation metrics 5 Best services must be promoted Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 11 / 22
  • 12. Gradient self-compositions Outline 1 A comprehensive approach for pervasive ecosystems 2 The self-composition issue in pervasive service ecosystems 3 Gradient self-compositions 4 Towards simulation of gradient self-compositions Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 12 / 22
  • 13. Gradient self-compositions Paradigmatic Example: Crowd Steering Goal and requirements Guide people towards POIs POIs chosen with respect to people’s interests Avoiding obstacles (incl. crowds) no supervision Scenario A museum with a dense network of sensor nodes Sensing of the presence of nearby visitors Computation abilities Visitors own smartphone devices holding their preferences Services available Gradient service Those provided by sensors (e.g., crowd detection service) Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 13 / 22
  • 14. Gradient self-compositions A Prototype Solution for Gradient Composition Composition “composition recommender” agents computing all the available compositions Contextualisation Gradients are contextualised Feedback Users public their “satisfaction” once they used the service Choice Users tend to prefer lower distance and higher satisfaction Evaporation Satisfaction fades with time Evolution Parameters tuning by agents using evolutionary techniques Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 14 / 22
  • 15. Gradient self-compositions Eco-Laws for Gradient [PUMP]: An annotation of type source continuously injects the initial gradient annotation ?SOURCE sos:type sos:source; sos:aggr_prop ?P; sos:step ?T; sos:r_diff ?R; sos:r_ctx ?RC --?R--> ?SOURCE sos:step =(?T+1) + ?GRAD(?GRAD clones ?SOURCE) sos:type -sos:source sos:diff sos:aggr; sos:dist "0"; sos:orientation "here" [DIFF] A gradient annotation is cloned in a neighbour, with distance increased and updated orientation ?GRAD sos:type sos:diff; sos:dist ?D; sos:r_diff ?R + ?NEIGH mid:type mid:#neigh; mid:remote ?L; mid:orientation ?O; mid:distance ?D2 --?R--> ?GRAD + ?NEIGH + ?GRAD1(?GRAD1 clones ?GRAD) sos:type -sos:diff sos:ctx; sos:dist =(?D+?D2); sos:orient =?O; mid:#loc ?L [CTX] A contextualising annotation is transformed back into an annotation to be diffused ?GRAD sos:type sos:ctx; sos:r_ctx ?RC --?RC-> ?GRAD sos:type sos:-ctx sos:diff; [YOUNGEST] Of two annotations the one with newest information is kept ?ANN1 sos:type sos:aggr; sos:aggr_prop ?P; ?P =[?C]; sos:step ?T1 + ?ANN2 sos:type sos:aggr; sos:aggr_prop ?P2; ?P2 =[?C]; sos:step ?T2(?T2<?T1) ---> ?ANN1 [SHORTEST] Of two annotations the one with shortest distance from source is kept ?ANN1 sos:type sos:aggr; sos:aggr_prop ?P; ?P =[?C]; sos:dist ?D1; sos:step ?T + ?ANN2 sos:type sos:aggr; sos:aggr_prop ?P2; ?P2 =[?C]; sos:dist ?D2(?D2>=?D1); sos:step ?T ---> ?ANN1 [DECAY] An annotation decays ?GRA sos:type sos:diff; sos:r_dec ?RD --?RD-> 0 Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 15 / 22
  • 16. Gradient self-compositions Eco-Laws for Gradient Composition [COMPOSITION] The gradient source is composed with the crowd service ?SOURCE sos:type sos:source; scm:satisfaction ?S + ?CROWD scm:type crowd; crowd:level ?CL ---> ?SOURCE + ?CSOURCE(?CSOURCE clones ?SOURCE) scm:property sos:dist; scm:parameters scm:crowd_op ?CF; scm:crowd_op ?CF*?CL [CONTEXTUALISATION] If sensors perceive crowd, the gradient distance is augmented ?GRAD sos:type sos ctx; sos:dist ?D; scm:property sos:dist; scm:parameters scm:crowd_op scm:crowd_factor; scm:crowd_factor ?CF; scm:crowd_op ?CF*?CL + ?CROWD scm:type crowd; crowd:level ?CL ---> ?CROWD + ?GRAD sos:type -sos:ctx sos:diff; sos:dist =(?D+?CF*?CL) [FEEDBACK] Feedbacks are used to update the satisfaction values ?FEEDBACK scm:parameters scm:crowd_op; scm:feedback scm:velocity; scm:velocity ?V + ?GRAD scm:satisfaction ?S; scm:parameters scm:crowd_op ---> ?GRAD scm:satisfaction =(?S+?V) [EVAPORATION] The gradient satisfaction value gets decreased ?GRAD scm:satisfaction ?S; scm:factor_ev ?FE; scm:r_ev ?RE --?RE-> ?GRAD scm:satisfaction =(?FE*?S) [DECAY] If the gradient satisfaction value becomes zero that composition is removed ?GRAD scm:satisfaction "0"; ---> Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 16 / 22
  • 17. Towards simulation of gradient self-compositions Outline 1 A comprehensive approach for pervasive ecosystems 2 The self-composition issue in pervasive service ecosystems 3 Gradient self-compositions 4 Towards simulation of gradient self-compositions Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 17 / 22
  • 18. Towards simulation of gradient self-compositions Simulation as a proof of concepts Conducted using A LCHEMIST [PMV11] Early experiments on gradient composition with crowd level Different compositions with different crowd relevance different composite gradients Satisfaction value measures the time to POI Users choose one gradient considering distance and satisfaction Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 18 / 22
  • 19. Towards simulation of gradient self-compositions Simulation Results I Figure : Satisfaction values for different compositions changing over time. Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 19 / 22
  • 20. Towards simulation of gradient self-compositions Simulation Results II Figure : Satisfaction values for different compositions changing over time. Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 20 / 22
  • 21. References References I Danilo Pianini, Sara Montagna, and Mirko Viroli. A chemical inspired simulation framework for pervasive services ecosystems. In Proceedings of the Federated Conference on Computer Science and Information Systems, pages 675–682. IEEE Computer Society Press, 2011. Mirko Viroli, Danilo Pianini, Sara Montagna, and Graeme Stevenson. Pervasive ecosystems: a coordination model based on semantic chemistry. In 27th Annual ACM Symposium on Applied Computing (SAC 2012), pages 295–302. ACM, 2012. Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 21 / 22
  • 22. References Towards a comprehensive approach to spontaneous self-composition in pervasive ecosystems Sara Montagna Mirko Viroli Danilo Pianini Jose Luis Fernandez-Marquez Email: sara.montagna@unibo.it ` A LMA M ATER S TUDIORUM—Universita di Bologna a Cesena University of Geneva, Switzerland Undicesimo Workshop Nazionale “Dagli Oggetti agli Agenti” (WOA’12) Milano-Bicocca, Italy, 17-19 September 2012 Montagna et al. (UniBo/UniGe) Self-composition of services WOA’12 22 / 22