Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-attribute condition rule mapping table construction method, rule matching method and device

A construction method and mapping table technology, applied in the field of Internet of Things, can solve the problems of high time and space complexity, and achieve the purpose and advantages of concise and easy-to-understand effects

Active Publication Date: 2022-04-05
HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a multi-attribute condition rule mapping table construction method, rule matching method and device to at least solve the problem of time and space complexity when the number of conditional expressions is large or the number of device requests is large. high problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-attribute condition rule mapping table construction method, rule matching method and device
  • Multi-attribute condition rule mapping table construction method, rule matching method and device
  • Multi-attribute condition rule mapping table construction method, rule matching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0048] In the field of Internet of Things, smart devices will report data to the Internet of Things platform. The Internet of Things platform will obtain the attributes reported by the devices according to the reported data. The rule engine system of the Internet of Things platform will search for matching rules in the rule base according to the attribut...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a multi-attribute-condition rule mapping table construction method, a rule matching method and device and computer equipment, and the method comprises the steps: mapping an attribute value set into a prime number sequence, and building an attribute-prime number mapping table of the attribute value set and the prime number sequence; according to the attribute-prime number mapping table, mapping the attribute value set and the condition expression set corresponding to the attribute value set into an ordered weighted prefix tree; a rule mapping table is constructed according to the ordered weighted prefix tree, the rule mapping table comprises prime number products of different paths in the ordered weighted prefix tree and corresponding rules, and the problem that under the condition that the number N of conditional expressions is large and the equipment request amount is large, system performance indexes cannot be met is solved.

Description

technical field [0001] The present invention relates to the field of the Internet of Things, in particular to a method for constructing a rule mapping table for multi-attribute conditions, a rule matching method and a device. Background technique [0002] The rule engine system of the Internet of Things platform processes the messages reported by the device based on the device attributes. The processing process includes extracting the device identifier from the message reported by the device, obtaining all the device attributes associated with the device based on the device identifier, and judging whether the device attributes meet the requirements of the rule engine system. If the configured conditional expression is satisfied, the matching rule will be sent to the device, and the device will execute the action corresponding to the rule. In the conditional expression of equipment attribute construction, there is an expression of multi-valued inclusion relationship, that is,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/22G06F16/23G06F16/245
Inventor 韩华伟张智蒋楚琰
Owner HANGZHOU TUYA INFORMATION TECH CO LTD