Go south manufacturers --- review the state of the grid monitoring system

// monitoring data 
type Monitor struct {
// No manufacturers
FactoryId uint
// apparatus number
the DeviceId uint
@ monitored parameter
the Parameter uint
// monitoring data
the Content float64
// acquisition time
MonitorTime int
// transmission time
SendTime int
// attempts
Try uint
}
// store the monitoring image on demand,
increase the frequency acquisition // abnormality monitoring critical retransmission long connection
// Go + Kafka
// stick package
// detecting the heartbeat connection
// long link and short link, different types of links.
Automatic reconnect //
// file is too large to abandon
// Length-Type-Value packet formats, the Type: XML, JSON,
// device information (changing, when used long)

Guess you like

Origin www.cnblogs.com/wanjch/p/11525532.html