WO2018233007A1 - 基于转发节点和过滤网关的双重数据过滤方法及系统 - Google Patents

基于转发节点和过滤网关的双重数据过滤方法及系统 Download PDF

Info

Publication number
WO2018233007A1
WO2018233007A1 PCT/CN2017/099311 CN2017099311W WO2018233007A1 WO 2018233007 A1 WO2018233007 A1 WO 2018233007A1 CN 2017099311 W CN2017099311 W CN 2017099311W WO 2018233007 A1 WO2018233007 A1 WO 2018233007A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
real
forwarding node
data
reported
Prior art date
Application number
PCT/CN2017/099311
Other languages
English (en)
French (fr)
Inventor
杜光东
Original Assignee
深圳市盛路物联通讯技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市盛路物联通讯技术有限公司 filed Critical 深圳市盛路物联通讯技术有限公司
Publication of WO2018233007A1 publication Critical patent/WO2018233007A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to a dual data filtering method and system based on a forwarding node and a filtering gateway.
  • the Internet of Things is the Internet connected to things.
  • the core and foundation of the Internet of Things is still the Internet. It is an extended and extended network based on the Internet.
  • the client can extend and expand between any item and item for information exchange and communication, that is, the object meets.
  • the Internet of Things is widely used in the convergence of networks through communication-aware technologies such as intelligent sensing, identification technology and pervasive computing. It is also called the third wave of the development of the world information industry after computers and the Internet.
  • the aggregation unit can be used to act as a human-machine interface for the Internet of Things, and the aggregation unit can collect a large number of terminal devices (such as hygrometers, smoke detectors, ventilation devices, rain sensors, irrigation valves, etc.)
  • the reported IoT data is analyzed and decided, so that people can provide relevant reports such as warnings and anomalies.
  • the aggregation unit collects the IoT data reported by the terminal equipment of a large scale, which not only increases the workload of the aggregation unit, but also reduces the filtering aggregation unit to obtain the terminal equipment of interest. The accuracy of the data.
  • the embodiment of the invention discloses a dual data filtering method and system based on a forwarding node and a filtering gateway, which can effectively reduce the workload of the aggregation unit and improve the accuracy of the aggregation unit to obtain the terminal device data of interest.
  • a first aspect of the embodiments of the present invention discloses a dual data filtering method based on a forwarding node and a filtering gateway, including:
  • the filtering gateway receives the first filtering table delivered by the aggregation unit, where the first filtering table includes location information that the aggregation unit is only interested in;
  • the forwarding node receives a mass of Internet Protocol data initiated by the terminal device, where the Internet of Things data includes a terminal device type, a terminal device address, and a data content;
  • the forwarding node filters out the Internet of Things data initiated by the terminal device and identifies the remaining terminal devices when the real-time weather type corresponding to the terminal device address does not match the weather type specified by the aggregation unit.
  • the IoT data is encapsulated into data elements and reported to the filtering gateway;
  • the filtering gateway determines, from the data elements reported by each forwarding node, the inclusion and the aggregation
  • the data element of the terminal device address whose location information is only interested in the unit is used as the data element to be reported;
  • the filtering gateway reports the determined data to be reported to the aggregation unit for analysis and decision.
  • the forwarding node acquires the terminal device when the IoT data reported by any of the terminal devices includes a terminal type specified by the aggregation unit.
  • the method further includes:
  • the forwarding unit Receiving, by the forwarding unit, a second filtering table that is sent by the aggregation unit by using the filtering gateway, where the second filtering table includes a terminal device type specified by the aggregation unit and a specified weather type; wherein the specified The terminal device corresponding to the terminal device type is allowed to report data under the specified weather type.
  • the forwarding node acquires the terminal device when the IoT data reported by any of the terminal devices includes a terminal type specified by the aggregation unit.
  • the real-time weather type corresponding to the terminal device address including:
  • the forwarding node When the forwarding node identifies that the Internet of Things data reported by any of the terminal devices includes the terminal type specified by the aggregation unit, the forwarding node queries the real-time weather advertisement server of the area where the terminal device address is included in the Internet of Things data reported by the terminal device. And requesting, by the real-time weather publishing server in the area where the terminal device address is located, a real-time weather type corresponding to the terminal device address.
  • the forwarding node queries the terminal device when identifying that the Internet of Things data reported by any of the terminal devices includes a terminal type specified by the aggregation unit.
  • the real-time weather publishing server in the area where the terminal device address is included in the reported IoT data includes:
  • the forwarding node When the forwarding node identifies that the Internet of Things data reported by any of the terminal devices includes the terminal type specified by the aggregation unit, detecting whether the forwarding node is configured to query a time period of the real-time weather publishing server, if the forwarding node Configuring a time period for querying the real-time weather distribution server, determining whether the current system time of the forwarding node is located in the time period, and if so, querying the terminal device address included in the Internet of Things data reported by the terminal device Real-time weather publishing server for your area.
  • the forwarding node queries the real-time weather publishing server in the area where the terminal device address is included in the Internet of Things data reported by the terminal device, And before the real-time weather distribution server of the area where the terminal device address is located, the real-time weather type corresponding to the terminal device address, the method further includes:
  • the forwarding node detects whether the real-time weather publishing server in the area where the terminal device address is located is configured with an identifier set of the subscribed terminal device that allows the weather type to be queried; if the real-time weather publishing server in the area where the terminal device address is located is configured to allow The type of weather being queried And the identifier set of the contracted terminal device, the querier of the end of the subscribed terminal device includes the terminal device The terminal device identifier of the terminal device to which the address belongs, and the real-time weather distribution server corresponding to the address of the terminal device address is requested to request the real-time weather type corresponding to the terminal device address.
  • a second aspect of the embodiments of the present invention discloses a dual data filtering system based on a forwarding node and a filtering gateway, including:
  • a filtering gateway configured to receive a first filtering table delivered by the aggregation unit, where the first filtering table includes location information that the aggregation unit is only interested in;
  • a forwarding node configured to receive a mass of terminal device-initiated Internet of Things data, where the Internet of Things data includes a terminal device type, a terminal device address, and a data content;
  • the forwarding node is further configured to: acquire, when the IoT data reported by any of the terminal devices includes a terminal type specified by the aggregation unit, obtain a real-time weather type corresponding to the terminal device address of the terminal device;
  • the forwarding node is further configured to filter out the Internet of Things data initiated by the terminal device when the real-time weather type corresponding to the terminal device address does not match the weather type specified by the aggregation unit, and the remaining The IoT data initiated by the terminal device is encapsulated into a data element and reported to the filtering gateway;
  • the filtering gateway is configured to determine, from the data element reported by each forwarding node, a data element that includes a terminal device address that matches the location information that is only interested in the aggregation unit, as the data element to be reported;
  • the filtering gateway is further configured to report the determined data to be reported to the aggregation unit;
  • the aggregation unit is configured to analyze and determine the to-be-reported data element reported by the filtering gateway.
  • the forwarding node is further configured to receive the convergence before acquiring the real-time weather type corresponding to the terminal device address of the terminal device, when the identifier of the terminal device specified by the aggregation unit is determined by the terminal device. And a second filtering table that is sent by the filtering gateway, where the second filtering table includes a terminal device type specified by the aggregation unit and a specified weather type, where the terminal device corresponding to the specified terminal device type is It is allowed to report data under the specified weather type.
  • the forwarding node acquires the terminal device when the IoT data reported by any of the terminal devices includes a terminal type specified by the aggregation unit.
  • the real-time weather type corresponding to the terminal device address is specifically as follows:
  • the forwarding node is configured to identify that the Internet of Things data reported by any of the terminal devices includes a sink
  • the real-time weather advertisement server in the area where the terminal device address is included in the Internet of Things data reported by the terminal device is queried, and the real-time weather issue server in the area where the terminal device address is located is requested by the real-time weather release server.
  • the real-time weather type corresponding to the terminal device address.
  • the forwarding node queries the terminal device when identifying that the Internet of Things data reported by any of the terminal devices includes a terminal type specified by the aggregation unit.
  • the manner of the real-time weather publishing server in the area where the address of the terminal device is included in the reported IoT data is specifically:
  • the forwarding node is configured to detect, when the IoT data reported by any of the terminal devices includes a terminal type specified by the aggregation unit, whether the forwarding node is configured to query a time period of the real-time weather publishing server, if The forwarding node is configured to query a time period of the real-time weather publishing server, and determine whether the current system time of the forwarding node is located in the time period, and if yes, query the information included in the Internet of Things data reported by the terminal device The real-time weather publishing server in the area where the terminal device address is located.
  • the forwarding node is further configured to: after querying a real-time weather publishing server in an area where the terminal device address included in the Internet of Things data reported by the terminal device is located, and a real-time weather publishing server in an area where the terminal device address is located Before requesting the real-time weather type corresponding to the terminal device address, detecting whether the real-time weather publishing server in the area where the terminal device address is located is configured with an identifier set of the subscribed terminal device that allows the weather type to be queried; if the terminal device address is located
  • the real-time weather distribution server of the area is configured with an identifier set of the subscribed terminal device that allows the type of the subscribed terminal device to be queried, and whether the identifier set of the subscribed terminal device includes the terminal device identifier of the terminal device to which the terminal device address belongs.
  • the real-time weather issue server that is located in the region where the terminal device address is located is requested to request the address of the terminal device.
  • the embodiment of the invention has the following beneficial effects:
  • the forwarding node may receive the Internet of Things data initiated by the massive terminal device, where the Internet of Things data includes the terminal device type, the terminal device address, and the data content; and the forwarding node identifies the Internet of Things data reported by any terminal device.
  • the terminal type specified by the aggregation unit is used, the real-time weather type corresponding to the terminal device address of the terminal device may be obtained, and the real-time weather type corresponding to the terminal device address does not match the weather type specified by the aggregation unit, and is filtered out.
  • the IoT data initiated by the terminal device, and the IoT data initiated by the remaining terminal devices is encapsulated into data elements and reported to the filtering gateway; the filtering gateway can determine the inclusion and aggregation unit only from the data elements reported by the forwarding nodes.
  • the data element of the terminal device address that matches the location information of interest is reported to the aggregation unit as a to-be-reported data element for analysis and decision.
  • the terminal type specified by the aggregation unit is a humidity-sensing terminal device (such as a hygrometer) deployed on the farm, and the sink
  • the weather type specified by the aggregation unit is sunny (belonging to a weather type), wherein the humidity-sensing terminal device (such as a hygrometer) deployed on the farm is allowed to report data on a sunny day; when the forwarding node identifies the Internet of Things reported by any terminal device
  • the forwarding node may obtain a real-time weather type corresponding to the terminal device address included in the Internet of Things data reported by the terminal device, and identify the terminal.
  • the Internet of Things data initiated by the terminal device is filtered out, so that the remaining terminal device initiates the IoT data including the aggregation unit specified by the aggregation unit.
  • the terminal types are both humidity-sensing terminal devices (such as hygrometers), and the real-time weather types corresponding to the terminal device addresses included in the IoT data initiated by the remaining terminal devices match the sunny days (the weather types specified by the aggregation unit on a sunny day).
  • the filtering gateway can determine, from the data element reported by each forwarding node, a data element that includes the terminal device address that matches the location information of the aggregation unit only as the data element to be reported. Analyze and make decisions for the aggregation unit. It can be seen that the embodiment of the present invention can implement dual data filtering based on the forwarding node and the filtering gateway, so that the working load of the aggregation unit can be effectively reduced, and the accuracy of the aggregation unit to obtain the terminal device data of interest can also be improved.
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed in an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a dual data filtering method based on a forwarding node and a filtering gateway according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another dual data filtering method based on a forwarding node and a filtering gateway according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a dual data filtering system based on a forwarding node and a filtering gateway according to an embodiment of the present invention.
  • the embodiment of the invention discloses a dual data filtering method and system based on a forwarding node and a filtering gateway, which can effectively reduce the workload of the aggregation unit and improve the aggregation unit to obtain the interested The accuracy of the terminal device data. The details are described below separately.
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed in an embodiment of the present invention.
  • the IoT architecture may include three layers: a terminal device layer, a forwarding node layer, and an aggregation layer according to functions.
  • the terminal device layer may include a mass-scale terminal device, such as a hygrometer, a smoke sensor, a ventilation device, a rain sensor, an irrigation valve, etc.;
  • the forwarding node layer may include a large number of forwarding nodes connected by a network, and the forwarding node may include a router.
  • the forwarding node may use any standard networking protocol, and the forwarding node may implement data parsing between different network standards;
  • the aggregation layer may include a filtering gateway.
  • a convergence unit wherein the filtering gateway can directly or indirectly communicate with each forwarding node of the forwarding node layer through the Internet; the aggregation unit can perform high-level management on each forwarding node of the forwarding node layer through the filtering gateway, thereby realizing data transmission frequency and network.
  • each forwarding node can provide IoT data receiving and receiving services for a mass of terminal devices within its own wireless coverage, wherein each forwarding node has its own wireless coverage within each terminal device.
  • a wireless communication module can be built in, which enables each forwarding node to communicate wirelessly with each terminal device within its own wireless coverage by wireless network communication.
  • the wireless communication module built into the terminal device can input the upper frequency point 470MHz and the lower frequency point 510MHz during production, so that the wireless communication module can automatically define the communication frequency band as 470MHz ⁇ 510MHz, It complies with the provisions of China's SRRC standard; alternatively, it can input the upper frequency point of 868MHz and the lower frequency point of 908MHz, so that the wireless communication module can automatically define the communication frequency band as 868MHz to 908MHz to comply with the European ETSI standard; or, you can enter The frequency is 918MHz and the lower frequency is 928MHz, so the wireless communication module can automatically define the communication frequency band as 918MHz ⁇ 928MHz to meet the requirements of the US FCC standard.
  • the communication frequency band of the wireless communication module can also be defined as conforming to the Japanese ARIB standard or Canada.
  • the specification of the IC standard is not limited in the embodiment of the present invention.
  • the terminal device can use Frequency Division Multiple Access (FDMA), Frequency-Hopping Spread Spectrum (FHSS), and Dynamic Time Division Multiple Access (Dynamic Time Division Multiple Access). , DTDMA), and backtracking multiplexing (CSMA) are combined to solve the interference problem.
  • FDMA Frequency Division Multiple Access
  • FHSS Frequency-Hopping Spread Spectrum
  • CSMA Dynamic Time Division Multiple Access
  • FIG. 2 is a schematic flowchart of a dual data filtering method based on a forwarding node and a filtering gateway according to an embodiment of the present invention.
  • the dual data filtering method based on the forwarding node and the filtering gateway may include the following steps:
  • the filtering gateway receives the first filtering table delivered by the aggregation unit, where the first filtering table includes location information that is only interested in the aggregation unit.
  • the location information of the convergence unit only may be an area location information, such as location information of a certain farm; or the location information of the aggregation unit only interested may be a specific geographic coordinate location information. For example, geographic coordinate position information of a hygrometer in a farm.
  • the forwarding node receives the Internet of Things data initiated by the massive terminal device, where the Internet of Things data includes the terminal device type, the terminal device address, and the data content.
  • the forwarding node can receive the Internet of Things data initiated by a large number of terminal devices within its own wireless coverage.
  • the terminal device type is used to indicate the type and model of the terminal device
  • the data content is used to indicate the data load reported by the terminal device.
  • the Internet of Things data reported by the humidity-sensing terminal device deployed by the farm includes the data content may be the soil volume water content;
  • the Internet of Things data reported by the temperature sensor includes the data content may be a temperature value; for example, the IoT data reported by the rain gauge includes the data content may be rainfall.
  • the forwarding node obtains a real-time weather type corresponding to the terminal device address of the terminal device when the IoT data reported by the terminal device includes the terminal type specified by the aggregation unit.
  • the forwarding node identifies that the Internet of Things data reported by any terminal device includes the terminal type specified by the aggregation unit
  • the real-time weather type corresponding to the terminal device address of the terminal device is obtained.
  • the way can be:
  • the forwarding node may query the real-time weather advertisement server of the area where the terminal device address included in the Internet of Things data reported by the terminal device is located, and The real-time weather publishing server in the area where the address is located requests the real-time weather type corresponding to the address of the terminal device.
  • the forwarding node may store multiple terminal device addresses, where each terminal device address respectively corresponds to the address of the real-time weather publishing server in the region where the terminal device address is located.
  • the multiple terminal device addresses of the forwarding node may include not only the terminal device address of the terminal device in the wireless coverage area but also the terminal device address of the terminal device in the wireless coverage of the neighboring forwarding node, which is not limited in the embodiment of the present invention.
  • the forwarding node reports that the Internet of Things data reported by any terminal device includes the terminal type specified by the aggregation unit, querying the object association reported by the terminal device
  • the manner of the real-time weather publishing server in the area where the terminal device address is located in the network data may be specifically:
  • the forwarding node When the forwarding node identifies that the Internet of Things data reported by any terminal device includes the terminal type specified by the aggregation unit, it may detect whether the forwarding node is configured to query a time period of the real-time weather publishing server, if the forwarding node is configured to query The time period of the real-time weather publishing server determines whether the current system time of the forwarding node is within the time period. If yes, the real-time weather publishing server of the area where the terminal device address is included in the Internet of Things data reported by the terminal device is queried.
  • the implementation of the implementation manner can prevent the forwarding node from frequently querying the real-time weather publishing server in the area where the terminal device address is located, thereby reducing the power consumption caused by the forwarding node querying the real-time weather publishing server in the area where the terminal device address is located.
  • the forwarding node queries the real-time weather publishing server in the area where the terminal device address is included in the Internet of Things data reported by the terminal device, and the real-time weather publishing server in the area where the terminal device address is located. Before requesting the real-time weather type corresponding to the address of the terminal device, the forwarding node may perform the following steps:
  • the forwarding node may detect whether the real-time weather publishing server in the area where the terminal device address is located is configured with an identifier set of the subscribed terminal device that allows the weather type to be queried;
  • the real-time weather distribution server of the area where the terminal device address is located is configured with an identifier set of the subscribed terminal device that allows the weathered type to be queried, whether the identifier set of the subscribed terminal device includes the terminal device identifier of the terminal device to which the terminal device address belongs is included. ;
  • the step of requesting the real-time weather type corresponding to the terminal device address from the real-time weather publishing server in the region where the terminal device address is located is performed.
  • the weather type corresponding to the terminal device address of the contracted terminal device can be obtained by performing the above steps, so that the weather type corresponding to the terminal device address of the unsigned terminal device can be prevented from leaking.
  • the forwarding node When the forwarding node does not match the real-time weather type corresponding to the address of the terminal device and the weather type specified by the aggregation unit, the forwarding node filters out the Internet of Things data initiated by the terminal device, and encapsulates the IoT data initiated by the remaining terminal device. The data element is reported to the filtering gateway.
  • the forwarding node may filter out the Internet of Things data initiated by the terminal device, such that
  • the remaining terminal device-initiated IoT data includes a terminal device type that matches the terminal device type specified by the aggregation unit, and the real-time weather type corresponding to the terminal device address included in the remaining Internet device-initiated IoT data is specified by the aggregation unit.
  • the weather type matches, and the forwarding node can initiate the IoT data initiated by the remaining terminal devices. After being encapsulated into data elements, it is reported to the filtering gateway.
  • the filtering gateway determines, from the data element reported by each forwarding node, a data element that includes a terminal device address that matches the location information that is only interested in the aggregation unit, as the data element to be reported.
  • the data element of the terminal device address that matches the location information of the aggregation unit only refers to: the terminal device address included in the data element is located in the location information that is only interested in the aggregation unit, or the data element includes The address of the terminal device is overlapped with the location information of the aggregation unit, which is not limited by the embodiment of the present invention.
  • the filtering gateway reports the determined data element to be reported to the aggregation unit.
  • the aggregation unit analyzes and determines a to-be-reported data element reported by the filtering gateway.
  • the aggregation unit may analyze and decide the data elements to be reported reported by the filtering gateway, so as to provide relevant reports such as early warning and abnormality for the people.
  • the forwarding node can receive a large amount of Internet of Things data initiated by the terminal device, and the Internet of Things data includes the terminal device type, the terminal device address, and the data content; and, forwarding
  • the node identifies that the Internet of Things data reported by any terminal device includes the terminal type specified by the aggregation unit, the real-time weather type corresponding to the terminal device address of the terminal device may be obtained, and the real-time weather type corresponding to the terminal device address is identified.
  • the filtering gateway can report from each forwarding node.
  • the data element including the terminal device address that matches the location information that is only interested in the aggregation unit is determined as the data element to be reported and reported to the aggregation unit for analysis and decision.
  • the terminal type specified by the aggregation unit is a humidity-sensing terminal device deployed by the farm (such as a hygrometer), and the weather type specified by the aggregation unit is sunny (belonging to a weather type), wherein the farm-configured humidity-sensing terminal device (such as a hygrometer) is allowed to report data on a sunny day;
  • the forwarding node identifies that the terminal type specified by the aggregation unit included in the Internet of Things data reported by any terminal device is a humidity-aware terminal device (such as a hygrometer)
  • the forwarding node can obtain The real-time weather type corresponding to the terminal device address included in the Internet of Things data reported by the terminal device, and is filtered out when it is found that the real-time weather type corresponding to the terminal device address does not match the sunny day (the weather type specified by the aggregation unit on a sunny day)
  • the Internet of Things data initiated by the terminal device such that the terminal type specified by the
  • the filtering gateway can determine the data elements reported by the forwarding nodes. Contains the address of the terminal device that matches the location information that is only of interest to the aggregation unit The data element is reported to the aggregation unit as a data element to be reported for analysis and decision. It can be seen that, by implementing the dual data filtering method based on the forwarding node and the filtering gateway described in FIG. 2, the embodiment of the present invention can implement dual data filtering based on the forwarding node and the filtering gateway, thereby effectively reducing the workload of the aggregation unit, and Improve the accuracy of the aggregation unit to obtain the terminal device data of interest.
  • FIG. 3 is a schematic flowchart of another dual data filtering method based on a forwarding node and a filtering gateway according to an embodiment of the present invention.
  • the dual data filtering method based on the forwarding node and the filtering gateway may include the following steps:
  • the filtering gateway receives a first filtering table delivered by the aggregation unit, where the first filtering table includes location information that is only interested in the aggregation unit.
  • the location information of the convergence unit only may be an area location information, such as location information of a certain farm; or the location information of the aggregation unit only interested may be a specific geographic coordinate location information. For example, geographic coordinate position information of a hygrometer in a farm.
  • the forwarding node receives, by the aggregation unit, a second filtering table that is sent by the filtering gateway, where the second filtering table includes a terminal device type specified by the aggregation unit and a specified weather type, where the terminal device corresponding to the specified terminal device type is allowed.
  • the data is reported under the specified weather type.
  • the second filtering table delivered by the aggregation unit received by the forwarding node through the filtering gateway can be as shown in Table 1, namely:
  • the weather type specified by the aggregation unit can be rainy, because the aggregation unit generally only reports the IoT data (ie, rainfall) reported by the rain gauge when it is raining. Interest; when the terminal device type specified by the aggregation unit is a humidity-sensing terminal device (such as a hygrometer), the weather type specified by the aggregation unit may be sunny, because the aggregation unit generally only detects the humidity device (such as a hygrometer) on a sunny day.
  • the humidity-sensing terminal device such as a hygrometer
  • Escalated IoT data ie Soil volumetric water content is of interest; when the terminal equipment type specified by the convergence unit is PM2.5 detector, the weather type specified by the aggregation unit may be foggy days, because the aggregation unit generally detects PM2.5 in the foggy day.
  • the IoT data (PM2.5 value) reported by the instrument is of interest.
  • the forwarding node receives the Internet of Things data initiated by the massive terminal device, where the Internet of Things data includes the terminal device type, the terminal device address, and the data content.
  • the forwarding node obtains the real-time weather type corresponding to the terminal device address of the terminal device when the IoT data reported by any terminal device includes the terminal type specified by the aggregation unit in the second filtering table.
  • the forwarding node when the forwarding node identifies that the Internet of Things data reported by any terminal device includes the terminal type specified by the aggregation unit, the forwarding node obtains the real-time weather type corresponding to the terminal device address of the terminal device.
  • the way can be:
  • the forwarding node may query the real-time weather advertisement server of the area where the terminal device address included in the Internet of Things data reported by the terminal device is located, and The real-time weather publishing server in the area where the address is located requests the real-time weather type corresponding to the address of the terminal device.
  • the forwarding node may store multiple terminal device addresses, where each terminal device address respectively corresponds to the address of the real-time weather publishing server in the region where the terminal device address is located.
  • the multiple terminal device addresses of the forwarding node may include not only the terminal device address of the terminal device in the wireless coverage area but also the terminal device address of the terminal device in the wireless coverage of the neighboring forwarding node, which is not limited in the embodiment of the present invention.
  • the forwarding node is configured to query the area where the terminal device address included in the Internet of Things data reported by the terminal device is located when the IoT data reported by the terminal device includes the terminal type specified by the aggregation unit.
  • the real-time weather publishing server can be specifically:
  • the forwarding node When the forwarding node identifies that the Internet of Things data reported by any terminal device includes the terminal type specified by the aggregation unit, it may detect whether the forwarding node is configured to query a time period of the real-time weather publishing server, if the forwarding node is configured to query The time period of the real-time weather publishing server determines whether the current system time of the forwarding node is within the time period. If yes, the real-time weather publishing server of the area where the terminal device address is included in the Internet of Things data reported by the terminal device is queried.
  • the implementation of the implementation manner can prevent the forwarding node from frequently querying the real-time weather publishing server in the area where the terminal device address is located, thereby reducing the power consumption caused by the forwarding node querying the real-time weather publishing server in the area where the terminal device address is located.
  • the forwarding node queries the real-time weather publishing server in the area where the terminal device address is included in the Internet of Things data reported by the terminal device, and the real-time weather publishing server in the area where the terminal device address is located. Before requesting the real-time weather type corresponding to the address of the terminal device, the forwarding node may perform the following steps:
  • the forwarding node may detect whether the real-time weather publishing server in the area where the terminal device address is located is configured with an identifier set of the subscribed terminal device that allows the weather type to be queried;
  • the real-time weather distribution server of the area where the terminal device address is located is configured with an identifier set of the subscribed terminal device that allows the weathered type to be queried, whether the identifier set of the subscribed terminal device includes the terminal device identifier of the terminal device to which the terminal device address belongs is included. ;
  • the step of requesting the real-time weather type corresponding to the terminal device address from the real-time weather publishing server in the region where the terminal device address is located is performed.
  • the weather type corresponding to the terminal device address of the contracted terminal device can be obtained by performing the above steps, so that the weather type corresponding to the terminal device address of the unsigned terminal device can be prevented from leaking.
  • the forwarding node When the forwarding node does not match the real-time weather type corresponding to the address of the terminal device and the weather type specified by the aggregation unit in the second filtering table, the forwarding node filters out the Internet of Things data initiated by the terminal device, and initiates the remaining terminal device.
  • the IoT data is encapsulated into data elements and reported to the filtering gateway.
  • the forwarding node may filter out the Internet of Things data initiated by the terminal device, such that
  • the remaining terminal device-initiated IoT data includes a terminal device type that matches the terminal device type specified by the aggregation unit, and the real-time weather type corresponding to the terminal device address included in the remaining Internet device-initiated IoT data is specified by the aggregation unit.
  • the weather type matches, and the forwarding node can encapsulate the IoT data initiated by the remaining terminal devices into data elements and report them to the filtering gateway.
  • the filtering gateway determines, from the data element reported by each forwarding node, a data element that includes a terminal device address that matches the location information that is only interested in the aggregation unit in the first filtering table, as the data element to be reported.
  • the data element of the terminal device address that matches the location information of the aggregation unit only refers to: the terminal device address included in the data element is located in the location information that is only interested in the aggregation unit, or the data element includes The address of the terminal device is overlapped with the location information of the aggregation unit, which is not limited by the embodiment of the present invention.
  • the filtering gateway reports the determined data element to be reported to the aggregation unit.
  • the aggregation unit analyzes and determines the to-be-reported data element reported by the filtering gateway.
  • the aggregation unit may analyze and decide the data elements to be reported reported by the filtering gateway, so as to provide relevant reports such as early warning and abnormality for the people.
  • the terminal type specified by the aggregation unit is a humidity-sensing terminal device deployed on the farm (for example, Hygrometer), and the weather type specified by the aggregation unit is sunny (belonging to a weather type), wherein the humidity-sensing terminal device (such as a hygrometer) deployed on the farm is allowed to report data on a sunny day; when the forwarding node recognizes any terminal
  • the terminal type specified by the aggregation unit included in the device is a humidity-sensing terminal device (such as a hygrometer)
  • the forwarding node can obtain the real-time weather type corresponding to the terminal device address included in the Internet of Things data reported by the terminal device, and After identifying that the real-time weather type corresponding to the terminal device address does not match the sunny day (the weather type specified by the aggregation unit in the sunny day), the Internet of Things data initiated by the terminal device is filtered out, so that the remaining Internet device data initiated by the terminal device includes
  • the initiated IoT data is encapsulated into data elements and reported to the filtering gateway.
  • the filtering gateway can determine, from the data elements reported by the forwarding nodes, the data elements including the terminal device addresses that match the location information of only the aggregation unit.
  • the data to be reported is reported to the aggregation unit for analysis and decision. It can be seen that, by implementing the dual data filtering method based on the forwarding node and the filtering gateway described in FIG. 3, the embodiment of the present invention can implement dual data filtering based on the forwarding node and the filtering gateway, thereby effectively reducing the workload of the aggregation unit, and Improve the accuracy of the aggregation unit to obtain the terminal device data of interest.
  • FIG. 4 is a schematic structural diagram of a dual data filtering system based on a forwarding node and a filtering gateway according to an embodiment of the present invention.
  • the dual data filtering system based on the forwarding node and the filtering gateway may include:
  • the filtering gateway 402 is configured to receive a first filtering table that is sent by the aggregation unit 401, where the first filtering table includes location information that the aggregation unit 401 is only interested in;
  • the forwarding node 403 is configured to receive, by the terminal device, the Internet of Things data initiated by the terminal device, where the Internet of Things data includes a terminal device type, a terminal device address, and a data content.
  • the forwarding node 403 is further configured to: when it is determined that the Internet of Things data reported by any terminal device includes the terminal type specified by the aggregation unit 401, obtain a real-time weather type corresponding to the terminal device address of the terminal device;
  • the forwarding node 403 is further configured to: when the real-time weather type corresponding to the terminal device address does not match the weather type specified by the aggregation unit 401, filter out the Internet of Things data initiated by the terminal device, and initiate the remaining terminal device.
  • the IoT data is encapsulated into data elements and reported to the filtering gateway 402;
  • the filtering gateway 402 is configured to determine, from the data element reported by each forwarding node, a data element that includes a terminal device address that matches the location information that is only of interest to the aggregation unit 401, as the data element to be reported;
  • the filtering gateway 402 is further configured to report the determined data to be reported to the aggregation unit 401;
  • the aggregation unit 401 is configured to analyze and determine the to-be-reported data element reported by the filtering gateway 402.
  • the forwarding node 403 is further configured to: before the realizing the real-time weather type corresponding to the terminal device address of the terminal device, the receiving aggregation unit 401 passes the filtering gateway, before the realizing the real-time weather type corresponding to the terminal device address of the terminal device,
  • the second filter table delivered by the 403, the second filter table includes the terminal device type specified by the aggregation unit 401 and the specified weather type; wherein the terminal device corresponding to the specified terminal device type is allowed to report data under the specified weather type.
  • the forwarding node 403 obtains the terminal device when the IoT data reported by any terminal device includes the terminal type specified by the aggregation unit 401.
  • the real-time weather type corresponding to the terminal device address is specifically as follows:
  • the forwarding node 403 is configured to: when the IoT data reported by the terminal device includes the terminal type specified by the aggregation unit 401, query the real-time weather publishing server of the area where the terminal device address is included in the Internet of Things data reported by the terminal device, and The real-time weather distribution server in the area where the terminal device address is located requests the real-time weather type corresponding to the terminal device address.
  • the forwarding node 403 queries the terminal device to report when the IoT data reported by any terminal device includes the terminal type specified by the aggregation unit 401.
  • the manner in which the Internet of Things data includes the real-time weather publishing server in the area where the terminal device address is located is specifically as follows:
  • the forwarding node 403 is configured to detect, when the IoT data reported by any terminal device includes the terminal type specified by the aggregation unit 401, whether the forwarding node 403 is configured to query a time period of the real-time weather publishing server, if the forwarding node 403 is Configuring a time period for querying the real-time weather publishing server, determining whether the current system time of the forwarding node 403 is located in the time period, and if so, querying the real-time weather of the area where the terminal device address is included in the Internet of Things data reported by the terminal device. Publishing server.
  • the forwarding node 403 is further configured to: after querying the real-time weather publishing server in the area where the terminal device address included in the Internet of Things data reported by the terminal device is located, and request the terminal device from the real-time weather publishing server in the area where the terminal device address is located.
  • the real-time weather type corresponding to the address Before detecting whether the real-time weather publishing server in the area where the terminal device address is located is configured with an identifier set of the subscribed terminal device that allows the weather type to be queried; if the real-time weather publishing server in the area where the terminal device address is located is configured to allow the weather type to be queried.
  • the identifier set of the contracted terminal device whether the identifier set of the subscribed terminal device includes the terminal device identifier of the terminal device to which the terminal device address belongs, and if the identifier set of the subscribed terminal device includes the terminal device to which the terminal device address belongs
  • the terminal device identifier performs a real-time weather type corresponding to the terminal device address requested by the real
  • the dual data filtering system based on the forwarding node and the filtering gateway described in FIG. 4 is implemented, and the embodiment of the present invention can implement dual data filtering based on the forwarding node and the filtering gateway, thereby effectively reducing the workload of the aggregation unit, and Improve the accuracy of the aggregation unit to obtain the terminal device data of interest.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • OTPROM One-Time Programmable Read-Only Memory
  • EEPROM Electronically-Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory

Abstract

一种基于转发节点和过滤网关的双重数据过滤方法及系统,包括:转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取该终端设备的终端设备地址对应的实时天气类型,并在识别出该终端设备地址对应的实时天气类型与汇聚单元指定的天气类型不匹配时,过滤掉该终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关;而过滤网关可以从各个转发节点上报的数据元中,确定出包含与汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元作为待上报数据元并上报给汇聚单元进行分析和决策。可以有效的降低汇聚单元的工作负担,提高汇聚单元获得感兴趣的终端设备数据的精度。

Description

基于转发节点和过滤网关的双重数据过滤方法及系统 技术领域
本发明涉及物联网技术领域,尤其涉及一种基于转发节点和过滤网关的双重数据过滤方法及系统。
背景技术
物联网就是物与物相连的互联网,物联网的核心和基础仍然是互联网,是在互联网基础上的延伸和扩展的网络。在物联网中,用户端可以延伸和扩展到了任何物品与物品之间,进行信息交换和通信,也就是物物相息。物联网通过智能感知、识别技术与普适计算等通信感知技术,广泛应用于网络的融合中,也因此被称为继计算机、互联网之后世界信息产业发展的第三次浪潮。在物联网的组网架构中,可以利用汇聚单元来充当物联网的人机接口,而且汇聚单元可以收集海量的终端设备(如湿度计、烟感器、通风设备、雨量传感器、灌溉阀等)上报的物联网数据进行分析和决策,从而可以为人们提供预警、异常等相关报告。
在实践中发现,随着海量终端设备的规模不断壮大,汇聚单元收集海量规模的终端设备上报的物联网数据不仅会加剧汇聚单元的工作负荷,而且还可以降低过滤汇聚单元获得感兴趣的终端设备数据的精度。
发明内容
本发明实施例公开了一种基于转发节点和过滤网关的双重数据过滤方法及系统,可以有效的降低汇聚单元的工作负担,提高汇聚单元获得感兴趣的终端设备数据的精度。
本发明实施例第一方面公开一种基于转发节点和过滤网关的双重数据过滤方法,包括:
过滤网关接收汇聚单元下发的第一过滤表,所述第一过滤表包括汇聚单元只感兴趣的位置信息;
转发节点接收海量的终端设备发起的物联网数据,所述物联网数据包括终端设备类型、终端设备地址及数据内容;
所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型;
所述转发节点在识别出所述终端设备地址对应的实时天气类型与所述汇聚单元指定的天气类型不匹配时,过滤掉所述终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关;
所述过滤网关从各个转发节点上报的数据元中,确定出包含与所述汇聚 单元只感兴趣的位置信息相匹配的终端设备地址的数据元,作为待上报数据元;
所述过滤网关将确定出的所述待上报数据元上报给所述汇聚单元进行分析和决策。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型之前,所述方法还包括:
所述转发节点接收所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元指定的终端设备类型和指定的天气类型;其中,所述指定的终端设备类型对应的终端设备被允许在所述指定的天气类型下上报数据。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型,包括:
所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器,并向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器,包括:
所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,检测所述转发节点是否被配置用于查询实时天气发布服务器的时间段,如果所述转发节点被配置用于查询实时天气发布服务器的时间段,判断所述转发节点的当前系统时间是否位于所述时间段内,如果是,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点查询出所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器之后,以及向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型之前,所述方法还包括:
所述转发节点检测所述终端设备地址所在区域的实时天气发布服务器是否配置有允许被查询天气类型的已签约终端设备的标识集合;如果所述终端设备地址所在区域的实时天气发布服务器配置有允许被查询天气类型的所述 已签约终端设备的标识集合,查询所述已签约终端设备的标识集合中是否包括所述终端设备地址所属终端设备的终端设备标识,如果所述已签约终端设备的标识集合中包括所述终端设备地址所属终端设备的终端设备标识,执行所述的向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型。
本发明实施例第二方面公开一种基于转发节点和过滤网关的双重数据过滤系统,包括:
过滤网关,用于接收汇聚单元下发的第一过滤表,所述第一过滤表包括汇聚单元只感兴趣的位置信息;
转发节点,用于接收海量的终端设备发起的物联网数据,所述物联网数据包括终端设备类型、终端设备地址及数据内容;
所述转发节点,还用于在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型;
所述转发节点,还用于在识别出所述终端设备地址对应的实时天气类型与所述汇聚单元指定的天气类型不匹配时,过滤掉所述终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给所述过滤网关;
所述过滤网关,用于从各个转发节点上报的数据元中,确定出包含与所述汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元,作为待上报数据元;
所述过滤网关,还用于将确定出的所述待上报数据元上报给所述汇聚单元;
所述汇聚单元,用于对所述过滤网关上报的所述待上报数据元进行分析和决策。
作为一种可选的实施方式,在本发明实施例第一方面中:
所述转发节点,还用于在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型之前,接收所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元指定的终端设备类型和指定的天气类型;其中,所述指定的终端设备类型对应的终端设备被允许在所述指定的天气类型下上报数据。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型的方式具体为:
所述转发节点用于在识别出任一所述终端设备上报的物联网数据包括汇 聚单元指定的终端类型时,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器,并向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型。
作为一种可选的实施方式,在本发明实施例第一方面中,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器的方式具体为:
所述转发节点,用于在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,检测所述转发节点是否被配置用于查询实时天气发布服务器的时间段,如果所述转发节点被配置用于查询实时天气发布服务器的时间段,判断所述转发节点的当前系统时间是否位于所述时间段内,如果是,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器。
作为一种可选的实施方式,在本发明实施例第一方面中:
所述转发节点,还用于在查询出所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器之后,以及向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型之前,检测所述终端设备地址所在区域的实时天气发布服务器是否配置有允许被查询天气类型的已签约终端设备的标识集合;如果所述终端设备地址所在区域的实时天气发布服务器配置有允许被查询天气类型的所述已签约终端设备的标识集合,查询所述已签约终端设备的标识集合中是否包括所述终端设备地址所属终端设备的终端设备标识,如果所述已签约终端设备的标识集合中包括所述终端设备地址所属终端设备的终端设备标识,执行所述的向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型。
与现有技术相比,本发明实施例具有以下有益效果:
本发明实施例中,转发节点可以接收海量的终端设备发起的物联网数据,物联网数据包括终端设备类型、终端设备地址及数据内容;以及,转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,可以获取该终端设备的终端设备地址对应的实时天气类型,并在识别出该终端设备地址对应的实时天气类型与汇聚单元指定的天气类型不匹配时,过滤掉该终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关;过滤网关可以从各个转发节点上报的数据元中,确定出包含与汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元作为待上报数据元上报给汇聚单元进行分析和决策。举例来说,汇聚单元指定的终端类型为农场部署的湿度感知终端设备(如湿度计),并且汇 聚单元指定的天气类型为晴天(属于一种天气类型),其中,农场部署的湿度感知终端设备(如湿度计)被允许在晴天上报数据;当转发节点在识别出任一终端设备上报的物联网数据包括的汇聚单元指定的终端类型为湿度感知终端设备(如湿度计)时,转发节点可以获取该终端设备上报的物联网数据包括的终端设备地址对应的实时天气类型,并在识别出该终端设备地址对应的实时天气类型与晴天(晴天为汇聚单元指定的天气类型)不匹配时,过滤掉该终端设备发起的物联网数据,这样剩余的终端设备发起的物联网数据包括的汇聚单元指定的终端类型均为湿度感知终端设备(如湿度计),且剩余的终端设备发起的物联网数据包括的终端设备地址对应的实时天气类型均与晴天(晴天为汇聚单元指定的天气类型)匹配,此时转发节点可以将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关,过滤网关可以从各个转发节点上报的数据元中,确定出包含与汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元作为待上报数据元上报给汇聚单元进行分析和决策。可见,本发明实施例可以基于转发节点和过滤网关实现双重数据过滤,从而可以有效的降低汇聚单元的工作负担,而且还可以提高汇聚单元获得感兴趣的终端设备数据的精度。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例公开的一种物联网架构的示意图;
图2是本发明实施例公开的一种基于转发节点和过滤网关的双重数据过滤方法的流程示意图;
图3是本发明实施例公开的另一种基于转发节点和过滤网关的双重数据过滤方法的流程示意图;
图4是本发明实施例公开的一种基于转发节点和过滤网关的双重数据过滤系统的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例公开了一种基于转发节点和过滤网关的双重数据过滤方法及系统,可以有效的降低汇聚单元的工作负担,提高汇聚单元获得感兴趣的 终端设备数据的精度。以下分别进行详细说明。
为了更好地理解本发明实施例,下面先对本发明实施例公开的一种物联网架构进行介绍。请参阅图1,图1是本发明实施例公开的一种物联网架构的示意图。如图1所示,该物联网架构按照功能划分可以包括终端设备层、转发节点层以及汇聚层三个层。其中,终端设备层可以包括海量规模的终端设备,例如湿度计、烟感器、通风设备、雨量传感器、灌溉阀等等;转发节点层可以包括网络连接的大量的转发节点,转发节点可以包括路由器、中继器、接入点等设备,本发明实施例不作限定;转发节点可以使用任何标准的组网协议,而且转发节点可以在不同的网络制式之间实现数据解析;汇聚层可以包括过滤网关和汇聚单元,其中,过滤网关可以通过互联网与转发节点层的各个转发节点直接或简介通讯连接;汇聚单元可以通过过滤网关对转发节点层的各个转发节点进行高层管理,从而实现数据传输频率、网络拓扑以及其他组网功能的控制;汇聚单元不仅可以对海量终端设备产生的物联网数据进行分析和决策,还可以通过发指令去获取信息或者配置终端设备参数(此时数据的传输指向终端设备);汇聚单元还可以引入各种业务,从大数据到社交网络、甚至从社交工具“点赞”到天气分享等。在图1所示的物联网架构中,每一个转发节点可以为其自身无线覆盖范围内的海量终端设备提供物联网数据收发服务,其中,每一转发节点自身无线覆盖范围内的每一个终端设备可以内置有无线通讯模块,这使得每一转发节点可以通过无线网络通讯方式与自身无线覆盖范围内的每一个终端设备进行无线通讯。在图1所示的物联网架构中,终端设备内置的无线通讯模块在生产时,可以输入上频点470MHz,下频点510MHz,这样无线通讯模块可以自动将通讯频段定义为470MHz~510MHz,以符合中国SRRC标准的规定;或者,也可以输入上频点868MHz,下频点908MHz,这样无线通讯模块可以自动将通讯频段定义为868MHz~908MHz,以符合欧洲ETSI标准的规定;或者,可以输入上频点918MHz,下频点928MHz,这样无线通讯模块可以自动将通讯频段定义为918MHz~928MHz,以符合美国FCC标准的规定;或者,无线通讯模块的通讯频段也可以定义为符合日本ARIB标准或加拿大IC标准的规定,本发明实施例不作限定。在图1所示的物联网架构中,终端设备可以采用频分复用(Frequency Division Multiple Access,FDMA)、跳频(Frequency-Hopping Spread Spectrum,FHSS)、动态时分复用(Dynamic Time Division Multiple Access,DTDMA)、退避复用(CSMA)相结合的方法来解决干扰问题。
实施例一
在图1所描述的物联网架构的基础上,本发明实施例公开了一种基于转 发节点和过滤网关的双重数据过滤方法。请参阅图2,图2是本发明实施例公开的一种基于转发节点和过滤网关的双重数据过滤方法的流程示意图。如图2所示,该基于转发节点和过滤网关的双重数据过滤方法可以包括以下步骤:
201、过滤网关接收汇聚单元下发的第一过滤表,该第一过滤表包括汇聚单元只感兴趣的位置信息。
本发明实施例中,汇聚单元只感兴趣的位置信息可以是一个区域位置信息,例如某一农场的位置信息;或者,汇聚单元只感兴趣的位置信息也可以是一个具体的地理坐标位置信息,例如某一农场中的某一个湿度计的地理坐标位置信息。
202、转发节点接收海量的终端设备发起的物联网数据,该物联网数据包括终端设备类型、终端设备地址及数据内容。
本发明实施例中,转发节点可以接收其自身无线覆盖范围内的海量的终端设备发起的物联网数据。其中,终端设备类型用于表示终端设备的类别和型号,数据内容用于表示终端设备上报的数据负载,例如农场部署的湿度感知终端设备上报的物联网数据包括数据内容可以是土壤容积含水量;又例如,温度传感器上报的物联网数据包括数据内容可以是温度值;又例如,雨量计上报的物联网数据包括数据内容可以是降雨量。
203、转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取该终端设备的终端设备地址对应的实时天气类型。
作为一种可选的实施方式,上述步骤203中,转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取该终端设备的终端设备地址对应的实时天气类型的方式可以为:
转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,可以查询该终端设备上报的物联网数据包括的终端设备地址所在区域的实时天气发布服务器,并向该终端设备地址所在区域的实时天气发布服务器请求该终端设备地址对应的实时天气类型。
本发明实施例中,转发节点可以存储多个终端设备地址,其中,每一个终端设备地址分别与该终端设备地址所在区域的实时天气发布服务器的地址相对应。转发节点存储的多个终端设备地址不仅可以包括其自身无线覆盖范围内终端设备的终端设备地址,还可以包括相邻转发节点无线覆盖范围内终端设备的终端设备地址,本发明实施例不作限定。
作为一种可选的实施方式,上述的转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,查询该终端设备上报的物联 网数据包括的该终端设备地址所在区域的实时天气发布服务器的方式具体可以为:
转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,可以检测该转发节点是否被配置用于查询实时天气发布服务器的时间段,如果该转发节点被配置用于查询实时天气发布服务器的时间段,判断该转发节点的当前系统时间是否位于该时间段内,如果是,查询该终端设备上报的物联网数据包括的该终端设备地址所在区域的实时天气发布服务器。其中,实施这种实施方式可以避免转发节点频繁地查询终端设备地址所在区域的实时天气发布服务器,从而可以降低转发节点查询终端设备地址所在区域的实时天气发布服务器时导致的功耗。
作为一种可选的实施方式,转发节点在查询出该终端设备上报的物联网数据包括的该终端设备地址所在区域的实时天气发布服务器之后,以及向该终端设备地址所在区域的实时天气发布服务器请求该终端设备地址对应的实时天气类型之前,转发节点还可以先执行以下步骤:
转发节点可以检测该终端设备地址所在区域的实时天气发布服务器是否配置有允许被查询天气类型的已签约终端设备的标识集合;
如果该终端设备地址所在区域的实时天气发布服务器配置有允许被查询天气类型的已签约终端设备的标识集合,查询已签约终端设备的标识集合中是否包括该终端设备地址所属终端设备的终端设备标识;
如果已签约终端设备的标识集合中包括该终端设备地址所属终端设备的终端设备标识,才执行向该终端设备地址所在区域的实时天气发布服务器请求该终端设备地址对应的实时天气类型的步骤。
其中,实施上述步骤可以获取已签约终端设备的终端设备地址对应的天气类型,从而可以防止未签约终端设备的终端设备地址对应的天气类型发生泄露。
204、转发节点在识别出该终端设备地址对应的实时天气类型与汇聚单元指定的天气类型不匹配时,过滤掉该终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关。
举例来说,转发节点在识别出该终端设备地址对应的实时天气类型“雨天”与汇聚单元指定的天气类型“晴天”不匹配时,转发节点可以过滤掉该终端设备发起的物联网数据,这样剩余的终端设备发起的物联网数据包括的终端设备类型均与汇聚单元指定的终端设备类型匹配,而且剩余的终端设备发起的物联网数据包括的终端设备地址对应的实时天气类型均与汇聚单元指定的天气类型匹配,此时转发节点可以将剩余的终端设备发起的物联网数据 封装成数据元之后上报给过滤网关。
205、过滤网关从各个转发节点上报的数据元中,确定出包含与汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元,作为待上报数据元。
本发明实施例中,与汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元是指:数据元包含的终端设备地址位于汇聚单元只感兴趣的位置信息内,或者,数据元包含的终端设备地址与汇聚单元只感兴趣的位置信息重叠,本发明实施例不作限定。
206、过滤网关将确定出的待上报数据元上报给汇聚单元。
207、汇聚单元对过滤网关上报的待上报数据元进行分析和决策。
本发明实施例中,汇聚单元可以对过滤网关上报的待上报数据元进行分析和决策,从而可以为人们提供预警、异常等相关报告。
在图2所描述的基于转发节点和过滤网关的双重数据过滤方法,转发节点可以接收海量的终端设备发起的物联网数据,物联网数据包括终端设备类型、终端设备地址及数据内容;以及,转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,可以获取该终端设备的终端设备地址对应的实时天气类型,并在识别出该终端设备地址对应的实时天气类型与汇聚单元指定的天气类型不匹配时,过滤掉该终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关;过滤网关可以从各个转发节点上报的数据元中,确定出包含与汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元作为待上报数据元上报给汇聚单元进行分析和决策。举例来说,汇聚单元指定的终端类型为农场部署的湿度感知终端设备(如湿度计),并且汇聚单元指定的天气类型为晴天(属于一种天气类型),其中,农场部署的湿度感知终端设备(如湿度计)被允许在晴天上报数据;当转发节点在识别出任一终端设备上报的物联网数据包括的汇聚单元指定的终端类型为湿度感知终端设备(如湿度计)时,转发节点可以获取该终端设备上报的物联网数据包括的终端设备地址对应的实时天气类型,并在识别出该终端设备地址对应的实时天气类型与晴天(晴天为汇聚单元指定的天气类型)不匹配时,过滤掉该终端设备发起的物联网数据,这样剩余的终端设备发起的物联网数据包括的汇聚单元指定的终端类型均为湿度感知终端设备(如湿度计),且剩余的终端设备发起的物联网数据包括的终端设备地址对应的实时天气类型均与晴天(晴天为汇聚单元指定的天气类型)匹配,此时转发节点可以将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关,过滤网关可以从各个转发节点上报的数据元中,确定出包含与汇聚单元只感兴趣的位置信息相匹配的终端设备地址的 数据元作为待上报数据元上报给汇聚单元进行分析和决策。可见,实施图2所描述的基于转发节点和过滤网关的双重数据过滤方法,本发明实施例可以基于转发节点和过滤网关实现双重数据过滤,从而可以有效的降低汇聚单元的工作负担,而且还可以提高汇聚单元获得感兴趣的终端设备数据的精度。
实施例二
在图1所描述的物联网架构的基础上,本发明实施例公开了另一种基于转发节点和过滤网关的双重数据过滤方法。请参阅图3,图3是本发明实施例公开的另一种基于转发节点和过滤网关的双重数据过滤方法的流程示意图。如图3所示,该基于转发节点和过滤网关的双重数据过滤方法可以包括以下步骤:
301、过滤网关接收汇聚单元下发的第一过滤表,该第一过滤表包括汇聚单元只感兴趣的位置信息。
本发明实施例中,汇聚单元只感兴趣的位置信息可以是一个区域位置信息,例如某一农场的位置信息;或者,汇聚单元只感兴趣的位置信息也可以是一个具体的地理坐标位置信息,例如某一农场中的某一个湿度计的地理坐标位置信息。
302、转发节点接收汇聚单元通过过滤网关下发的第二过滤表,第二过滤表包括汇聚单元指定的终端设备类型和指定的天气类型;其中,该指定的终端设备类型对应的终端设备被允许在该指定的天气类型下上报数据。
举例来说,转发节点接收到的汇聚单元通过过滤网关下发的第二过滤表可以如表1所示,即:
表1第二过滤表
Figure PCTCN2017099311-appb-000001
如表1所示,当汇聚单元指定的终端设备类型为雨量计时,汇聚单元指定的天气类型可以为雨天,因为汇聚单元在雨天时一般才对雨量计上报的物联网数据(即降雨量)感兴趣;当汇聚单元指定的终端设备类型为湿度感知终端设备(如湿度计)时,汇聚单元指定的天气类型可以为晴天,因为汇聚单元在晴天时一般才对湿度感知终端设备(如湿度计)上报的物联网数据(即 土壤容积含水量)感兴趣;当汇聚单元指定的终端设备类型为PM2.5检测仪时,汇聚单元指定的天气类型可以为雾霾天,因为汇聚单元在雾霾天时一般才对PM2.5检测仪上报的物联网数据(PM2.5值)感兴趣。
303、转发节点接收海量的终端设备发起的物联网数据,该物联网数据包括终端设备类型、终端设备地址及数据内容。
304、转发节点在识别出任一终端设备上报的物联网数据包括第二过滤表中汇聚单元指定的终端类型时,获取该终端设备的终端设备地址对应的实时天气类型。
作为一种可选的实施方式,上述步骤304中,转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取该终端设备的终端设备地址对应的实时天气类型的方式可以为:
转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,可以查询该终端设备上报的物联网数据包括的终端设备地址所在区域的实时天气发布服务器,并向该终端设备地址所在区域的实时天气发布服务器请求该终端设备地址对应的实时天气类型。
本发明实施例中,转发节点可以存储多个终端设备地址,其中,每一个终端设备地址分别与该终端设备地址所在区域的实时天气发布服务器的地址相对应。转发节点存储的多个终端设备地址不仅可以包括其自身无线覆盖范围内终端设备的终端设备地址,还可以包括相邻转发节点无线覆盖范围内终端设备的终端设备地址,本发明实施例不作限定。
作为一种可选的实施方式,上述的转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,查询该终端设备上报的物联网数据包括的该终端设备地址所在区域的实时天气发布服务器的方式具体可以为:
转发节点在识别出任一终端设备上报的物联网数据包括汇聚单元指定的终端类型时,可以检测该转发节点是否被配置用于查询实时天气发布服务器的时间段,如果该转发节点被配置用于查询实时天气发布服务器的时间段,判断该转发节点的当前系统时间是否位于该时间段内,如果是,查询该终端设备上报的物联网数据包括的该终端设备地址所在区域的实时天气发布服务器。其中,实施这种实施方式可以避免转发节点频繁地查询终端设备地址所在区域的实时天气发布服务器,从而可以降低转发节点查询终端设备地址所在区域的实时天气发布服务器时导致的功耗。
作为一种可选的实施方式,转发节点在查询出该终端设备上报的物联网数据包括的该终端设备地址所在区域的实时天气发布服务器之后,以及向该终端设备地址所在区域的实时天气发布服务器请求该终端设备地址对应的实时天气类型之前,转发节点还可以先执行以下步骤:
转发节点可以检测该终端设备地址所在区域的实时天气发布服务器是否配置有允许被查询天气类型的已签约终端设备的标识集合;
如果该终端设备地址所在区域的实时天气发布服务器配置有允许被查询天气类型的已签约终端设备的标识集合,查询已签约终端设备的标识集合中是否包括该终端设备地址所属终端设备的终端设备标识;
如果已签约终端设备的标识集合中包括该终端设备地址所属终端设备的终端设备标识,才执行向该终端设备地址所在区域的实时天气发布服务器请求该终端设备地址对应的实时天气类型的步骤。
其中,实施上述步骤可以获取已签约终端设备的终端设备地址对应的天气类型,从而可以防止未签约终端设备的终端设备地址对应的天气类型发生泄露。
305、转发节点在识别出该终端设备地址对应的实时天气类型与第二过滤表中汇聚单元指定的天气类型不匹配时,过滤掉该终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关。
举例来说,转发节点在识别出该终端设备地址对应的实时天气类型“雨天”与汇聚单元指定的天气类型“晴天”不匹配时,转发节点可以过滤掉该终端设备发起的物联网数据,这样剩余的终端设备发起的物联网数据包括的终端设备类型均与汇聚单元指定的终端设备类型匹配,而且剩余的终端设备发起的物联网数据包括的终端设备地址对应的实时天气类型均与汇聚单元指定的天气类型匹配,此时转发节点可以将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关。
306、过滤网关从各个转发节点上报的数据元中,确定出包含与第一过滤表中汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元,作为待上报数据元。
本发明实施例中,与汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元是指:数据元包含的终端设备地址位于汇聚单元只感兴趣的位置信息内,或者,数据元包含的终端设备地址与汇聚单元只感兴趣的位置信息重叠,本发明实施例不作限定。
307、过滤网关将确定出的待上报数据元上报给汇聚单元。
308、汇聚单元对过滤网关上报的待上报数据元进行分析和决策。
本发明实施例中,汇聚单元可以对过滤网关上报的待上报数据元进行分析和决策,从而可以为人们提供预警、异常等相关报告。
举例来说,汇聚单元指定的终端类型为农场部署的湿度感知终端设备(如 湿度计),并且汇聚单元指定的天气类型为晴天(属于一种天气类型),其中,农场部署的湿度感知终端设备(如湿度计)被允许在晴天上报数据;当转发节点在识别出任一终端设备上报的物联网数据包括的汇聚单元指定的终端类型为湿度感知终端设备(如湿度计)时,转发节点可以获取该终端设备上报的物联网数据包括的终端设备地址对应的实时天气类型,并在识别出该终端设备地址对应的实时天气类型与晴天(晴天为汇聚单元指定的天气类型)不匹配时,过滤掉该终端设备发起的物联网数据,这样剩余的终端设备发起的物联网数据包括的汇聚单元指定的终端类型均为湿度感知终端设备(如湿度计),且剩余的终端设备发起的物联网数据包括的终端设备地址对应的实时天气类型均与晴天(晴天为汇聚单元指定的天气类型)匹配,此时转发节点可以将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关,过滤网关可以从各个转发节点上报的数据元中,确定出包含与汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元作为待上报数据元上报给汇聚单元进行分析和决策。可见,实施图3所描述的基于转发节点和过滤网关的双重数据过滤方法,本发明实施例可以基于转发节点和过滤网关实现双重数据过滤,从而可以有效的降低汇聚单元的工作负担,而且还可以提高汇聚单元获得感兴趣的终端设备数据的精度。
实施例三
在图1所描述的物联网架构的基础上,本发明实施例公开了一种基于转发节点和过滤网关的双重数据过滤系统。请参阅图4,图4是本发明实施例公开的一种基于转发节点和过滤网关的双重数据过滤系统的结构示意图。如图4所示,该基于转发节点和过滤网关的双重数据过滤系统可以包括:
汇聚单元401、过滤网关402以及转发节点403,其中:
过滤网关402,用于接收汇聚单元401下发的第一过滤表,该第一过滤表包括汇聚单元401只感兴趣的位置信息;
转发节点403,用于接收海量的终端设备发起的物联网数据,该物联网数据包括终端设备类型、终端设备地址及数据内容;
转发节点403,还用于在识别出任一终端设备上报的物联网数据包括汇聚单元401指定的终端类型时,获取该终端设备的终端设备地址对应的实时天气类型;
转发节点403,还用于在识别出该终端设备地址对应的实时天气类型与汇聚单元401指定的天气类型不匹配时,过滤掉该终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关402;
过滤网关402,用于从各个转发节点上报的数据元中,确定出包含与汇聚单元401只感兴趣的位置信息相匹配的终端设备地址的数据元,作为待上报数据元;
过滤网关402,还用于将确定出的待上报数据元上报给汇聚单元401;
汇聚单元401,用于对过滤网关402上报的待上报数据元进行分析和决策。
作为一种可选的实施方式,在图4所描述的双重数据过滤系统中:
转发节点403,还用于在识别出任一终端设备上报的物联网数据包括汇聚单元401指定的终端类型时,获取该终端设备的终端设备地址对应的实时天气类型之前,接收汇聚单元401通过过滤网关403下发的第二过滤表,第二过滤表包括汇聚单元401指定的终端设备类型和指定的天气类型;其中,指定的终端设备类型对应的终端设备被允许在指定的天气类型下上报数据。
作为一种可选的实施方式,在图4所描述的双重数据过滤系统中,转发节点403在识别出任一终端设备上报的物联网数据包括汇聚单元401指定的终端类型时,获取该终端设备的终端设备地址对应的实时天气类型的方式具体为:
转发节点403用于在识别出任一终端设备上报的物联网数据包括汇聚单元401指定的终端类型时,查询该终端设备上报的物联网数据包括的该终端设备地址所在区域的实时天气发布服务器,并向该终端设备地址所在区域的实时天气发布服务器请求该终端设备地址对应的实时天气类型。
作为一种可选的实施方式,在图4所描述的双重数据过滤系统中,转发节点403在识别出任一终端设备上报的物联网数据包括汇聚单元401指定的终端类型时,查询该终端设备上报的物联网数据包括的该终端设备地址所在区域的实时天气发布服务器的方式具体为:
转发节点403,用于在识别出任一终端设备上报的物联网数据包括汇聚单元401指定的终端类型时,检测转发节点403是否被配置用于查询实时天气发布服务器的时间段,如果转发节点403被配置用于查询实时天气发布服务器的时间段,判断转发节点403的当前系统时间是否位于该时间段内,如果是,查询该终端设备上报的物联网数据包括的该终端设备地址所在区域的实时天气发布服务器。
作为一种可选的实施方式,在图4所描述的双重数据过滤系统中:
转发节点403,还用于在查询出该终端设备上报的物联网数据包括的该终端设备地址所在区域的实时天气发布服务器之后,以及向该终端设备地址所在区域的实时天气发布服务器请求该终端设备地址对应的实时天气类型之 前,检测该终端设备地址所在区域的实时天气发布服务器是否配置有允许被查询天气类型的已签约终端设备的标识集合;如果该终端设备地址所在区域的实时天气发布服务器配置有允许被查询天气类型的已签约终端设备的标识集合,查询已签约终端设备的标识集合中是否包括该终端设备地址所属终端设备的终端设备标识,如果已签约终端设备的标识集合中包括该终端设备地址所属终端设备的终端设备标识,执行向该终端设备地址所在区域的实时天气发布服务器请求该终端设备地址对应的实时天气类型。
可见,实施图4所描述的基于转发节点和过滤网关的双重数据过滤系统,本发明实施例可以基于转发节点和过滤网关实现双重数据过滤,从而可以有效的降低汇聚单元的工作负担,而且还可以提高汇聚单元获得感兴趣的终端设备数据的精度。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。
以上对本发明实施例公开的一种基于转发节点和过滤网关的双重数据过滤方法及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (10)

  1. 一种基于转发节点和过滤网关的双重数据过滤方法,其特征在于,包括:
    过滤网关接收汇聚单元下发的第一过滤表,所述第一过滤表包括汇聚单元只感兴趣的位置信息;
    转发节点接收海量的终端设备发起的物联网数据,所述物联网数据包括终端设备类型、终端设备地址及数据内容;
    所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型;
    所述转发节点在识别出所述终端设备地址对应的实时天气类型与所述汇聚单元指定的天气类型不匹配时,过滤掉所述终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给过滤网关;
    所述过滤网关从各个转发节点上报的数据元中,确定出包含与所述汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元,作为待上报数据元;
    所述过滤网关将确定出的所述待上报数据元上报给所述汇聚单元进行分析和决策。
  2. 根据权利要求1所述的双重数据过滤方法,其特征在于,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型之前,所述方法还包括:
    所述转发节点接收所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元指定的终端设备类型和指定的天气类型;其中,所述指定的终端设备类型对应的终端设备被允许在所述指定的天气类型下上报数据。
  3. 根据权利要求1或2所述的基于转发节点和过滤网关的双重数据过滤方法,其特征在于,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型,包括:
    所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器,并向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型。
  4. 根据权利要求3所述的基于转发节点和过滤网关的双重数据过滤方法,其特征在于,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,查询所述终端设备上报的物联网数据包 括的所述终端设备地址所在区域的实时天气发布服务器,包括:
    所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,检测所述转发节点是否被配置用于查询实时天气发布服务器的时间段,如果所述转发节点被配置用于查询实时天气发布服务器的时间段,判断所述转发节点的当前系统时间是否位于所述时间段内,如果是,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器。
  5. 根据权利要求4所述的基于转发节点和过滤网关的双重数据过滤方法,其特征在于,所述转发节点查询出所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器之后,以及向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型之前,所述方法还包括:
    所述转发节点检测所述终端设备地址所在区域的实时天气发布服务器是否配置有允许被查询天气类型的已签约终端设备的标识集合;如果所述终端设备地址所在区域的实时天气发布服务器配置有允许被查询天气类型的所述已签约终端设备的标识集合,查询所述已签约终端设备的标识集合中是否包括所述终端设备地址所属终端设备的终端设备标识,如果所述已签约终端设备的标识集合中包括所述终端设备地址所属终端设备的终端设备标识,执行所述的向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型。
  6. 一种基于转发节点和过滤网关的双重数据过滤系统,其特征在于,包括:
    过滤网关,用于接收汇聚单元下发的第一过滤表,所述第一过滤表包括汇聚单元只感兴趣的位置信息;
    转发节点,用于接收海量的终端设备发起的物联网数据,所述物联网数据包括终端设备类型、终端设备地址及数据内容;
    所述转发节点,还用于在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型;
    所述转发节点,还用于在识别出所述终端设备地址对应的实时天气类型与所述汇聚单元指定的天气类型不匹配时,过滤掉所述终端设备发起的物联网数据,并将剩余的终端设备发起的物联网数据封装成数据元之后上报给所述过滤网关;
    所述过滤网关,用于从各个转发节点上报的数据元中,确定出包含与所述汇聚单元只感兴趣的位置信息相匹配的终端设备地址的数据元,作为待上报数据元;
    所述过滤网关,还用于将确定出的所述待上报数据元上报给所述汇聚单元;
    所述汇聚单元,用于对所述过滤网关上报的所述待上报数据元进行分析和决策。
  7. 根据权利要求6所述的双重数据过滤系统,其特征在于:
    所述转发节点,还用于在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型之前,接收所述汇聚单元通过所述过滤网关下发的第二过滤表,所述第二过滤表包括所述汇聚单元指定的终端设备类型和指定的天气类型;其中,所述指定的终端设备类型对应的终端设备被允许在所述指定的天气类型下上报数据。
  8. 根据权利要求6或7所述的基于转发节点和过滤网关的双重数据过滤系统,其特征在于,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,获取所述终端设备的终端设备地址对应的实时天气类型的方式具体为:
    所述转发节点用于在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器,并向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型。
  9. 根据权利要求8所述的基于转发节点和过滤网关的双重数据过滤系统,其特征在于,所述转发节点在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器的方式具体为:
    所述转发节点,用于在识别出任一所述终端设备上报的物联网数据包括汇聚单元指定的终端类型时,检测所述转发节点是否被配置用于查询实时天气发布服务器的时间段,如果所述转发节点被配置用于查询实时天气发布服务器的时间段,判断所述转发节点的当前系统时间是否位于所述时间段内,如果是,查询所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器。
  10. 根据权利要求9所述的基于转发节点和过滤网关的双重数据过滤系统,其特征在于:
    所述转发节点,还用于在查询出所述终端设备上报的物联网数据包括的所述终端设备地址所在区域的实时天气发布服务器之后,以及向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型之前,检测所述终端设备地址所在区域的实时天气发布服务器是否配置有允许被查询天气类型的已签约终端设备的标识集合;如果所述终端设备 地址所在区域的实时天气发布服务器配置有允许被查询天气类型的所述已签约终端设备的标识集合,查询所述已签约终端设备的标识集合中是否包括所述终端设备地址所属终端设备的终端设备标识,如果所述已签约终端设备的标识集合中包括所述终端设备地址所属终端设备的终端设备标识,执行所述的向所述终端设备地址所在区域的实时天气发布服务器请求所述终端设备地址对应的实时天气类型。
PCT/CN2017/099311 2017-06-21 2017-08-28 基于转发节点和过滤网关的双重数据过滤方法及系统 WO2018233007A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710473262.3A CN107277138B (zh) 2017-06-21 2017-06-21 基于转发节点和过滤网关的双重数据过滤方法及系统
CN201710473262.3 2017-06-21

Publications (1)

Publication Number Publication Date
WO2018233007A1 true WO2018233007A1 (zh) 2018-12-27

Family

ID=60068994

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099311 WO2018233007A1 (zh) 2017-06-21 2017-08-28 基于转发节点和过滤网关的双重数据过滤方法及系统

Country Status (2)

Country Link
CN (1) CN107277138B (zh)
WO (1) WO2018233007A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668200B (zh) * 2023-07-31 2023-10-17 深圳市联新移动医疗科技有限公司 一种物联网数据安全传输方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130290305A1 (en) * 2012-04-28 2013-10-31 International Business Machines Corporation Data filtering in the internet of things
CN104410662A (zh) * 2014-10-23 2015-03-11 山东大学 物联网并行海量数据传输中间件及其工作方法
CN105933308A (zh) * 2016-04-20 2016-09-07 北京章鱼智数科技有限公司 移动智能设备流式大数据实时处理方法
CN205681471U (zh) * 2016-06-21 2016-11-09 北京中超伟业信息安全技术有限公司 一种基于物联网的数据流过滤系统
CN106844585A (zh) * 2017-01-10 2017-06-13 广东精规划信息科技股份有限公司 一种基于多源物联网位置感知的时空关系分析系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130290305A1 (en) * 2012-04-28 2013-10-31 International Business Machines Corporation Data filtering in the internet of things
CN104410662A (zh) * 2014-10-23 2015-03-11 山东大学 物联网并行海量数据传输中间件及其工作方法
CN105933308A (zh) * 2016-04-20 2016-09-07 北京章鱼智数科技有限公司 移动智能设备流式大数据实时处理方法
CN205681471U (zh) * 2016-06-21 2016-11-09 北京中超伟业信息安全技术有限公司 一种基于物联网的数据流过滤系统
CN106844585A (zh) * 2017-01-10 2017-06-13 广东精规划信息科技股份有限公司 一种基于多源物联网位置感知的时空关系分析系统

Also Published As

Publication number Publication date
CN107277138A (zh) 2017-10-20
CN107277138B (zh) 2018-10-09

Similar Documents

Publication Publication Date Title
WO2018232970A1 (zh) 一种应用于物联网的终端设备状态检测方法及系统
WO2018233030A1 (zh) 一种基于传输时长的物联网数据上报控制方法及转发节点
WO2018233018A1 (zh) 一种基于终端设备优先级的数据上报控制方法及系统
WO2018233015A1 (zh) 一种终端设备的物联网数据上报频率的控制及系统
CN107197033B (zh) 一种基于物联网的数据封装方法及系统
WO2018233008A1 (zh) 一种应用于物联网的数据处理方法及系统
CN107273512B (zh) 一种基于设备类型和地理位置进行数据去重的方法及设备
WO2018233016A1 (zh) 一种边缘路由节点及其上报频率调整方法
WO2018232976A1 (zh) 一种终端设备的工作状态的确定方法及设备
CN107317854B (zh) 基于控制表的终端设备上报频率调节方法及路由节点
WO2018232958A1 (zh) 一种基于转发节点的终端设备自动升级方法及转发节点
WO2018232973A1 (zh) 一种物联网终端设备工作状态的控制方法及系统
WO2018233007A1 (zh) 基于转发节点和过滤网关的双重数据过滤方法及系统
WO2018233032A1 (zh) 一种物联网数据的上报控制方法及系统
WO2018233006A1 (zh) 一种基于场景信息的物联网数据智能过滤方法及系统
WO2018233028A1 (zh) 一种物联网数据上报控制方法及系统
WO2018233021A1 (zh) 一种控制物联网中数据封装的方法及系统
WO2018232962A1 (zh) 一种物联网接入节点网络覆盖范围的调整方法及系统
WO2018233022A1 (zh) 一种基于终端设备数量的数据封装控制方法及系统
WO2018232959A1 (zh) 一种借助相邻节点控制终端设备升级的方法及转发节点
CN107360097B (zh) 一种结合汇聚单元信息的物联网路由表更新方法及系统
CN110855775B (zh) 一种基于过滤网关的终端设备工作状态检测方法及系统
WO2018232974A1 (zh) 一种基于天气的物联网终端设备控制方法及系统
WO2018233019A1 (zh) 一种基于终端设备位置的数据上报控制方法及系统
WO2018232965A1 (zh) 一种基于被监测设备更新路由信息表的方法及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17914988

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.05.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17914988

Country of ref document: EP

Kind code of ref document: A1