OneNET resource model is shown below:
user's maximum resource is product, and resources under the product include devices, device data, device permissions, data trigger services, and device data-based applications and other resources, and users can create multiple products.
Device is mapping of real terminal in the platform, and needs to establish one-to-one correspondence with the platform devices when real terminal access to the platform. The terminal uploaded data is stored in the datastream, and device can have one or more datastreams.
Datastream and Datapoint
Datastream is used to store a class of attribute data of device, such as temperature, humidity, coordinates, and other information; When the platform requires device to upload and store data, it must upload the data in key-value format, where key is the datastream name, value is the actual stored datapoint, and the value format can be int, float, string, json and many other user-defined formats.
APIkey is the secret key for user to make API call, user must use the corresponding APIkey in the product catalog when access product resource.
Triggers are message services under the product catalog, and can make simple logical judgments based on datastream and trigger http requests or email.
It is application editing service, support users to generate simple Web display apps by dragging and dropping controls and associating device datastreams.