Data filtering in the internet of things
First Claim
1. A method of data filtering in Internet of Things (IOT), wherein the IOT comprises a plurality of sensor devices, the method comprising:
- inputting an application deployed rule;
converting the application deployed rule by decomposing predicates of the application deployed rule into at least one sub-predicate expression having static predicates and dynamic predicates, wherein converting the application deployed rule by decomposing predicates of the application deployed rule into at least one sub-predicate expression having static predicates and dynamic predicates further comprises;
establishing a dynamic predicate match table of the sub-predicate expression, wherein the dynamic predicate match table records dynamic predicates contained in the at least one sub-predicate expression and addresses of the dynamic predicates in the dynamic predicate match table; and
establishing a static distribution table of the sub-predicate expression, wherein the static distribution table records sensor identifiers (IDs) of the sensor devices and addresses in the dynamic predicate match table of the dynamic predicates contained in the at least one sub-predicate expression;
inputting data collected by the sensor devices;
matching the data collected with the static predicates and the dynamic predicates of the at least one sub-predicate expression in sequence; and
distributing matched data to an application.
2 Assignments
0 Petitions
Accused Products
Abstract
This invention relates to the Internet of Things (IOT), and discloses a method and apparatus of data filtering in the IOT, where the IOT includes a plurality of sensor devices. The method includes: inputting an application deployed rule; converting the rule into at least one sub-predicate expression having static predicates and dynamic predicates; inputting data collected by the sensor devices; matching the collected data with the static predicates and the dynamic predicates of the sub-predicate expression in sequence; and distributing matched data to the application. In this invention, a rule is divided into static and dynamic predicates, and a match is performed on static predicates before dynamic predicates, so that the speed of predicate match can be improved and fast and efficient data filtering in the IOT can be achieved.
20 Citations
13 Claims
-
1. A method of data filtering in Internet of Things (IOT), wherein the IOT comprises a plurality of sensor devices, the method comprising:
-
inputting an application deployed rule; converting the application deployed rule by decomposing predicates of the application deployed rule into at least one sub-predicate expression having static predicates and dynamic predicates, wherein converting the application deployed rule by decomposing predicates of the application deployed rule into at least one sub-predicate expression having static predicates and dynamic predicates further comprises; establishing a dynamic predicate match table of the sub-predicate expression, wherein the dynamic predicate match table records dynamic predicates contained in the at least one sub-predicate expression and addresses of the dynamic predicates in the dynamic predicate match table; and establishing a static distribution table of the sub-predicate expression, wherein the static distribution table records sensor identifiers (IDs) of the sensor devices and addresses in the dynamic predicate match table of the dynamic predicates contained in the at least one sub-predicate expression; inputting data collected by the sensor devices; matching the data collected with the static predicates and the dynamic predicates of the at least one sub-predicate expression in sequence; and distributing matched data to an application. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus of data filtering in Internet of Things (IOT), wherein the IOT comprises a plurality of sensor devices, the apparatus comprising:
-
a rule input module configured to input an application deployed rule; a rule conversion module configured to convert the application deployed rule by decomposing predicates of the application deployed rule into at least one sub-predicate expression having static predicates and dynamic predicates, wherein the rule conversion module further comprises; a dynamic predicate match table establishing module configured to establish a dynamic predicate match table of the sub-predicate expression, wherein the dynamic predicate match table records the dynamic predicates contained in the at least one sub-predicate expression and addresses of the dynamic predicates in the dynamic predicate match table; and a static distribution table establishing module configured to establish a static distribution table of the sub-predicate expression, wherein the static distribution table records sensor identifiers (IDs) of the sensor devices and addresses in the dynamic predicate match table of dynamic predicates contained in the at least one sub-predicate expression; a data input module configured to input data collected by the sensor devices; a data match module configured to match the data collected with the static predicates and dynamic predicates of the at least one sub-predicate expression in sequence; and a data distributing module configured to distribute matched data to an application. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory article of manufacture tangibly embodying computer readable instructions, which when implemented, cause a computer to perform a method for filtering data in Internet of Things (IOT), wherein the IOT comprises a plurality of sensor devices, the method comprising:
-
inputting an application deployed rule; converting the application deployed rule by decomposing predicates of the application deployed rule into at least one sub-predicate expression having static predicates and dynamic predicates, wherein converting the application deployed rule by decomposing predicates of the application deployed rule into at least one sub-predicate expression having static predicates and dynamic predicates further comprises; establishing a dynamic predicate match table of the sub-predicate expression, wherein the dynamic predicate match table records dynamic predicates contained in the at least one sub-predicate expression and addresses of the dynamic predicates in the dynamic predicate match table; and establishing a static distribution table of the sub-predicate expression, wherein the static distribution table records sensor identifiers (IDs) of the sensor devices and addresses in the dynamic predicate match table of the dynamic predicates contained in the at least one sub-predicate expression; inputting data collected by the sensor devices; matching the data collected with the static predicates and the dynamic predicates of the at least one sub-predicate expression in sequence; and distributing matched data to an application.
-
Specification