web-based electronic operation log system zlog system
DESCRIPTION
Web-Based Electronic Operation Log System Zlog System. K.Yoshii and T.Nakamura Mitsubishi Electric System & Service Co., Ltd., Tsukuba, Ibaraki, 305-0045, Japan K.Furukawa, T.T.Nakamura* , T.Obina, M.Satoh, and N.Yamamoto - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/1.jpg)
ICALEPCS 2007 WOAB04 1
Web-Based Electronic Operation Log System Zlog System
K.Yoshii and T.Nakamura
Mitsubishi Electric System & Service Co., Ltd., Tsukuba, Ibaraki, 305-0045, Japan
K.Furukawa, T.T.Nakamura*, T.Obina, M.Satoh, and N.Yamamoto
High Energy Accelerator Research Organization (KEK), Tsukuba, Ibaraki, 305-0801, Japan
* Speaker
![Page 2: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/2.jpg)
2
Contents
• What is Zlog System?
• How it looks?
• Structure of Zlog System
• What is Zope?
• Merit of Zlog System
![Page 3: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/3.jpg)
3
What is Zlog System?
• An Electronic logbook system
• Developed at KEK
• Zope based
• Designed mainly for daily operation of KEKB/PF-AR accelerator complex
• But also usable for many purposes
![Page 4: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/4.jpg)
4
History of Operation Log Systems for KEKB Accelerator
~ Aug. 2002 Real Notebook Handwritten
Sep. 2002 ~ Dec. 2003 MS-Access & SQL server Typed by hand (partially automated)
Jan. 2004 ~ ZLog System – Zope & PostgreSQL Automatic data entry
![Page 5: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/5.jpg)
5
Old Log Notebooks
~ Aug. 2002• Notebook• handwritten
![Page 6: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/6.jpg)
6
Old Electronic Log
Sep 2002 ~ Dec 2003• MS-Access & SQL server• Typed by hand (partially automated)
MenuTrouble Log
Viewer
![Page 7: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/7.jpg)
7
New Electronic Log: Zlog System
Jan. 2004 ~ • ZLog system – Zope & PostgreSQL• Automatic data entry
Input and Edit Viewer
![Page 8: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/8.jpg)
8
Daily operation in KEKB control room
![Page 9: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/9.jpg)
9
Zlog on terminal
How it looks?
![Page 10: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/10.jpg)
10
Main User Interfaces
• Input and Edit Interface
• Viewer Interfaces
• Search Interface
![Page 11: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/11.jpg)
11
Input and Edit Interface
Input Area for New Entry Text & ScreenShot Image
Latest Entries (Auto Update)
to edit click here
time range to show
open 1-shift viewer
![Page 12: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/12.jpg)
12
Viewer Interface - 1
• Simple Viewer
• Read Only
![Page 13: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/13.jpg)
13
Viewer Interface - 2
Viewing OptionsMultiple Logs can be selected.
Entries from different Logs are shown with different colors.
![Page 14: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/14.jpg)
14
Search Interface
• Search by Group, Trouble Level
• Search by Keyword
![Page 15: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/15.jpg)
15
• Paper copies are also made for every shift.• They are kept as non-electronic backup.
![Page 16: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/16.jpg)
16
Structure of Zlog System
Frontend Zlog Core (Zope based) (Web Application for user interface)
Backend PostgreSQL (Database server)
Log Monitor Server (Server for automatic data entry)
![Page 17: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/17.jpg)
17
Database Server - PostgreSQL
KEKB
1.5 million event entries
ALL
(Default Log Table Structure Template)
PFAR
0.18 million event entries…
Inherit
Database Server - PostgreSQL
KEKB
Shift Schedule Entries
![Page 18: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/18.jpg)
18
Log Monitor Server
PostgreSQLAutomatic entries
IOC IOC IOC …
monitor (EPICS/CA)
SQL commands
OPI
put
(EPICS/CA)
• Start/Stop of Injection • Injection rate• Start/Stop of Physics run• Peak Luminosity• Start of Beam Tuning• Alarm Events• etc….
Log Monitor Server.- python script
EPICS/Python API
Developed in Python
![Page 19: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/19.jpg)
19
Web Application Server - Zope
DA (Zope Product) Web Application Server - Zope
Zlog core (Zope Application)
Web browserWeb browserWeb browser
Feature of Zope• Web Server• Development through Web• Ready-made Products (Application Templates) (plug-in Zope components)
PostgreSQL
![Page 20: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/20.jpg)
20
What is Zope?
• Python-based open source web application server.
• Available on Mac, Unix and Windows.• Ready-made Products are available (Application Templates) (plug-in Zope components).• Through-the-Web development &
management.
![Page 21: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/21.jpg)
21Zope Management Interface
![Page 22: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/22.jpg)
22
Why Zope?
• Easy to learn• Rapid development (only 2.5 months by 2
persons for the ZLog)• High extensibility• Python-based (we are familiar to Python.)• Easy to handle Japanese character in multi-
platform
![Page 23: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/23.jpg)
23
Application Templates of Zope
Device Management BBS
KEKB Control Group Working MEMO - Plone
Examples in KEKB
![Page 24: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/24.jpg)
24
Other Zope Applications
Devices Management
Shift Schedule Management
Developed for KEKB/PF-AR
![Page 25: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/25.jpg)
25
The Merits of Zlog System
• Automatic entry of the operation log records.
• Easy to develop/maintain by object oriented feature of Zope.
• Users can browse and edit operation log wherever network terminal is available. Development is also possible from the network terminal.
• Free from Platform dependency of the terminals
• Because development itself is done in Web Server, no additional procedure such as data conversion is necessary to publish on Web.
![Page 26: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/26.jpg)
26
• RI-beam of RIKEN - Zlog System• J-PARC - Zlog core• Vacuum System Management at KEK -
Zlog core & PostgreSQL
Zlog is exported to other projects
Zlog core Template is now available.• Recently Zlog core is restructured as a
“Product” of Zope.• Easy to install, configure, modify
![Page 27: Web-Based Electronic Operation Log System Zlog System](https://reader035.vdocuments.mx/reader035/viewer/2022062301/568146bb550346895db3ec2c/html5/thumbnails/27.jpg)
27
Zlog System is evolving…
Thank you.