-
Notifications
You must be signed in to change notification settings - Fork 6
Home
IoTKETI edited this page Jul 25, 2017
·
12 revisions
This is oneM2MBrowser Wiki site for introducing the internal architecture and function.
oneM2MBrowser is a tool for monitoring the oneM2M resources in the Mobius Yellow Turtle(Mobius-yt). It is working base on oneM2M HTTP RESTful API and MQTT Client. It was designed for helping developer to easily work with Mobius-yt.
From now on. It only works on Windows OS (windows XP, Vista, 7, 8, 10) and it also require the OS must be installed the .NET Framework.
- Display the oneM2M resource as tree.
- Retrieve the resource information.
- Create new resource.
- Real-time monitoring resource (delete, create).
The oneM2MBrowser connects with Mobius IoT Server Platform and MQTT Broker. Mobius is a kind of IoT Server Platform collection all oneM2M(IoT Standard) Resources and provides a set of open API which binding with HTTP, COAP, MQTT protocol for managing resource inside. In oneM2MBrowser case, it retrieves the resource structure by discovery API and display it as GUI and create subscription for necessary resources for receiving resource creating or deleting notification message.
The oneM2MBrowser architecture can be divided into four big modules. "NotificationReceiver" can receive MQTT notification message and parse it then add or delete matched resource in "ResourceManager". "ResourceManager" provide a series of oneM2M API accessing function and it can discovery Mobius inside resource structure by these API then store it in the memory as objects. "GUI" provides some windows and dialogs for user interaction. "ConfigLoader" is used to store local application parameter.
When you start the oneM2MBrowser you will get a window as above.
- A text box for input resource path. In oneM2M standard, every resource should have a unique path.
- Start and stop button for starting monitoring resource process or stop it.
- Content Instance Display Number is used to limit the display content instance number. Too much content instance display on the view that maybe cause a crash in program. So, we only support to show latest 5, 3 or 1 content instance in application.
- This is resource tree viewer of oneM2MBrowser. In here you can see all the child resources of the resource which you input in the ① area. If some new resource was created or some resource was deleted then it will synchronously display on the viewer. In the version 1.0.3.5 we have already added the resource creation and deleting function. So user can use the mouse to right click resource for create and delete resource directly.
- Show the resource color of each supported resource type.
- Show the resource information. In oneM2M standard, each type of resource has a series of attributes and it can be serialized to a JSON or XML string message.