SlideShare a Scribd company logo
1 of 19
CmpE 275 Fall 2009Project 1Highway Emission Monitoring SystemTeam Name:Ants			Dhaval Patel		006500481	Shivanshu Singh		006488300
High-level system design
High-level system design Measure Materials present in the Air and send this data to the DataRecorder at specific intervals of time.
High-level system design Records incoming data from the sensors into a DB
High-level system design Sensor Location Management component. It maintains sensor location coordinates.
High-level system design Listens to PHS client requests and generates an XML file containing sensor readings for the requested Region and within the requested Timeframe.
High-level system design Generates KML files for the snapshot of the entire system at the requested Timestamp.
High-level system design Acts as the communication medium, allowing asynchronous communication and Loose Coupling.
Deployment Config.java Stores the various configuration parameters which must be set before compiling and deploying. Paths: HOMELOCATION it’s the root of the project location. E.g. if the project name is Project1-Ants and the path of this folder is /Users/shivanshu/LearningSpace/Project1-Ants then 	HOMELOCATION=“/Users/shivanshu/LearningSpace/Project1-Ants” KML Templates: For use by CCCListener to generate kml files. Store kml template file for each highway at HOMELOCATION/Templates/KML-files Initialization: Run hems.ant.simulation.SensorConfiguration.java Stores the coordinates of sensors in the databse. Jboss: The system supports Jboss 5.1.0 and can be configured for JBoss4.2.3
Sensors Two types: CSU – measuring CO2, CO, NO and SO2 ASU – measuring Particulate matter Frequency: Each sensor will send data, which for reasons of modeling the actual system, will be generated in terms of 5 messages per sensor per 0.5 hour. interval of ½ hour is towards giving the server enough time to process requests and persist the data so that an increasing backlog of messages waiting to be processed is not created. can be adjusted accordingly by changing a property in the hems.ant.component.common.Config.java file. Data Packet: TextMessage; format: SensorId,Material,Value,Timestamp System does not verify materialType in the system for flexibility of adding sensors and capabilities of measuring other materials to the sensors and aid adaptability to such changes. SensorId: hhhs-<sensornumber> 		(case sensitive) sensor sensor sensor sensor
Components SCRecorder Main sensor location management component. reads the sensor/location queue for sensor location information TextMessage; format: sensorId,Longitude,Latitude,Altitude Enables the system to be updates on runtime for changes in sensor location.
Components SCRecorder
Components DataRecorder Records incoming data from the sensor Assumes that the data generation is being done at a set interval of time by all the sensors Timestamp for an instance of data generation will be the same for all the sensors. This is possible if the sensors synchronize their time with a central time sync service. Interval can be set through the SENSORINTERVALMINUTESvariablehems.ant.component.common.Config.java file.
Components DataRecorder Checks for Threshold Values. Robust against malformed messages.
Components PHSListener Responds to requests (which have to be put into phs/request JMS Queue by the client) Generates XML containing sensor readings for sensors in the given timeframe and region Location: HOMELOCATION/PHS-files/PHS-yyyy-mm-dd-hh-mm-ss.xml Format:<phs_data> <entry>sensorId,materialType,value,timestamp</entry> 					…. </phs_data>
Components PHSListener
Components CCCListener Responds to requests (which have to be put intoccc/request JMS Queue by the client) Generates KML for each highway for the snapshot of the system at the requested timestamp. Location: HOMELOCATION/CCC-files/highwayname-yyyy-mm-dd-hh-mm-ss.kml Threshold Values Shows if a certain value goes below or above threshold.
Components CCCListener Crosses Threshold Within Threshold
Future Work PHS & CCC: Asking the client to specify the file location with the desired filename or actually transfer it to the client. CCC: Currently only 101, 680 and 880 Future work may include generation of KML files for all the highways for which initial kml files are provided, making it a generic tool. DB tuning / alternate persistence and archiving strategies Clustering Web Client for Sensor Location Management

More Related Content

Similar to Highway Emmision Management System using EJB 3.0

Logging, tracing and metrics: Instrumentation in .NET 5 and Azure
Logging, tracing and metrics: Instrumentation in .NET 5 and AzureLogging, tracing and metrics: Instrumentation in .NET 5 and Azure
Logging, tracing and metrics: Instrumentation in .NET 5 and AzureAlex Thissen
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded SystemsHimanshu Ghetia
 
XCube-overview-brochure-revB
XCube-overview-brochure-revBXCube-overview-brochure-revB
XCube-overview-brochure-revBRichard Jaenicke
 
Towards a REST architecture for networked vehicles and sensors
Towards a REST architecture for networked vehicles and sensorsTowards a REST architecture for networked vehicles and sensors
Towards a REST architecture for networked vehicles and sensorsJosé Pinto
 
Just the sketch: advanced streaming analytics in Apache Metron
Just the sketch: advanced streaming analytics in Apache MetronJust the sketch: advanced streaming analytics in Apache Metron
Just the sketch: advanced streaming analytics in Apache MetronDataWorks Summit
 
17. Computer System Configuration And Methods
17. Computer System   Configuration And Methods17. Computer System   Configuration And Methods
17. Computer System Configuration And MethodsNew Era University
 
[2015/2016] AADL (Architecture Analysis and Design Language)
[2015/2016] AADL (Architecture Analysis and Design Language)[2015/2016] AADL (Architecture Analysis and Design Language)
[2015/2016] AADL (Architecture Analysis and Design Language)Ivano Malavolta
 
Real Time Java DDS
Real Time Java DDSReal Time Java DDS
Real Time Java DDSkerush
 
Software architecture unit 4
Software architecture unit 4Software architecture unit 4
Software architecture unit 4yawani05
 
Environment Canada's Data Management Service
Environment Canada's Data Management ServiceEnvironment Canada's Data Management Service
Environment Canada's Data Management ServiceSafe Software
 
6° Sessione - Ambiti applicativi nella ricerca di tecnologie statistiche avan...
6° Sessione - Ambiti applicativi nella ricerca di tecnologie statistiche avan...6° Sessione - Ambiti applicativi nella ricerca di tecnologie statistiche avan...
6° Sessione - Ambiti applicativi nella ricerca di tecnologie statistiche avan...Jürgen Ambrosi
 
Everything comes in 3's
Everything comes in 3'sEverything comes in 3's
Everything comes in 3'sdelagoya
 
SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...
SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...
SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...SERENEWorkshop
 

Similar to Highway Emmision Management System using EJB 3.0 (20)

Logging, tracing and metrics: Instrumentation in .NET 5 and Azure
Logging, tracing and metrics: Instrumentation in .NET 5 and AzureLogging, tracing and metrics: Instrumentation in .NET 5 and Azure
Logging, tracing and metrics: Instrumentation in .NET 5 and Azure
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 
XCube-overview-brochure-revB
XCube-overview-brochure-revBXCube-overview-brochure-revB
XCube-overview-brochure-revB
 
Towards a REST architecture for networked vehicles and sensors
Towards a REST architecture for networked vehicles and sensorsTowards a REST architecture for networked vehicles and sensors
Towards a REST architecture for networked vehicles and sensors
 
Just the sketch: advanced streaming analytics in Apache Metron
Just the sketch: advanced streaming analytics in Apache MetronJust the sketch: advanced streaming analytics in Apache Metron
Just the sketch: advanced streaming analytics in Apache Metron
 
17. Computer System Configuration And Methods
17. Computer System   Configuration And Methods17. Computer System   Configuration And Methods
17. Computer System Configuration And Methods
 
Grid1
Grid1Grid1
Grid1
 
[2015/2016] AADL (Architecture Analysis and Design Language)
[2015/2016] AADL (Architecture Analysis and Design Language)[2015/2016] AADL (Architecture Analysis and Design Language)
[2015/2016] AADL (Architecture Analysis and Design Language)
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Csc concepts
Csc conceptsCsc concepts
Csc concepts
 
Spring integration
Spring integrationSpring integration
Spring integration
 
Operating system
Operating systemOperating system
Operating system
 
Real Time Java DDS
Real Time Java DDSReal Time Java DDS
Real Time Java DDS
 
Os Concepts
Os ConceptsOs Concepts
Os Concepts
 
Software architecture unit 4
Software architecture unit 4Software architecture unit 4
Software architecture unit 4
 
Environment Canada's Data Management Service
Environment Canada's Data Management ServiceEnvironment Canada's Data Management Service
Environment Canada's Data Management Service
 
6° Sessione - Ambiti applicativi nella ricerca di tecnologie statistiche avan...
6° Sessione - Ambiti applicativi nella ricerca di tecnologie statistiche avan...6° Sessione - Ambiti applicativi nella ricerca di tecnologie statistiche avan...
6° Sessione - Ambiti applicativi nella ricerca di tecnologie statistiche avan...
 
Everything comes in 3's
Everything comes in 3'sEverything comes in 3's
Everything comes in 3's
 
L11-RTOS.ppt
L11-RTOS.pptL11-RTOS.ppt
L11-RTOS.ppt
 
SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...
SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...
SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...
 

Highway Emmision Management System using EJB 3.0

  • 1. CmpE 275 Fall 2009Project 1Highway Emission Monitoring SystemTeam Name:Ants Dhaval Patel 006500481 Shivanshu Singh 006488300
  • 3. High-level system design Measure Materials present in the Air and send this data to the DataRecorder at specific intervals of time.
  • 4. High-level system design Records incoming data from the sensors into a DB
  • 5. High-level system design Sensor Location Management component. It maintains sensor location coordinates.
  • 6. High-level system design Listens to PHS client requests and generates an XML file containing sensor readings for the requested Region and within the requested Timeframe.
  • 7. High-level system design Generates KML files for the snapshot of the entire system at the requested Timestamp.
  • 8. High-level system design Acts as the communication medium, allowing asynchronous communication and Loose Coupling.
  • 9. Deployment Config.java Stores the various configuration parameters which must be set before compiling and deploying. Paths: HOMELOCATION it’s the root of the project location. E.g. if the project name is Project1-Ants and the path of this folder is /Users/shivanshu/LearningSpace/Project1-Ants then HOMELOCATION=“/Users/shivanshu/LearningSpace/Project1-Ants” KML Templates: For use by CCCListener to generate kml files. Store kml template file for each highway at HOMELOCATION/Templates/KML-files Initialization: Run hems.ant.simulation.SensorConfiguration.java Stores the coordinates of sensors in the databse. Jboss: The system supports Jboss 5.1.0 and can be configured for JBoss4.2.3
  • 10. Sensors Two types: CSU – measuring CO2, CO, NO and SO2 ASU – measuring Particulate matter Frequency: Each sensor will send data, which for reasons of modeling the actual system, will be generated in terms of 5 messages per sensor per 0.5 hour. interval of ½ hour is towards giving the server enough time to process requests and persist the data so that an increasing backlog of messages waiting to be processed is not created. can be adjusted accordingly by changing a property in the hems.ant.component.common.Config.java file. Data Packet: TextMessage; format: SensorId,Material,Value,Timestamp System does not verify materialType in the system for flexibility of adding sensors and capabilities of measuring other materials to the sensors and aid adaptability to such changes. SensorId: hhhs-<sensornumber> (case sensitive) sensor sensor sensor sensor
  • 11. Components SCRecorder Main sensor location management component. reads the sensor/location queue for sensor location information TextMessage; format: sensorId,Longitude,Latitude,Altitude Enables the system to be updates on runtime for changes in sensor location.
  • 13. Components DataRecorder Records incoming data from the sensor Assumes that the data generation is being done at a set interval of time by all the sensors Timestamp for an instance of data generation will be the same for all the sensors. This is possible if the sensors synchronize their time with a central time sync service. Interval can be set through the SENSORINTERVALMINUTESvariablehems.ant.component.common.Config.java file.
  • 14. Components DataRecorder Checks for Threshold Values. Robust against malformed messages.
  • 15. Components PHSListener Responds to requests (which have to be put into phs/request JMS Queue by the client) Generates XML containing sensor readings for sensors in the given timeframe and region Location: HOMELOCATION/PHS-files/PHS-yyyy-mm-dd-hh-mm-ss.xml Format:<phs_data> <entry>sensorId,materialType,value,timestamp</entry> …. </phs_data>
  • 17. Components CCCListener Responds to requests (which have to be put intoccc/request JMS Queue by the client) Generates KML for each highway for the snapshot of the system at the requested timestamp. Location: HOMELOCATION/CCC-files/highwayname-yyyy-mm-dd-hh-mm-ss.kml Threshold Values Shows if a certain value goes below or above threshold.
  • 18. Components CCCListener Crosses Threshold Within Threshold
  • 19. Future Work PHS & CCC: Asking the client to specify the file location with the desired filename or actually transfer it to the client. CCC: Currently only 101, 680 and 880 Future work may include generation of KML files for all the highways for which initial kml files are provided, making it a generic tool. DB tuning / alternate persistence and archiving strategies Clustering Web Client for Sensor Location Management