-
Notifications
You must be signed in to change notification settings - Fork 0
Network Overview
Leland Miller edited this page Aug 30, 2014
·
6 revisions
We use a modular design, as shown in the following diagram:
- Insert Diagram
The API server should present a consistent interface. The API server presents a RESTful interface as described in the API Specification.
The message server acts as the main interface between the network and the cameras. It handles all communication to the cameras, along with all non-video communication from the cameras.
The protocol as it currently stands, is that the message server takes JSON message objects, separated by newlines.
The data storage requirements for this project are can be abstracted into the following.
- Outgoing Messages
- Stages
- Message Store
- Videos
- Cameras
A storage API exists in db.js that requires to following major functions:
- Store Message
- Queue Message
- Video Functions
Camera
{
name: camera_name
lat: camera_latitude
lng: camera_longitude
lastMessage: datetime
lastVideo: datetime
}