Online Data Monitoring Framework Based on Histogram Packaging in Network Distributed Data Acquisition Systems Tomoyuki Konno 1 , Anatael Cabrera 2 Masaki Ishitsuka 1 , Masahiro Kuze 1 , Yasunobu Sakamoto 3 1. Tokyo Institute of Technology, 2. CNRS/IN2P3-APC Laboratory (Paris), 3. Tohoku Gakuin University CHEP2010@ taipei, 10/20/2010
16
Embed
Online Data Monitoring Framework Based on Histogram ... · –web : Google web toolkit, Ajax, Canvas (HTML5) •Create graphical plots on viewer sides –Dynamic control of plots
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Online Data Monitoring Framework Based on Histogram Packaging in Network Distributed Data
Acquisition Systems
Tomoyuki Konno1, Anatael Cabrera2
Masaki Ishitsuka1, Masahiro Kuze1,
Yasunobu Sakamoto3
1. Tokyo Institute of Technology,
2. CNRS/IN2P3-APC Laboratory (Paris),
3. Tohoku Gakuin University
CHEP2010@ taipei, 10/20/2010
Network-distributed data acquisition system
• DAQ subsystems and monitoring information are distributed in local network
• Requirements for online monitoring
1. A lot of connections to DAQ sub-systems must be handled
2. Monitoring information must be available from outside of firewall
CHEP@Taipei, 2010/10/20 2
DA
Q s
ub
-sys
tem
s
Local area network
off site personsfirewall
on site shifter
Online monitor framework• General software framework for online data monitoring
– Collects information from network distributed systems
– All information are handled as collections of histograms
• ”HistogramPackage” : Common interface via network
– Displays to shifters far from experimental sites via internet
• DAQ sub-systems
– Create and update HistogramPackages
• Monitor Server
– Collects HistogramPackages from DAQ sub-systems
• Monitor Viewer
– Connect to Monitor Server and create graphical plots
– Two types with different technologies: Java, web browserCHEP@Taipei, 2010/10/20 3
HistogramPackage
• Common interface via network
– DAQ sub-systems to Monitor Server
– Monitor Server to Monitor Viewers
• Collections of histograms
– Package name (String) : used for identification
– Update serial ID (Integer) : used for checking updates
– Array of Monitored Objects
• Histograms (1-D and 2-D)
• Graphs (normal graph and timed graph)
• Updates all histograms at the same time
– Send updates of the histograms at once
CHEP@Taipei, 2010/10/20 4
CHEP@Taipei, 2010/10/20
Overview of Online Monitor framework
web serverDAQ sub-systems
Java version ofMonitor Viewer
TCP
Local area network
www
HTTPXML
Monitor Server
5
Available from everywhere via Internet
web version ofMonitor Viewer
Monitor Server
• Several DAQ sub-systems can communicate in parallel
• Monitor Viewer gets all HistogramPackages with one connectionCHEP@Taipei, 2010/10/20 6
MonitorSkelton
MonitorProvider
Monitor Server
shared memory
Monitor Viewers
DAQ sub-systems
thread
process
Data transition to Viewers
• DAQ sub-systems have triggers to start updating data
CHEP@Taipei, 2010/10/20 7
MonitorSkelton
MonitorProvider
Monitor Server
shared memory
Monitor Viewer
DAQ sub-systems
notify updatesvia condition
variables
wait for updates of the
packages
always wait for updates of the
packages
always wait for updates of the
package
Monitor Viewer• Available from everywhere via Internet
– Independent to platform (Windows, Mac OS, Linux)
– Free from additional plug-ins or libraries
• Technologies– Java : Swing with Java “web start” technologies
– web : Google web toolkit, Ajax, Canvas (HTML5)
• Create graphical plots on viewer sides– Dynamic control of plots (zooming , changing colors, …)
• GUI layouts are automatically generated by XML files– Panels, tables ,tabs, scroll bars etc..
– Specifics of objects (colors, width, font, draw options, …)