The resource model of OneNET is as follows:
Product
The user’s largest resource set is the product. The resources under the product include devices, device data, device permissions, data trigger services, and applications based on device data. Users can create multiple products.
Device
The device is the mapping of a real terminal on the platform. When the real terminal is connected to the platform, the one-to-one correspondence to platform devices should be established. The data uploaded by the terminal is stored in the data stream. The device may involve one or more data streams.
Data Stream and Data Point
The data stream is used to store a certain type of attribute data of the device, such as the temperature, humidity and coordinates. When data needs to be uploaded and stored as required by the platform, the data must uploaded in the key-value format, in which the key is the data stream name, and the value is the actually stored data point in custom formats (e.g. int, float, string and json).
APIkey
APIkey is the key for the user to call the API. Users must apply the corresponding APIkey in the product catalog for access to product resources.
Trigger
The trigger is the message service in the product catalog, which can be used to judge and trigger HTTP requests or emails by simple logic based on the data stream.
Application
The application editing service supports users to generate simple webpage display applications by dragging controls and associating device data streams.