Skip to content
IoTKETI edited this page Jul 25, 2017 · 12 revisions

oneM2MBrowser Wiki

This is oneM2MBrowser Wiki site for introducing the internal architecture and function.

What is oneM2MBrowser?

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.

oneM2MBrowser viwer

What platform does oneM2MBrowser support?

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.

What can oneM2MBrowser do?

  1. Display the oneM2M resource as tree.
  2. Retrieve the resource information.
  3. Create new resource.
  4. Real-time monitoring resource (delete, create).

Architecture

System Architecture


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.

Software Architecture


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.

User Interface

1 When you start the oneM2MBrowser you will get a window as above.

  1. A text box for input resource path. In oneM2M standard, every resource should have a unique path.
  2. Start and stop button for starting monitoring resource process or stop it.
  3. 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.
  4. 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.
  5. Show the resource color of each supported resource type.
  6. 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.

References