Composition and architecture
The Rightech IoT Cloud platform has a wide range of tools that allow you to solve basic business problems when creating IoT cases. Its functionality has all the necessary features for this. At the same time, during working with the platform, you do not need to have a deep knowledge in the field of programming, since the key principle of working with the Rightech IoT Cloud platform is operating with high-level concepts. Therefore, in order to automate some business process, you do not need to develop complex algorithms and write code. This allows you to focus all your efforts on supporting and developing your client applications and final solutions, building the necessary business logic.
The connection module is a basic module when creating IoT projects. It implies the connection your device to the platform, which is necessary for further interaction. In the Rightech IoT Cloud platform, the connection process is implemented using advanced model and object editors. They will allow you to create a virtual analogue of the device so that its structure takes into account all the parameters and readings recorded by the sensors of your device and commands that can be sent to it from the platform.
When you are faced with the task of connecting your IoT device, you may have some problems caused by possible differences between devices. They may differ from each other in a number of technical specifications, in terms of manufacturer, method of data transfer, etc. This may cause difficulties in the configuration and connection of devices.
The Rightech IoT Cloud platform allows you to avoid these problems by giving you complete freedom to choose devices for the best results and maximum profit for your business task. No matter which protocol transfers data to the platform, within the system all devices are universal, which allows you to remove restrictions on the choice and connection of devices. The platform has a large number of protocols. If you need to transfer your data via a protocol not previously added to the system, you can contact us to resolve this problem by mail: firstname.lastname@example.org. Approximately in one or several weeks the requested protocol will be added to the platform.
Interpretation of protocols is implemented through the use of an advanced device model editor. It will allow you to сreate a virtual model so that its structure takes into account all the parameters and indications recorded by the sensors of your device and the commands that can be sent to it from the platform.
This approach has several advantages.
Firstly, it allows you to convert incoming input data into a readable form, which makes it possible to operate with the verbal names of parameters.
Secondly, old parameters can be removed from it or new parameters can be added any time. This function is quite convenient when reducing or increasing the number of sensors connected to the device.
Thirdly, equally important is the normalization of data in accordance with the constructed model. This approach allows flexible data management and analysis.
After your device connects to the Rightech IoT Cloud platform you can monitor the current information of the object in real time by visualizing and displaying the received data. In addition, due to the two-way communication between the connected device and the platform, you can control the behavior of the device by sending commands to perform the necessary business process.
When several IoT devices are connected to the platform, a kind of network is built, within which internal interaction, communication and data exchange between the connected objects can be implemented. However, data can be transmitted not only over the internal network, but also to external services.
The platform implements fast integration of connected devices with third-party services. Data which is sent by devices can be displayed, for example, in your mobile or web applications. The integration process is implemented using interfaces operating in synchronous or asynchronous mode, which allows you to quickly and efficiently transfer data to an external service, display and update it. So, the data of your device can be presented in the form in which it will be convenient for you to work with them.
Data processing module
Often, when working with data, you have to deal with such situations when incorrect data comes from devices or, for example, when the received data is not enough for accurate analysis and objective evaluation. In such cases, it is necessary to conduct additional actions to correct the situation.
To solve this kind of problems, the platform implements a stream processing module. The tools for executing processing in the Rightech IoT Cloud platform are handlers and processing chains that are formed from several processors. This approach allows you to refer to the data, acquired during executing of one handler, while executing another, so implementing the principle of stream data processing.
The possible use of handlers and chains can be quite extensive. They can be used to filter data, to calculate additional parameters based on current or stored in history, to split one data packet into several. Use options can be quite a lot. It all depends on the business problem that you are facing. At the same time, it is very simple and convenient to build handlers and processing chains due to the low threshold for entering the platform.
So, data processing on the Rightech IoT Cloud platform provides the possibility of their internal enrichment. With its use, data can be presented in a more convenient, clear and understandable form, which can improve the quality of the assessment of the current state of your IoT project and produce a more informative and accurate analysis.
In the Rightech IoT Cloud platform, an automation layer is implemented to automate the final business process of your IoT case. This module is based on building scripts that automate the logic of object behavior. By launching the script, you do not need to personally check the current state of the device and the information collected by the sensors, and to perform certain actions based on them. All this will be done for you by a script that, based on the data received, implements the sending of the corresponding command. As a result, you will be able to get a truly “smart” IoT device that can independently perform certain actions aimed at accomplishing the business task set.
Automation scripts operate on primitives such as events, parameters, and actions. All of them are written in the model and when creating a script are extracted from it.
The construction of automation scripts is carried out on the basis of the well-known principle of state machines. They are designed in the form of a flowchart containing states in which an object can be at a given time, and transitions between them that are realized when a given condition is fulfilled.
Such features allow you to build the logic of the behavior of the device in a convenient graphical editor, avoiding difficulties in designing by developing code. Any of your employees who have an understanding of the final business process, is able to independently create, test and run a script that controls your device.
Launching automation scripts, as well as handlers and processing chains is done in a similar way. They can be run on one or several control objects. As a result, such an opportunity as a group launch allows you to build these entities only once, while scaling them when used on several objects.
Starting and stopping scripts are carried out just by pressing a single button, which also emphasizes the convenience of the graphical interface of the platform.
One of the important features of the automation module is the possibility of a cross-device. It allows you to build a single automation script based on several models. In other words, parameters, commands and events of several models can be added to the script. This allows the launch of the script to build the internal interaction of several devices, providing data exchange and communication between them.
So, due to the high flexibility and speed of building the logic of your business process, you can create or edit a script at any time without writing any code, while keeping your business idea up to date without making significant expenses.
Module of additional essence
In the Rightech IoT Cloud such essences like entities and tags are used.
Geofences can be used to control device movement. By specifying the appropriate command in the automation script, the system can record whether the object is located within the geofence or it has left it. In this case, the script can be made in a way that in case of in or out from the geofence, a corresponding notification will be sent to you. In addition, the use of geofences can be convenient when building tracks – routes of moving objects. In this case, the perception of that in which area the object moved is facilitated. So, the location control process becomes fully automated.
Entities such as tags allow you to put markers on objects, allowing you to display the current status of the object. For example, if a car is under repair, then in this case it is possible to put a label of the same name on its virtual object in the platform, which will be displayed in the menu of objects. Then you can always know what the current state of the object is, which can help you in quickly and efficiently removal of various problems.
Module HTTP API
If you need to automate the processes of interaction with the platform, for example, such as collecting data, running an automation script, linking tags to an object of control, etc., then the HTTP API methods by which you can send requests to the platform can help you. Using these methods will be convenient if you need to interact with the entities of the Rightech IoT Cloud platform programmatically.
For example, if you need to send a command to a device a certain number of times with a certain time interval, instead of sending it each time in the graphic editor manually and keeping the specified pause yourself, you can create a loop in your code in which it will be generated and sent to the platform request to perform the specified action. As a result, the process of sending commands will be automated, you don’t have to manually perform it by yourself repeatedly.
In order to submit a request, you may need to provide some basic information, such as the platform URL, token, or object identification number, as well as the request body. As a rule, the body contains brief and clear information about the essence of the platform with which the interaction is realized. The requests are formed on the basis of REST principles, which allows you to conveniently automate the interaction with the platform.