The Eclipse Unide project extends the existing Eclipse IoT world about a simple information structure, called Production Performance Management Protocol (PPMP). Besides the publication of the current version of PPMP, it also develops simple Client-Server implementations (cf. GitHub).
The PPMP defines an easy and lightweight format to gather the necessary information from sensors or machines like time-series data. The format specifies a JSON (JavaScript Object Notation) payload, flexible enough to be transferred via a variety of protocols like HTTPS, AMQP or MQTT. In detail, the specification of the JSON payload includes three types of messages:
- Machine Message (cf. Version 2 or Version 3)
- Measurement Message (cf. Version 2 or Version 3)
- Process Message (cf. Version 2 and Version 3).
To validate a related payload of the PPMP, just enter the reference
https://raw.githubusercontent.com/eclipse/unide/master/ppmp/ppmp-schema/src/main/resources/org/eclipse/iot/unide/ppmp/v3/process_schema.json
as schema and the payload in, for instance, the JSON Schema validator. The structure of the payload is easily understandable and very lightweight. For instance, the following JSON payload is a minimal message of a machine:
{
"content-spec": "urn:spec://eclipse.org/unide/machine-message#v3",
"device": {
"id": "a4927dad-58d4-4580-b460-79cefd56775b"
},
"messages": [
{
"ts": "2022-02-04T18:14:07.827Z",
"code": "190ABT"
}
]
}
and of a measurement:
{
"content-spec": "urn:spec://eclipse.org/unide/measurement-message#v3",
"device": {
"id": "a4927dad-58d4-4580-b460-79cefd56775b"
},
"measurements":
{
"ts": "2022-02-04T18:14:01.382Z",
"series": {
"time":
0,
21,
42
],
"temperature":
45.4231,
46.4222,
44.2432
]
}
}
]
}
The primary goal of the protocol design is to gather and aggregate data of different devices like machines or sensors. To ensure interoperability between different types of devices and software, the protocol includes mandatory and optional fields of data and related metadata.
A closer look on the list of interested parties offers key players like Bosch Software Innovations GmbH or SAP.
Neueste Kommentare