Human Computer Interaction » History » Version 9

« Previous - Version 9/16 (diff) - Next » - Current version
Aleksander Bešir, 28.12.2010 13:29


Human Computer Interaction

1 Basic concept

1.1 Hardware

The HCI will will be realised as a website. It will run on an Apache Tomcat http server, which will not run on the same device as Eneraptor's logic. Instead it will run on an independent proxy server.

The intended server-side html generating aplication is Tomcat's Jasper, making JSP the intended website programming language.

1.2 HCI features

The picture below shows basic HCI features:

2 Communication with other parts

Logged data (instructions for syslog dev)

All logged data has to be written in a PostgreSQL database. Database's name must be eneraptor-db. Data must be writen in standard public schema (default).

The database table will exist prior to logging unit's (Janez) first run, so logging unit does not need to create the table. The logging unit must know, how to add a log entry to the database correctly, so that HCI will be able to use this data:

Every new log entry should be added with the following SQL query:

INSERT INTO logged_data(
            id, "version", date_recieved, device_id, reported_data)
    VALUES (nextval('hibernate_sequence'), 0, now(), 'enterDeviceIdHere', 'enterReportedDataHere');

enterDeviceIdHere and enterReportedDataHere should be replaced with actual data. Logging unit must not change other parts of the SQL query above.

References

  1. Chopra, Vivek, et al., Professional Apache Tomcat 6, Wrox - Wiley, 2007
  2. Basham, Bryan, et al., Head First Servlets and JSP™, O’Reilly, 2008

Attachments

level_hierarchy.png (27.4 KB) Aleksander Bešir, 14.12.2010 17:01

hmi_website_functions.png (52.4 KB) Aleksander Bešir, 14.12.2010 17:01

hmi_website_overall.png (35.3 KB) Aleksander Bešir, 14.12.2010 17:01

Eneraptor_GUI.png (51.6 KB) Aleksander Bešir, 14.12.2010 17:02

Linksys_admin_page.jpg (75.3 KB) Aleksander Bešir, 14.12.2010 17:04

HCI_basic.png (57.5 KB) Aleksander Bešir, 26.12.2010 13:05