%0 Journal Article %A TANG Ding %A TIAN Ruiqin %A WU Jinzhao %T Design and implementation of light-weight rules engine on IoT gateway %D 2015 %R 10.11772/j.issn.1001-9081.2015.04.1035 %J Journal of Computer Applications %P 1035-1039 %V 35 %N 4 %X

In order to apply the Internet of Things (IoT) gateway to various scenarios, a light-weight rules engine was proposed, through which users can define personalized rules on demand. However, the limited resource for computing and storage prevents the traditional rules engine, such as JRules, being applied on the IoT gateway directly. By the "related facts" attribute added to each rule and the mechanism of "Agent-Inference", both the running time and the response time of the rules engine were reduced. Adding the "related facts" attribute to each rule can reduce the number of the rules involved in matching operations, and the mechanism of "Agent-Inference" can reduce the waiting time for available rules. Based on these methods, a Faster Light-weight Rules Engine (FLRE) was implemented and applied to IoT gateways. The experiments on different-size data sets showed that the running efficiency was increased by 8%-30% with adding "related facts" attribute, and the response time was decreased by 7%-35% with using mechanism of "Agent-Inference". The evaluation shows the two methods are effective to apply the light-weight rules engine to the IoT gateway.

%U http://www.joca.cn/EN/10.11772/j.issn.1001-9081.2015.04.1035