...
In order to reach the goal of simplicity we want to achieve, the main challenge is to be able to build a pivot format that is technically independent from the protocols. The data model should also be neutral regarding protocols data models.
Pivot format design proposition
Code Block | ||||
---|---|---|---|---|
| ||||
{
"data_object_header":{
"doh_type":"some_value",
"doh_ca":"some_value",
"doh_oa":"some_value",
"doh_cot":"some_value",
"doh_flag_1":"some_value",
"doh_flag_2":"some_value"
},
"data_object_item":{
"doi_address":"some_value",
"doi_value":"some_value",
"doi_quality":"some_value",
"doi_ts":"some_value",
"doi_ts_flag1":"some_value",
"doi_ts_flag2":"some_value",
"doi_ts_flag3":"some_value"
}
} |
The pivot format uses JSON with a header and items structure.
The header object holds the common attributes of a telecontrol message.
Each item objects holds the specific attributes of an information point whether it is a measurement, a state, a command, etc...