Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does Jubo work?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail what is the working principle of Jubo. The content of the article is of high quality. Therefore, Xiaobian shares it with you as a reference. I hope you will have a certain understanding of relevant knowledge after reading this article.

JuBo is a data-driven, learning-enabled IoT gateway. JuBo's goal is to enable smart devices to connect quickly and efficiently. JuBo is open source.

For JuBo, all smart devices or sensors are defined as Thing, the function of the device is defined as Service, and the property of the function is defined as Property. Thing + Service + Property uniquely determines a certain functional attribute of a device and is the smallest control unit in JuBo. For example, the lamp provides lighting function, with brightness and color two attributes, then in JuBo it is represented as bulb + lighting + brighter and bulb + lighting + color two records. All the management, control and intelligence of this lamp is based on these two records. In other words, all JuBo functions are recorded based on device functional attributes, that is, data-driven.

Smart Device Access

Device access requires the following steps:

Determine the functional attributes that the device provides to the outside world (this work is done in the development phase)

The device connects to JuBo via a Connector corresponding to the IoT protocol

Initialize and register the device (device description, manufacturer description, etc.)

Register all functional properties and subscribe (Sub) to the functional properties of the device itself

Functional attribute records are stored in the database, which can only be operated through DDP Service.

user controlling device

Modify a feature property on a Web page or CLI

The modified value is saved to the database, triggering a data change event.

Devices that subscribe to this feature attribute trigger corresponding actions

The device completes the final modification action. For example, the user modifies the color of the lamp on the Web page, then the color value is stored in the database and triggers the data change event. Since the lamp has its own functional attributes when it is connected, the event triggered by the color value change will be communicated to the lamp device. Finally, the lamp completes the color change.

intelligent learning

JuBo's intelligent learning is divided into two types, one is behavior chain learning, and the other is big data learning.

behavior chain learning

The so-called behavior chain learning is to regard each attribute change as the user's behavior, and define the behavior generation relationship that meets what conditions. When the condition occurs again, the previous attribute change will trigger the subsequent attribute change. For example, defining two behavior generation relationships with an interval of less than 1 minute, then behavior chain learning is like this:

Attribute A changes, attribute B changes within 1 minute, JuBo thinks attribute A and attribute B create a relationship--A triggers B

JuBo records the attribute values of A and B and creates the relationship between A and B

When the attribute value of A changes, JuBo finds all relationships of A that match this attribute value.

Match the relationship between A and B, modify the attribute value of B to the recorded attribute value, and complete the action of triggering B by A.

Behavior chain learning is more applicable in smart homes, such as when you open the door after work at night, turn on the lights, then turn on the water heater to boil water, then turn on the TV to watch sports channels, and wait for the water to heat up before taking a shower. When JuBo finishes learning the behavior chain, you open your door one night after work and the lights turn on, the TV turns on and sports channels play, the water heater starts boiling, and you get a reminder to take a shower when the water is hot. The latter behaviors are automatically performed after the door is opened, which is behavior chain learning.

About Jubo's working principle is what to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report