WO2018232965A1 - Method and device for updating routing information table based on monitored device - Google Patents
Method and device for updating routing information table based on monitored device Download PDFInfo
- Publication number
- WO2018232965A1 WO2018232965A1 PCT/CN2017/098501 CN2017098501W WO2018232965A1 WO 2018232965 A1 WO2018232965 A1 WO 2018232965A1 CN 2017098501 W CN2017098501 W CN 2017098501W WO 2018232965 A1 WO2018232965 A1 WO 2018232965A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- internet
- things data
- terminal device
- data
- information table
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0203—Power saving arrangements in the radio access network or backbone network of wireless communication networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
- H04W40/248—Connectivity information update
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates to the field of Internet of Things technologies, and in particular, to a method and device for updating a routing information table based on a monitored device.
- the data content for the monitored equipment (such as irrigation equipment, engine equipment, etc.) and the reporting of the Internet of Things data including the data content are important components in the network topology of the Internet of Things architecture.
- the information about the newly-launched terminal device (such as the device identifier of the terminal device) needs to be updated in time to the edge routing node covering the newly-launched terminal device to add the newly-launched terminal device to the network of the Internet of Things architecture.
- the edge routing node needs to update the pre-generated routing information table according to the newly-launched terminal device, which leads to frequent update of the routing information table. The problem.
- the embodiment of the invention discloses a method and a device for updating a routing information table based on a monitored device, which can update the routing information table of the edge routing node according to the actual needs of the aggregation unit, and reduce the number of updates of the routing information table.
- the first aspect of the embodiment of the present invention discloses a method for updating a routing information table based on a monitored device, where the method includes:
- the edge routing node receives an indication message sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type;
- the edge routing node listens to the massive IoT data reported by the mass terminal device in the wireless coverage area, and the IoT data includes the device type of the monitored device monitored by the terminal device that reports the Internet of Things data, The data content collected by the terminal device for the monitored device and the device identifier of the terminal device;
- the edge routing node determines whether the plurality of Internet of Things data exists.
- the device type of the monitored device included is at least one of the target device types.
- the IoT data when it is determined that the at least one Internet of Things data exists in the plurality of Internet of Things data, adding the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table, when When it is determined that the at least one Internet of Things data does not exist in the plurality of Internet of Things data, the control does not update the routing information table.
- the method further includes:
- the edge routing node determines whether the data content included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, and determines the at least one When the data content included in each of the Internet of Things data in the Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, triggering execution of the terminal device included in the at least one Internet of Things data
- the device identification is added to the operation in the routing information table.
- the method further includes:
- the edge routing node determines whether there is a passing terminal device in the terminal device that reports the at least one Internet of Things data, and when it is determined that the terminal device that reports the at least one Internet of Things data does not exist in the terminal device, And triggering an operation of adding the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table;
- the method further includes:
- the edge routing node adds the device identifier of the terminal device except the passing terminal device to the terminal device that reports the at least one Internet of Things data to the route. In the information form.
- the method further includes:
- the edge routing node collects all terminals corresponding to the device identifiers stored in the routing information table.
- the target terminal device of the monitored device for monitoring the target device type reports the reporting frequency of the Internet of Things data, and sends a reporting frequency increase to the terminal device that reports the frequency lower than the preset reporting frequency threshold. instruction.
- the method further includes:
- the edge routing node sets, in the routing information table, a reporting priority for the device identifier of the terminal device whose frequency is lower than the preset reporting frequency threshold in the target terminal device, where the reporting frequency is smaller, The higher the priority of the escalation.
- the second aspect of the embodiment of the present invention discloses an edge routing node, the edge routing node receiving unit, a listening unit, a determining unit, and a control unit, where:
- the receiving unit is configured to receive an indication message that is sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type;
- the listening unit is configured to listen to massive Internet of Things data reported by a mass terminal device in a wireless coverage area, and each of the Internet of Things data includes a device of the monitored device monitored by a terminal device that reports the Internet of Things data a type, a data content collected by the terminal device for the monitored device, and a device identifier of the terminal device;
- the determining unit is configured to determine, in the plurality of Internet of Things data, that the device identifier of the terminal device included in the massive Internet of Things data is not stored in the plurality of Internet of Things data in the pre-generated routing information table Whether there is at least one Internet of Things data of the device type of the monitored device being the target device type;
- the control unit is configured to: when the determining unit determines that the at least one Internet of Things data exists in the plurality of Internet of Things data, add the device identifier of the terminal device included in the at least one Internet of Things data to the In the routing information table, and when the determining unit determines that the at least one Internet of Things data does not exist in the plurality of Internet of Things data, the control does not update the routing information table.
- the determining unit is further configured to: after determining that the at least one Internet of Things data exists in the plurality of Internet of Things data, Before the control unit adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table, determining whether the data content included in each of the Internet of Things data in the at least one Internet of Things data is The preset data content corresponding to the device type included in the Internet of Things data is matched, and when it is determined that the data content included in each of the Internet of Things data in the at least one Internet of Things data is a preset corresponding to the device type included in the Internet of Things data When the data contents match, triggering execution of the at least one of the The device identification of the terminal device included in the Internet of Things data is added to the operation in the routing information table.
- the determining unit is further configured to: determine, in the at least one Internet of Things data, data content included in each Internet of Things data Determining the report office after the preset data content corresponding to the device type included in the Internet of Things data is matched and before the control unit adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table Determining whether there is a passing terminal device in the terminal device of the at least one Internet of Things data, and when it is determined that the terminal device that has passed through the terminal device that reports the at least one Internet of Things data does not exist, triggering the control unit to perform the Adding, to the operation in the routing information table, a device identifier of the terminal device included in the at least one Internet of Things data;
- the control unit is further configured to: when the data content included in each of the Internet of Things data in the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, and report the at least one Adding the device identifier of the terminal device other than the passing terminal device to the routing information of the terminal device that reports the at least one Internet of Things data in the terminal device of the Internet of Things data In the table.
- the edge routing node further includes a statistics unit and a sending unit, where:
- the statistic unit is configured to collect the reporting frequency of reporting the Internet of Things data of the target terminal device of the monitored device whose device type is the target device type in all the terminal devices corresponding to the device identifier stored in the routing information table. ;
- the sending unit is configured to send, according to the reporting frequency of the object network data reported by the target terminal device, the reporting frequency to the terminal device that reports the frequency lower than the preset reporting frequency threshold. Increase the command.
- the edge routing node further includes a setting unit, where:
- the setting unit is configured to set a reporting priority for the device identifier of the terminal device whose frequency is lower than the preset reporting frequency threshold in the target terminal device, where the reporting frequency is higher. Small, the set report priority is greater.
- the embodiment of the invention has the following beneficial effects:
- the edge routing node receives the indication message sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type, and listens to the massive end of the wireless coverage.
- Massive IoT data reported by the end device each IoT data includes a device type of the monitored device monitored by the terminal device reporting the IoT data, data content collected by the terminal device for the monitored device, and the terminal device.
- the device identifier when the device identifier of the terminal device included in the massive IoT data is not stored in the plurality of Internet of Things data in the pre-generated routing information table, the edge routing node determines whether the plurality of Internet of Things data exists
- the device type of the monitored device is at least one Internet of Things data of the target device type, and when it is determined that the at least one Internet of Things data exists in the plurality of Internet of Things data, the device of the terminal device included in the at least one Internet of Things data
- the identifier is added to the routing information table, and when it is determined that the at
- the embodiment of the present invention can update the device identifier of the terminal device of the target device type that is newly uploaded and monitored by the aggregation unit to the routing information table of the edge routing node according to the actual requirements of the aggregation unit.
- the number of updates of the routing information table is reduced, thereby reducing the power consumption of the edge routing node.
- 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 method for updating a routing information table based on a monitored device according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart diagram of another method for updating a routing information table based on a monitored device according to an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of an edge routing node according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of another edge routing node according to an embodiment of the present invention.
- the embodiment of the invention discloses a method and a device for updating a routing information table based on a monitored device, which can be newly launched according to the actual needs of the convergence unit and the monitored device type of the monitored device is a target device type of interest to the aggregation unit.
- the device identifier of the terminal device is updated to the routing information table of the edge routing node, which reduces the number of updates of the routing information table, thereby reducing the power consumption of the edge routing node.
- 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 routing 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 routing node layer may include a large number of routing nodes connected by a network, and the routing node may include a router.
- the device, the repeater, the access point, and the like are not limited in the embodiment of the present invention, and in the routing node layer, the routing node capable of directly listening to the Internet of Things data reported by the terminal device in the terminal device layer may also be called an edge routing node.
- the edge routing node is used to collect the data content of the monitored device in its wireless coverage; the routing node can use any standard networking protocol, and the routing node can implement data parsing between different network standards; the convergence layer can include The filtering gateway and the aggregation unit, wherein the filtering gateway can directly or indirectly communicate with each routing node of the routing node layer through the Internet; the aggregation unit can perform high-level management on each routing node of the routing node layer through the filtering gateway, thereby realizing the data transmission frequency.
- each routing node can provide IoT data receiving and receiving services for a mass of terminal devices within its own wireless coverage, wherein each routing node has its own wireless coverage within each terminal device.
- a wireless communication module can be built in, which enables each routing node to communicate wirelessly with each terminal device within its own wireless coverage via 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 meets the requirements of China's SRRC standard; alternatively, it can also 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.
- 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 diagram of a method for updating a routing information table based on a monitored device according to an embodiment of the present invention. As shown in FIG. 2, the method for updating a routing information table based on a monitored device may include the following operations:
- the edge routing node receives an indication message that is sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type.
- the monitored device monitored by the terminal device in the Internet of Things architecture may be divided into monitored devices of different device types according to their functions, or may be divided into terminal devices of different device types according to the device model of the monitored device.
- the embodiment of the invention is not limited.
- the edge routing node receives the indication message that is sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type, and may include:
- the edge routing node sends a first interest request including the node identifier of the edge routing node to the filtering gateway, to trigger the filtering gateway to determine, according to the node identifier included in the first interest request, whether the edge routing node is an authorized edge routing node and is determining
- the result is a second interest request that sends the node identifier including the edge routing node and the gateway identifier of the filtering gateway to the aggregation unit, wherein the first interest request and the second interest request are used to request the aggregation unit to indicate that they are interested
- the Internet of Things data wherein after the convergence unit receives the second interest request, the aggregation unit performs identity authentication on the edge routing node and the filtering gateway according to the node identifier and the gateway identifier included in the second interest request, and when the identity authentication is passed An indication message returned to the filtering gateway;
- the edge routing node receives the indication message delivered by the filtering gateway, and the indication message is used to indicate that the aggregation unit is interested in the monitored device of the target device type.
- the edge routing node sends the node label including the edge routing node to the filtering gateway.
- the first interest request for knowledge may include:
- the edge routing node determines whether the current time is in the update period of the routing information table. When the current time is in the update period of the routing information table, detecting the load value of the wireless port between the edge and the filtering gateway, and determining whether the load value is smaller than The load threshold is specified. If the load threshold is less than the specified load threshold, the first interest request including the node identifier of the edge routing node is sent to the filtering gateway through the wireless port, so that the reliability of the edge forwarding node successfully sending the first interest request can be improved.
- the edge routing node listens to the massive IoT data reported by the mass terminal device in the wireless coverage area, and each IoT data includes the device type of the monitored device monitored by the terminal device that reports the IoT data, and the terminal device The content of the data collected by the monitored device and the device identifier of the terminal device.
- the Internet of Things data detected by the edge routing node is reported by the terminal device in the wireless coverage area by using a local wireless device such as Wi-Fi, Bluetooth, or infrared.
- step 203 When the device identifier of the terminal device included in the massive Internet of Things data is not stored in the plurality of Internet of Things data in the pre-generated routing information table, the edge routing node determines whether the plurality of Internet of Things data is included.
- the device type of the device to be monitored is at least one IoT data of the target device type.
- the routing information table stores the device identifier of the terminal device in the wireless coverage of the edge routing node, and may also store the IP address of the terminal device in the wireless coverage range.
- the edge routing node adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table.
- the edge routing node controls not updating the routing information table.
- the method for updating the routing information table based on the monitored device may further include the following operations:
- the edge routing node determines whether the device identifier of the offline terminal device exists in the routing information table. When it is determined that the device identifier of the offline terminal device exists, the device identifier of the offline terminal device is deleted from the routing information table, where offline The terminal device is a terminal device that does not report the IoT data to the edge routing node within a preset time period or reports the terminal device whose IoT data reporting frequency is lower than the preset frequency threshold to the edge routing node, and the offline terminal device can Including the damaged terminal device and/or the terminal device that has been in the long-off state and the device identification has been added to the adjacent routing section Point device of the routing information table.
- the optional embodiment can delete the device identifier of the terminal device that has been offline from the routing information table in time, which is beneficial to the instant update of the Internet of Things topology in the Internet of Things architecture.
- the method for updating the routing information table based on the monitored device may further include the following operations:
- the edge routing node determines whether the data content included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, and determines the at least one Internet of Things data.
- step 204 is performed;
- the edge routing node sets the at least one Internet of Things data
- the device identifier of the terminal device included in the Internet of Things data included in the data content and the preset data content corresponding to the device type included in the Internet of Things data is added to the routing information table. This is beneficial to improve the accuracy of routing information table updates.
- the method for updating the routing information table based on the monitored device described in FIG. 2 can set the device type of the newly monitored device monitored device type to the terminal device of the device type of interest to the convergence unit according to the actual needs of the convergence unit.
- the routing information table updated to the edge routing node reduces the number of updates of the routing information table, thereby reducing the power consumption of the edge routing node.
- FIG. 3 is a schematic flowchart diagram of another method for updating a routing information table based on a monitored device according to an embodiment of the present invention.
- the method for updating the routing information table based on the monitored device may include the following operations:
- the edge routing node receives an indication message that is sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type.
- the monitored device monitored by the terminal device in the Internet of Things architecture may be divided into monitored devices of different device types according to their functions, or may be divided into terminal devices of different device types according to the device model of the monitored device.
- the embodiment of the invention is not limited.
- the edge routing node listens to the massive IoT data reported by the mass terminal device in the wireless coverage area, and each IoT data includes the device type of the monitored device monitored by the terminal device that reports the IoT data, and the terminal device Data content collected by the monitored device and the terminal device The device identification at the location.
- the edge routing node determines whether the plurality of Internet of Things data is included.
- the device type of the device to be monitored is at least one IoT data of the target device type.
- the edge routing node determines whether there is a passing terminal device in the terminal device that reports the at least one Internet of Things data. When the determination result in step 304 is negative, step 305 is triggered, and when the determination result in step 304 is YES, the trigger is triggered. Go to step 306.
- the edge routing node may determine, by the terminal device that reports the at least one Internet of Things data, that the terminal device that has passed through may include:
- the edge routing node sends a query request to the neighboring routing node in the wireless coverage area, where the query request is used to request the neighboring routing node to query whether the at least one Internet of Things data is reported in the routing information table stored by the neighboring routing node. a device identifier of one of the terminal devices in the terminal device;
- the edge routing node receives the query response returned by the neighboring routing node, and when one of the query responses indicates that the routing information table stored by the corresponding neighboring routing node stores one of the terminal devices that report the at least one Internet of Things data
- the device is identified, it is determined that there is a terminal device that has passed through the terminal device that reports the at least one Internet of Things data, and any one of the query responses indicates that the at least one Internet of Things is not stored in the routing information table stored by the corresponding neighboring routing node.
- the device identifier of any one of the terminal devices of the data is determined, it is determined that there is no passing terminal device in the terminal device that reports the at least one Internet of Things data.
- the edge routing node adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table.
- the edge routing node adds, to the foregoing routing information table, a device identifier of the terminal device except the terminal device that has passed through the terminal device that reports the at least one Internet of Things data.
- the edge routing node controls not updating the routing information table.
- the method for updating the routing information table based on the monitored device may further include the following operations:
- the edge routing node determines whether the data content included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, when determining When the data content included in each of the at least one Internet of Things data is matched with the preset data content corresponding to the device type included in the Internet of Things data, step 304 is triggered;
- the edge routing node sets the at least one Internet of Things data
- the device identifier of the terminal device included in the Internet of Things data included in the data content and the preset data content corresponding to the device type included in the Internet of Things data is added to the routing information table. This is beneficial to improve the accuracy of routing information table updates.
- the edge routing node may include:
- the edge routing node adds the device identifier of the non-passing terminal device included in the Internet of Things data that matches the data content included in the at least one Internet of Things data to the preset data content corresponding to the device type included in the Internet of Things data to the routing information. In the table.
- the method for updating the routing information table based on the monitored device may further include the following operations:
- the edge routing node determines whether the device identifier of the offline terminal device exists in the routing information table. When it is determined that the device identifier of the offline terminal device exists, the device identifier of the offline terminal device is deleted from the routing information table, where offline
- the terminal device is a terminal device that does not report the IoT data to the edge routing node within a preset time period or reports the terminal device whose IoT data reporting frequency is lower than the preset frequency threshold to the edge routing node, and the offline terminal device can A terminal device that includes a damaged terminal device and/or a terminal device and/or device identification that has been in a long-term shutdown state has been added to a routing information table of a neighboring routing node.
- the optional embodiment can delete the device identifier of the terminal device that has been offline from the routing information table in time, which is beneficial to the instant update of the Internet of Things topology in the Internet of Things architecture.
- the method for updating the routing information table based on the monitored device may further include the following operations:
- the edge routing node counts the target terminal device of the monitored device for monitoring the device type of the target device type in all the terminal devices corresponding to the device identifiers stored in the routing information table.
- the reporting frequency of the networked data is sent to the terminal device reporting the frequency lower than the preset reporting frequency threshold in the target terminal device. This can increase the reliability of the aggregation unit receiving the data content of the monitored device of interest to it.
- the method for updating the routing information table based on the monitored device may further include the following operations:
- the edge routing node sets, in the foregoing routing information table, a reporting priority for the device identifier of the terminal device whose frequency is lower than the preset reporting frequency threshold in the target terminal device, where the reporting frequency is smaller, the set reporting priority is set.
- the bigger In this way, when receiving the Internet of Things data reported by the terminal device with a lower reporting frequency, the part of the Internet of Things data can be preferentially reported according to the priority set for the Internet of Things data, or the forwarding path with higher reliability can be selected preferentially for the part of the Internet of Things data. Further, the reliability of the IoT data reported by the aggregation unit to the terminal device that is interested in and reported by the aggregation unit is further improved.
- the method for updating the routing information table based on the monitored device described in FIG. 3 can dynamically connect the device type of the monitored device to the target device type of the target device type that is interested in the aggregation unit according to the actual needs of the convergence unit.
- the device identifier is updated to the routing information table of the edge routing node, which reduces the number of updates of the routing information table, thereby reducing the power consumption of the edge routing node, facilitating the maintenance of the network topology in the Internet of Things architecture, and
- the device identifier of the terminal device of the target device type that is interested in the aggregation unit is updated to the routing information table of the edge routing node, and the temporarily passing terminal device is automatically filtered, so that the routing information table can be further reduced.
- FIG. 4 is a schematic structural diagram of an edge routing node according to an embodiment of the present invention.
- the edge routing node 400 can include a receiving unit 401, a listening unit 402, a determining unit 403, and a control unit 404, where:
- the receiving unit 401 is configured to receive an indication message that is sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type.
- the listening unit 402 is configured to listen to the massive Internet of Things data reported by the mass terminal device in the wireless coverage of the edge routing node 400.
- Each IoT data may include the device of the monitored device monitored by the terminal device that reports the Internet of Things data.
- the determining unit 403 is configured to: when the foregoing mass Internet of Things data exists, the device identifier of the terminal device included When the plurality of Internet of Things data is not stored in the pre-generated routing information table, it is determined whether the device type of the monitored device included in the plurality of Internet of Things data is at least one Internet of Things data of the target device type.
- the control unit 404 is configured to: when the determining unit 403 determines that the at least one Internet of Things data exists in the plurality of Internet of Things data, add the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table, and When the determining unit 403 determines that the at least one Internet of Things data does not exist in the plurality of Internet of Things data, the control unit 403 controls not to update the routing information table.
- the edge routing node 400 described in FIG. 4 can update the device identifier of the newly-on-line and monitored device type of the monitored device to the target device type of the target device type that is interested in the aggregation unit according to the actual needs of the aggregation unit.
- the routing information table of the edge routing node reduces the number of updates of the routing information table, thereby reducing the power consumption of the edge routing node.
- the determining unit 403 is further configured to determine whether the device identifier of the offline terminal device exists in the routing information table, where the offline terminal device does not route to the edge within a preset time period.
- the terminal device in the time-off state and the device identifier have been added to the terminal device of the routing information table of the neighboring routing node.
- the control unit 404 is further configured to: when the determining unit 403 determines that the device identifier of the offline terminal device exists, delete the device identifier of the offline terminal device from the routing information table.
- edge routing node 400 described in FIG. 4 can delete the device identifier of the terminal device that is already offline in the routing information table in time, which is beneficial to the maintenance of the Internet of Things topology in the Internet of Things architecture.
- the determining unit 403 is further configured to: after determining that the at least one Internet of Things data exists in the plurality of Internet of Things data, and at the control unit 404, the terminal included in the at least one Internet of Things data Before the device identifier of the device is added to the routing information table, determining whether the data content included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, When it is determined that the data content included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, the trigger control unit 404 performs the foregoing at least one object The device identification of the terminal device included in the networked data is added to the operation in the above routing information table.
- the control unit 404 is further configured to: when the foregoing plurality of Internet of Things data exists, the at least one Internet of Things And data included in the at least one Internet of Things data when the data and the data content unevenness included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data.
- the device identifier of the terminal device included in the Internet of Things data whose content matches the preset data content corresponding to the device type included in the Internet of Things data is added to the routing information table.
- the determining unit 403 is further configured to: when determining that the data content included in each of the Internet of Things data in the at least one Internet of Things data is included with the Internet of Things data Determining the terminal reporting the at least one Internet of Things data after the matching of the preset data content corresponding to the device type and before the control unit 404 adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table Whether there is a passing terminal device in the device. When it is determined that there is no passing terminal device in the terminal device reporting the at least one Internet of Things data, the trigger control unit 404 performs the foregoing device for the terminal device included in the at least one Internet of Things data. The action added to the routing information table above.
- the control unit 404 is further configured to: when the data content included in each of the at least one Internet of Things data includes the preset data content corresponding to the device type included in the Internet of Things data, and report the at least one Internet of Things data.
- the terminal device that passes the above is present in the terminal device, the device identifier of the terminal device other than the terminal device that has passed through the terminal device that reports the at least one Internet of Things data is added to the routing information table.
- edge routing node 400 implemented in FIG. 4 can also filter out the newly-routed terminal devices, and reduce the update content of the edge routing node 400 when updating the routing information table.
- FIG. 5 is a schematic structural diagram of another edge routing node according to an embodiment of the present invention. among them:
- the statistic unit 405 is configured to report the reporting frequency of reporting the Internet of Things data to the target terminal device of the monitored device whose device type is the target device type in all the terminal devices corresponding to the device identifiers stored in the routing information table.
- the sending unit 406 is configured to send, according to the reporting frequency of the target terminal device, the reporting terminal, a reporting frequency up-control command to the terminal device whose frequency is lower than the preset reporting frequency threshold.
- the setting unit 407 is configured to report, in the foregoing routing information table, that the reporting frequency is lower than the target terminal device.
- the device identifier of the terminal device that reports the frequency threshold is set to report the priority. The smaller the reporting frequency is, the larger the priority of the report is.
- the edge routing node 400 implemented in FIG. 5 can report and report the terminal device that reports the uplink of the Internet of Things data to the terminal device of the monitored device whose device type is the target device type that is of interest to the aggregation unit.
- the frequency up-regulation command sets a high reporting priority for the device identification of these terminal devices, which improves the reliability of the data content received by the aggregation unit for the monitored device 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本发明涉及物联网技术领域,尤其涉及一种基于被监测设备更新路由信息表的方法及设备。The present invention relates to the field of Internet of Things technologies, and in particular, to a method and device for updating a routing information table based on a monitored device.
在物联网架构中,用于被监测设备(如灌溉设备、发动机设备等)的数据内容并上报包括该数据内容的物联网数据的终端设备是物联网架构的网络拓扑中的重要组成部分,因此,新上线的终端设备的相关信息(如终端设备的设备标识等)需要及时的更新至覆盖该新上线的终端设备的边缘路由节点中,以将新上线的终端设备添加至物联网架构的网路拓扑中。在实际应用中,每当边缘路由节点的无线覆盖范围内存在新上线的终端设备时,边缘路由节点均需要根据新上线的终端设备更新预先生成的路由信息表,这导致了路由信息表更新频繁的问题。In the IoT architecture, the data content for the monitored equipment (such as irrigation equipment, engine equipment, etc.) and the reporting of the Internet of Things data including the data content are important components in the network topology of the Internet of Things architecture. The information about the newly-launched terminal device (such as the device identifier of the terminal device) needs to be updated in time to the edge routing node covering the newly-launched terminal device to add the newly-launched terminal device to the network of the Internet of Things architecture. In the road topology. In practical applications, whenever there is a new online terminal device in the wireless coverage of the edge routing node, the edge routing node needs to update the pre-generated routing information table according to the newly-launched terminal device, which leads to frequent update of the routing information table. The problem.
发明内容Summary of the invention
本发明实施例公开了一种基于被监测设备更新路由信息表的方法及设备,能够根据汇聚单元的实际需求更新边缘路由节点的路由信息表,减少了路由信息表的更新次数。The embodiment of the invention discloses a method and a device for updating a routing information table based on a monitored device, which can update the routing information table of the edge routing node according to the actual needs of the aggregation unit, and reduce the number of updates of the routing information table.
本发明实施例第一方面公开了一种基于被监测设备更新路由信息表的方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a method for updating a routing information table based on a monitored device, where the method includes:
所述边缘路由节点接收过滤网关下发的用于指示汇聚单元对目标设备类型的被监测设备感兴趣的指示消息;The edge routing node receives an indication message sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type;
所述边缘路由节点侦听其无线覆盖范围内的海量终端设备上报的海量物联网数据,每个所述物联网数据包括上报该物联网数据的终端设备所监测的被监测设备的设备类型、该终端设备针对该被监测设备所采集的数据内容以及该终端设备的设备标识;The edge routing node listens to the massive IoT data reported by the mass terminal device in the wireless coverage area, and the IoT data includes the device type of the monitored device monitored by the terminal device that reports the Internet of Things data, The data content collected by the terminal device for the monitored device and the device identifier of the terminal device;
当所述海量物联网数据中存在包括的终端设备的设备标识未存储于预先生成的路由信息表中的多个物联网数据时,所述边缘路由节点判断所述多个物联网数据中是否存在包括的被监测设备的设备类型为所述目标设备类型的至少一个 物联网数据,当判断出所述多个物联网数据中存在所述至少一个物联网数据时,将所述至少一个物联网数据包括的终端设备的设备标识添加至所述路由信息表中,当判断出所述多个物联网数据中不存在所述至少一个物联网数据时,控制不更新所述路由信息表。When the device identifier of the terminal device included in the massive Internet of Things data is not stored in the plurality of Internet of Things data in the pre-generated routing information table, the edge routing node determines whether the plurality of Internet of Things data exists. The device type of the monitored device included is at least one of the target device types The IoT data, when it is determined that the at least one Internet of Things data exists in the plurality of Internet of Things data, adding the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table, when When it is determined that the at least one Internet of Things data does not exist in the plurality of Internet of Things data, the control does not update the routing information table.
作为一种可选的实施方式,在本发明实施例第一方面中,在判断出所述多个物联网数据中存在所述至少一个物联网数据之后,以及所述路由边缘节点将所述至少一个物联网数据包括的终端设备的设备标识添加至所述路由信息表中之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining that the at least one Internet of Things data exists in the plurality of Internet of Things data, and the routing edge node is to be the at least one Before the device identifier of the terminal device included in the Internet of Things data is added to the routing information table, the method further includes:
所述边缘路由节点判断所述至少一个物联网数据中每个物联网数据包括的数据内容是否均与该物联网数据包括的设备类型对应的预设数据内容相匹配,当判断出所述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配时,触发执行所述将所述至少一个物联网数据包括的终端设备的设备标识添加至所述路由信息表中的操作。The edge routing node determines whether the data content included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, and determines the at least one When the data content included in each of the Internet of Things data in the Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, triggering execution of the terminal device included in the at least one Internet of Things data The device identification is added to the operation in the routing information table.
作为一种可选的实施方式,在本发明实施例第一方面中,在判断出所述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配之后,以及所述路由边缘节点将所述至少一个物联网数据包括的终端设备的设备标识添加至所述路由信息表中之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, determining, in the at least one Internet of Things data, that the data content included in each Internet of Things data corresponds to the device type included in the Internet of Things data After the preset data content is matched, and the routing edge node adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table, the method further includes:
所述边缘路由节点判断上报所述至少一个物联网数据的终端设备中是否存在路过的终端设备,当判断出上报所述至少一个物联网数据的终端设备中不存在所述路过的终端设备时,触发执行所述将所述至少一个物联网数据包括的终端设备的设备标识添加至所述路由信息表中的操作;The edge routing node determines whether there is a passing terminal device in the terminal device that reports the at least one Internet of Things data, and when it is determined that the terminal device that reports the at least one Internet of Things data does not exist in the terminal device, And triggering an operation of adding the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table;
所述方法还包括:The method further includes:
当判断出所述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配以及判断出上报所述至少一个物联网数据的终端设备中存在所述路过的终端设备时,所述边缘路由节点将上报所述至少一个物联网数据的终端设备中除所述路过的终端设备之外的终端设备的设备标识添加至所述路由信息表中。Determining that the data content included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, and determining that the at least one Internet of Things data is reported When the terminal device is in the terminal device, the edge routing node adds the device identifier of the terminal device except the passing terminal device to the terminal device that reports the at least one Internet of Things data to the route. In the information form.
作为一种可选的实施方式,在本发明实施例第一方面中,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, the method further includes:
所述边缘路由节点统计所述路由信息表中存储的设备标识对应的所有终端 设备中用于监测所述目标设备类型的被监测设备的目标终端设备上报物联网数据的上报频率,并向所述目标终端设备中上报频率低于预设上报频率阈值的终端设备发送上报频率上调指令。The edge routing node collects all terminals corresponding to the device identifiers stored in the routing information table. The target terminal device of the monitored device for monitoring the target device type reports the reporting frequency of the Internet of Things data, and sends a reporting frequency increase to the terminal device that reports the frequency lower than the preset reporting frequency threshold. instruction.
作为一种可选的实施方式,在本发明实施例第一方面中,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, the method further includes:
所述边缘路由节点在所述路由信息表中为所述目标终端设备中上报频率低于所述预设上报频率阈值的终端设备的设备标识设定上报优先级,其中,上报频率越小,设定的上报优先级越大。The edge routing node sets, in the routing information table, a reporting priority for the device identifier of the terminal device whose frequency is lower than the preset reporting frequency threshold in the target terminal device, where the reporting frequency is smaller, The higher the priority of the escalation.
本发明实施例第二方面公开了一种边缘路由节点,所述边缘路由节点接收单元、侦听单元、判断单元以及控制单元,其中:The second aspect of the embodiment of the present invention discloses an edge routing node, the edge routing node receiving unit, a listening unit, a determining unit, and a control unit, where:
所述接收单元,用于接收过滤网关下发的用于指示汇聚单元对目标设备类型的被监测设备感兴趣的指示消息;The receiving unit is configured to receive an indication message that is sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type;
所述侦听单元,用于侦听其无线覆盖范围内的海量终端设备上报的海量物联网数据,每个所述物联网数据包括上报该物联网数据的终端设备所监测的被监测设备的设备类型、该终端设备针对该被监测设备所采集的数据内容以及该终端设备的设备标识;The listening unit is configured to listen to massive Internet of Things data reported by a mass terminal device in a wireless coverage area, and each of the Internet of Things data includes a device of the monitored device monitored by a terminal device that reports the Internet of Things data a type, a data content collected by the terminal device for the monitored device, and a device identifier of the terminal device;
所述判断单元,用于当所述海量物联网数据中存在包括的终端设备的设备标识未存储于预先生成的路由信息表中的多个物联网数据时,判断所述多个物联网数据中是否存在包括的被监测设备的设备类型为所述目标设备类型的至少一个物联网数据;The determining unit is configured to determine, in the plurality of Internet of Things data, that the device identifier of the terminal device included in the massive Internet of Things data is not stored in the plurality of Internet of Things data in the pre-generated routing information table Whether there is at least one Internet of Things data of the device type of the monitored device being the target device type;
所述控制单元,用于当所述判断单元判断出所述多个物联网数据中存在所述至少一个物联网数据时,将所述至少一个物联网数据包括的终端设备的设备标识添加至所述路由信息表中,以及当所述判断单元判断出所述多个物联网数据中不存在所述至少一个物联网数据时,控制不更新所述路由信息表。The control unit is configured to: when the determining unit determines that the at least one Internet of Things data exists in the plurality of Internet of Things data, add the device identifier of the terminal device included in the at least one Internet of Things data to the In the routing information table, and when the determining unit determines that the at least one Internet of Things data does not exist in the plurality of Internet of Things data, the control does not update the routing information table.
作为一种可选的实施方式,在本发明实施例第二方面中,所述判断单元,还用于在判断出所述多个物联网数据中存在所述至少一个物联网数据之后以及在所述控制单元将所述至少一个物联网数据包括的终端设备的设备标识添加至所述路由信息表中之前,判断所述至少一个物联网数据中每个物联网数据包括的数据内容是否均与该物联网数据包括的设备类型对应的预设数据内容相匹配,当判断出所述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配时,触发执行所述将所述至少一 个物联网数据包括的终端设备的设备标识添加至所述路由信息表中的操作。As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining unit is further configured to: after determining that the at least one Internet of Things data exists in the plurality of Internet of Things data, Before the control unit adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table, determining whether the data content included in each of the Internet of Things data in the at least one Internet of Things data is The preset data content corresponding to the device type included in the Internet of Things data is matched, and when it is determined that the data content included in each of the Internet of Things data in the at least one Internet of Things data is a preset corresponding to the device type included in the Internet of Things data When the data contents match, triggering execution of the at least one of the The device identification of the terminal device included in the Internet of Things data is added to the operation in the routing information table.
作为一种可选的实施方式,在本发明实施例第二方面中,所述判断单元,还用于在判断出所述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配之后以及在所述控制单元将所述至少一个物联网数据包括的终端设备的设备标识添加至所述路由信息表中之前,判断上报所述至少一个物联网数据的终端设备中是否存在路过的终端设备,当判断出上报所述至少一个物联网数据的终端设备中不存在所述路过的终端设备时,触发所述控制单元执行所述将所述至少一个物联网数据包括的终端设备的设备标识添加至所述路由信息表中的操作;As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining unit is further configured to: determine, in the at least one Internet of Things data, data content included in each Internet of Things data Determining the report office after the preset data content corresponding to the device type included in the Internet of Things data is matched and before the control unit adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table Determining whether there is a passing terminal device in the terminal device of the at least one Internet of Things data, and when it is determined that the terminal device that has passed through the terminal device that reports the at least one Internet of Things data does not exist, triggering the control unit to perform the Adding, to the operation in the routing information table, a device identifier of the terminal device included in the at least one Internet of Things data;
所述控制单元,还用于当所述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配以及上报所述至少一个物联网数据的终端设备中存在所述路过的终端设备时,将上报所述至少一个物联网数据的终端设备中除所述路过的终端设备之外的终端设备的设备标识添加至所述路由信息表中。The control unit is further configured to: when the data content included in each of the Internet of Things data in the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, and report the at least one Adding the device identifier of the terminal device other than the passing terminal device to the routing information of the terminal device that reports the at least one Internet of Things data in the terminal device of the Internet of Things data In the table.
作为一种可选的实施方式,在本发明实施例第二方面中,所述边缘路由节点还包括统计单元以及发送单元,其中:As an optional implementation manner, in the second aspect of the embodiments of the present invention, the edge routing node further includes a statistics unit and a sending unit, where:
所述统计单元,用于统计所述路由信息表中存储的设备标识对应的所有终端设备中用于监测设备类型为所述目标设备类型的被监测设备的目标终端设备上报物联网数据的上报频率;The statistic unit is configured to collect the reporting frequency of reporting the Internet of Things data of the target terminal device of the monitored device whose device type is the target device type in all the terminal devices corresponding to the device identifier stored in the routing information table. ;
所述发送单元,用于根据所述统计单元统计出的所述目标终端设备上报物联网数据的上报频率,向所述目标终端设备中上报频率低于预设上报频率阈值的终端设备发送上报频率上调指令。The sending unit is configured to send, according to the reporting frequency of the object network data reported by the target terminal device, the reporting frequency to the terminal device that reports the frequency lower than the preset reporting frequency threshold. Increase the command.
作为一种可选的实施方式,在本发明实施例第二方面中,所述边缘路由节点还包括设定单元,其中:As an optional implementation manner, in the second aspect of the embodiments of the present invention, the edge routing node further includes a setting unit, where:
所述设定单元,用于在所述路由信息表中为所述目标终端设备中上报频率低于所述预设上报频率阈值的终端设备的设备标识设定上报优先级,其中,上报频率越小,设定的上报优先级越大。The setting unit is configured to set a reporting priority for the device identifier of the terminal device whose frequency is lower than the preset reporting frequency threshold in the target terminal device, where the reporting frequency is higher. Small, the set report priority is greater.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiment of the invention has the following beneficial effects:
本发明实施例中,边缘路由节点接收过滤网关下发的用于指示汇聚单元对目标设备类型的被监测设备感兴趣的指示消息,并侦听其无线覆盖范围内的海量终 端设备上报的海量物联网数据,每个物联网数据包括上报该物联网数据的终端设备所监测的被监测设备的设备类型、该终端设备针对该被监测设备所采集的数据内容以及该终端设备的设备标识,当该海量物联网数据中存在包括的终端设备的设备标识未存储于预先生成的路由信息表中的多个物联网数据时,边缘路由节点判断该多个物联网数据中是否存在包括的被监测设备的设备类型为目标设备类型的至少一个物联网数据,当判断出多个物联网数据中存在该至少一个物联网数据时,将该至少一个物联网数据包括的终端设备的设备标识添加至路由信息表中,当判断出多个物联网数据中不存在该至少一个物联网数据时,控制不更新路由信息表。实施本发明实施例能够根据汇聚单元的实际需求将新上线且所监测的被监测设备的设备类型为汇聚单元感兴趣的目标设备类型的终端设备的设备标识更新至边缘路由节点的路由信息表,减少了路由信息表的更新次数,进而减少了边缘路由节点的功耗。In the embodiment of the present invention, the edge routing node receives the indication message sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type, and listens to the massive end of the wireless coverage. Massive IoT data reported by the end device, each IoT data includes a device type of the monitored device monitored by the terminal device reporting the IoT data, data content collected by the terminal device for the monitored device, and the terminal device The device identifier, when the device identifier of the terminal device included in the massive IoT data is not stored in the plurality of Internet of Things data in the pre-generated routing information table, the edge routing node determines whether the plurality of Internet of Things data exists The device type of the monitored device is at least one Internet of Things data of the target device type, and when it is determined that the at least one Internet of Things data exists in the plurality of Internet of Things data, the device of the terminal device included in the at least one Internet of Things data The identifier is added to the routing information table, and when it is determined that the at least one Internet of Things data does not exist in the plurality of Internet of Things data, the control does not update the routing information table. The embodiment of the present invention can update the device identifier of the terminal device of the target device type that is newly uploaded and monitored by the aggregation unit to the routing information table of the edge routing node according to the actual requirements of the aggregation unit. The number of updates of the routing information table is reduced, thereby reducing the power consumption of the edge routing node.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例公开的一种物联网架构的示意图;1 is a schematic diagram of an Internet of Things architecture disclosed in an embodiment of the present invention;
图2是本发明实施例公开的一种基于被监测设备更新路由信息表的方法的流程示意图;2 is a schematic flowchart of a method for updating a routing information table based on a monitored device according to an embodiment of the present invention;
图3是本发明实施例公开的另一种基于被监测设备更新路由信息表的方法的流程示意图;FIG. 3 is a schematic flowchart diagram of another method for updating a routing information table based on a monitored device according to an embodiment of the present disclosure;
图4是本发明实施例公开的一种边缘路由节点的结构示意图;4 is a schematic structural diagram of an edge routing node according to an embodiment of the present invention;
图5是本发明实施例公开的另一种边缘路由节点的结构示意图。FIG. 5 is a schematic structural diagram of another edge routing node according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动 前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, those skilled in the art do not make creative labor. All other embodiments obtained under the premise are within the scope of the invention.
本发明实施例公开了一种基于被监测设备更新路由信息表的方法及设备,能够根据汇聚单元的实际需求将新上线且所监测的被监测设备的设备类型为汇聚单元感兴趣的目标设备类型的终端设备的设备标识更新至边缘路由节点的路由信息表,减少了路由信息表的更新次数,进而减少了边缘路由节点的功耗。以下分别进行详细说明。The embodiment of the invention discloses a method and a device for updating a routing information table based on a monitored device, which can be newly launched according to the actual needs of the convergence unit and the monitored device type of the monitored device is a target device type of interest to the aggregation unit. The device identifier of the terminal device is updated to the routing information table of the edge routing node, which reduces the number of updates of the routing information table, thereby reducing the power consumption of the edge routing node. The details are described below separately.
为了更好地理解本发明实施例,下面先对本发明实施例公开的一种物联网架构进行介绍。请参阅图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)相结合的方法来解决干扰问题。In order to better understand the embodiments of the present invention, an Internet of Things architecture disclosed in the embodiments of the present invention is first introduced. Please refer to FIG. 1. FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed in an embodiment of the present invention. As shown in FIG. 1 , the IoT architecture may include three layers: a terminal device layer, a routing 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 routing node layer may include a large number of routing nodes connected by a network, and the routing node may include a router. The device, the repeater, the access point, and the like are not limited in the embodiment of the present invention, and in the routing node layer, the routing node capable of directly listening to the Internet of Things data reported by the terminal device in the terminal device layer may also be called an edge routing node. The edge routing node is used to collect the data content of the monitored device in its wireless coverage; the routing node can use any standard networking protocol, and the routing node can implement data parsing between different network standards; the convergence layer can include The filtering gateway and the aggregation unit, wherein the filtering gateway can directly or indirectly communicate with each routing node of the routing node layer through the Internet; the aggregation unit can perform high-level management on each routing node of the routing node layer through the filtering gateway, thereby realizing the data transmission frequency. Network topology and its The control of the networking function; the aggregation unit can not only analyze and make decisions about the Internet of Things data generated by the mass terminal equipment, but also obtain the information or configure the terminal equipment parameters by sending instructions (the data transmission to the terminal equipment at this time); the aggregation unit You can also introduce a variety of services, from big data to social networks, and even from social tools "likes" to weather sharing. In the Internet of Things architecture shown in FIG. 1, each routing node can provide IoT data receiving and receiving services for a mass of terminal devices within its own wireless coverage, wherein each routing node has its own wireless coverage within each terminal device. A wireless communication module can be built in, which enables each routing node to communicate wirelessly with each terminal device within its own wireless coverage via wireless network communication. In the Internet of Things architecture shown in Figure 1, 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 meets the requirements of China's SRRC standard; alternatively, it can also 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. It is 868MHz~908MHz, in line with the European ETSI standard; or, it can input the upper frequency point 918MHz, the lower frequency point 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; Alternatively, the communication frequency band of the wireless communication module may also be defined as conforming to the Japanese ARIB standard or the Canadian IC standard, which is not limited in the embodiment of the present invention. In the Internet of Things architecture shown in FIG. 1, 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.
实施例一Embodiment 1
请参阅图2,图2是本发明实施例公开的一种基于被监测设备更新路由信息表的方法的流程示意图。如图2所示,该基于被监测设备更新路由信息表的方法可以包括如下操作:Please refer to FIG. 2. FIG. 2 is a schematic flowchart diagram of a method for updating a routing information table based on a monitored device according to an embodiment of the present invention. As shown in FIG. 2, the method for updating a routing information table based on a monitored device may include the following operations:
201、边缘路由节点接收过滤网关下发的用于指示汇聚单元对目标设备类型的被监测设备感兴趣的指示消息。201. The edge routing node receives an indication message that is sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type.
本发明实施例中,物联网架构中的终端设备所监测的被监测设备可以按照其功能划分成不同设备类型的被监测设备,也可以按照被监测设备的设备型号划分成不同设备类型的终端设备,本发明实施例不作限定。In the embodiment of the present invention, the monitored device monitored by the terminal device in the Internet of Things architecture may be divided into monitored devices of different device types according to their functions, or may be divided into terminal devices of different device types according to the device model of the monitored device. The embodiment of the invention is not limited.
本发明实施例中,边缘路由节点接收过滤网关下发的用于指示汇聚单元对目标设备类型的被监测设备感兴趣的指示消息可以包括:In the embodiment of the present invention, the edge routing node receives the indication message that is sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type, and may include:
边缘路由节点向过滤网关发送包括边缘路由节点的节点标识的第一兴趣请求,以触发过滤网关根据第一兴趣请求中包括的节点标识判断该边缘路由节点是否为已授权的边缘路由节点且在判断结果为是时向汇聚单元发送包括边缘路由节点的节点标识以及过滤网关的网关标识的第二兴趣请求,其中,该第一兴趣请求以及该第二兴趣请求用于请求汇聚单元指示其感兴趣的物联网数据,其中,在汇聚单元接收到该第二兴趣请求之后,由汇聚单元根据该第二兴趣请求包括的节点标识以及网关标识对边缘路由节点以及过滤网关进行身份认证且在身份认证通过时向过滤网关返回的指示消息;The edge routing node sends a first interest request including the node identifier of the edge routing node to the filtering gateway, to trigger the filtering gateway to determine, according to the node identifier included in the first interest request, whether the edge routing node is an authorized edge routing node and is determining The result is a second interest request that sends the node identifier including the edge routing node and the gateway identifier of the filtering gateway to the aggregation unit, wherein the first interest request and the second interest request are used to request the aggregation unit to indicate that they are interested The Internet of Things data, wherein after the convergence unit receives the second interest request, the aggregation unit performs identity authentication on the edge routing node and the filtering gateway according to the node identifier and the gateway identifier included in the second interest request, and when the identity authentication is passed An indication message returned to the filtering gateway;
边缘路由节点接收过滤网关下发的指示消息,该指示消息用于指示汇聚单元对目标设备类型的被监测设备感兴趣。The edge routing node receives the indication message delivered by the filtering gateway, and the indication message is used to indicate that the aggregation unit is interested in the monitored device of the target device type.
本发明实施例中,边缘路由节点向过滤网关发送包括边缘路由节点的节点标 识的第一兴趣请求可以包括:In the embodiment of the present invention, the edge routing node sends the node label including the edge routing node to the filtering gateway. The first interest request for knowledge may include:
边缘路由节点判断当前时刻是否处于路由信息表的更新周期内,当该当前时刻处于路由信息表的更新周期内时,检测其与过滤网关之间的无线端口的负荷值并判断该负荷值是否小于指定负荷阈值,如果小于该指定负荷阈值,则通过该无线端口向过滤网关发送包括边缘路由节点的节点标识的第一兴趣请求,这样能够提高边缘转发节点成功发送第一兴趣请求的可靠性。The edge routing node determines whether the current time is in the update period of the routing information table. When the current time is in the update period of the routing information table, detecting the load value of the wireless port between the edge and the filtering gateway, and determining whether the load value is smaller than The load threshold is specified. If the load threshold is less than the specified load threshold, the first interest request including the node identifier of the edge routing node is sent to the filtering gateway through the wireless port, so that the reliability of the edge forwarding node successfully sending the first interest request can be improved.
202、边缘路由节点侦听其无线覆盖范围内的海量终端设备上报的海量物联网数据,每个物联网数据包括上报该物联网数据的终端设备所监测的被监测设备的设备类型、该终端设备针对该被监测设备所采集的数据内容以及该终端设备所处的设备标识。202. The edge routing node listens to the massive IoT data reported by the mass terminal device in the wireless coverage area, and each IoT data includes the device type of the monitored device monitored by the terminal device that reports the IoT data, and the terminal device The content of the data collected by the monitored device and the device identifier of the terminal device.
本发明实施例中,边缘路由节点侦听到的物联网数据是由其无线覆盖范围内的终端设备利用本地Wi-Fi、蓝牙、红外等无线方式进行上报的。In the embodiment of the present invention, the Internet of Things data detected by the edge routing node is reported by the terminal device in the wireless coverage area by using a local wireless device such as Wi-Fi, Bluetooth, or infrared.
203、当上述海量物联网数据中存在包括的终端设备的设备标识未存储于预先生成的路由信息表中的多个物联网数据时,边缘路由节点判断该多个物联网数据中是否存在包括的被监测设备的设备类型为上述目标设备类型的至少一个物联网数据,当步骤203的判断结果为是时,触发执行步骤204,当步骤203的判断结果为否时,触发执行步骤205。203. When the device identifier of the terminal device included in the massive Internet of Things data is not stored in the plurality of Internet of Things data in the pre-generated routing information table, the edge routing node determines whether the plurality of Internet of Things data is included. The device type of the device to be monitored is at least one IoT data of the target device type. When the determination result in
本发明实施例中,该路由信息表中存储有边缘路由节点的无线覆盖范围内的终端设备的设备标识,还可以存储有其无线覆盖范围内的终端设备的IP地址。In the embodiment of the present invention, the routing information table stores the device identifier of the terminal device in the wireless coverage of the edge routing node, and may also store the IP address of the terminal device in the wireless coverage range.
204、边缘路由节点将上述至少一个物联网数据包括的终端设备的设备标识添加至上述路由信息表中。204. The edge routing node adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table.
205、边缘路由节点控制不更新上述路由信息表。205. The edge routing node controls not updating the routing information table.
在一个可选的实施例中,该基于被监测设备更新路由信息表的方法还可以包括以下操作:In an optional embodiment, the method for updating the routing information table based on the monitored device may further include the following operations:
边缘路由节点判断上述路由信息表中是否存在离线的终端设备的设备标识,当判断出存在离线的终端设备的设备标识时,从上述路由信息表中删除离线的终端设备的设备标识,其中,离线的终端设备为在预设时间段内未向边缘路由节点上报物联网数据的终端设备或者向边缘路由节点上报物联网数据的上报频率低于预设频率阈值的终端设备,且离线的终端设备可以包括已经损坏的终端设备和/或已经处于长时间关闭状态的终端设备以及设备标识已经被添加至相邻路由节 点的路由信息表的终端设备。The edge routing node determines whether the device identifier of the offline terminal device exists in the routing information table. When it is determined that the device identifier of the offline terminal device exists, the device identifier of the offline terminal device is deleted from the routing information table, where offline The terminal device is a terminal device that does not report the IoT data to the edge routing node within a preset time period or reports the terminal device whose IoT data reporting frequency is lower than the preset frequency threshold to the edge routing node, and the offline terminal device can Including the damaged terminal device and/or the terminal device that has been in the long-off state and the device identification has been added to the adjacent routing section Point device of the routing information table.
该可选的实施例能够及时将已经离线的终端设备的设备标识从路由信息表中删除,有利于物联网架构中物联网拓扑结构的即时更新。The optional embodiment can delete the device identifier of the terminal device that has been offline from the routing information table in time, which is beneficial to the instant update of the Internet of Things topology in the Internet of Things architecture.
在另一个可选的实施例中,当步骤203的判断结果为是时以及在触发执行步骤204之前,该基于被监测设备更新路由信息表的方法还可以包括以下操作:In another optional embodiment, when the determination result of
边缘路由节点判断上述至少一个物联网数据中每个物联网数据包括的数据内容是否均与该物联网数据包括的设备类型对应的预设数据内容相匹配,当判断出上述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配时,触发执行步骤204;The edge routing node determines whether the data content included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, and determines the at least one Internet of Things data. When the data content of each IoT data is matched with the preset data content corresponding to the device type included in the Internet of Things data,
当判断出上述至少一个物联网数据中每个物联网数据包括的数据内容不均与该物联网数据包括的设备类型对应的预设数据内容相匹配时,边缘路由节点将上述至少一个物联网数据中包括的数据内容与该物联网数据包括的设备类型对应的预设数据内容相匹配的物联网数据包括的终端设备的设备标识添加至上述路由信息表中。这样有利于提高路由信息表更新的准确性。When it is determined that the data content unevenness included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, the edge routing node sets the at least one Internet of Things data The device identifier of the terminal device included in the Internet of Things data included in the data content and the preset data content corresponding to the device type included in the Internet of Things data is added to the routing information table. This is beneficial to improve the accuracy of routing information table updates.
可见,实施图2所描述的基于被监测设备更新路由信息表的方法能够根据汇聚单元的实际需求将新上线且监测的被监测设备的设备类型为汇聚单元感兴趣的设备类型的终端设备的设备标识更新至边缘路由节点的路由信息表,减少了路由信息表的更新次数,进而减少了边缘路由节点的功耗。It can be seen that the method for updating the routing information table based on the monitored device described in FIG. 2 can set the device type of the newly monitored device monitored device type to the terminal device of the device type of interest to the convergence unit according to the actual needs of the convergence unit. The routing information table updated to the edge routing node reduces the number of updates of the routing information table, thereby reducing the power consumption of the edge routing node.
实施例二Embodiment 2
请参阅图3,图3是本发明实施例公开的另一种基于被监测设备更新路由信息表的方法的流程示意图。如图3所示,该基于被监测设备更新路由信息表的方法可以包括以下操作:Please refer to FIG. 3. FIG. 3 is a schematic flowchart diagram of another method for updating a routing information table based on a monitored device according to an embodiment of the present invention. As shown in FIG. 3, the method for updating the routing information table based on the monitored device may include the following operations:
301、边缘路由节点接收过滤网关下发的用于指示汇聚单元对目标设备类型的被监测设备感兴趣的指示消息。301. The edge routing node receives an indication message that is sent by the filtering gateway to indicate that the aggregation unit is interested in the monitored device of the target device type.
本发明实施例中,物联网架构中的终端设备所监测的被监测设备可以按照其功能划分成不同设备类型的被监测设备,也可以按照被监测设备的设备型号划分成不同设备类型的终端设备,本发明实施例不作限定。In the embodiment of the present invention, the monitored device monitored by the terminal device in the Internet of Things architecture may be divided into monitored devices of different device types according to their functions, or may be divided into terminal devices of different device types according to the device model of the monitored device. The embodiment of the invention is not limited.
302、边缘路由节点侦听其无线覆盖范围内的海量终端设备上报的海量物联网数据,每个物联网数据包括上报该物联网数据的终端设备所监测的被监测设备的设备类型、该终端设备针对该被监测设备所采集的数据内容以及该终端设备所 处的设备标识。302. The edge routing node listens to the massive IoT data reported by the mass terminal device in the wireless coverage area, and each IoT data includes the device type of the monitored device monitored by the terminal device that reports the IoT data, and the terminal device Data content collected by the monitored device and the terminal device The device identification at the location.
303、当上述海量物联网数据中存在包括的终端设备的设备标识未存储于预先生成的路由信息表中的多个物联网数据时,边缘路由节点判断该多个物联网数据中是否存在包括的被监测设备的设备类型为上述目标设备类型的至少一个物联网数据,当步骤303的判断结果为是时,触发执行步骤304,当步骤303的判断结果为否时,触发执行步骤307。303. When the device identifier of the terminal device included in the massive Internet of Things data is not stored in the plurality of Internet of Things data in the pre-generated routing information table, the edge routing node determines whether the plurality of Internet of Things data is included. The device type of the device to be monitored is at least one IoT data of the target device type. When the determination result in
304、边缘路由节点判断上报上述至少一个物联网数据的终端设备中是否存在路过的终端设备,当步骤304的判断结果为否时,触发执行步骤305,当步骤304的判断结果为是时,触发执行步骤306。304. The edge routing node determines whether there is a passing terminal device in the terminal device that reports the at least one Internet of Things data. When the determination result in
本发明实施例中,边缘路由节点判断上报上述至少一个物联网数据的终端设备中是否存在路过的终端设备可以包括:In the embodiment of the present invention, the edge routing node may determine, by the terminal device that reports the at least one Internet of Things data, that the terminal device that has passed through may include:
边缘路由节点向其无线覆盖范围内的相邻路由节点发送查询请求,该查询请求用于请求相邻路由节点查询相邻路由节点存储的路由信息表中是否存储有上报上述至少一个物联网数据的终端设备中的其中一个终端设备的设备标识;The edge routing node sends a query request to the neighboring routing node in the wireless coverage area, where the query request is used to request the neighboring routing node to query whether the at least one Internet of Things data is reported in the routing information table stored by the neighboring routing node. a device identifier of one of the terminal devices in the terminal device;
边缘路由节点接收相邻路由节点返回的查询响应,当其中一个查询响应指示对应的相邻路由节点存储的路由信息表中存储有上报上述至少一个物联网数据的终端设备中的其中一个终端设备的设备标识时,确定上报上述至少一个物联网数据的终端设备中存在路过的终端设备,当任意一个查询响应都指示对应的相邻路由节点存储的路由信息表中未存储有上报上述至少一个物联网数据的终端设备中任意一个终端设备的设备标识时,确定上报上述至少一个物联网数据的终端设备中不存在路过的终端设备。The edge routing node receives the query response returned by the neighboring routing node, and when one of the query responses indicates that the routing information table stored by the corresponding neighboring routing node stores one of the terminal devices that report the at least one Internet of Things data When the device is identified, it is determined that there is a terminal device that has passed through the terminal device that reports the at least one Internet of Things data, and any one of the query responses indicates that the at least one Internet of Things is not stored in the routing information table stored by the corresponding neighboring routing node. When the device identifier of any one of the terminal devices of the data is determined, it is determined that there is no passing terminal device in the terminal device that reports the at least one Internet of Things data.
305、边缘路由节点将上述至少一个物联网数据包括的终端设备的设备标识添加至上述路由信息表中。305. The edge routing node adds the device identifier of the terminal device included in the at least one Internet of Things data to the routing information table.
306、边缘路由节点将上报上述至少一个物联网数据的终端设备中除路过的终端设备之外的终端设备的设备标识添加至上述路由信息表中。306. The edge routing node adds, to the foregoing routing information table, a device identifier of the terminal device except the terminal device that has passed through the terminal device that reports the at least one Internet of Things data.
307、边缘路由节点控制不更新上述路由信息表。307. The edge routing node controls not updating the routing information table.
在一个可选的实施例中,当步骤303的判断结果为是时以及在触发执行步骤304之前,该基于被监测设备更新路由信息表的方法还可以包括以下操作:In an optional embodiment, when the determination result of
边缘路由节点判断上述至少一个物联网数据中每个物联网数据包括的数据内容是否均与该物联网数据包括的设备类型对应的预设数据内容相匹配,当判断
出上述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配时,触发执行步骤304;The edge routing node determines whether the data content included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, when determining
When the data content included in each of the at least one Internet of Things data is matched with the preset data content corresponding to the device type included in the Internet of Things data,
当判断出上述至少一个物联网数据中每个物联网数据包括的数据内容不均与该物联网数据包括的设备类型对应的预设数据内容相匹配时,边缘路由节点将上述至少一个物联网数据中包括的数据内容与该物联网数据包括的设备类型对应的预设数据内容相匹配的物联网数据包括的终端设备的设备标识添加至上述路由信息表中。这样有利于提高路由信息表更新的准确性。When it is determined that the data content unevenness included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, the edge routing node sets the at least one Internet of Things data The device identifier of the terminal device included in the Internet of Things data included in the data content and the preset data content corresponding to the device type included in the Internet of Things data is added to the routing information table. This is beneficial to improve the accuracy of routing information table updates.
进一步可选的,当判断出上述至少一个物联网数据中每个物联网数据包括的数据内容不均与该物联网数据包括的设备类型对应的预设数据内容相匹配时,边缘路由节点将上述至少一个物联网数据中包括的数据内容与该物联网数据包括的设备类型对应的预设数据内容相匹配的物联网数据包括的终端设备的设备标识添加至上述路由信息表中可以包括:Further optionally, when it is determined that the data content unevenness included in each of the at least one Internet of Things data matches the preset data content corresponding to the device type included in the Internet of Things data, the edge routing node The adding, to the routing information table, the device identifier of the terminal device included in the Internet of Things data that is included in the at least one Internet of Things data and the preset data content corresponding to the device type that is included in the Internet of Things data may include:
边缘路由节点将上述至少一个物联网数据中包括的数据内容与该物联网数据包括的设备类型对应的预设数据内容相匹配的物联网数据包括的非路过终端设备的设备标识添加至上述路由信息表中。The edge routing node adds the device identifier of the non-passing terminal device included in the Internet of Things data that matches the data content included in the at least one Internet of Things data to the preset data content corresponding to the device type included in the Internet of Things data to the routing information. In the table.
在另一个可选的实施例中,该基于被监测设备更新路由信息表的方法还可以包括以下操作:In another optional embodiment, the method for updating the routing information table based on the monitored device may further include the following operations:
边缘路由节点判断上述路由信息表中是否存在离线的终端设备的设备标识,当判断出存在离线的终端设备的设备标识时,从上述路由信息表中删除离线的终端设备的设备标识,其中,离线的终端设备为在预设时间段内未向边缘路由节点上报物联网数据的终端设备或者向边缘路由节点上报物联网数据的上报频率低于预设频率阈值的终端设备,且离线的终端设备可以包括已经损坏的终端设备和/或已经处于长时间关闭状态的终端设备和/或设备标识已经被添加至相邻路由节点的路由信息表的终端设备。The edge routing node determines whether the device identifier of the offline terminal device exists in the routing information table. When it is determined that the device identifier of the offline terminal device exists, the device identifier of the offline terminal device is deleted from the routing information table, where offline The terminal device is a terminal device that does not report the IoT data to the edge routing node within a preset time period or reports the terminal device whose IoT data reporting frequency is lower than the preset frequency threshold to the edge routing node, and the offline terminal device can A terminal device that includes a damaged terminal device and/or a terminal device and/or device identification that has been in a long-term shutdown state has been added to a routing information table of a neighboring routing node.
该可选的实施例能够及时将已经离线的终端设备的设备标识从路由信息表中删除,有利于物联网架构中物联网拓扑结构的即时更新。The optional embodiment can delete the device identifier of the terminal device that has been offline from the routing information table in time, which is beneficial to the instant update of the Internet of Things topology in the Internet of Things architecture.
在又一个可选的实施例中,该基于被监测设备更新路由信息表的方法还可以包括以下操作:In still another optional embodiment, the method for updating the routing information table based on the monitored device may further include the following operations:
边缘路由节点统计上述路由信息表中存储的设备标识对应的所有终端设备中用于监测设备类型为上述目标设备类型的被监测设备的目标终端设备上报物 联网数据的上报频率,并向该目标终端设备中上报频率低于预设上报频率阈值的终端设备发送上报频率上调指令。这样可以提高汇聚单元接收到针对其感兴趣的被监测设备的数据内容的可靠性。The edge routing node counts the target terminal device of the monitored device for monitoring the device type of the target device type in all the terminal devices corresponding to the device identifiers stored in the routing information table. The reporting frequency of the networked data is sent to the terminal device reporting the frequency lower than the preset reporting frequency threshold in the target terminal device. This can increase the reliability of the aggregation unit receiving the data content of the monitored device of interest to it.
在该又一种可选的实施例中,进一步可选的,该基于被监测设备更新路由信息表的方法还可以包括以下操作:In the further optional embodiment, the method for updating the routing information table based on the monitored device may further include the following operations:
边缘路由节点在上述路由信息表中为上述目标终端设备中上报频率低于上述预设上报频率阈值的终端设备的设备标识设定上报优先级,其中,上报频率越小,设定的上报优先级越大。这样能够在接收到上报频率较低的终端设备上报的物联网数据时能够根据为其设定的优先级优先上报该部分物联网数据或者优先为该部分物联网数据选择可靠性较高的转发路径,进一步提高了汇聚单元接收到其感兴趣且上报频率较低的终端设备上报的物联网数据的可靠性。The edge routing node sets, in the foregoing routing information table, a reporting priority for the device identifier of the terminal device whose frequency is lower than the preset reporting frequency threshold in the target terminal device, where the reporting frequency is smaller, the set reporting priority is set. The bigger. In this way, when receiving the Internet of Things data reported by the terminal device with a lower reporting frequency, the part of the Internet of Things data can be preferentially reported according to the priority set for the Internet of Things data, or the forwarding path with higher reliability can be selected preferentially for the part of the Internet of Things data. Further, the reliability of the IoT data reported by the aggregation unit to the terminal device that is interested in and reported by the aggregation unit is further improved.
可见,实施图3所描述的基于被监测设备更新路由信息表的方法能够根据汇聚单元的实际需求将新上线且所监测的被监测设备的设备类型为汇聚单元感兴趣的目标设备类型的终端设备的设备标识更新至边缘路由节点的路由信息表,减少了路由信息表的更新次数,进而减少了边缘路由节点的功耗,方便物联网架构中网络拓扑的维护,且在将新上线的且所监测的被监测设备的设备类型为汇聚单元感兴趣的目标设备类型的终端设备的设备标识更新至边缘路由节点的路由信息表时,自动过滤掉临时路过的终端设备,这样能够进一步减少路由信息表的更新次数以及需要更新的内容。It can be seen that the method for updating the routing information table based on the monitored device described in FIG. 3 can dynamically connect the device type of the monitored device to the target device type of the target device type that is interested in the aggregation unit according to the actual needs of the convergence unit. The device identifier is updated to the routing information table of the edge routing node, which reduces the number of updates of the routing information table, thereby reducing the power consumption of the edge routing node, facilitating the maintenance of the network topology in the Internet of Things architecture, and When the device type of the monitored device is updated, the device identifier of the terminal device of the target device type that is interested in the aggregation unit is updated to the routing information table of the edge routing node, and the temporarily passing terminal device is automatically filtered, so that the routing information table can be further reduced. The number of updates and what needs to be updated.
实施例三Embodiment 3
请参阅图4,图4是本发明实施例公开的一种边缘路由节点的结构示意图。如图4所示,该边缘路由节点400可以包括接收单元401、侦听单元402、判断单元403以及控制单元404,其中:Referring to FIG. 4, FIG. 4 is a schematic structural diagram of an edge routing node according to an embodiment of the present invention. As shown in FIG. 4, the
接收单元401用于接收过滤网关下发的用于指示汇聚单元对目标设备类型的被监测设备感兴趣的指示消息。The receiving
侦听单元402用于侦听边缘路由节点400无线覆盖范围内的海量终端设备上报的海量物联网数据,每个物联网数据可以包括上报该物联网数据的终端设备所监测的被监测设备的设备类型、该终端设备针对该被监测设备所采集的数据内容以及该终端设备的设备标识。The
判断单元403用于当上述海量物联网数据中存在包括的终端设备的设备标识
未存储于预先生成的路由信息表中的多个物联网数据时,判断上述多个物联网数据中是否存在包括的被监测设备所的设备类型为上述目标设备类型的至少一个物联网数据。The determining
控制单元404用于当判断单元403判断出上述多个物联网数据中存在上述至少一个物联网数据时,将上述至少一个物联网数据包括的终端设备的设备标识添加至路由信息表中,以及当判断单元403判断出上述多个物联网数据中不存在上述至少一个物联网数据时,控制不更新上述路由信息表。The
可见,实施图4所描述的边缘路由节点400能够根据汇聚单元的实际需求将新上线的且所监测的被监测设备的设备类型为汇聚单元感兴趣的目标设备类型的终端设备的设备标识更新至边缘路由节点的路由信息表,减少了路由信息表的更新次数,进而减少了边缘路由节点的功耗。It can be seen that the
在一个可选的实施例中,判断单元403还可以用于判断上述路由信息表中是否存在离线的终端设备的设备标识,其中,该离线的终端设备为在预设时间段内未向边缘路由节点400上报物联网数据的终端设备或者向边缘路由节点400上报物联网数据的上报频率低于预设频率阈值的终端设备,且离线的终端设备可以包括已经损坏的终端设备和/或已经处于长时间关闭状态的终端设备以及设备标识已经被添加至相邻路由节点的路由信息表的终端设备。In an optional embodiment, the determining
控制单元404还可以用于当判断单元403判断出存在上述离线的终端设备的设备标识时,从上述路由信息表中删除上述离线的终端设备的设备标识。The
可见,实施图4所描述的边缘路由节点400能够及时删除路由信息表中已经处于离线状态的终端设备的设备标识,有利于物联网架构中物联网拓扑的维护。It can be seen that the
在另一个可选的实施例中,判断单元403还可以用于在判断出上述多个物联网数据中存在上述至少一个物联网数据之后以及在控制单元404将上述至少一个物联网数据包括的终端设备的设备标识添加至上述路由信息表中之前,判断上述至少一个物联网数据中每个物联网数据包括的数据内容是否均与该物联网数据包括的设备类型对应的预设数据内容相匹配,当判断出上述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配时,触发控制单元404执行上述将上述至少一个物联网数据包括的终端设备的设备标识添加至上述路由信息表中的操作。In another optional embodiment, the determining
控制单元404还可以用于当上述多个物联网数据中存在上述至少一个物联网
数据以及上述至少一个物联网数据中每个物联网数据包括的数据内容不均与该物联网数据包括的设备类型对应的预设数据内容相匹配时,将上述至少一个物联网数据中包括的数据内容与该物联网数据包括的设备类型对应的预设数据内容相匹配的物联网数据包括的终端设备的设备标识添加至上述路由信息表中。The
在该另一种可选的实施例中,进一步可选的,判断单元403还可以用于在判断出上述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配之后以及在控制单元404将上述至少一个物联网数据包括的终端设备的设备标识添加至上述路由信息表中之前,判断上报上述至少一个物联网数据的终端设备中是否存在路过的终端设备,当判断出上报上述至少一个物联网数据的终端设备中不存在路过的终端设备时,触发控制单元404执行上述将上述至少一个物联网数据包括的终端设备的设备标识添加至上述路由信息表中的操作。In the optional embodiment, the determining
控制单元404还可以用于当上述至少一个物联网数据中每个物联网数据包括的数据内容均与该物联网数据包括的设备类型对应的预设数据内容相匹配以及上报上述至少一个物联网数据的终端设备中存在上述路过的终端设备时,将上报上述至少一个物联网数据的终端设备中除上述路过的终端设备之外的终端设备的设备标识添加至上述路由信息表中。The
可见,实施图4所描述的边缘路由节点400还能够过滤掉新上线的路过的终端设备,减少了边缘路由节点400在更新路由信息表时的更新内容。It can be seen that the
进一步可选的,该边缘路由节点400还可以包括统计单元405以及发送单元406,又进一步可选的,还可以包括设定单元407,此时,该边缘路由节点400的结构可以如图5所示,如图5所示,图5是本发明实施例公开的另一种边缘路由节点的结构示意图。其中:Further, the
统计单元405用于统计上述路由信息表中存储的设备标识对应的所有终端设备中用于监测设备类型为上述目标设备类型的被监测设备的目标终端设备上报物联网数据的上报频率。The
发送单元406用于根据统计单元405统计出的目标终端设备的上报频率向目标终端设备中上报频率低于预设上报频率阈值的终端设备发送上报频率上调指令。The sending
设定单元407用于在上述路由信息表中为上述目标终端设备中上报频率低于
预设上报频率阈值的终端设备的设备标识设定上报优先级,其中,上报频率越小,设定的上报优先级越大。The
可见,实施图5所描述的边缘路由节点400能够向用于监测设备类型为汇聚单元感兴趣的目标设备类型的被监测设备的终端设备中上报物联网数据的上报频率较低的终端设备发送上报频率上调指令并为这些终端设备的设备标识设定高的上报优先级,提高了汇聚单元接收到针对其感兴趣的被监测设备的数据内容的可靠性。It can be seen that the
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(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)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。One of ordinary skill in the art can understand that all or part of the various methods of the above embodiments can be completed by a program to instruct related hardware, the program can be stored in a computer readable storage medium, and the storage medium includes read only Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read Only Memory (Erasable Programmable Read Only Memory) EPROM), One-Time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), Read-Only Disc (Compact Disc) Read-Only Memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other medium readable by a computer that can be used to carry or store data.
以上对本发明实施例公开的一种基于被监测设备更新路由信息表的方法及设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The method and device for updating the routing information table based on the monitored device are disclosed in detail in the above embodiments of the present invention. The principles and implementation manners of the present invention are described in the specific examples. The description of the above embodiments is only The method for understanding the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The description should not be construed as limiting the invention.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710463018.9 | 2017-06-19 | ||
| CN201710463018.9A CN107197501B (en) | 2017-06-19 | 2017-06-19 | Method and equipment for updating routing information table based on monitored equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018232965A1 true WO2018232965A1 (en) | 2018-12-27 |
Family
ID=59879242
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/098501 Ceased WO2018232965A1 (en) | 2017-06-19 | 2017-08-22 | Method and device for updating routing information table based on monitored device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107197501B (en) |
| WO (1) | WO2018232965A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107197502B (en) * | 2017-06-19 | 2020-03-24 | 深圳市盛路物联通讯技术有限公司 | Method and equipment for controlling edge routing node to update routing information table |
| CN107197501B (en) * | 2017-06-19 | 2020-03-24 | 深圳市盛路物联通讯技术有限公司 | Method and equipment for updating routing information table based on monitored equipment |
| CN110166409B (en) * | 2018-02-13 | 2021-12-28 | 华为技术有限公司 | Device access method, related platform and computer storage medium |
| CN115454526A (en) * | 2022-09-04 | 2022-12-09 | 北京盈迪曼德科技有限公司 | System for realizing sensor management and application method thereof |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101534309A (en) * | 2009-04-14 | 2009-09-16 | 华为技术有限公司 | A node registration method, a routing update method, a communication system and the relevant equipment |
| US20110007639A1 (en) * | 2009-07-10 | 2011-01-13 | Qualcomm Incorporated | Methods and apparatus for detecting identifiers |
| CN102082724A (en) * | 2009-11-26 | 2011-06-01 | 中兴通讯股份有限公司 | Management method for information of personal network (PN) equipment and server |
| CN103493456A (en) * | 2011-04-04 | 2014-01-01 | 瑞典爱立信有限公司 | A method of and a support node for requesting registration of stationary user equipment in a cellular telecommunication system |
| CN107197501A (en) * | 2017-06-19 | 2017-09-22 | 深圳市盛路物联通讯技术有限公司 | A kind of method and apparatus that route information table is updated based on monitored equipment |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102571383B (en) * | 2010-12-16 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Access control method and system |
| CN102325163B (en) * | 2011-07-18 | 2014-08-27 | 福建星网锐捷网络有限公司 | Routing updating method, device and relevant equipment |
| CN103377252B (en) * | 2012-04-28 | 2018-03-27 | 国际商业机器公司 | The method and apparatus that data filtering is carried out in Internet of Things |
-
2017
- 2017-06-19 CN CN201710463018.9A patent/CN107197501B/en active Active
- 2017-08-22 WO PCT/CN2017/098501 patent/WO2018232965A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101534309A (en) * | 2009-04-14 | 2009-09-16 | 华为技术有限公司 | A node registration method, a routing update method, a communication system and the relevant equipment |
| US20110007639A1 (en) * | 2009-07-10 | 2011-01-13 | Qualcomm Incorporated | Methods and apparatus for detecting identifiers |
| CN102082724A (en) * | 2009-11-26 | 2011-06-01 | 中兴通讯股份有限公司 | Management method for information of personal network (PN) equipment and server |
| CN103493456A (en) * | 2011-04-04 | 2014-01-01 | 瑞典爱立信有限公司 | A method of and a support node for requesting registration of stationary user equipment in a cellular telecommunication system |
| CN107197501A (en) * | 2017-06-19 | 2017-09-22 | 深圳市盛路物联通讯技术有限公司 | A kind of method and apparatus that route information table is updated based on monitored equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107197501B (en) | 2020-03-24 |
| CN107197501A (en) | 2017-09-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018232976A1 (en) | Method and device for determining working state of terminal equipment | |
| WO2018232965A1 (en) | Method and device for updating routing information table based on monitored device | |
| WO2018233030A1 (en) | Transmission duration-based internet of things data reporting control method and forwarding node | |
| WO2018233016A1 (en) | Edge routing node and reporting frequency adjustment method thereof | |
| WO2018233036A1 (en) | Method and device for reporting and reporting of Internet of Things data | |
| WO2018233018A1 (en) | Data reporting control method and system based on terminal device priority | |
| CN111049749B (en) | Control and system for data reporting frequency of Internet of things of terminal equipment | |
| WO2018232967A1 (en) | Internet-of-things terminal device detection method and system based on access node | |
| WO2018233020A1 (en) | Data packaging method and system based on internet of things | |
| WO2018232964A1 (en) | Method and device for controlling edge routing node to update routing information table | |
| WO2018233034A1 (en) | Method and system for controlling transmission of Internet of Things data | |
| WO2018233028A1 (en) | IoT data reporting control method and system | |
| WO2018232977A1 (en) | Method and device for correcting working state of terminal device | |
| CN107317854B (en) | Terminal equipment reporting frequency adjusting method based on control table and routing node | |
| WO2018233008A1 (en) | Data processing method and system applied to internet of things | |
| WO2018232958A1 (en) | Terminal device automatic upgrade method based on forwarding node and forwarding node | |
| CN107196824B (en) | Method for determining working state of monitored equipment and convergence unit | |
| WO2018233013A1 (en) | Filtering control method for internet of things data and routing node | |
| CN107360097B (en) | A method and system for updating the routing table of the Internet of Things combining information of aggregation units | |
| CN107257375B (en) | A method and system for detecting working state of terminal equipment based on filtering gateway | |
| WO2018233031A1 (en) | Data transmission control method and system based on internet of things | |
| WO2018233022A1 (en) | Data encapsulation control method and system based on number of terminal devices | |
| WO2018233014A1 (en) | Method and device for controlling internet of things data filtering based on transmission duration | |
| WO2018233021A1 (en) | Method and system for controlling data encapsulation in internet of things | |
| CN107370678B (en) | A routing and forwarding table update method and system applied to the Internet of Things |
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: 17914794 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: 17914794 Country of ref document: EP Kind code of ref document: A1 |