WO2018232960A1 - 一种应用于物联网的路由转发表更新方法及系统 - Google Patents

一种应用于物联网的路由转发表更新方法及系统 Download PDF

Info

Publication number
WO2018232960A1
WO2018232960A1 PCT/CN2017/098496 CN2017098496W WO2018232960A1 WO 2018232960 A1 WO2018232960 A1 WO 2018232960A1 CN 2017098496 W CN2017098496 W CN 2017098496W WO 2018232960 A1 WO2018232960 A1 WO 2018232960A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding
routing
forwarding node
next hop
node
Prior art date
Application number
PCT/CN2017/098496
Other languages
English (en)
French (fr)
Inventor
杜光东
Original Assignee
深圳市盛路物联通讯技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市盛路物联通讯技术有限公司 filed Critical 深圳市盛路物联通讯技术有限公司
Publication of WO2018232960A1 publication Critical patent/WO2018232960A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to a method and system for updating a routing forwarding table applied to an Internet of Things.
  • the Internet of Things is the Internet connected to the Internet. It is a network that extends and expands on the Internet.
  • the user terminal extends and extends between any item and item, enabling information exchange and communication.
  • the Internet of Things connects any item to the Internet through terminal devices such as radio frequency identification devices, infrared sensing devices, laser scanners, and gas sensors to enable intelligent identification, location, tracking, monitoring, and management.
  • the terminal device accesses the Internet of Things through the forwarding node, uploads the data to the aggregation unit, and analyzes and processes the data information generated by the terminal device by the aggregation unit.
  • the routing forwarding table is the basis for the forwarding node to forward data, and its maintenance and update is also a relatively important research topic in the Internet of Things.
  • the embodiment of the invention discloses a method and a system for updating a routing and forwarding table applied to the Internet of Things, which is used for establishing a routing forwarding table that meets the routing indication information of the aggregation unit, implements targeted data forwarding, improves data forwarding rate, and satisfies convergence. The need for the unit to screen and collect data information.
  • the first aspect of the present invention discloses a method for updating a routing forwarding table applied to the Internet of Things, which may include:
  • the aggregation unit sends the route indication information to the forwarding node, where the route indication information includes the location information of interest of the convergence unit or the type of the device of interest of the convergence unit;
  • the forwarding node receives the data packet sent by the last hop IoT device, where the data packet carries the location information of the terminal device or the device type of the terminal device;
  • the last hop IoT device is a convergence unit or a device Said terminal device or a previous hop forwarding node of said forwarding node;
  • the forwarding node determines a next hop destination forwarding node from all the next hop forwarding nodes adjacent to the forwarding node, and the routing indication information is The route indication information of the next hop destination forwarding node is the same;
  • the forwarding node is based on an internet protocol address of the last hop internet of things device (Internet)
  • the protocol referred to as the IP address
  • IP address the IP address of the next hop destination forwarding node
  • the data packet further carries a transmission direction indication identifier, and after the forwarding node determines that the data packet matches the routing indication information, And before determining the next hop target forwarding node from all the next hop forwarding nodes that are adjacent to the forwarding node, the method further includes:
  • next hop IoT device Determining, by the forwarding node, the next hop IoT device adjacent to the forwarding node according to the transmission direction indication identifier carried in the data packet, where the next hop IoT device includes a convergence unit and/or the Forwarding all next hop forwarding nodes adjacent to the node, or all the next hop forwarding nodes adjacent to the terminal device and/or the forwarding node;
  • next hop forwarding node determines that the next hop IoT device only includes all the next hop forwarding nodes adjacent to the forwarding node, all the forwarding nodes included in the next hop IoT device are adjacent to each other.
  • the next hop forwarding node determines to be all the next hop forwarding nodes adjacent to the forwarding node, and performs the step of determining a next hop destination forwarding node from all the next hop forwarding nodes adjacent to the forwarding node.
  • the method further includes:
  • the forwarding node determines that the next hop IoT device includes the aggregation unit or the terminal device, according to the IP address of the aggregation unit or the terminal device, and the last hop internet of things device
  • the IP address of the forwarding node of the forwarding node is updated.
  • the method further includes:
  • the forwarding node determines that the data packet does not match the routing indication information, it is determined whether the routing forwarding table stores the routing forwarding information of the terminal device;
  • the forwarding node When the forwarding node determines that the routing forwarding table stores the routing forwarding information, the forwarding node deletes the routing forwarding information from the routing forwarding table.
  • the method further includes:
  • the forwarding node acquires a frequency of using each routing forwarding information of the routing forwarding table
  • the forwarding node determines the target routing forwarding information whose usage frequency is less than a preset frequency value, and deletes the target routing forwarding information from the routing forwarding table.
  • the second aspect of the present invention discloses a routing and forwarding table update system applied to the Internet of Things, which may include:
  • An aggregation unit configured to send routing indication information to the forwarding node, where the routing indication information includes location information of interest of the convergence unit or a device type of interest of the aggregation unit;
  • the forwarding node is configured to receive a data packet sent by the last hop IoT device, where the data packet carries the location information of the terminal device or the device type of the terminal device; the last hop IoT device is a convergence unit. Or the terminal device or the previous hop forwarding node of the forwarding node;
  • the forwarding node is further configured to determine whether the data packet matches the routing indication information
  • the forwarding node is further configured to: when determining that the data packet matches the routing indication information, determine, from all next hop forwarding nodes adjacent to the forwarding node, a next hop destination forwarding node, where the routing The indication information is the same as the routing indication information of the next hop target forwarding node;
  • the forwarding node is further configured to update a routing forwarding table of the forwarding node according to an Internet Protocol address IP address of the last hop IoT device and an IP address of the next hop target forwarding node.
  • the data packet further carries a transmission direction indication identifier, where the forwarding node is further configured to determine that the data packet matches the routing indication
  • the next hop IoT device adjacent to the forwarding node is determined according to the transmission direction indication identifier carried in the data packet, where the next hop IoT device includes a convergence unit and/or the forwarding All next hop forwarding nodes adjacent to the node, or all the next hop forwarding nodes adjacent to the terminal device and/or the forwarding node; determining that the next hop IoT device only includes the forwarding node When all the next hop forwarding nodes are adjacent to each other, all next hop forwarding nodes adjacent to the forwarding node included in the next hop IoT device are determined as all next hop forwarding nodes adjacent to the forwarding node And determining to determine a next hop target forwarding node from among all next hop forwarding nodes adjacent to the forwarding node.
  • the forwarding node is further configured to: when determining that the next hop IoT device includes the aggregation unit or the terminal device, according to the The aggregation unit or the IP address of the terminal device and the IP address of the last hop IoT device update the routing forwarding table of the forwarding node.
  • the forwarding node is further configured to: determine, when the data packet does not match the routing indication information, whether the routing forwarding table is saved.
  • the route forwarding information of the terminal device when it is determined that the route forwarding table stores the route forwarding information, deleting the route forwarding information from the routing forwarding table.
  • the forwarding node is further configured to acquire a frequency of using each routing forwarding information of the routing forwarding table, and determine that the used frequency is less than a preset frequency.
  • the target route of the value forwards the information, and deletes the target route forwarding information from the routing forwarding table.
  • the embodiment of the invention has the following beneficial effects:
  • the aggregation unit sends the routing indication information to the forwarding node, where the routing indication information includes the location information of the aggregation unit or the device type of the aggregation unit; after that, the forwarding node receives the previous hop.
  • the data packet sent by the IoT device determines whether the location information of the terminal device carried in the data packet or the device type of the terminal device matches the routing indication information. If the matching, the forwarding node determines from all neighboring next hop forwarding nodes.
  • the next hop destination forwarding node wherein the routing indication information of the next hop destination forwarding node is the same as the routing indication information of the forwarding node; after that, the forwarding node forwards according to the IP address and the next hop destination of the last hop IoT device Festival Update the routing forwarding table of the forwarding node by the IP address of the point.
  • a routing forwarding table that meets the routing indication information of the aggregation unit can be established, and is only used to forward the data packet related to the terminal device that is interested in the aggregation unit (including the terminal device that is interested in the aggregation unit).
  • the reported data packets or the data packets sent by the aggregation unit to the terminal devices are used to implement targeted data forwarding, improve the data forwarding rate, and meet the requirements of the aggregation unit for filtering and collecting data information.
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed by some embodiments of the present invention.
  • FIG. 2 is a schematic flowchart of a method for updating a routing forwarding table applied to an Internet of Things according to an embodiment of the present invention
  • FIG. 3 is another schematic flowchart of a method for updating a routing forwarding table applied to an Internet of Things according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a routing forwarding table updating system applied to an Internet of Things according to an embodiment of the present invention.
  • the embodiment of the invention discloses a routing forwarding table updating method applied to the Internet of Things, which is used for establishing a routing forwarding table that meets the routing indication information of the aggregation unit, and is only used for forwarding data packets related to the terminal device interested in the aggregation unit.
  • a data packet is sent by the terminal device that is interested in the aggregation unit or a data packet sent by the aggregation unit to the terminal device to implement targeted data forwarding.
  • the embodiment of the invention also discloses a routing forwarding table updating system applied to the Internet of Things.
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed in some embodiments of the present invention. It should be noted that FIG. 1 is only a schematic diagram of an Internet of Things architecture disclosed in some embodiments of the present invention, and other optimizations or deformations are performed on the basis of FIG. The schematic diagrams are all within the scope of protection of the present invention and will not be exemplified herein.
  • the devices involved in the Internet of Things are called IoT devices.
  • the IoT devices can be classified into three layers according to the IoT architecture shown in Figure 1: three layers: the terminal device layer, the forwarding node layer, and the aggregation unit layer. .
  • the terminal device layer includes a mass terminal device located at the edge of the Internet of Things, such as a hygrometer, a smoke sensor, a ventilation device, a rain sensor, an irrigation valve, etc.; the forwarding node layer may include a plurality of forwarding nodes, and between the plurality of forwarding nodes It can be interconnected through a network (not shown in Figure 1).
  • the forwarding node may be a variety of intermediate devices, such as a router and a relay, which are not limited in the embodiment of the present invention.
  • the aggregation unit layer may include a convergence unit, wherein the aggregation unit is used as a human-machine interface of the Internet of Things in the Internet of Things architecture, and is used for high-level management of the entire Internet of Things through the forwarding node, including collecting a large number of terminal devices in a certain period of time.
  • the reported data analyzes and decides the data, and then transforms into a simple warning, abnormal or related report required by the user; the aggregation unit can also obtain the information or configure the terminal device parameters by sending an instruction (at this time, the data transmission is directed to the terminal device)
  • the aggregation unit can also introduce a variety of input services, from big data to social networks, and even from social tools "likes" to weather sharing.
  • the forwarding node can use any standard networking protocol, and the forwarding node can implement data parsing between different network standards; in the Internet of Things architecture shown in Figure 1, each forwarding node can be its own wireless network. Massive terminal equipment within the coverage area provides IoT data transceiving services, wherein each terminal device within the coverage of each forwarding node's own wireless network can have a built-in wireless communication module, which enables each forwarding node to communicate over a wireless network. The method communicates wirelessly with each terminal device within the coverage of its own wireless network.
  • the wireless communication module built into the terminal device can input the upper frequency point 470MHz and the lower frequency point 510MHz during production, so that the wireless communication module can automatically define the communication frequency band as 470MHz ⁇ 510MHz, It complies with the provisions of China's SRRC standard; alternatively, it can input the upper frequency point of 868MHz and the lower frequency point of 908MHz, so that the wireless communication module can automatically define the communication frequency band as 868MHz to 908MHz to comply with the European ETSI standard; or, you can enter The frequency is 918MHz and the lower frequency is 928MHz, so the wireless communication module can automatically define the communication frequency band as 918MHz ⁇ 928MHz to meet the requirements of the US FCC standard.
  • the communication frequency band of the wireless communication module can also be defined as conforming to the Japanese ARIB standard or Canada.
  • the specification of the IC standard is not limited in the embodiment of the present invention.
  • the terminal device can use Frequency Division Multiple Access (FDMA), Frequency-Hopping Spread Spectrum (FHSS), and Dynamic Time Division Multiple Access (Dynamic Time Division Multiple Access). , DTDMA), and backtracking multiplexing (CSMA) are combined to solve the interference problem.
  • FDMA Frequency Division Multiple Access
  • FHSS Frequency-Hopping Spread Spectrum
  • CSMA Dynamic Time Division Multiple Access
  • FIG. 2 is a schematic flowchart of a method for updating a routing forwarding table applied to the Internet of Things according to an embodiment of the present invention
  • a method for updating a routing forwarding table applied to the Internet of Things may include:
  • the aggregation unit sends the route indication information to the forwarding node, where the route indication information includes the location information of interest of the convergence unit or the type of the device of interest of the convergence unit.
  • the aggregation unit can specify that it desires to communicate with certain terminal devices of a specific function, time period or device type or geographical location, that is, the aggregation unit can pass the geographic location or device type, and the like. Filter and collect data packets reported by the terminal device. Therefore, in the embodiment of the present invention, the convergence unit uses the corresponding information of the terminal device of interest, such as the above-mentioned interest location information or the type of the device of interest, as the routing indication information indicating that the forwarding node establishes the routing forwarding table. And sent to the forwarding node.
  • the forwarding node After receiving the routing indication information, the forwarding node updates the original routing forwarding table, so that the routing forwarding table is only used to forward the data packet related to the terminal device that is interested in the aggregation unit (including the data reported by the terminal device that is interested in the aggregation unit).
  • the aggregation unit is interested in monitoring the humidity sensors of all farmland in a certain four counties, and then the location information of the four counties can be used as the location information of the convergence unit or the humidity sensor is used as the aggregation unit.
  • Equipment type is used to be used to forward the data packet related to the terminal device that is interested in the aggregation unit.
  • the aggregation unit may instruct the forwarding nodes of the four county jurisdictions to preferentially report the data information collected by the humidity sensor to the aggregation unit, and the aggregation unit sends the location information of the four county jurisdictions or the device type of the humidity sensor to the forwarding node. Therefore, the forwarding node newly creates and updates a corresponding routing forwarding table according to the routing indication information, and the reason forwarding table is only used to forward data packets sent by the humidity sensors of the four county jurisdictions, so as to preferentially interest the aggregation unit. The data packets collected by the humidity sensor are reported to the aggregation unit.
  • the convergence unit may use a frequency hopping manner to select a dedicated subcarrier channel from the transmission frequency band, and then use the dedicated subcarrier channel to send routing indication information to the forwarding node.
  • the dedicated subcarrier channel can be selected in a frequency hopping manner between 100 MHz and 1 GHz, and one subcarrier channel between 100 MHz and 1 GHz is selected as a dedicated subcarrier channel for routing instruction information.
  • the dedicated subcarrier channel can also be selected according to the quality of the channel.
  • the aggregation unit layer further includes a filtering gateway, and the aggregation unit sends the routing indication information to the filtering gateway, and the filtering gateway sends the routing indication information to the forwarding node.
  • the filtering gateway may select a dedicated subcarrier channel from the transmission frequency band by using a frequency hopping manner, and then send the routing indication information to the forwarding node by using the dedicated subcarrier channel.
  • the forwarding node receives the data packet sent by the last hop IoT device, where the data packet carries the location information of the terminal device or the device type of the terminal device; the last hop IoT device is the aggregation unit or the terminal device or the forwarding node.
  • a network device which may be a terminal device or a convergence unit or other forwarding node.
  • the forwarding node determines whether the data packet matches the routing indication information.
  • the forwarding node determines whether the data packet matches the routing indication information, specifically: the forwarding node determines whether the location information of interest carried in the data packet or the device type of interest matches the routing indication information.
  • the forwarding node proceeds to step 204.
  • the forwarding node determines that the data packet does not match the routing indication information, refer to the specific description in the second embodiment, and details are not described herein again.
  • the forwarding node determines, according to the next hop destination forwarding node, the next hop destination forwarding node, where the routing indication information is the same as the routing indication information of the next hop destination forwarding node.
  • the next hop IoT device based on the forwarding node is a forwarding node, and the forwarding node may consider different next hops when forwarding the data packet to the terminal device or the aggregation unit. Forward the node.
  • the forwarding node needs to select a next hop target forwarding node that has the best route and the next hop forwarding node routing indication information matches its routing indication information from the plurality of next hop forwarding nodes.
  • the forwarding node updates the routing forwarding table of the forwarding node according to the IP address of the last hop IoT device and the IP address of the next hop target forwarding node.
  • the forwarding node acquires the usage frequency of each routing forwarding information of the routing forwarding table; and the forwarding node determines the destination routing forwarding information whose usage frequency is less than the preset frequency value. And delete the target route forwarding information from the routing forwarding table.
  • the forwarding node may periodically detect the frequency of use of the routing and forwarding information in the routing and forwarding table, determine the destination routing forwarding information whose usage frequency is less than the preset frequency value, and may forward the destination routing forwarding information from the routing forwarding table. Delete, so that the routing forwarding table is updated in time, and the outdated routing forwarding information is deleted to avoid the routing forwarding table being too large and occupying memory.
  • the aggregation unit sends the routing indication information to the forwarding node, where the routing indication information includes the location information of the aggregation unit or the device type of the aggregation unit; after that, the forwarding node receives the previous hop.
  • the data packet sent by the IoT device determines whether the location information of the terminal device carried in the data packet or the device type of the terminal device matches the routing indication information. If the matching, the forwarding node determines from all neighboring next hop forwarding nodes.
  • the next hop destination forwarding node wherein the routing indication information of the next hop destination forwarding node is the same as the routing indication information of the forwarding node; after that, the forwarding node forwards according to the IP address and the next hop destination of the last hop IoT device Update the routing forwarding table of the forwarding node by the IP address of the node.
  • the routing forwarding table that meets the routing indication information of the aggregation unit can be used to forward only the data packets related to the terminal device that is interested in the aggregation unit (including the data packet reported by the terminal device that is interested in the aggregation unit or
  • the data packets sent by the aggregation unit to the terminal devices are used to implement targeted data forwarding, improve the data forwarding rate, and meet the requirements for the aggregation unit to filter and collect data information.
  • FIG. 3 is another schematic flowchart of a method for updating a routing forwarding table applied to an Internet of Things according to an embodiment of the present invention.
  • a method for updating a routing forwarding table applied to an Internet of Things may include :
  • the aggregation unit sends routing indication information to the forwarding node, where the routing indication information includes information about the location of interest of the convergence unit or the type of the device of interest of the convergence unit.
  • the forwarding node receives the data packet sent by the last hop IoT device, and the data packet carries the location information of the terminal device or the device type of the terminal device and the transmission direction indication identifier; the last hop IoT device is a convergence unit or a terminal. The device or the previous hop forwarding node of the forwarding node;
  • the data packet further carries a transmission direction indication identifier, where the transmission direction indication identifier is used to indicate that the data packet is sent to the terminal device or the data packet is sent to the aggregation unit.
  • the forwarding node determines whether the data packet matches the routing indication information.
  • the forwarding node determines that the data packet matches the routing indication information
  • the forwarding node proceeds to step 304.
  • the forwarding node determines that the data packet does not match the routing indication information
  • the forwarding node proceeds to step 308.
  • the forwarding node determines, according to the transmission direction indication identifier carried in the data packet, the next hop IoT device adjacent to the forwarding node, and the next hop IoT device includes all the next hop forwarding of the aggregation unit and/or the forwarding node. a node, or a terminal device and/or all next hop forwarding nodes adjacent to the forwarding node;
  • the forwarding node determines, when the next hop IoT device includes all the next hop forwarding nodes that are adjacent to the forwarding node, determining, by the next hop IoT device, all the next hop forwarding nodes that are adjacent to the forwarding node. Forwarding all next hop forwarding nodes adjacent to the node;
  • the forwarding node determines that the next hop IoT device includes the aggregation unit or the terminal device, the forwarding node updates according to the IP address of the aggregation unit or the terminal device and the IP address of the last hop IoT device. Forwarding the routing forwarding table of the node.
  • the next hop IoT device includes a convergence unit or a terminal device, it indicates that the forwarding node can directly communicate with the aggregation unit or the terminal device to forward the data packet to the aggregation unit or the terminal device without After other forwarding nodes, the transmission path can be shortened and the transmission rate can be increased.
  • the forwarding node determines a next hop target forwarding node from all the next hop forwarding nodes in the neighboring manner, and the routing indication information is the same as the routing indication information of the next hop destination forwarding node.
  • the forwarding node updates the routing forwarding table of the forwarding node according to the Internet Protocol address IP address of the last hop IoT device and the IP address of the next hop destination forwarding node.
  • the forwarding node determines whether the routing forwarding table stores the routing and forwarding information of the terminal device.
  • the forwarding node determines that the routing forwarding table stores the routing forwarding information of the terminal device, the forwarding node proceeds to step 309.
  • the forwarding node determines that the routing forwarding table does not save the routing forwarding information of the terminal device, the forwarding node ends the process.
  • the forwarding node deletes the routing and forwarding information of the terminal device from the routing forwarding table.
  • the forwarding node when the forwarding node receives the data packet, if the data packet is carried
  • the location information of the terminal device or the device type of the terminal device matches the routing indication information, and further determines the next hop IoT device of the forwarding node. If the next hop IoT device has only the forwarding node, the forwarding node will forward the node from the next hop. Determining a next hop destination forwarding node whose routing indication information matches its reason indication information, and then updating the routing forwarding table according to the IP address of the last hop IoT device and the IP address of the next hop target forwarding node; if the next hop
  • the IoT device includes a convergence unit or a terminal device.
  • the forwarding node updates the routing forwarding table according to the IP address of the last hop IoT device and the IP address of the aggregation unit or the terminal device, so that the updated routing forwarding table is only used to forward the aggregation unit.
  • Target data-related data packets including data packets reported by terminal devices of interest to the aggregation unit or data packets sent by the aggregation unit to the terminal devices) for targeted data forwarding.
  • FIG. 4 is a schematic structural diagram of a routing forwarding table updating system applied to the Internet of Things according to an embodiment of the present invention.
  • a routing forwarding table updating system applied to the Internet of Things may include:
  • the aggregation unit 410 is configured to send routing indication information to the forwarding node 420, where the routing indication information includes the location information of interest of the aggregation unit 410 or the device type of interest of the aggregation unit 410;
  • the forwarding node 420 is configured to receive the data packet sent by the last hop IoT device, where the data packet carries the location information of the terminal device 430 or the device type of the terminal device 430; the last hop IoT device is the aggregation unit 410 or the terminal device 430. Or forwarding the previous hop forwarding node of the node 420;
  • the forwarding node 420 is further configured to determine whether the data packet matches the routing indication information
  • the forwarding node 420 is further configured to: when determining that the data packet matches the routing indication information, determine, from all the next hop forwarding nodes adjacent to the forwarding node 420, the next hop target forwarding node, the routing indication information, and the next hop destination forwarding.
  • the route indication information of the node is the same;
  • the forwarding node 420 is further configured to update the routing forwarding table of the forwarding node 420 according to the Internet Protocol address IP address of the last hop IoT device and the IP address of the next hop target forwarding node.
  • the aggregation unit 410 may select a dedicated subcarrier channel from the transmission frequency band by using a frequency hopping manner, and then send the routing indication information to the forwarding node 420 by using the dedicated subcarrier channel.
  • the dedicated subcarrier channel can be selected in a frequency hopping manner between 100 MHz and 1 GHz, and one subcarrier channel between 100 MHz and 1 GHz is selected as a dedicated subcarrier channel for routing instruction information.
  • the dedicated subcarrier channel can also be selected according to the quality of the channel.
  • the aggregation unit layer further includes a filtering gateway, and the aggregation unit 410 sends the routing indication information to the filtering gateway, and the filtering gateway sends the routing indication information to the forwarding node 420.
  • the filtering gateway may select a dedicated subcarrier channel from the transmission frequency band by using a frequency hopping manner, and then deliver the routing indication information to the forwarding node 420 by using the dedicated subcarrier channel.
  • the forwarding node 420 determines whether the data packet matches the routing indication information, specifically: the forwarding node 420 determines whether the location information of interest carried in the data packet or the device type of interest matches the routing indication information.
  • the data packet further carries a transmission direction indication identifier
  • the forwarding node 420 is further configured to: after determining that the data packet matches the routing indication information, determine, according to the transmission direction indication identifier carried in the data packet,
  • the forwarding node 420 is further configured to: according to the IP address of the aggregation unit 410 or the terminal device 430, and the previous hop when determining that the next hop IoT device includes the aggregation unit 410 or the terminal device 430
  • the IP address of the IoT device updates the routing forwarding table of the forwarding node 420.
  • the forwarding node 420 is further configured to: when determining that the data packet does not match the routing indication information, determine whether the routing forwarding table stores the routing forwarding information of the terminal device 430; and determine the routing forwarding table to be saved. When there is routing forwarding information, the routing forwarding information is deleted from the routing forwarding table.
  • the forwarding node 420 is further configured to obtain a usage frequency of each routing forwarding information of the routing forwarding table, determine a target routing forwarding information whose usage frequency is less than a preset frequency value, and a routing forwarding table. Delete target route forwarding information.
  • the forwarding node 420 may periodically detect the frequency of use of the routing and forwarding information in the routing and forwarding table, determine the destination routing forwarding information whose usage frequency is less than the preset frequency value, and may forward the target routing forwarding information from the routing. Deleted in the publication, so that the routing forwarding table is updated in time, the outdated routing forwarding information is deleted, and the routing forwarding table is prevented from being too large and occupies memory.
  • the forwarding node 420 further determines the next hop of the forwarding node 420 if the location information of the terminal device 430 carried by the data packet or the device type of the terminal device 430 matches the routing indication information when receiving the data packet.
  • a networked device if the next hop IoT device only has a forwarding node 420, the forwarding node 420 determines a next hop target forwarding node that matches the routing indication information with the reason indication information from the next hop forwarding node, and then according to the The IP address of the IoT device and the IP address of the next hop destination forwarding node update the routing forwarding table; if the next hop IoT device includes the aggregation unit 410 or the terminal device 430, the forwarding node 420 is based on the last hop IoT device The IP address and the aggregation unit 410 or the IP address of the terminal device 430 update the routing forwarding table, so that the updated routing forwarding table is only used to forward the number of the terminal device 430
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • OTPROM One-Time Programmable Read-Only Memory
  • EEPROM Electronically-Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory

Abstract

一种应用于物联网的路由转发表更新方法及系统,该方法包括:汇聚单元向转发节点下发路由指示信息;转发节点接收上一跳物联网设备发送的数据报文;上一跳物联网设备为汇聚单元或者终端设备或者转发节点的上一跳转发节点;转发节点判断数据报文是否匹配路由指示信息;转发节点在确定出数据报文匹配路由指示信息时,从转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点,路由指示信息与下一跳目标转发节点的路由指示信息相同;转发节点根据上一跳物联网设备的IP地址和下一跳目标转发节点的IP地址,更新转发节点的路由转发表;用于建立符合汇聚单元路由指示信息的路由转发表,提高数据转发速率。

Description

一种应用于物联网的路由转发表更新方法及系统 技术领域
本发明涉及物联网技术领域,具体涉及一种应用于物联网的路由转发表更新方法及系统。
背景技术
物联网(Internet of Things,简称IOT)就是物物相连的互联网,是在互联网基础上延伸和扩展得到的网络,且用户终端延伸和扩展到了任何物品与物品之间,能够进行信息交换和通信。物联网通过射频识别设备、红外感应设备、激光扫描器、气体感应器等终端设备把任何物品与互联网连接起来,以实现智能化识别、定位、跟踪、监控和管理。终端设备通过转发节点接入物联网,将数据上传给汇聚单元,由汇聚单元对终端设备产生的数据信息进行分析和处理。其中,路由转发表是转发节点转发数据的依据,其维护和更新也是物联网中比较重要的一个研究课题。
发明内容
本发明实施例公开了一种应用于物联网的路由转发表更新方法及系统,用于建立符合汇聚单元的路由指示信息的路由转发表,实现针对性的数据转发,提高数据转发速率,满足汇聚单元对数据信息的筛选和收集的需求。
本发明第一方面公开了一种应用于物联网的路由转发表更新方法,可包括:
汇聚单元向转发节点下发路由指示信息,所述路由指示信息包括所述汇聚单元的感兴趣位置信息或者所述汇聚单元的感兴趣设备类型;
所述转发节点接收上一跳物联网设备发送的数据报文,所述数据报文携带终端设备的位置信息或者所述终端设备的设备类型;所述上一跳物联网设备为汇聚单元或者所述终端设备或者所述转发节点的上一跳转发节点;
所述转发节点判断所述数据报文是否匹配所述路由指示信息;
所述转发节点在确定出所述数据报文匹配所述路由指示信息时,从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点,所述路由指示信息与所述下一跳目标转发节点的路由指示信息相同;
所述转发节点根据所述上一跳物联网设备的互联网协议地址(Internet  Protocol,简称IP)地址和所述下一跳目标转发节点的IP地址,更新所述转发节点的路由转发表。
作为一种可选的实施方式,在本发明第一方面中,所述数据报文还携带有传输方向指示标识,所述转发节点在确定出所述数据报文匹配所述路由指示信息之后,以及从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点之前,所述方法还包括:
所述转发节点根据所述数据报文携带的所述传输方向指示标识,确定出所述转发节点邻近的下一跳物联网设备,所述下一跳物联网设备包括汇聚单元和/或所述转发节点邻近的所有下一跳转发节点、或者所述终端设备和/或所述转发节点邻近的所有下一跳转发节点;
所述转发节点在确定出所述下一跳物联网设备仅包括所述转发节点邻近的所有下一跳转发节点时,将所述下一跳物联网设备包括的所述转发节点邻近的所有下一跳转发节点确定为所述转发节点邻近的所有下一跳转发节点,执行从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点的步骤。
作为一种可选的实施方式,在本发明第一方面中,所述方法还包括:
所述转发节点在确定出所述下一跳物联网设备包括所述汇聚单元或者所述终端设备时,根据所述汇聚单元或者所述终端设备的IP地址、以及所述上一跳物联网设备的IP地址,更新所述转发节点的路由转发表。
作为一种可选的实施方式,在本发明第一方面中,所述方法还包括:
所述转发节点在确定出所述数据报文不匹配所述路由指示信息时,判断所述路由转发表是否保存有所述终端设备的路由转发信息;
所述转发节点在确定出所述路由转发表保存有所述路由转发信息时,从所述路由转发表中删除所述路由转发信息。
作为一种可选的实施方式,在本发明第一方面中,所述方法还包括:
所述转发节点获取所述路由转发表的每一个路由转发信息的使用频率;
所述转发节点确定出所述使用频率小于预设频率值的目标路由转发信息,以及从所述路由转发表中删除所述目标路由转发信息。
本发明第二方面公开了一种应用于物联网的路由转发表更新系统,可包括:
汇聚单元,用于向转发节点下发路由指示信息,所述路由指示信息包括所述汇聚单元的感兴趣位置信息或者所述汇聚单元的感兴趣设备类型;
所述转发节点用于接收上一跳物联网设备发送的数据报文,所述数据报文携带终端设备的位置信息或者所述终端设备的设备类型;所述上一跳物联网设备为汇聚单元或者所述终端设备或者所述转发节点的上一跳转发节点;
所述转发节点还用于判断所述数据报文是否匹配所述路由指示信息;
所述转发节点还用于在确定出所述数据报文匹配所述路由指示信息时,从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点,所述路由指示信息与所述下一跳目标转发节点的路由指示信息相同;
所述转发节点还用于根据所述上一跳物联网设备的互联网协议地址IP地址和所述下一跳目标转发节点的IP地址,更新所述转发节点的路由转发表。
作为一种可选的实施方式,在本发明第二方面中,所述数据报文还携带有传输方向指示标识,所述转发节点还用于在确定出所述数据报文匹配所述路由指示信息之后,根据所述数据报文携带的所述传输方向指示标识,确定出所述转发节点邻近的下一跳物联网设备,所述下一跳物联网设备包括汇聚单元和/或所述转发节点邻近的所有下一跳转发节点、或者所述终端设备和/或所述转发节点邻近的所有下一跳转发节点;在确定出所述下一跳物联网设备仅包括所述转发节点邻近的所有下一跳转发节点时,将所述下一跳物联网设备包括的所述转发节点邻近的所有下一跳转发节点确定为所述转发节点邻近的所有下一跳转发节点,并执行从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点。
作为一种可选的实施方式,在本发明第二方面中,所述转发节点还用于在确定出所述下一跳物联网设备包括所述汇聚单元或者所述终端设备时,根据所述汇聚单元或者所述终端设备的IP地址、以及所述上一跳物联网设备的IP地址,更新所述转发节点的路由转发表。
作为一种可选的实施方式,在本发明第二方面中,所述转发节点还用于在确定出所述数据报文不匹配所述路由指示信息时,判断所述路由转发表是否保存有所述终端设备的路由转发信息;在确定出所述路由转发表保存有所述路由转发信息时,从所述路由转发表中删除所述路由转发信息。
作为一种可选的实施方式,在本发明第二方面中,所述转发节点还用于获取所述路由转发表的每一个路由转发信息的使用频率;确定出所述使用频率小于预设频率值的目标路由转发信息,以及从所述路由转发表中删除所述目标路由转发信息。
与现有技术相比,本发明实施例具有以下有益效果:
在本发明实施例中,汇聚单元通过向转发节点下发路由指示信息,该路由指示信息包括汇聚单元的感兴趣位置信息或者汇聚单元的感兴趣设备类型;之后,转发节点在接收到上一跳物联网设备发送的数据报文时,判断数据报文携带的终端设备的位置信息或者终端设备的设备类型是否匹配路由指示信息,如果匹配,转发节点从邻近的所有下一跳转发节点中确定出下一跳目标转发节点,其中,下一跳目标转发节点的路由指示信息与该转发节点的路由指示信息相同;之后,转发节点根据上一跳物联网设备的IP地址和下一跳目标转发节 点的IP地址,更新转发节点的路由转发表。可以看出,实施本发明实施例,能够建立符合汇聚单元的路由指示信息的路由转发表,只用于转发汇聚单元感兴趣的终端设备相关的数据报文(包括由汇聚单元感兴趣的终端设备上报的数据报文或者汇聚单元下发给这些终端设备的数据报文),实现针对性的数据转发,提高数据转发速率,满足汇聚单元对数据信息的筛选和收集的需求。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一些实施例公开的物联网架构示意图;
图2为本发明实施例公开的应用于物联网的路由转发表更新方法的流程示意图;
图3为本发明实施例公开的应用于物联网的路由转发表更新方法的另一流程示意图;
图4为本发明实施例公开的应用于物联网的路由转发表更新系统的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,本发明实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本发明实施例公开了一种应用于物联网的路由转发表更新方法,用于建立符合汇聚单元的路由指示信息的路由转发表,只用于转发汇聚单元感兴趣的终端设备相关的数据报文(包括由汇聚单元感兴趣的终端设备上报的数据报文或者汇聚单元下发给这些终端设备的数据报文),实现针对性的数据转发。本发明实施例还公开了一种应用于物联网的路由转发表更新系统。
在介绍本发明技术方案之前,先简单介绍本发明一些实施例公开的物联网 架构,图1为本发明一些实施例公开的物联网架构示意图,需要说明的是,图1仅为本发明一些实施例公开的物联网架构示意图,其它在图1基础上进行优化或者变形得到的示意图均属于本发明的保护范围,在此不再一一举例。物联网涉及的设备称之为物联网设备,物联网设备按照图1所示的物联网架构从功能上可以归类为三层:分别包括终端设备层、转发节点层以及汇聚单元层三个层。其中,终端设备层包括位于物联网边缘的海量终端设备,例如湿度计、烟感器、通风设备、雨量传感器、灌溉阀等等;转发节点层可以包括大量转发节点,这些大量的转发节点之间可以通过网络互联(图1未全部示出)。在转发节点层中,转发节点可以是路由器、中继器等各种中间设备,本发明实施例不作限定。汇聚单元层可以包括汇聚单元,其中,汇聚单元在这种物联网架构中用作物联网的人机接口,用于通过转发节点对整个物联网进行高层管理,包括收集某段时间内的海量终端设备上报的数据,对数据进行分析和决策,然后转化成为用户需要的简单预警、异常或者相关报告;汇聚单元还可以通过发指令去获取信息或者配置终端设备参数(此时数据的传输指向终端设备);汇聚单元还可以引入各种输入业务,从大数据到社交网络、甚至从社交工具“点赞”到天气分享等。另外,转发节点可以使用任何标准的组网协议,而且转发节点可以在不同的网络制式之间实现数据解析;在图1所示的物联网架构中,每一个转发节点可以为其自身无线网络所覆盖范围内的海量终端设备提供物联网数据收发服务,其中,每一个转发节点自身无线网络所覆盖范围内的每一个终端设备可以内置有无线通讯模块,这使得每一个转发节点可以通过无线网络通讯方式与自身无线网络所覆盖范围内的每一个终端设备进行无线通讯。在图1所示的物联网架构中,终端设备内置的无线通讯模块在生产时,可以输入上频点470MHz,下频点510MHz,这样无线通讯模块可以自动将通讯频段定义为470MHz~510MHz,以符合中国SRRC标准的规定;或者,也可以输入上频点868MHz,下频点908MHz,这样无线通讯模块可以自动将通讯频段定义为868MHz~908MHz,以符合欧洲ETSI标准的规定;或者,可以输入上频点918MHz,下频点928MHz,这样无线通讯模块可以自动将通讯频段定义为918MHz~928MHz,以符合美国FCC标准的规定;或者,无线通讯模块的通讯频段也可以定义为符合日本ARIB标准或加拿大IC标准的规定,本发明实施例不作限定。在图1所示的物联网架构中,终端设备可以采用频分复用(Frequency Division Multiple Access,FDMA)、跳频(Frequency-Hopping Spread Spectrum,FHSS)、动态时分复用(Dynamic Time Division Multiple Access,DTDMA)、退避复用(CSMA)相结合的方法来解决干扰问题。
从图1所示的物联网架构出发,下面将结合具体实施例,对本发明技术方案进行详细说明。
实施例一
请参阅图2,图2为本发明实施例公开的应用于物联网的路由转发表更新方法的流程示意图;如图2所示,一种应用于物联网的路由转发表更新方法可包括:
201、汇聚单元向转发节点下发路由指示信息,该路由指示信息包括汇聚单元的感兴趣位置信息或者汇聚单元的感兴趣设备类型;
可以理解,在本发明实施例中,汇聚单元可以指定其渴望与某些特定功能、时间段或者设备类型或者地理位置的终端设备进行通信,也就是说汇聚单元能够通过地理位置或者设备类型等,对终端设备上报的数据报文进行筛选和收集。因此,在本发明实施例中,汇聚单元将其感兴趣的终端设备的相应信息,比如上述提及的感兴趣位置信息或者感兴趣设备类型等,作为指示转发节点建立路由转发表的路由指示信息,并发送给转发节点。转发节点接收到路由指示信息后,更新原来的路由转发表,使得该路由转发表只用于转发汇聚单元感兴趣的终端设备相关的数据报文(包括由汇聚单元感兴趣的终端设备上报的数据报文或者汇聚单元下发给这些终端设备的数据报文)。举例来说,汇聚单元对在某四个县辖区监控所有农田的湿度传感器感兴趣,那么可以将四个县辖区的位置信息作为汇聚单元的感兴趣位置信息或者将湿度传感器作为汇聚单元的感兴趣设备类型。汇聚单元可以指示这四个县辖区的部分转发节点,用于优先将湿度传感器采集的数据信息上报给汇聚单元,汇聚单元将这四个县辖区位置信息或者湿度传感器的设备类型下发给转发节点,从而转发节点根据路由指示信息来新建和更新出相应的路由转发表,该理由转发表只用于转发这四个县辖区的湿度传感器发出的数据报文,以能够优先将汇聚单元感兴趣的湿度传感器采集的数据报文上报给汇聚单元。
作为一种可选的实施方式,汇聚单元可以采用跳频方式从传输频段中选择专用子载波信道,然后采用专用子载波信道向转发节点下发路由指示信息。
举例来说,专用子载波信道可以在100MHz~1GHz之间以跳频方式选择,选择出100MHz~1GHz之间的一个子载波信道作为下发路由指示信息的专用子载波信道。另外,专用子载波信道也可以根据信道的质量选择。
作为一种可选的实施方式,汇聚单元层还包括过滤网关,汇聚单元将路由指示信息发送给过滤网关,过滤网关将路由指示信息下发给转发节点。
进一步地,过滤网关在接收汇聚单元发送的路由指示信息后,可以采用跳频方式从传输频段中选择专用子载波信道,然后采用专用子载波信道向转发节点下发该路由指示信息。
202、转发节点接收上一跳物联网设备发送的数据报文,数据报文携带终端设备的位置信息或者终端设备的设备类型;上一跳物联网设备为汇聚单元或者终端设备或者转发节点的上一跳转发节点;
可以理解,这里的上一跳物联网设备具体是指直接与转发节点交互的物联 网设备,该物联网设备可以是终端设备或者汇聚单元或者其它转发节点。
203、转发节点判断数据报文是否匹配路由指示信息;
其中,转发节点判断数据报文是否匹配路由指示信息具体是指:转发节点判断数据报文携带的感兴趣位置信息或者感兴趣设备类型是否匹配路由指示信息。转发节点在确定数据报文匹配路由指示信息时,转向步骤204;转发节点在确定数据报文不匹配路由指示信息时,可以参阅实施例二中的具体介绍,在此不再赘述。
204、转发节点从邻近的所有下一跳转发节点中确定出下一跳目标转发节点,该路由指示信息与下一跳目标转发节点的路由指示信息相同;
需要说明的是,在本发明实施例中,基于转发节点的下一跳物联网设备均为转发节点,在将数据报文转发到终端设备或者汇聚单元时,转发节点可以考虑不同的下一跳转发节点。但在本发明实施例中,转发节点需要从众多的下一跳转发节点中选择出路径最优、且下一跳转发节点路由指示信息匹配其路由指示信息的下一跳目标转发节点。
205、转发节点根据上一跳物联网设备的IP地址和下一跳目标转发节点的IP地址,更新转发节点的路由转发表。
作为一种可选的实施方式,在实施上述实施例的过程中,转发节点获取路由转发表的每一个路由转发信息的使用频率;转发节点确定出使用频率小于预设频率值的目标路由转发信息,以及从路由转发表中删除目标路由转发信息。在该实施方式中,转发节点还可以周期地检测路由转发表中的路由转发信息的使用频率,确定出使用频率小于预设频率值的目标路由转发信息,可以将目标路由转发信息从路由转发表中删除,从而及时更新路由转发表,删除过时的路由转发信息,避免路由转发表过大,占用内存。
在本发明实施例中,汇聚单元通过向转发节点下发路由指示信息,该路由指示信息包括汇聚单元的感兴趣位置信息或者汇聚单元的感兴趣设备类型;之后,转发节点在接收到上一跳物联网设备发送的数据报文时,判断数据报文携带的终端设备的位置信息或者终端设备的设备类型是否匹配路由指示信息,如果匹配,转发节点从邻近的所有下一跳转发节点中确定出下一跳目标转发节点,其中,下一跳目标转发节点的路由指示信息与该转发节点的路由指示信息相同;之后,转发节点根据上一跳物联网设备的IP地址和下一跳目标转发节点的IP地址,更新转发节点的路由转发表。可以看出,能够建立符合汇聚单元的路由指示信息的路由转发表,只用于转发汇聚单元感兴趣的终端设备相关的数据报文(包括由汇聚单元感兴趣的终端设备上报的数据报文或者汇聚单元下发给这些终端设备的数据报文),实现针对性的数据转发,提高数据转发速率,满足汇聚单元对数据信息的筛选和收集的需求。
实施例二
请参阅图3,图3为本发明实施例公开的应用于物联网的路由转发表更新方法的另一流程示意图;如图3所示,一种应用于物联网的路由转发表更新方法可包括:
301、汇聚单元向转发节点下发路由指示信息,该路由指示信息包括汇聚单元的感兴趣位置信息或者汇聚单元的感兴趣设备类型;
302、转发节点接收上一跳物联网设备发送的数据报文,数据报文携带终端设备的位置信息或者终端设备的设备类型、以及传输方向指示标识;上一跳物联网设备为汇聚单元或者终端设备或者转发节点的上一跳转发节点;
其中,数据报文中还携带有传输方向指示标识,该传输方向指示标识用于指示该数据报文发送给终端设备或者指示该数据报文发送给汇聚单元。
303、转发节点判断数据报文是否匹配路由指示信息;
其中,转发节点在确定出数据报文匹配路由指示信息时,转向步骤304;转发节点在确定出数据报文不匹配路由指示信息时,转向步骤308。
304、转发节点根据数据报文携带的传输方向指示标识,确定出转发节点邻近的下一跳物联网设备,下一跳物联网设备包括汇聚单元和/或转发节点邻近的所有下一跳转发节点、或者终端设备和/或转发节点邻近的所有下一跳转发节点;
305、转发节点在确定出下一跳物联网设备仅包括转发节点邻近的所有下一跳转发节点时,将下一跳物联网设备包括的转发节点邻近的所有下一跳转发节点确定为转发节点邻近的所有下一跳转发节点;
作为一种可选的实施方式,转发节点在确定出下一跳物联网设备包括汇聚单元或者终端设备时,根据汇聚单元或者终端设备的IP地址、以及上一跳物联网设备的IP地址,更新转发节点的路由转发表。在该实施方式中,如果下一跳物联网设备包括有汇聚单元或者终端设备,那么说明,转发节点可以直接与汇聚单元或者终端设备通信,将数据报文转发给汇聚单元或者终端设备,无需再经过其它转发节点,能够缩短传输路径,提高传输速率。
306、转发节点从邻近的所有下一跳转发节点中确定出下一跳目标转发节点,路由指示信息与下一跳目标转发节点的路由指示信息相同;
307、转发节点根据上一跳物联网设备的互联网协议地址IP地址和下一跳目标转发节点的IP地址,更新转发节点的路由转发表;
308、转发节点判断路由转发表是否保存有该终端设备的路由转发信息;
其中,转发节点在确定出路由转发表保存有该终端设备的路由转发信息时,转向步骤309;转发节点在确定出路由转发表没有保存该终端设备的路由转发信息时,结束流程。
309、转发节点从路由转发表中删除该终端设备的路由转发信息。
在本发明实施例中,转发节点在接收到数据报文时,如果数据报文携带的 终端设备的位置信息或者终端设备的设备类型匹配路由指示信息,进一步确定转发节点的下一跳物联网设备,如果下一跳物联网设备只有转发节点,该转发节点将从下一跳转发节点中确定出路由指示信息与其理由指示信息相匹配的下一跳目标转发节点,然后根据上一跳物联网设备的IP地址和下一跳目标转发节点的IP地址更新路由转发表;如果下一跳物联网设备包括有汇聚单元或者终端设备,转发节点根据上一跳物联网设备的IP地址和汇聚单元或者终端设备的IP地址更新路由转发表,使得更新后的路由转发表只用于转发汇聚单元感兴趣的终端设备相关的数据报文(包括由汇聚单元感兴趣的终端设备上报的数据报文或者汇聚单元下发给这些终端设备的数据报文),实现针对性的数据转发。
实施例三
请参阅图4,图4为本发明实施例公开的应用于物联网的路由转发表更新系统的结构示意图;如图4所示,一种应用于物联网的路由转发表更新系统可包括:
汇聚单元410,用于向转发节点420下发路由指示信息,路由指示信息包括汇聚单元410的感兴趣位置信息或者汇聚单元410的感兴趣设备类型;
转发节点420用于接收上一跳物联网设备发送的数据报文,数据报文携带终端设备430的位置信息或者终端设备430的设备类型;上一跳物联网设备为汇聚单元410或者终端设备430或者转发节点420的上一跳转发节点;
转发节点420还用于判断数据报文是否匹配路由指示信息;
转发节点420还用于在确定出数据报文匹配路由指示信息时,从转发节点420邻近的所有下一跳转发节点中确定出下一跳目标转发节点,路由指示信息与下一跳目标转发节点的路由指示信息相同;
转发节点420还用于根据上一跳物联网设备的互联网协议地址IP地址和下一跳目标转发节点、的IP地址,更新转发节点420的路由转发表。
具体地,汇聚单元410可以采用跳频方式从传输频段中选择专用子载波信道,然后采用专用子载波信道向转发节点420下发路由指示信息。
举例来说,专用子载波信道可以在100MHz~1GHz之间以跳频方式选择,选择出100MHz~1GHz之间的一个子载波信道作为下发路由指示信息的专用子载波信道。另外,专用子载波信道也可以根据信道的质量选择。
作为一种可选的实施方式,汇聚单元层还包括过滤网关,汇聚单元410将路由指示信息发送给过滤网关,过滤网关将路由指示信息下发给转发节点420。
进一步地,过滤网关在接收汇聚单元410发送的路由指示信息后,可以采用跳频方式从传输频段中选择专用子载波信道,然后采用专用子载波信道向转发节点420下发该路由指示信息。
具体地,转发节点420判断数据报文是否匹配路由指示信息具体是指:转发节点420判断数据报文携带的感兴趣位置信息或者感兴趣设备类型是否匹配路由指示信息。
作为一种可选的实施方式,数据报文还携带有传输方向指示标识,转发节点420还用于在确定出数据报文匹配路由指示信息之后,根据数据报文携带的传输方向指示标识,确定出转发节点420邻近的下一跳物联网设备,下一跳物联网设备包括汇聚单元410和/或转发节点420邻近的所有下一跳转发节点、或者终端设备430和/或转发节点420邻近的所有下一跳转发节点;在确定出下一跳物联网设备仅包括转发节点420邻近的所有下一跳转发节点时,将下一跳物联网设备包括的转发节点420邻近的所有下一跳转发节点确定为转发节点420邻近的所有下一跳转发节点,并执行从转发节点420邻近的所有下一跳转发节点中确定出下一跳目标转发节点的步骤。
作为一种可选的实施方式,转发节点420还用于在确定出下一跳物联网设备包括汇聚单元410或者终端设备430时,根据汇聚单元410或者终端设备430的IP地址、以及上一跳物联网设备的IP地址,更新转发节点420的路由转发表。
作为一种可选的实施方式,转发节点420还用于在确定出数据报文不匹配路由指示信息时,判断路由转发表是否保存有终端设备430的路由转发信息;在确定出路由转发表保存有路由转发信息时,从路由转发表中删除路由转发信息。
作为一种可选的实施方式,转发节点420还用于获取路由转发表的每一个路由转发信息的使用频率;确定出使用频率小于预设频率值的目标路由转发信息,以及从路由转发表中删除目标路由转发信息。在该实施方式中,转发节点420还可以周期地检测路由转发表中的路由转发信息的使用频率,确定出使用频率小于预设频率值的目标路由转发信息,可以将目标路由转发信息从路由转发表中删除,从而及时更新路由转发表,删除过时的路由转发信息,避免路由转发表过大,占用内存。
在本发明中,转发节点420在接收到数据报文时,如果数据报文携带的终端设备430的位置信息或者终端设备430的设备类型匹配路由指示信息,进一步确定转发节点420的下一跳物联网设备,如果下一跳物联网设备只有转发节点420,该转发节点420将从下一跳转发节点中确定出路由指示信息与其理由指示信息相匹配的下一跳目标转发节点,然后根据上一跳物联网设备的IP地址和下一跳目标转发节点的IP地址更新路由转发表;如果下一跳物联网设备包括有汇聚单元410或者终端设备430,转发节点420根据上一跳物联网设备的IP地址和汇聚单元410或者终端设备430的IP地址更新路由转发表,使得更新后的路由转发表只用于转发汇聚单元410感兴趣的终端设备430相关的数 据报文(包括由汇聚单元410感兴趣的终端设备430上报的数据报文或者汇聚单元410下发给这些终端设备430的数据报文)。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。
以上对本发明实施例公开的一种应用于物联网的路由转发表更新方法及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (10)

  1. 一种应用于物联网的路由转发表更新方法,其特征在于,包括:
    汇聚单元向转发节点下发路由指示信息,所述路由指示信息包括所述汇聚单元的感兴趣位置信息或者所述汇聚单元的感兴趣设备类型;
    所述转发节点接收上一跳物联网设备发送的数据报文,所述数据报文携带终端设备的位置信息或者所述终端设备的设备类型;所述上一跳物联网设备为汇聚单元或者所述终端设备或者所述转发节点的上一跳转发节点;
    所述转发节点判断所述数据报文是否匹配所述路由指示信息;
    所述转发节点在确定出所述数据报文匹配所述路由指示信息时,从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点,所述路由指示信息与所述下一跳目标转发节点的路由指示信息相同;
    所述转发节点根据所述上一跳物联网设备的互联网协议地址IP地址和所述下一跳目标转发节点的IP地址,更新所述转发节点的路由转发表。
  2. 根据权利要求1所述的方法,其特征在于,所述数据报文还携带有传输方向指示标识,所述转发节点在确定出所述数据报文匹配所述路由指示信息之后,以及从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点之前,所述方法还包括:
    所述转发节点根据所述数据报文携带的所述传输方向指示标识,确定出所述转发节点邻近的下一跳物联网设备,所述下一跳物联网设备包括汇聚单元和/或所述转发节点邻近的所有下一跳转发节点、或者所述终端设备和/或所述转发节点邻近的所有下一跳转发节点;
    所述转发节点在确定出所述下一跳物联网设备仅包括所述转发节点邻近的所有下一跳转发节点时,将所述下一跳物联网设备包括的所述转发节点邻近的所有下一跳转发节点确定为所述转发节点邻近的所有下一跳转发节点,执行从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点的步骤。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    所述转发节点在确定出所述下一跳物联网设备包括所述汇聚单元或者所述终端设备时,根据所述汇聚单元或者所述终端设备的IP地址、以及所述上一跳物联网设备的IP地址,更新所述转发节点的路由转发表。
  4. 根据权利要求1~3任一项所述的方法,其特征在于,所述方法还包括:
    所述转发节点在确定出所述数据报文不匹配所述路由指示信息时,判断所述路由转发表是否保存有所述终端设备的路由转发信息;
    所述转发节点在确定出所述路由转发表保存有所述路由转发信息时,从所述路由转发表中删除所述路由转发信息。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述转发节点获取所述路由转发表的每一个路由转发信息的使用频率;
    所述转发节点确定出所述使用频率小于预设频率值的目标路由转发信息,以及从所述路由转发表中删除所述目标路由转发信息。
  6. 一种应用于物联网的路由转发表更新系统,其特征在于,包括:
    汇聚单元,用于向转发节点下发路由指示信息,所述路由指示信息包括所述汇聚单元的感兴趣位置信息或者所述汇聚单元的感兴趣设备类型;
    所述转发节点用于接收上一跳物联网设备发送的数据报文,所述数据报文携带终端设备的位置信息或者所述终端设备的设备类型;所述上一跳物联网设备为汇聚单元或者所述终端设备或者所述转发节点的上一跳转发节点;
    所述转发节点还用于判断所述数据报文是否匹配所述路由指示信息;
    所述转发节点还用于在确定出所述数据报文匹配所述路由指示信息时,从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点,所述路由指示信息与所述下一跳目标转发节点的路由指示信息相同;
    所述转发节点还用于根据所述上一跳物联网设备的互联网协议地址IP地址和所述下一跳目标转发节点的IP地址,更新所述转发节点的路由转发表。
  7. 根据权利要求6所述的系统,其特征在于,所述数据报文还携带有传输方向指示标识,所述转发节点还用于在确定出所述数据报文匹配所述路由指示信息之后,根据所述数据报文携带的所述传输方向指示标识,确定出所述转发节点邻近的下一跳物联网设备,所述下一跳物联网设备包括汇聚单元和/或所述转发节点邻近的所有下一跳转发节点、或者所述终端设备和/或所述转发节点邻近的所有下一跳转发节点;在确定出所述下一跳物联网设备仅包括所述转发节点邻近的所有下一跳转发节点时,将所述下一跳物联网设备包括的所述转发节点邻近的所有下一跳转发节点确定为所述转发节点邻近的所有下一跳转发节点,并执行从所述转发节点邻近的所有下一跳转发节点中确定出下一跳目标转发节点。
  8. 根据权利要求7所述的系统,其特征在于:
    所述转发节点还用于在确定出所述下一跳物联网设备包括所述汇聚单元或者所述终端设备时,根据所述汇聚单元或者所述终端设备的IP地址、以及所述上一跳物联网设备的IP地址,更新所述转发节点的路由转发表。
  9. 根据权利要求6~8任一项所述的系统,其特征在于:
    所述转发节点还用于在确定出所述数据报文不匹配所述路由指示信息时,判断所述路由转发表是否保存有所述终端设备的路由转发信息;在确定出所述路由转发表保存有所述路由转发信息时,从所述路由转发表中删除所述路由转发信息。
  10. 根据权利要求6所述的系统,其特征在于:
    所述转发节点还用于获取所述路由转发表的每一个路由转发信息的使用 频率;确定出所述使用频率小于预设频率值的目标路由转发信息,以及从所述路由转发表中删除所述目标路由转发信息。
PCT/CN2017/098496 2017-06-19 2017-08-22 一种应用于物联网的路由转发表更新方法及系统 WO2018232960A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710463153.3A CN107370678B (zh) 2017-06-19 2017-06-19 一种应用于物联网的路由转发表更新方法及系统
CN201710463153.3 2017-06-19

Publications (1)

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

Family

ID=60305381

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098496 WO2018232960A1 (zh) 2017-06-19 2017-08-22 一种应用于物联网的路由转发表更新方法及系统

Country Status (2)

Country Link
CN (1) CN107370678B (zh)
WO (1) WO2018232960A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002153A (zh) * 2022-05-24 2022-09-02 天津大学 基于物联网的新型配电系统通信方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827417A (zh) * 2010-04-23 2010-09-08 南京邮电大学 基于物联网区分服务的路由选择方法
US7936764B1 (en) * 2008-04-09 2011-05-03 Extreme Networks, Inc. Method for optimizing IP route table size through IP route aggregation
CN102158876A (zh) * 2010-12-30 2011-08-17 北京林业大学 一种基于物联网的监测方法及系统
CN103391245A (zh) * 2013-07-18 2013-11-13 中国人民解放军信息工程大学 网络域内构建多态路由的方法、装置及路由器

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010057192A1 (en) * 2008-11-17 2010-05-20 Amazon Technologies, Inc. Request routing and updating routing information utilizing client location information
CN102833151B (zh) * 2012-07-02 2015-07-08 上海交通大学 基于内容覆盖和反馈机制的用户个性化优先级路由方法
CN103841018B (zh) * 2012-11-26 2017-04-19 华为技术有限公司 一种基于内容网多端口的转发方法及路由器
CN104158736B (zh) * 2013-05-15 2017-12-22 华为技术有限公司 一种确定下一跳、发布路由信息的方法和装置
US9876711B2 (en) * 2013-11-05 2018-01-23 Cisco Technology, Inc. Source address translation in overlay networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7936764B1 (en) * 2008-04-09 2011-05-03 Extreme Networks, Inc. Method for optimizing IP route table size through IP route aggregation
CN101827417A (zh) * 2010-04-23 2010-09-08 南京邮电大学 基于物联网区分服务的路由选择方法
CN102158876A (zh) * 2010-12-30 2011-08-17 北京林业大学 一种基于物联网的监测方法及系统
CN103391245A (zh) * 2013-07-18 2013-11-13 中国人民解放军信息工程大学 网络域内构建多态路由的方法、装置及路由器

Also Published As

Publication number Publication date
CN107370678A (zh) 2017-11-21
CN107370678B (zh) 2020-04-14

Similar Documents

Publication Publication Date Title
CN1855867B (zh) 用于在无线网格网络中分发移动站信息的方法和设备
WO2016015379A1 (zh) 基于终端直连通信的中继选择的路由方法和路由方法
JP2017517906A (ja) サブネット間のリンクの確立
JP6290439B2 (ja) アクセスポイント開始型ネイバー報告要求
CN107018516A (zh) 用于毫微微基站的回程网络
WO2017113238A1 (zh) 一种建立路由表的方法、电子设备及网络
US20170094552A1 (en) Apparatus and method for configuring dns of mobile device, and storage medium
CN104968032A (zh) 一种mp节点进网方法、mp节点及mpp节点
WO2018233018A1 (zh) 一种基于终端设备优先级的数据上报控制方法及系统
WO2018233020A1 (zh) 一种基于物联网的数据封装方法及系统
WO2018233036A1 (zh) 一种物联网数据的上报控制方法及设备
CN110831104A (zh) 一种线型拓扑无线自组网网络路由方法
JP2013223184A (ja) 管理装置及び通信システム
WO2018232972A1 (zh) 一种同步物联网接入节点与汇聚单元时间的方法及系统
WO2018232960A1 (zh) 一种应用于物联网的路由转发表更新方法及系统
CN107197443B (zh) 一种基于物联网的数据传输控制方法及系统
CN107360097B (zh) 一种结合汇聚单元信息的物联网路由表更新方法及系统
CN110445720A (zh) 路由表更新方法、装置、飞行器及存储介质
WO2018233049A1 (zh) 一种物联网数据通信方法及系统
WO2018232964A1 (zh) 一种控制边缘路由节点更新路由信息表的方法及设备
WO2018232965A1 (zh) 一种基于被监测设备更新路由信息表的方法及设备
WO2018233028A1 (zh) 一种物联网数据上报控制方法及系统
WO2018233044A1 (zh) 一种基于过滤网关的物联网数据过滤方法及系统
WO2018233042A1 (zh) 一种基于地理位置和时间的数据上报方法及系统
WO2018233032A1 (zh) 一种物联网数据的上报控制方法及系统

Legal Events

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

Ref document number: 17914188

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 23/06/2020 )

122 Ep: pct application non-entry in european phase

Ref document number: 17914188

Country of ref document: EP

Kind code of ref document: A1