SlideShare a Scribd company logo
4
Most read
13
Most read
14
Most read
State-Centric Programming
Done by
Aanchal Kumari
17001UEL01
CONTENTS
2Wireless Sensor Networks
 Introduction
 Collaboration Groups
 Examples of Groups
 Geographically constrained group
 N-hop neighborhood group
 Publish/Subscribe group
 Acquaintance group
 Mixing
INTRODUCTION
• CSIP applications, such as target tracking, are not generic
distributed programs.
• Deeply rooted in these applications are the notion of states of
physical phenomena and models of their evolution over space
and time.
• A distinct property of physical states, such as the location,
shape, and motion of objects, is continuity in space and time.
• The sensing and control of these states are typically done
through sequential state updates.
3Wireless Sensor Networks
xk+1 = f(xk, uk) (1)
yk = g(xk, uk) (2)
 x : state of a system
 u : inputs
 y : outputs
 k : integer update index
 f : state update function
 g : output observation function
• This formalization is broad enough to capture a wide
variety of algorithms in sensor fusion, signal processing,
and control.
4Wireless Sensor Networks
• Certain concerns were addressed where and when, rather
than how, to perform sensing, computation, and actuation,
and play a central role in the overall system performance.
• However, traditional programming models and languages
don’t support these “nonfunctional” aspects of computation
well.
• State-centre programming aims at providing design
methodologies and frameworks that provide meaningful
abstractions for these issues.
• One such abstraction in this section is collaboration groups.
5Wireless Sensor Networks
COLLABORATION GROUPS
• A set of entities that contribute to a state update.
• These entities can be physical or logical sensor nodes or
more abstract system components such as software agents.
• A group encapsulates two properties: its scope to
encapsulate network topologies and its structure to encapsulate
network protocol.
• The scope of the group defines the membership of the nodes
with respect to the group.
• A group’s structure defines the roles each member plays in
the group and thus the flow of data.
6Wireless Sensor Networks
• Formally, a group is a 4-tuple
G = (A, L, p, R)
Where,
 A is a set of agents;
 L is a set of labels, called roles;
 p : A→L is a function that assigns each agent a
role label;
 R ⊆ L × L are the connectivity relations between
roles.
• Given the relations between roles, a group can induce a lower
level connectivity relation Eamong the agents such that
∀a, b ∈ A, if (p(a), p(b)) ∈ R, then (a, b) ∈ E.
7Wireless Sensor Networks
EXAMPLES OF GROUPS
Protocol example:
 Geographically constrained group
 N-hop neighborhood group
 Publish/Subscribe group
 Acquaintance group
 Mixing
8Wireless Sensor Networks
Geographically constrained group:
• A GCG consists of a set of nodes located within some fixed
geographical region (the group’s extent).
• Physical signals, especially from point targets, may propagate only to
a limited extent with distance, this type of group naturally captures
the set of sensors that can possibly sense a local phenomenon.
• GCG’s geographic shape can be specified as circles, polygons, and
their unions and intersections.
• GCG can be established by geographically constrained flooding, using
protocols such as Geocasting7 and GEAR to support communication
among members.
• A GCG may designate a leader, which fuses information from all
other group members.
9Wireless Sensor Networks
N-hop neighborhood group:
• An n-HNG has an anchor node and defines the all nodes within n
communication hops are members of the group.
• Local broadcasting can be used to determine the scope.
• The anchor node is the group leader, having a tree structure with
the leader as the root to optimize communication.
• If the leader’s behavior is decomposed into sub-operations running on
each node, then the tree structure also provides a platform for
distributing the computation.
• There are several useful special cases for n-HNG.
• For example,
0-HNG - the anchor node itself,
1-HNG - anchor node’s one-hop neighbors, and
∞-HNG contains all the nodes reachable from the root.
10Wireless Sensor Networks
Publish/Subscribe group:
• A group may also be defined more dynamically, such as all entities
that can provide certain data or services or that satisfy certain
predicates over its observations or internal states.
• A PSG consists of one or more consumers expressing interest in
specific types of data or services and the producers that provide
those data or services.
• Communication among members of PSG are established via
rendezvous points, directory servers, or network protocols such as
directed diffusion.
11Wireless Sensor Networks
Acquaintance group:
• A member belongs to the group because another group member
“invited” it.
• A member may quit the group without other member’s permission
• An AG might have a leader serving as the rendezvous point.
• When the leader is also fixed on a node or in a region, GPSR (greedy
perimeter stateless routing), ad hoc routing trees, or
directed-diffusion types of protocols can facilitate communication
between the leader and the other members.
• This group is to monitor and control mobile agents from a base
station.
• When all group members are mobile and no central leader exists,
maintaining group connectivity might become quite complex.
12Wireless Sensor Networks
Mixing:
• Mixing and matching group is a powerful technique to tackle
system complexity, by making algorithm much more scalable and
resource efficient without sacrificing.
• Using highly tuned communication protocols for a specific
application to reduce latency and energy cost.
• There are various ways to compose groups.
• Parallel - to provide different types of input for a single
computational entity.
• Hierarchical – it is composed such that one group contains
another (or its representative member).
13Wireless Sensor Networks
Thank You!!
14Wireless Sensor Networks

More Related Content

PPTX
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
PPT
Prioritizing handoffs
PPTX
Mac protocols
PPTX
Spread spectrum
PPTX
Wsn unit-1-ppt
PPTX
IS-95 Cdma
PDF
Sensor Networks Introduction and Architecture
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
Prioritizing handoffs
Mac protocols
Spread spectrum
Wsn unit-1-ppt
IS-95 Cdma
Sensor Networks Introduction and Architecture

What's hot (20)

PPTX
Localization & calling
PPTX
WSN-IEEE 802.15.4 -MAC Protocol
PPTX
Node level simulators
PPTX
MEDIUM ACCESS CONTROL
PPTX
Destination Sequenced Distance Vector Routing (DSDV)
PDF
EC8702 adhoc and wireless sensor networks iv ece
ODP
UMTS, Introduction.
PDF
Issues in routing protocol
PPTX
Multicast routing protocols in adhoc networks
PPTX
Zone Routing Protocol
PPTX
energy efficient unicast
PPTX
Geographic Routing in WSN
PDF
Mobile Data Networks
PPT
Signaling system 7 (ss7)
PPTX
Gsm architecture
PPTX
Packet radio protocol
PPTX
Gprs architecture ppt
PPTX
SENSOR NETWORK PLATFORMS AND TOOLS
PPT
GSM channels
Localization & calling
WSN-IEEE 802.15.4 -MAC Protocol
Node level simulators
MEDIUM ACCESS CONTROL
Destination Sequenced Distance Vector Routing (DSDV)
EC8702 adhoc and wireless sensor networks iv ece
UMTS, Introduction.
Issues in routing protocol
Multicast routing protocols in adhoc networks
Zone Routing Protocol
energy efficient unicast
Geographic Routing in WSN
Mobile Data Networks
Signaling system 7 (ss7)
Gsm architecture
Packet radio protocol
Gprs architecture ppt
SENSOR NETWORK PLATFORMS AND TOOLS
GSM channels
Ad

Similar to Wsn state-centric programming (20)

PPTX
under wireless communication prediction using deeplearning water PPT.pptx
PPTX
Camp finall
PDF
Link aware nice application level multicast protocol
PDF
Hierarchical Routing Protocols in Wireless Sensor Networks: A Survey and its ...
PDF
INCREASE THE LIFETIME OF WIRELESS SENSOR NETWORKS USING HIERARCHICAL CLUSTERI...
PDF
INCREASE THE LIFETIME OF WIRELESS SENSOR NETWORKS USING HIERARCHICAL CLUSTERI...
PDF
INCREASE THE LIFETIME OF WIRELESS SENSOR NETWORKS USING HIERARCHICAL CLUSTERI...
PDF
AggreLEACH: Enhance Privacy Preserving in Wireless Sensor Network
PDF
A NOVEL APPROACH FOR ENERGY EFFICIENT HIERARCHY BASED ROUTING IN SENSOR NETWO...
DOCX
Project names for b.tech
PPTX
Final PPT.pptx
PDF
W1_Lecture Notes nptel Distributed system
PDF
Performance Evaluation of LEACH Protocol for Wireless Sensor Network
PDF
Based on Heterogeneity and Electing Probability of Nodes Improvement in LEACH
PDF
Comparative Simulation Study Of LEACH-Like And HEED-Like Protocols Deployed I...
PPTX
routing protocol of sensor networks.pptx
PDF
Clustering-based Analysis for Heavy-Hitter Flow Detection
PPTX
Ioe module 4
PDF
A04560105
PDF
Analysis of different hierarchical routing protocols of wireless sensor network
under wireless communication prediction using deeplearning water PPT.pptx
Camp finall
Link aware nice application level multicast protocol
Hierarchical Routing Protocols in Wireless Sensor Networks: A Survey and its ...
INCREASE THE LIFETIME OF WIRELESS SENSOR NETWORKS USING HIERARCHICAL CLUSTERI...
INCREASE THE LIFETIME OF WIRELESS SENSOR NETWORKS USING HIERARCHICAL CLUSTERI...
INCREASE THE LIFETIME OF WIRELESS SENSOR NETWORKS USING HIERARCHICAL CLUSTERI...
AggreLEACH: Enhance Privacy Preserving in Wireless Sensor Network
A NOVEL APPROACH FOR ENERGY EFFICIENT HIERARCHY BASED ROUTING IN SENSOR NETWO...
Project names for b.tech
Final PPT.pptx
W1_Lecture Notes nptel Distributed system
Performance Evaluation of LEACH Protocol for Wireless Sensor Network
Based on Heterogeneity and Electing Probability of Nodes Improvement in LEACH
Comparative Simulation Study Of LEACH-Like And HEED-Like Protocols Deployed I...
routing protocol of sensor networks.pptx
Clustering-based Analysis for Heavy-Hitter Flow Detection
Ioe module 4
A04560105
Analysis of different hierarchical routing protocols of wireless sensor network
Ad

Recently uploaded (20)

PDF
Digital Logic Computer Design lecture notes
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Sustainable Sites - Green Building Construction
PPTX
Lecture Notes Electrical Wiring System Components
PPT
Mechanical Engineering MATERIALS Selection
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Geodesy 1.pptx...............................................
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
web development for engineering and engineering
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Construction Project Organization Group 2.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
PPT on Performance Review to get promotions
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Digital Logic Computer Design lecture notes
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Sustainable Sites - Green Building Construction
Lecture Notes Electrical Wiring System Components
Mechanical Engineering MATERIALS Selection
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Foundation to blockchain - A guide to Blockchain Tech
Embodied AI: Ushering in the Next Era of Intelligent Systems
Geodesy 1.pptx...............................................
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
UNIT 4 Total Quality Management .pptx
web development for engineering and engineering
Internet of Things (IOT) - A guide to understanding
Construction Project Organization Group 2.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPT on Performance Review to get promotions
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx

Wsn state-centric programming

  • 2. CONTENTS 2Wireless Sensor Networks  Introduction  Collaboration Groups  Examples of Groups  Geographically constrained group  N-hop neighborhood group  Publish/Subscribe group  Acquaintance group  Mixing
  • 3. INTRODUCTION • CSIP applications, such as target tracking, are not generic distributed programs. • Deeply rooted in these applications are the notion of states of physical phenomena and models of their evolution over space and time. • A distinct property of physical states, such as the location, shape, and motion of objects, is continuity in space and time. • The sensing and control of these states are typically done through sequential state updates. 3Wireless Sensor Networks
  • 4. xk+1 = f(xk, uk) (1) yk = g(xk, uk) (2)  x : state of a system  u : inputs  y : outputs  k : integer update index  f : state update function  g : output observation function • This formalization is broad enough to capture a wide variety of algorithms in sensor fusion, signal processing, and control. 4Wireless Sensor Networks
  • 5. • Certain concerns were addressed where and when, rather than how, to perform sensing, computation, and actuation, and play a central role in the overall system performance. • However, traditional programming models and languages don’t support these “nonfunctional” aspects of computation well. • State-centre programming aims at providing design methodologies and frameworks that provide meaningful abstractions for these issues. • One such abstraction in this section is collaboration groups. 5Wireless Sensor Networks
  • 6. COLLABORATION GROUPS • A set of entities that contribute to a state update. • These entities can be physical or logical sensor nodes or more abstract system components such as software agents. • A group encapsulates two properties: its scope to encapsulate network topologies and its structure to encapsulate network protocol. • The scope of the group defines the membership of the nodes with respect to the group. • A group’s structure defines the roles each member plays in the group and thus the flow of data. 6Wireless Sensor Networks
  • 7. • Formally, a group is a 4-tuple G = (A, L, p, R) Where,  A is a set of agents;  L is a set of labels, called roles;  p : A→L is a function that assigns each agent a role label;  R ⊆ L × L are the connectivity relations between roles. • Given the relations between roles, a group can induce a lower level connectivity relation Eamong the agents such that ∀a, b ∈ A, if (p(a), p(b)) ∈ R, then (a, b) ∈ E. 7Wireless Sensor Networks
  • 8. EXAMPLES OF GROUPS Protocol example:  Geographically constrained group  N-hop neighborhood group  Publish/Subscribe group  Acquaintance group  Mixing 8Wireless Sensor Networks
  • 9. Geographically constrained group: • A GCG consists of a set of nodes located within some fixed geographical region (the group’s extent). • Physical signals, especially from point targets, may propagate only to a limited extent with distance, this type of group naturally captures the set of sensors that can possibly sense a local phenomenon. • GCG’s geographic shape can be specified as circles, polygons, and their unions and intersections. • GCG can be established by geographically constrained flooding, using protocols such as Geocasting7 and GEAR to support communication among members. • A GCG may designate a leader, which fuses information from all other group members. 9Wireless Sensor Networks
  • 10. N-hop neighborhood group: • An n-HNG has an anchor node and defines the all nodes within n communication hops are members of the group. • Local broadcasting can be used to determine the scope. • The anchor node is the group leader, having a tree structure with the leader as the root to optimize communication. • If the leader’s behavior is decomposed into sub-operations running on each node, then the tree structure also provides a platform for distributing the computation. • There are several useful special cases for n-HNG. • For example, 0-HNG - the anchor node itself, 1-HNG - anchor node’s one-hop neighbors, and ∞-HNG contains all the nodes reachable from the root. 10Wireless Sensor Networks
  • 11. Publish/Subscribe group: • A group may also be defined more dynamically, such as all entities that can provide certain data or services or that satisfy certain predicates over its observations or internal states. • A PSG consists of one or more consumers expressing interest in specific types of data or services and the producers that provide those data or services. • Communication among members of PSG are established via rendezvous points, directory servers, or network protocols such as directed diffusion. 11Wireless Sensor Networks
  • 12. Acquaintance group: • A member belongs to the group because another group member “invited” it. • A member may quit the group without other member’s permission • An AG might have a leader serving as the rendezvous point. • When the leader is also fixed on a node or in a region, GPSR (greedy perimeter stateless routing), ad hoc routing trees, or directed-diffusion types of protocols can facilitate communication between the leader and the other members. • This group is to monitor and control mobile agents from a base station. • When all group members are mobile and no central leader exists, maintaining group connectivity might become quite complex. 12Wireless Sensor Networks
  • 13. Mixing: • Mixing and matching group is a powerful technique to tackle system complexity, by making algorithm much more scalable and resource efficient without sacrificing. • Using highly tuned communication protocols for a specific application to reduce latency and energy cost. • There are various ways to compose groups. • Parallel - to provide different types of input for a single computational entity. • Hierarchical – it is composed such that one group contains another (or its representative member). 13Wireless Sensor Networks