Title :
Improved RETE Algorithm in Context Reasoning for Web of Things Environments
Author :
Teng Gao ; Xiaofeng Qiu ; Lijuan He
Author_Institution :
Mobile Life & New Media Lab., Beijing Univ. of Posts & Telecommun., Beijing, China
Abstract :
RETE is the most efficient forward inference algorithm for the development of context-aware rule-based systems. The performance of context reasoning engines in context-aware systems depends mainly on the efficiency of the pattern matching in "Cognition-Execution Loop". Nowadays many real-world contexts from WoT (Web of Things) environments have data characteristics such as large amount, quick change and lots of constant operation, imposing a trade-off between the cost of time and space of RETE algorithm. Thus, in this paper RETE+ - an improved RETE network is proposed, capable of handling context from WoT environment, which actually includes different types of data for reasoning with new characteristics. RETE+ algorithm applies shortcut memory using LRU (Least-Recently-Used) algorithm to the matching process of alpha network and solves the problems of intensive computation with all the alpha nodes. This approach takes advantage of the LRU algorithm to select alpha nodes with the highest possibility to be executed, which considerably reduces the computation overhead. The proposed approach is applied to context reasoning engine and evaluated through contrast experiments using real-world WoT data. The case study and experimental analysis demonstrate the capability of the proposed algorithm.
Keywords :
Internet of Things; inference mechanisms; knowledge based systems; LRU algorithm; RETE algorithm; Web of Things environments; WoT environments; alpha network; cognition-execution loop; context reasoning engines; context-aware rule-based systems; context-aware systems; forward inference algorithm; least-recently-used algorithm; pattern matching; shortcut memory; Algorithm design and analysis; Cognition; Context; Educational institutions; Engines; Indexes; Random access memory; Context Reasoning; LRU Algorithm; RETE Algorithm; Web of Things;
Conference_Titel :
Green Computing and Communications (GreenCom), 2013 IEEE and Internet of Things (iThings/CPSCom), IEEE International Conference on and IEEE Cyber, Physical and Social Computing
Conference_Location :
Beijing
DOI :
10.1109/GreenCom-iThings-CPSCom.2013.177