WO2018233027A1 - Method and device for selecting forwarding path for data reporting in internet of things - Google Patents

Method and device for selecting forwarding path for data reporting in internet of things Download PDF

Info

Publication number
WO2018233027A1
WO2018233027A1 PCT/CN2017/099659 CN2017099659W WO2018233027A1 WO 2018233027 A1 WO2018233027 A1 WO 2018233027A1 CN 2017099659 W CN2017099659 W CN 2017099659W WO 2018233027 A1 WO2018233027 A1 WO 2018233027A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
internet
things
reporting
access node
Prior art date
Application number
PCT/CN2017/099659
Other languages
French (fr)
Chinese (zh)
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 WO2018233027A1 publication Critical patent/WO2018233027A1/en

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/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to a method and a device for selecting a forwarding path for data reporting in an Internet of Things.
  • the Internet of Things refers to an intelligent integrated system that provides information services as the main task, information processing as the main task, network as the interaction carrier, information exchange between objects and objects, and objects.
  • IoT Internet of Things
  • the aggregation unit can collect a large number of terminal devices (such as hygrometers, smoke detectors, IoT data reported by ventilation equipment, rainfall sensors, irrigation valves, etc. are analyzed and decided, so that people can provide relevant reports such as warnings and anomalies. It can be seen that the aggregation unit receives the IoT data required in a timely and complete manner. important. In practical applications, the forwarding path of the reported IoT data may be faulty, which reduces the reliability of the IoT data that the aggregation unit successfully receives and reports low frequency.
  • the embodiment of the invention discloses a method and a device for selecting a forwarding path for data reporting in the Internet of Things, which can improve the reliability of the IoT data that the aggregation unit receives and reports low frequency.
  • the first aspect of the embodiment of the present invention discloses a method for selecting a forwarding path for data reporting in the Internet of Things, the method comprising:
  • the IoT access node receives and stores a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node is interested in the aggregation unit and reports a frequency lower than a preset reporting frequency.
  • the Internet of Things data selects a double forwarding path for reporting;
  • the IoT access node detects the Internet of Things data initiated by the mass terminal device in the wireless coverage area, and identifies whether the target Internet of Things indicated by the data reporting indication message exists in all the Internet of Things data detected by the IoT access node. data;
  • the IoT access node selects two forwarding paths from the preset collar routing information table, where the two forwarding paths Including a primary forwarding path and a secondary forwarding path;
  • the IoT access node encapsulates all the IoT data into data elements, and reports the data elements to the aggregation unit through the primary forwarding path, and determines that the primary forwarding path is passed If the data element is successfully reported, the data element is reported to the aggregation unit through the secondary forwarding path when it is determined that the data element is not successfully reported.
  • the determining, by the IoT access node, whether the data forwarding element is successfully reported by the primary forwarding path includes:
  • the IoT access node determines whether the all the Internet of Things data sent by the aggregation unit is sent in the preset time period after the data element is reported to the aggregation unit by the primary forwarding path.
  • the decision indication of the at least one terminal device of the mass terminal device determines that the data element is not successfully reported through the primary forwarding path when the determination result is no.
  • the Internet of Things access node is from a preset collar. Before the two forwarding paths are selected in the area routing information table, the method further includes:
  • the IoT access node determines, according to the preset territorial routing information, whether there are at least two forwarding paths that are in a non-dormant state in the current time period, and determines that at least two of the non-sleep states exist in the current time period.
  • the operation of selecting the two forwarding paths from the preset routing information table is triggered;
  • the IoT access node selects two forwarding paths from the preset routing information table, including:
  • the IoT access node determines, according to the preset collar routing information table, at least two forwarding paths that are in the non-dormant state during the current time period, and selects a reporting load from the at least two forwarding paths. The smallest two forwarding paths.
  • the Internet of Things data initiated by each terminal device in the mass terminal device includes data content and a device type of the terminal device, and the data reporting indication The message is specifically used to indicate that the IoT access node reports a dual forwarding path for the target Internet data that is reported by the terminal device of the target device type that is of interest to the aggregation unit and that reports a lower frequency than the preset reporting frequency;
  • the IoT access node identifies whether the target Internet of Things data indicated by the data report indication message exists in all the Internet of Things data detected by the IoT access node, including:
  • the IoT access node identifies, in all the Internet of Things data detected by the device, whether the terminal device of the target device type indicated by the data reporting indication message is reported and the reported frequency is lower than the preset reporting frequency.
  • the target internet data The target internet data.
  • the method before the IoT access node encapsulates the all the Internet of Things data into a data element, the method further includes:
  • the IoT access node counts the number of target terminal devices in the mass terminal device whose device type is the target device type and reports a frequency lower than the preset reporting frequency, and determines the Whether the number of the target terminal devices reaches a preset number threshold, and when the number of the target terminal devices reaches the preset number threshold, the operation of encapsulating the all Internet of Things data into data elements is triggered.
  • the second aspect of the embodiment of the present invention discloses an Internet of Things access node, where the Internet of Things access node includes a communication unit, a storage unit, a detecting unit, an identifying unit, a selecting unit, a packaging unit, and a determining unit, where:
  • the communication unit is configured to receive a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node is interested in the aggregation unit and reports a target whose frequency is lower than a preset reporting frequency.
  • the Internet of Things data selects a double forwarding path for reporting;
  • the storage unit is configured to store the data report indication message
  • the detecting unit is configured to detect Internet of Things data initiated by a mass terminal device in a wireless coverage area thereof;
  • the identifying unit is configured to identify whether the target Internet of Things data indicated by the data reporting indication message exists in all the Internet of Things data detected by the detecting unit;
  • the selecting unit is configured to: when the identifying unit identifies that the target Internet of Things data exists in the all Internet of Things data, select two forwarding paths from the preset collar routing information table, where the The two forwarding paths include a primary forwarding path and a secondary forwarding path.
  • the encapsulating unit is configured to encapsulate the all Internet of Things data into data elements
  • the communication unit is further configured to report the data element to the aggregation unit by using the primary forwarding path;
  • the determining unit is configured to determine whether the data element is successfully reported by the primary forwarding path
  • the communication unit is further configured to report the data element to the aggregation unit by using the secondary forwarding path when the determining unit determines that the data element is not successfully reported.
  • the determining, by the determining unit, whether the data forwarding element is successfully reported by the primary forwarding path is:
  • the decision indication of the at least one terminal device determines that the data element is not successfully reported through the primary forwarding path when the determination result is no.
  • the determining unit is further configured to: after the identifying unit identifies that the target Internet of Things data exists in the all Internet of Things data, and Before the selecting unit selects two forwarding paths from the preset routing information table, determining, according to the preset routing information, whether there are at least two forwarding paths in the non-sleep state in the current period, when determining Having at least the sleep state in the current time period When two forwarding paths are triggered, the selecting unit is triggered to perform the operation of selecting two forwarding paths from the preset collar routing information table;
  • the specific manner in which the selecting unit selects two forwarding paths from the preset routing information table is:
  • the Internet of Things data initiated by each terminal device in the mass terminal device includes data content and a device type of the terminal device, and the data reporting indication The message is specifically used to indicate that the IoT access node reports a dual forwarding path for the target Internet data that is reported by the terminal device of the target device type that is of interest to the aggregation unit and that reports a lower frequency than the preset reporting frequency;
  • the specific manner of the identification unit identifying whether the target Internet of Things data indicated by the data report indication message exists in all the Internet of Things data detected by the identification unit is:
  • the Internet of Things access node further includes a statistics unit, where:
  • the statistic unit is configured to: before the encapsulating unit encapsulates the all the Internet of Things data into a data element, the device type of the mass terminal device is the target device type, and the reporting frequency is lower than the preset report The number of target terminal devices of the frequency;
  • the determining unit is further configured to determine whether the number of the target terminal devices reaches a preset number threshold, and when the number of the target terminal devices reaches the preset number threshold, triggering the encapsulating unit to execute the The operation of all IoT data encapsulated into data elements.
  • the embodiment of the invention has the following beneficial effects:
  • the IoT access node receives the data report indication message sent by the filtering gateway, and stores the data report indication message, where the data report indication message is used to indicate that the IoT access node is interested in the aggregation unit and reports the frequency.
  • the target Internet of Things data below the preset reporting frequency selects the dual forwarding path for reporting, and the IoT access node detects the Internet of Things data initiated by the mass terminal devices within its wireless coverage and identifies all the Internet of Things data detected by it. Whether there is target IoT data indicated by the data reporting indication message, and when the target Internet of Things data exists in all IoT data, the IoT access node selects two forwarding paths from the preset collar routing information table.
  • the node encapsulates all the IoT data into a data element, and reports the data element to the aggregation unit through the primary forwarding path, and determines whether the data element is successfully reported by the primary forwarding path, and when it is determined that the data element is not successfully reported. And reporting the data element to the aggregation unit by using the secondary forwarding path.
  • the embodiment of the present invention can report the dual forwarding path of the IoT data that is of interest to the aggregation unit and is reported at a lower frequency, and improves the reliability of the IoT data that the aggregation unit receives and reports the lower frequency.
  • 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 selecting a forwarding path for data reporting in an Internet of Things according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for selecting a forwarding path for data reporting in another Internet of Things according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of an Internet of Things access node according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another Internet of Things access node according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a system for selecting a forwarding path for data reporting in an Internet of Things according to an embodiment of the present invention.
  • the embodiment of the invention discloses a method and a device for selecting a forwarding path for data reporting in the Internet of Things, which can select a dual forwarding path for reporting the IoT data of a lower aggregation frequency and a higher reporting frequency, and improve the receiving of the aggregation unit. It requires and reports the reliability of IoT data with low frequency. The details are described below separately.
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed in an embodiment of the present invention.
  • the IoT architecture may include three layers of a terminal device layer, an Internet of Things access node layer, and an aggregation layer according to functions.
  • the terminal equipment layer can include massive scale Terminal equipment, such as hygrometers, smoke detectors, ventilation equipment, rainfall sensors, irrigation valves, etc.;
  • IoT access node layer may include a large number of IoT access nodes connected by networks, and IoT access nodes may include routers
  • the device, the repeater, the access point, and the like are not limited in the embodiment of the present invention;
  • the Internet of Things access node can use any standard networking protocol, and the Internet of Things access node can implement data analysis between different network standards;
  • the aggregation layer may include a filtering gateway and a convergence unit, wherein the filtering gateway may directly or indirectly communicate with each IoT access node of the Internet of Things access node layer through the Internet; the aggregation unit may filter the gateway to the Internet of Things access node layer
  • Each IoT access node performs high-level management to control data transmission frequency, network topology and other networking functions; the aggregation unit can not only analyze and make decisions on IoT data generated
  • each IoT access node can provide IoT data receiving and receiving services for massive terminal devices within its own wireless coverage, where each IoT access node has its own wireless coverage.
  • Each terminal device can have a built-in wireless communication module, which enables each IoT access node to communicate wirelessly with each terminal device within its own wireless coverage by wireless network communication.
  • the wireless communication module built into the terminal device can input the upper frequency point 470MHz and the lower frequency point 510MHz during production, so that the wireless communication module can automatically define the communication frequency band as 470MHz ⁇ 510MHz, It complies with the provisions of China's SRRC standard; alternatively, it can input the upper frequency point of 868MHz and the lower frequency point of 908MHz, so that the wireless communication module can automatically define the communication frequency band as 868MHz to 908MHz to comply with the European ETSI standard; or, you can enter The frequency is 918MHz and the lower frequency is 928MHz, so the wireless communication module can automatically define the communication frequency band as 918MHz ⁇ 928MHz to meet the requirements of the US FCC standard.
  • the communication frequency band of the wireless communication module can also be defined as conforming to the Japanese ARIB standard or Canada.
  • the specification of the IC standard is not limited in the embodiment of the present invention.
  • the terminal device can use Frequency Division Multiple Access (FDMA), Frequency-Hopping Spread Spectrum (FHSS), and Dynamic Time Division Multiple Access (Dynamic Time Division Multiple Access). , DTDMA), and backtracking multiplexing (CSMA) are combined to solve the interference problem.
  • FDMA Frequency Division Multiple Access
  • FHSS Frequency-Hopping Spread Spectrum
  • CSMA Dynamic Time Division Multiple Access
  • FIG. 2 is a schematic flowchart of a method for selecting a forwarding path for data reporting in an Internet of Things according to an embodiment of the present invention.
  • the method for selecting a forwarding path for data reporting in the Internet of Things may include the following operations:
  • the IoT access node receives the data report indication message sent by the filtering gateway, and stores the The data reporting indication message is used to indicate that the IoT access node selects a dual forwarding path for the target Internet of Things data that is interested in the aggregation unit and has a lower reporting frequency than the preset reporting frequency.
  • the target Internet of Things data that is interested in the aggregation unit may be the Internet of Things data reported by the terminal device that is interested in the aggregation unit, or may be the Internet of Things data reported by the terminal device in the geographic location where the convergence unit is interested. It may also be the Internet of Things data including the data content of the convergence unit, and may also be the Internet of Things data of the data content of the convergence unit reported by the terminal device interested in the aggregation unit in the geographic location of interest of the aggregation unit,
  • the embodiments of the invention are not limited.
  • the data reporting indication message sent by the IoT access node to the filtering gateway includes:
  • the IoT access node sends a data report indication message acquisition request including the identity of the IoT access node to the filtering gateway to trigger the filtering gateway to verify whether the IoT access node is based on the identity of the IoT access node.
  • the IoT access node receives the data report indication message acquisition response sent by the filtering gateway, where the data report indication message acquisition response includes a data report indication message.
  • the Internet of Things access node detects the Internet of Things data initiated by the mass terminal device in the wireless coverage area, and identifies whether the target Internet of Things data indicated by the data reporting indication message exists in all the Internet of Things data detected by the Internet of Things.
  • the step 203 when it is recognized that the target Internet of Things data exists in all the Internet of Things data, the step 203 is triggered; when the target Internet of Things data is not found in all the Internet of Things data, the Internet of Things access
  • the node may filter all the Internet of Things data, or encapsulate all the IoT data into data elements, and report the data elements to the aggregation unit through a randomly selected forwarding path.
  • the IoT access node selects two forwarding paths from the preset collar routing information table, where the two forwarding paths include a primary forwarding path and Secondary forwarding path.
  • the Internet of Things access node encapsulates all the Internet of Things data into data elements, and reports the data elements to the aggregation unit through the primary forwarding path.
  • the reporting, by the IoT access node, the data element to the aggregation unit by using the primary forwarding path may include:
  • the IoT access node determines whether the current time is in the time period specified by the aggregation unit to allow the IoT access node to report the data element. When the determination result is yes, the data element is reported to the aggregation unit through the primary forwarding path.
  • the IoT access node determines whether the foregoing data is successfully reported by using the foregoing primary forwarding path.
  • the element when it is determined that the data element is not successfully reported, reports the data element to the aggregation unit through the secondary forwarding path.
  • the determining, by the IoT access node, whether the data element is successfully reported by using the foregoing primary forwarding path may include:
  • the IoT access node determines whether at least one terminal device of the mass terminal device for reporting all the IoT data sent by the aggregation unit is received in the preset time period after the data element is reported to the aggregation unit by using the foregoing primary forwarding path. If the determination result is no, it is determined that the data element is not successfully reported through the primary forwarding path; when the determination result is yes, it is determined that the data element is successfully reported through the primary forwarding path, and the process can be ended.
  • the Internet of Things is selected after identifying the target Internet of Things data in all the Internet of Things data and before selecting two forwarding paths from the preset routing information table.
  • the method for reporting data on the forwarding path may also include the following operations:
  • the IoT access node determines, according to the preset territorial routing information, whether there are at least two forwarding paths in the non-sleep state in the current time period, and when it is determined that there are at least two forwarding paths in the non-sleep state in the current time period, triggering Perform the above operation of selecting two forwarding paths from the preset collar routing information table.
  • the selecting, by the IoT access node, the two forwarding paths from the preset routing information table may include:
  • the Internet of Things access node determines at least two forwarding paths that are not in the dormant state in the current time period according to the preset territorial routing information table, and selects two of the at least two forwarding paths that have the lowest reported load or the highest priority. Strip forwarding path.
  • the minimum reporting load or the highest priority forwarding path is the primary forwarding path, and the secondary reporting load or the next highest priority forwarding path is the secondary forwarding path.
  • the method for selecting a forwarding path for data reporting in the Internet of Things described in FIG. 2 can select two forwarding paths for the IoT data that are of interest to the aggregation unit and report the lower frequency, wherein one forwarding path is used as the primary forwarding path, and A forwarding path is used as the secondary forwarding path.
  • the primary forwarding path fails to be reported, the secondary forwarding path is reported. This improves the reliability of the aggregation unit receiving the IoT data that is of interest and has a lower reporting frequency, thus ensuring that the aggregation unit can Quickly process IoT data of interest to it.
  • FIG. 3 is a schematic flowchart of a method for selecting a forwarding path for data reporting in another Internet of Things according to an embodiment of the present invention.
  • the method for selecting a forwarding path for data reporting in the Internet of Things may include the following operations:
  • the IoT access node receives and stores a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node is interested in the target device of the aggregation unit.
  • the target Internet data reported by the terminal device of the type and reporting the frequency lower than the preset reporting frequency selects the dual forwarding path for reporting.
  • the Internet of Things access node detects the Internet of Things data initiated by the mass terminal device in the wireless coverage area, and identifies whether the target Internet of Things data indicated by the data reporting indication message exists in all the Internet of Things data detected by the Internet of Things.
  • the Internet of Things data initiated by each terminal device may include data content and a device type of the terminal device.
  • the IoT access node identifies the target Internet of Things data indicated by the data reporting indication message in all the Internet of Things data that is detected by the IoT access node.
  • the Internet of Things access node identifies whether there is target Internet data reported by the terminal device of the target device type indicated by the data reporting indication message and the reported frequency is lower than the preset reporting frequency in all the Internet of Things data detected by the Internet of Things.
  • the IoT access node determines, according to the preset collar routing information, whether there are at least two forwarding paths that are in an unsleep state in the current time period.
  • the IoT access node selects two forwarding paths from the preset collar routing information table, where the two forwarding paths include the primary forwarding Path and secondary forwarding path.
  • the IoT access node selects two forwarding paths from the preset collar routing information table, including:
  • the Internet of Things access node determines at least two forwarding paths that are not in the dormant state in the current time period according to the preset territorial routing information table, and selects two of the at least two forwarding paths that have the lowest reported load or the highest priority. Strip forwarding path.
  • the minimum reporting load or the highest priority forwarding path is the primary forwarding path, and the secondary reporting load or the next highest priority forwarding path is the secondary forwarding path.
  • the IoT access node counts the number of target terminal devices in the mass terminal device that are the type of the target device and the reported frequency is lower than the preset reporting frequency.
  • the IoT access node determines whether the number of the target terminal devices reaches a preset number threshold. When the number of the target terminal devices reaches a preset number threshold, the IoT access node encapsulates all the Internet of Things data into data elements. And reporting the data element to the aggregation unit through the primary forwarding path.
  • the IoT access excerpt needs to continuously detect that the device type in the wireless coverage is the target device type and the reporting frequency is lower than the preset report.
  • the IoT access node determines whether the data element is successfully reported by the primary forwarding path, and when the data element is not successfully reported, the data element is reported to the aggregation unit by using the secondary forwarding path.
  • the determining, by the IoT access node, whether the data forwarding element is successfully reported by the foregoing primary forwarding path may include:
  • the IoT access node determines whether the decision of the at least one terminal device for reporting all the Internet of Things data sent by the aggregation unit is received in the preset time period after the data element is reported to the aggregation unit by the foregoing primary forwarding path. When the result of the determination is no, it is determined that the data element is not successfully reported by the primary forwarding path. When the determination result is yes, it is determined that the data element is successfully reported through the primary forwarding path, and the process ends.
  • the method for selecting the forwarding path for data reporting in the Internet of Things described in FIG. 3 can select two forwarding paths for the IoT data reported by the terminal device that is interested in the aggregation unit and reported the lower frequency, wherein one forwarding path is used as the primary The forwarding path is used as the secondary forwarding path. When the primary forwarding path fails to be reported, the secondary forwarding path is reported. This improves the reliability of the IoT data that the aggregation unit receives and reports low frequency. The aggregation unit can quickly process the IoT data of interest to it.
  • FIG. 4 is a schematic structural diagram of an Internet of Things access node according to an embodiment of the present invention.
  • the Internet of Things access node 400 can include a communication unit 401, a storage unit 402, a detection unit 403, an identification unit 404, a selection unit 405, a packaging unit 406, and a determination unit 407, where:
  • the communication unit 401 is configured to receive a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node 400 is interested in the aggregation unit and reports the target Internet of Things data whose frequency is lower than the preset reporting frequency. The dual forwarding path is reported.
  • the storage unit 402 is configured to store the foregoing data report indication message received by the communication unit 401.
  • the detecting unit 403 is configured to detect the Internet of Things data initiated by the mass terminal device within its wireless coverage.
  • the identification unit 404 is configured to identify whether the target Internet of Things data indicated by the data reporting indication message stored by the storage unit 402 exists in all the Internet of Things data detected by the detecting unit 403.
  • the selecting unit 405 is configured to: when the identifying unit 404 identifies that the target Internet of Things data exists in all the Internet of Things data, select two forwarding paths from the preset collar routing information table, where the two forwarding paths include the primary Forwarding path and secondary forwarding path.
  • the encapsulation unit 406 is configured to encapsulate all of the above Internet of Things data into data elements.
  • the communication unit 401 is further configured to report the encapsulation unit to the aggregation unit by using the foregoing primary forwarding path. 406 encapsulated data elements.
  • the determining unit 407 is configured to determine whether the data element is successfully reported by the primary forwarding path.
  • the communication unit 401 is further configured to report, when the determining unit 407 determines that the data element is not successfully reported, the data element encapsulated by the encapsulating unit 406 to the aggregation unit by using the auxiliary forwarding path.
  • the determining unit 407 determines whether the data forwarding element is successfully reported by the primary forwarding path.
  • the determining unit 407 is further configured to: after the identifying unit 404 identifies that the target Internet of Things data exists in all the Internet of Things data, and in the selecting unit 405, from the preset collar routing information table. Before selecting two forwarding paths, determining whether there are at least two forwarding paths in the non-sleep state in the current period according to the preset routing information, and determining that there are at least two forwarding paths in the non-sleep state in the current period. At this time, the trigger selection unit 405 performs the above-described operation of selecting two forwarding paths from the preset collar routing information table.
  • the specific manner in which the selecting unit 405 selects two forwarding paths from the preset collar routing information table may be:
  • the Internet of Things data initiated by each terminal device in the mass terminal device includes data content and a device type of the terminal device, where the data reporting indication message is specifically used to indicate the foregoing Internet of Things access node.
  • the target Internet data that is reported by the terminal device of the target device type that is of interest to the aggregation unit and whose reported frequency is lower than the preset reporting frequency is selected to be reported.
  • the identification unit 404 identifies whether the target Internet of Things data indicated by the data reporting indication message exists in all the Internet of Things data detected by the identification unit 404 is:
  • the Internet of Things access node 400 may further include a statistical unit 408.
  • the structure of the Internet of Things access node 400 may be as shown in FIG. 5, and FIG. 5 is a A schematic diagram of another structure of an Internet of Things access node disclosed in the embodiment. among them:
  • the statistic unit 408 is configured to count, before the encapsulating unit 406 encapsulates all the Internet of Things data into data elements, the number of target terminal devices in the mass terminal device that have the device type of the target device type and the reported frequency is lower than the preset reporting frequency. .
  • the determining unit 407 is further configured to determine whether the number of the target terminal devices counted by the statistic unit 408 reaches a preset number threshold. When it is determined that the number of the target terminal devices reaches a preset number threshold, the trigger encapsulating unit 406 performs the foregoing All IoT data is encapsulated into data element operations.
  • the IoT access node 400 described in FIG. 4 or FIG. 5 can select two forwarding paths for the IoT data that are of interest to the aggregation unit and report the lower frequency.
  • One forwarding path is used as the primary forwarding path and the other forwarding is performed.
  • the path is used as the secondary forwarding path.
  • the primary forwarding path fails to report, the secondary forwarding path is reported. This improves the reliability of the IoT data that the aggregation unit receives and reports low frequency, which ensures that the aggregation unit can be fast. Process IoT data of interest to it.
  • FIG. 6 is a schematic structural diagram of a system for selecting a forwarding path for data reporting in an Internet of Things according to an embodiment of the present invention.
  • the system for selecting a forwarding path for data reporting in the Internet of Things may include a convergence unit 601, a filtering gateway 602, an Internet of Things access node 603, and a plurality of terminal devices within the coverage of the Internet of Things access node. 604, where:
  • the aggregation unit 601 is configured to send a data report indication message to the filtering gateway 602, where the data report indication message is used to indicate that the IoT access node 603 is interested in the aggregation unit 601 and reports a target whose frequency is lower than a preset reporting frequency.
  • the IoT data is selected for reporting on the dual forwarding path.
  • the filtering gateway 602 is configured to receive the data reporting indication message sent by the aggregation unit 601, and send the data reporting indication message to the Internet of Things access node 603.
  • the IoT access node 603 is configured to receive and store the data reporting indication message delivered by the filtering gateway 602.
  • the terminal device 604 is configured to report the Internet of Things data to the Internet of Things access node 603, wherein the Internet of Things data reported by each terminal device 604 may include data content.
  • the Internet of Things access node 603 is configured to detect the Internet of Things data reported by the plurality of terminal devices 604 in the wireless coverage area, and identify whether the target Internet indicated by the data reporting indication message exists in all the Internet of Things data detected by the Internet of Things. Data, when identifying the target Internet of Things data indicated in the data reporting indication message in all the Internet of Things data detected by the data, selecting two forwarding paths from the preset neighboring routing information table, where the two One of the forwarding paths in the forwarding path is the primary forwarding path, and the other forwarding path is the secondary forwarding path.
  • the IoT access node 603 is further configured to encapsulate the all the IoT data that is detected by the IoT data into a data element, and directly report the data element to the aggregation unit 601 through the primary forwarding path or through the filtering gateway 602, and Determining whether the data element is successfully reported by the primary forwarding path, and determining whether the data element is successfully reported by the primary forwarding path.
  • the secondary forwarding path is redirected to the aggregation unit 601 or the filtering gateway 602.
  • the data element is reported to the aggregation unit 601.
  • the specific manner in which the IoT access node 603 determines whether the data forwarding element is successfully reported by the foregoing primary forwarding path may be:
  • the IoT access node 603 determines whether at least one of the mass terminal devices that are sent by the aggregation unit 601 for reporting all the Internet of Things data is received in the preset time period after the data element is reported to the aggregation unit 601 through the primary forwarding path.
  • a decision indication of a terminal device when the determination result is no, determines that the data element is not successfully reported through the primary forwarding path.
  • the Internet of Things access node 603 may further determine, according to the preset, after the foregoing target Internet of Things data exists in all the Internet of Things data, and before selecting two forwarding paths from the preset collar routing information table.
  • the routing information of the collar area determines whether there are at least two forwarding paths in the non-sleep state in the current time period, and when it is determined that there are at least two forwarding paths in the non-sleep state in the current time period, the execution of the preset pre-collection area is triggered. The operation of selecting two forwarding paths in the routing information table.
  • the specific manner in which the IoT access node 603 selects two forwarding paths from the preset routing information table may be:
  • the IoT access node 603 determines at least two forwarding paths that are in a non-dormant state during the current time period according to the preset collar routing information table, and selects two forwarding paths with the least reported load from the at least two forwarding paths. .
  • the Internet of Things data initiated by each of the plurality of terminal devices 604 may include the data content and the device type of the terminal device, and the data reporting indication message is specifically used to indicate that the Internet of Things access node 603 is configured for aggregation.
  • the target Internet data reported by the terminal device of the target device type that is of interest to the unit 601 is reported to be reported by the dual-forwarding path of the target Internet data whose frequency is lower than the preset reporting frequency.
  • the specific manner in which the Internet of Things access node 603 identifies the target Internet of Things data indicated by the data reporting indication message in all the Internet of Things data detected by the Internet of Things access node 603 may be:
  • the Internet of Things access node 603 identifies whether there is target Internet data reported by the terminal device of the target device type indicated by the data reporting indication message and the reported frequency is lower than the preset reporting frequency.
  • the Internet of Things access node 603 can also be used to count all the Internet of Things mentioned above.
  • the number of the target terminal devices whose device type is the target device type and the reported frequency is lower than the preset reporting frequency, and the number of the target terminal devices is determined to be a preset number. Threshold, when the number of the target terminal devices reaches a preset number threshold, triggering the above operation of encapsulating all the Internet of Things data into data elements.
  • the system for selecting the forwarding path for data reporting in the Internet of Things described in FIG. 6 can select two forwarding paths for the IoT data that are of interest to the aggregation unit and report the lower frequency, wherein one forwarding path is used as the primary forwarding path, and A forwarding path is used as the secondary forwarding path.
  • the primary forwarding path fails to be reported, the secondary forwarding path is reported. This improves the reliability of the aggregation unit receiving the IoT data that is of interest and has a lower reporting frequency, thus ensuring that the aggregation unit can Quickly process IoT data of interest to it.
  • 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

The present invention relates to the technical field of Internet of Things and particularly relates to a method and device for selecting a forwarding path for data reporting in the Internet of Things. The method comprises: receiving and storing by an Internet of Things access node a data reporting indication message issued by a filter gateway; when it is detected that target Internet of Things data indicated by the data reporting indication message exist in all Internet of Things data initiated by a large number of terminal devices within a wireless coverage range of the node, selecting from a preconfigured neighbor routing information table two forwarding paths including a primary forwarding path and a secondary forwarding path; and after all the Internet of Things data are encapsulated into data elements, reporting by the Internet of Things access node the data elements through the primary forwarding path; and when the reporting fails, reporting the data elements through the secondary forwarding path. Through the implementation of the embodiments of the present invention, the reliability of enabling a convergence unit to receive Internet of Things data required and having low-reporting-frequency can be improved.

Description

一种物联网中选择转发路径进行数据上报的方法及设备Method and device for selecting data forwarding report by selecting forwarding path in internet of things 技术领域Technical field
本发明涉及物联网技术领域,尤其涉及一种物联网中选择转发路径进行数据上报的方法及设备。The present invention relates to the field of Internet of Things technologies, and in particular, to a method and a device for selecting a forwarding path for data reporting in an Internet of Things.
背景技术Background technique
物联网是指以对物理世界感知为目的,以信息处理为主要任务,以网络为交互载体,实现物与物、物与人之间的信息交互,提供感知信息服务的智能综合系统,通过物与物互联,人们可以更加精细地、动态地管理生产和生活,提高资源利用率和生产效率,例如:在物联网架构中,汇聚单元可以收集海量的终端设备(如湿度计、烟感器、通风设备、雨量传感器、灌溉阀等)上报的物联网数据进行分析和决策,从而可以为人们提供预警、异常等相关报告,可见,汇聚单元及时且完整的接收到其需要的物联网数据显得尤为重要。在实际应用中,上报物联网数据的转发路径会发生故障,这降低了汇聚单元成功接收到其需要的且上报频率较低的物联网数据的可靠性。The Internet of Things (IoT) refers to an intelligent integrated system that provides information services as the main task, information processing as the main task, network as the interaction carrier, information exchange between objects and objects, and objects. By interconnecting things, people can manage production and life more finely and dynamically, and improve resource utilization and production efficiency. For example, in the IoT architecture, the aggregation unit can collect a large number of terminal devices (such as hygrometers, smoke detectors, IoT data reported by ventilation equipment, rainfall sensors, irrigation valves, etc. are analyzed and decided, so that people can provide relevant reports such as warnings and anomalies. It can be seen that the aggregation unit receives the IoT data required in a timely and complete manner. important. In practical applications, the forwarding path of the reported IoT data may be faulty, which reduces the reliability of the IoT data that the aggregation unit successfully receives and reports low frequency.
发明内容Summary of the invention
本发明实施例公开了一种物联网中选择转发路径进行数据上报的方法及设备,能够提高汇聚单元接收到其需要的且上报频率较低的物联网数据的可靠性。The embodiment of the invention discloses a method and a device for selecting a forwarding path for data reporting in the Internet of Things, which can improve the reliability of the IoT data that the aggregation unit receives and reports low frequency.
本发明实施例第一方面公开了一种物联网中选择转发路径进行数据上报的方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a method for selecting a forwarding path for data reporting in the Internet of Things, the method comprising:
物联网接入节点接收过滤网关下发的数据上报指示消息并存储,所述数据上报指示消息用于指示所述物联网接入节点针对汇聚单元感兴趣且上报频率低于预设上报频率的目标物联网数据选择双转发路径进行上报;The IoT access node receives and stores a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node is interested in the aggregation unit and reports a frequency lower than a preset reporting frequency. The Internet of Things data selects a double forwarding path for reporting;
所述物联网接入节点检测其无线覆盖范围内的海量终端设备发起的物联网数据,并识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标物联网数据;The IoT access node detects the Internet of Things data initiated by the mass terminal device in the wireless coverage area, and identifies whether the target Internet of Things indicated by the data reporting indication message exists in all the Internet of Things data detected by the IoT access node. data;
当识别出所述所有物联网数据中存在所述目标物联网数据时,所述物联网接入节点从预置的领区路由信息表中选择两条转发路径,其中,所述两条转发路径包括主转发路径以及辅转发路径;When the target Internet of Things data is found in all the Internet of Things data, the IoT access node selects two forwarding paths from the preset collar routing information table, where the two forwarding paths Including a primary forwarding path and a secondary forwarding path;
所述物联网接入节点将所述所有物联网数据封装成数据元,并通过所述主转发路径向所述汇聚单元上报所述数据元,以及判断通过所述主转发路径 是否成功上报所述数据元,当判断出未成功上报所述数据元时,通过所述辅转发路径向所述汇聚单元上报所述数据元。The IoT access node encapsulates all the IoT data into data elements, and reports the data elements to the aggregation unit through the primary forwarding path, and determines that the primary forwarding path is passed If the data element is successfully reported, the data element is reported to the aggregation unit through the secondary forwarding path when it is determined that the data element is not successfully reported.
作为一种可选的实施方式,在本发明实施例第一方面中,所述物联网接入节点判断通过所述主转发路径是否成功上报所述数据元,包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining, by the IoT access node, whether the data forwarding element is successfully reported by the primary forwarding path includes:
所述物联网接入节点判断在通过所述主转发路径向所述汇聚单元上报所述数据元之后的预设时间段内是否接收到所述汇聚单元下发的针对上报所述所有物联网数据的所述海量终端设备中至少一个终端设备的决策指示,当判断结果为否时,确定通过所述主转发路径未成功上报所述数据元。The IoT access node determines whether the all the Internet of Things data sent by the aggregation unit is sent in the preset time period after the data element is reported to the aggregation unit by the primary forwarding path. The decision indication of the at least one terminal device of the mass terminal device determines that the data element is not successfully reported through the primary forwarding path when the determination result is no.
作为一种可选的实施方式,在本发明实施例第一方面中,在识别出所述所有物联网数据中存在所述目标物联网数据之后,所述物联网接入节点从预置的领区路由信息表中选择两条转发路径之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, after identifying the target Internet of Things data in the all Internet of Things data, the Internet of Things access node is from a preset collar. Before the two forwarding paths are selected in the area routing information table, the method further includes:
所述物联网接入节点根据预置的领区路由信息判断在当前时段是否存在处于未休眠状态的至少两条转发路径,当判断出在所述当前时段存在处于所述未休眠状态的至少两条转发路径时,触发执行所述从预置的领区路由信息表中选择两条转发路径的操作;The IoT access node determines, according to the preset territorial routing information, whether there are at least two forwarding paths that are in a non-dormant state in the current time period, and determines that at least two of the non-sleep states exist in the current time period. When the path is forwarded, the operation of selecting the two forwarding paths from the preset routing information table is triggered;
其中,所述物联网接入节点从预置的领区路由信息表中选择两条转发路径,包括:The IoT access node selects two forwarding paths from the preset routing information table, including:
所述物联网接入节点根据预置的领区路由信息表确定出在所述当前时段处于所述未休眠状态的至少两条转发路径,并从所述至少两条转发路径中选择出上报负荷最小的两条转发路径。The IoT access node determines, according to the preset collar routing information table, at least two forwarding paths that are in the non-dormant state during the current time period, and selects a reporting load from the at least two forwarding paths. The smallest two forwarding paths.
作为一种可选的实施方式,在本发明实施例第一方面中,所述海量终端设备中每个终端设备发起的物联网数据包括数据内容以及该终端设备的设备类型,所述数据上报指示消息具体用于指示所述物联网接入节点针对所述汇聚单元感兴趣的目标设备类型的终端设备上报的且上报频率低于所述预设上报频率的目标互联网数据选择双转发路径进行上报;As an optional implementation manner, in the first aspect of the embodiments of the present invention, the Internet of Things data initiated by each terminal device in the mass terminal device includes data content and a device type of the terminal device, and the data reporting indication The message is specifically used to indicate that the IoT access node reports a dual forwarding path for the target Internet data that is reported by the terminal device of the target device type that is of interest to the aggregation unit and that reports a lower frequency than the preset reporting frequency;
所述物联网接入节点识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标物联网数据,包括:The IoT access node identifies whether the target Internet of Things data indicated by the data report indication message exists in all the Internet of Things data detected by the IoT access node, including:
所述物联网接入节点识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标设备类型的终端设备上报的且上报频率低于所述预设上报频率的所述目标互联网数据。The IoT access node identifies, in all the Internet of Things data detected by the device, whether the terminal device of the target device type indicated by the data reporting indication message is reported and the reported frequency is lower than the preset reporting frequency. The target internet data.
作为一种可选的实施方式,在本发明实施例第一方面中,所述物联网接入节点将所述所有物联网数据封装成数据元之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the IoT access node encapsulates the all the Internet of Things data into a data element, the method further includes:
所述物联网接入节点统计所述海量终端设备中设备类型为所述目标设备类型且上报频率低于所述预设上报频率的目标终端设备的数量,并判断所述 目标终端设备的数量是否达到预设数量阈值,当所述目标终端设备的数量达到所述预设数量阈值时,触发执行所述将所述所有物联网数据封装成数据元的操作。The IoT access node counts the number of target terminal devices in the mass terminal device whose device type is the target device type and reports a frequency lower than the preset reporting frequency, and determines the Whether the number of the target terminal devices reaches a preset number threshold, and when the number of the target terminal devices reaches the preset number threshold, the operation of encapsulating the all Internet of Things data into data elements is triggered.
本发明实施例第二方面公开了一种物联网接入节点,所述物联网接入节点包括通信单元、存储单元、检测单元、识别单元、选择单元、封装单元以及判断单元,其中:The second aspect of the embodiment of the present invention discloses an Internet of Things access node, where the Internet of Things access node includes a communication unit, a storage unit, a detecting unit, an identifying unit, a selecting unit, a packaging unit, and a determining unit, where:
所述通信单元,用于接收过滤网关下发的数据上报指示消息,所述数据上报指示消息用于指示所述物联网接入节点针对汇聚单元感兴趣且上报频率低于预设上报频率的目标物联网数据选择双转发路径进行上报;The communication unit is configured to receive a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node is interested in the aggregation unit and reports a target whose frequency is lower than a preset reporting frequency. The Internet of Things data selects a double forwarding path for reporting;
所述存储单元,用于存储所述数据上报指示消息;The storage unit is configured to store the data report indication message;
所述检测单元,用于检测其无线覆盖范围内的海量终端设备发起的物联网数据;The detecting unit is configured to detect Internet of Things data initiated by a mass terminal device in a wireless coverage area thereof;
所述识别单元,用于识别所述检测单元检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标物联网数据;The identifying unit is configured to identify whether the target Internet of Things data indicated by the data reporting indication message exists in all the Internet of Things data detected by the detecting unit;
所述选择单元,用于当所述识别单元识别出所述所有物联网数据中存在所述目标物联网数据时,从预置的领区路由信息表中选择两条转发路径,其中,所述两条转发路径包括主转发路径以及辅转发路径;The selecting unit is configured to: when the identifying unit identifies that the target Internet of Things data exists in the all Internet of Things data, select two forwarding paths from the preset collar routing information table, where the The two forwarding paths include a primary forwarding path and a secondary forwarding path.
所述封装单元,用于将所述所有物联网数据封装成数据元;The encapsulating unit is configured to encapsulate the all Internet of Things data into data elements;
所述通信单元,还用于通过所述主转发路径向所述汇聚单元上报所述数据元;The communication unit is further configured to report the data element to the aggregation unit by using the primary forwarding path;
所述判断单元,用于判断通过所述主转发路径是否成功上报所述数据元;The determining unit is configured to determine whether the data element is successfully reported by the primary forwarding path;
所述通信单元,还用于当所述判断单元判断出未成功上报所述数据元时,通过所述辅转发路径向所述汇聚单元上报所述数据元。The communication unit is further configured to report the data element to the aggregation unit by using the secondary forwarding path when the determining unit determines that the data element is not successfully reported.
作为一种可选的实施方式,在本发明实施例第二方面中,所述判断单元判断通过所述主转发路径是否成功上报所述数据元的具体方式为:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining, by the determining unit, whether the data forwarding element is successfully reported by the primary forwarding path is:
判断在通过所述主转发路径向所述汇聚单元上报所述数据元之后的预设时间段内是否接收到所述汇聚单元下发的针对上报所述所有物联网数据的所述海量终端设备中至少一个终端设备的决策指示,当判断结果为否时,确定通过所述主转发路径未成功上报所述数据元。Determining, in a preset time period after the reporting of the data element by the primary forwarding path, the receiving, by the aggregation unit, the mass terminal device for reporting all the Internet of Things data The decision indication of the at least one terminal device determines that the data element is not successfully reported through the primary forwarding path when the determination result is no.
作为一种可选的实施方式,在本发明实施例第二方面中,所述判断单元,还用于在所述识别单元识别出所述所有物联网数据中存在所述目标物联网数据之后以及在所述选择单元从预置的领区路由信息表中选择两条转发路径之前,根据预置的领区路由信息判断在当前时段是否存在处于未休眠状态的至少两条转发路径,当判断出在所述当前时段存在处于所述未休眠状态的至少 两条转发路径时,触发所述选择单元执行所述从预置的领区路由信息表中选择两条转发路径的操作;As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining unit is further configured to: after the identifying unit identifies that the target Internet of Things data exists in the all Internet of Things data, and Before the selecting unit selects two forwarding paths from the preset routing information table, determining, according to the preset routing information, whether there are at least two forwarding paths in the non-sleep state in the current period, when determining Having at least the sleep state in the current time period When two forwarding paths are triggered, the selecting unit is triggered to perform the operation of selecting two forwarding paths from the preset collar routing information table;
其中,所述选择单元从预置的领区路由信息表中选择两条转发路径的具体方式为:The specific manner in which the selecting unit selects two forwarding paths from the preset routing information table is:
根据预置的领区路由信息表确定出在所述当前时段处于所述未休眠状态的至少两条转发路径,并从所述至少两条转发路径中选择出上报负荷最小的两条转发路径。And determining, according to the preset collar routing information table, at least two forwarding paths that are in the non-dormant state in the current time period, and selecting two forwarding paths that report the least load from the at least two forwarding paths.
作为一种可选的实施方式,在本发明实施例第二方面中,所述海量终端设备中每个终端设备发起的物联网数据包括数据内容以及该终端设备的设备类型,所述数据上报指示消息具体用于指示所述物联网接入节点针对所述汇聚单元感兴趣的目标设备类型的终端设备上报的且上报频率低于所述预设上报频率的目标互联网数据选择双转发路径进行上报;As an optional implementation manner, in the second aspect of the embodiment of the present invention, the Internet of Things data initiated by each terminal device in the mass terminal device includes data content and a device type of the terminal device, and the data reporting indication The message is specifically used to indicate that the IoT access node reports a dual forwarding path for the target Internet data that is reported by the terminal device of the target device type that is of interest to the aggregation unit and that reports a lower frequency than the preset reporting frequency;
所述识别单元识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标物联网数据的具体方式为:The specific manner of the identification unit identifying whether the target Internet of Things data indicated by the data report indication message exists in all the Internet of Things data detected by the identification unit is:
识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标设备类型的终端设备上报的且上报频率低于所述预设上报频率的所述目标互联网数据。And identifying, in all the Internet of Things data detected by the terminal device, the target Internet data reported by the terminal device of the target device type indicated by the data reporting indication message and reporting a frequency lower than the preset reporting frequency.
作为一种可选的实施方式,在本发明实施例第二方面中,所述物联网接入节点还包括统计单元,其中:As an optional implementation manner, in the second aspect of the embodiments of the present invention, the Internet of Things access node further includes a statistics unit, where:
所述统计单元,用于在所述封装单元将所述所有物联网数据封装成数据元之前,统计所述海量终端设备中设备类型为所述目标设备类型且上报频率低于所述预设上报频率的目标终端设备的数量;The statistic unit is configured to: before the encapsulating unit encapsulates the all the Internet of Things data into a data element, the device type of the mass terminal device is the target device type, and the reporting frequency is lower than the preset report The number of target terminal devices of the frequency;
所述判断单元,还用于判断所述目标终端设备的数量是否达到预设数量阈值,当所述目标终端设备的数量达到所述预设数量阈值时,触发所述封装单元执行所述将所述所有物联网数据封装成数据元的操作。The determining unit is further configured to determine whether the number of the target terminal devices reaches a preset number threshold, and when the number of the target terminal devices reaches the preset number threshold, triggering the encapsulating unit to execute the The operation of all IoT data encapsulated into data elements.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiment of the invention has the following beneficial effects:
本发明实施例中,物联网接入节点接收过滤网关下发的数据上报指示消息并存储该数据上报指示消息,该数据上报指示消息用于指示物联网接入节点针对汇聚单元感兴趣且上报频率低于预设上报频率的目标物联网数据选择双转发路径进行上报,物联网接入节点检测其无线覆盖范围内的海量终端设备发起的物联网数据,并识别其检测到的所有物联网数据中是否存在该数据上报指示消息指示的目标物联网数据,当识别出所有物联网数据中存在该目标物联网数据时,物联网接入节点从预置的领区路由信息表中选择两条转发路径,其中,该两条转发路径包括主转发路径以及辅转发路径,物联网接入 节点将该所有物联网数据封装成数据元,并通过该主转发路径向汇聚单元上报该数据元,以及判断通过该主转发路径是否成功上报该数据元,当判断出未成功上报该数据元时,通过该辅转发路径向汇聚单元上报该数据元。实施本发明实施例能够为汇聚单元感兴趣且上报频率较低的物联网数据选择双转发路径进行上报,提高了汇聚单元接收到其需要的且上报频率较低的物联网数据的可靠性。In the embodiment of the present invention, the IoT access node receives the data report indication message sent by the filtering gateway, and stores the data report indication message, where the data report indication message is used to indicate that the IoT access node is interested in the aggregation unit and reports the frequency. The target Internet of Things data below the preset reporting frequency selects the dual forwarding path for reporting, and the IoT access node detects the Internet of Things data initiated by the mass terminal devices within its wireless coverage and identifies all the Internet of Things data detected by it. Whether there is target IoT data indicated by the data reporting indication message, and when the target Internet of Things data exists in all IoT data, the IoT access node selects two forwarding paths from the preset collar routing information table. Where the two forwarding paths include a primary forwarding path and a secondary forwarding path, and the Internet of Things access The node encapsulates all the IoT data into a data element, and reports the data element to the aggregation unit through the primary forwarding path, and determines whether the data element is successfully reported by the primary forwarding path, and when it is determined that the data element is not successfully reported. And reporting the data element to the aggregation unit by using the secondary forwarding path. The embodiment of the present invention can report the dual forwarding path of the IoT data that is of interest to the aggregation unit and is reported at a lower frequency, and improves the reliability of the IoT data that the aggregation unit receives and reports the lower frequency.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。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 selecting a forwarding path for data reporting in an Internet of Things according to an embodiment of the present invention;
图3是本发明实施例公开的另一种物联网中选择转发路径进行数据上报的方法的流程示意图;3 is a schematic flowchart of a method for selecting a forwarding path for data reporting in another Internet of Things according to an embodiment of the present disclosure;
图4是本发明实施例公开的一种物联网接入节点的结构示意图;4 is a schematic structural diagram of an Internet of Things access node according to an embodiment of the present invention;
图5是本发明实施例公开的另一种物联网接入节点的结构示意图;FIG. 5 is a schematic structural diagram of another Internet of Things access node according to an embodiment of the present invention; FIG.
图6是本发明实施例公开的一种物联网中选择转发路径进行数据上报的系统的结构示意图。FIG. 6 is a schematic structural diagram of a system for selecting a forwarding path for data reporting in an Internet of Things according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种物联网中选择转发路径进行数据上报的方法及设备,能够为汇聚单元感兴趣且上报频率较低的物联网数据选择双转发路径进行上报,提高了汇聚单元接收到其需要的且上报频率较低的物联网数据的可靠性。以下分别进行详细说明。The embodiment of the invention discloses a method and a device for selecting a forwarding path for data reporting in the Internet of Things, which can select a dual forwarding path for reporting the IoT data of a lower aggregation frequency and a higher reporting frequency, and improve the receiving of the aggregation unit. It requires and reports the reliability of IoT data with low frequency. 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 of a terminal device layer, an Internet of Things access node layer, and an aggregation layer according to functions. Among them, the terminal equipment layer can include massive scale Terminal equipment, such as hygrometers, smoke detectors, ventilation equipment, rainfall sensors, irrigation valves, etc.; IoT access node layer may include a large number of IoT access nodes connected by networks, and IoT access nodes may include routers The device, the repeater, the access point, and the like are not limited in the embodiment of the present invention; the Internet of Things access node can use any standard networking protocol, and the Internet of Things access node can implement data analysis between different network standards; The aggregation layer may include a filtering gateway and a convergence unit, wherein the filtering gateway may directly or indirectly communicate with each IoT access node of the Internet of Things access node layer through the Internet; the aggregation unit may filter the gateway to the Internet of Things access node layer Each IoT access node performs high-level management to control data transmission frequency, network topology and other networking functions; the aggregation unit can not only analyze and make decisions on IoT data generated by massive terminal devices, but also issue commands. Get information or configure terminal device parameters (data transmission at this time) Pointing to the terminal device; the aggregation unit can also introduce various services, from big data to social networks, and even from social tools "likes" to weather sharing. In the Internet of Things architecture shown in Figure 1, each IoT access node can provide IoT data receiving and receiving services for massive terminal devices within its own wireless coverage, where each IoT access node has its own wireless coverage. Each terminal device can have a built-in wireless communication module, which enables each IoT access node to communicate wirelessly with each terminal device within its own wireless coverage by 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 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. Alternatively, 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. 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所示,该物联网中选择转发路径进行数据上报的方法可以包括以下操作:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a method for selecting a forwarding path for data reporting in an Internet of Things according to an embodiment of the present invention. As shown in FIG. 2, the method for selecting a forwarding path for data reporting in the Internet of Things may include the following operations:
201、物联网接入节点接收过滤网关下发的数据上报指示消息并存储,该 数据上报指示消息用于指示物联网接入节点针对汇聚单元感兴趣且上报频率低于预设上报频率的目标物联网数据选择双转发路径进行上报。201. The IoT access node receives the data report indication message sent by the filtering gateway, and stores the The data reporting indication message is used to indicate that the IoT access node selects a dual forwarding path for the target Internet of Things data that is interested in the aggregation unit and has a lower reporting frequency than the preset reporting frequency.
本发明实施例中,汇聚单元感兴趣的目标物联网数据可以为汇聚单元感兴趣的终端设备上报的物联网数据,也可以是汇聚单元感兴趣的地理位置内的终端设备上报的物联网数据,还可以是包括汇聚单元感兴趣的数据内容的物联网数据,还可以是汇聚单元感兴趣的地理位置中汇聚单元感兴趣的终端设备上报的包含汇聚单元感兴趣的数据内容的物联网数据,本发明实施例不做限定。In the embodiment of the present invention, the target Internet of Things data that is interested in the aggregation unit may be the Internet of Things data reported by the terminal device that is interested in the aggregation unit, or may be the Internet of Things data reported by the terminal device in the geographic location where the convergence unit is interested. It may also be the Internet of Things data including the data content of the convergence unit, and may also be the Internet of Things data of the data content of the convergence unit reported by the terminal device interested in the aggregation unit in the geographic location of interest of the aggregation unit, The embodiments of the invention are not limited.
其中,物联网接入节点接收过滤网关下发的数据上报指示消息包括:The data reporting indication message sent by the IoT access node to the filtering gateway includes:
物联网接入节点向过滤网关发送包含该物联网接入节点的身份标识的数据上报指示消息获取请求,以触发过滤网关根据该物联网接入节点的身份标识验证该物联网接入节点是否为授权物联网接入节点且在验证结果为是时返回针对该数据上报指示消息获取请求的数据上报指示消息获取响应;The IoT access node sends a data report indication message acquisition request including the identity of the IoT access node to the filtering gateway to trigger the filtering gateway to verify whether the IoT access node is based on the identity of the IoT access node. Authorizing the IoT access node and returning a data report indication message acquisition response for the data report indication message acquisition request when the verification result is YES;
物联网接入节点接收过滤网关下发的数据上报指示消息获取响应,其中,该数据上报指示消息获取响应包括数据上报指示消息。The IoT access node receives the data report indication message acquisition response sent by the filtering gateway, where the data report indication message acquisition response includes a data report indication message.
202、物联网接入节点检测其无线覆盖范围内的海量终端设备发起的物联网数据,并识别其检测到的所有物联网数据中是否存在上述数据上报指示消息所指示的上述目标物联网数据。202. The Internet of Things access node detects the Internet of Things data initiated by the mass terminal device in the wireless coverage area, and identifies whether the target Internet of Things data indicated by the data reporting indication message exists in all the Internet of Things data detected by the Internet of Things.
本发明实施例中,当识别出上述所有物联网数据中存在上述目标物联网数据时,触发执行步骤203;当识别出上述所有物联网数据中不存在上述目标物联网数据时,物联网接入节点可以过滤掉上述所有物联网数据,也可以将上述所有物联网数据封装成数据元,并通过随机选择的一条转发路径向汇聚单元上报该数据元。In the embodiment of the present invention, when it is recognized that the target Internet of Things data exists in all the Internet of Things data, the step 203 is triggered; when the target Internet of Things data is not found in all the Internet of Things data, the Internet of Things access The node may filter all the Internet of Things data, or encapsulate all the IoT data into data elements, and report the data elements to the aggregation unit through a randomly selected forwarding path.
203、当识别出上述所有物联网数据中存在上述目标物联网数据时,物联网接入节点从预置的领区路由信息表中选择两条转发路径,该两条转发路径包括主转发路径以及辅转发路径。203. When identifying the foregoing target Internet of Things data in all the Internet of Things data, the IoT access node selects two forwarding paths from the preset collar routing information table, where the two forwarding paths include a primary forwarding path and Secondary forwarding path.
204、物联网接入节点将上述所有物联网数据封装成数据元,并通过主转发路径向汇聚单元上报该数据元。204. The Internet of Things access node encapsulates all the Internet of Things data into data elements, and reports the data elements to the aggregation unit through the primary forwarding path.
本发明实施例中,物联网接入节点通过主转发路径向汇聚单元上报数据元可以包括:In the embodiment of the present invention, the reporting, by the IoT access node, the data element to the aggregation unit by using the primary forwarding path may include:
物联网接入节点判断当前时刻是否处于汇聚单元指定的允许该物联网接入节点上报数据元的时间段内,当判断结果为是时,通过主转发路径向汇聚单元上报该数据元。The IoT access node determines whether the current time is in the time period specified by the aggregation unit to allow the IoT access node to report the data element. When the determination result is yes, the data element is reported to the aggregation unit through the primary forwarding path.
205、物联网接入节点判断通过上述主转发路径是否成功上报上述数据 元,当判断出未成功上报上述数据元时,通过辅转发路径向汇聚单元上报上述数据元。205. The IoT access node determines whether the foregoing data is successfully reported by using the foregoing primary forwarding path. The element, when it is determined that the data element is not successfully reported, reports the data element to the aggregation unit through the secondary forwarding path.
在一个可选的实施例中,物联网接入节点判断通过上述主转发路径是否成功上报上述数据元可以包括:In an optional embodiment, the determining, by the IoT access node, whether the data element is successfully reported by using the foregoing primary forwarding path may include:
物联网接入节点判断在通过上述主转发路径向汇聚单元上报上述数据元之后的预设时间段内是否接收到汇聚单元下发的针对上报上述所有物联网数据的海量终端设备中至少一个终端设备的决策指示,当判断结果为否时,确定通过上述主转发路径未成功上报上述数据元;当判断结果为是时,确定通过上述主转发路径成功上报上述数据元,可以结束本次流程。The IoT access node determines whether at least one terminal device of the mass terminal device for reporting all the IoT data sent by the aggregation unit is received in the preset time period after the data element is reported to the aggregation unit by using the foregoing primary forwarding path. If the determination result is no, it is determined that the data element is not successfully reported through the primary forwarding path; when the determination result is yes, it is determined that the data element is successfully reported through the primary forwarding path, and the process can be ended.
在另一个可选的实施例中,在识别出上述所有物联网数据中存在上述目标物联网数据之后以及在从预置的领区路由信息表中选择两条转发路径之前,该物联网中选择转发路径进行数据上报的方法还可以包括以下操作:In another optional embodiment, the Internet of Things is selected after identifying the target Internet of Things data in all the Internet of Things data and before selecting two forwarding paths from the preset routing information table. The method for reporting data on the forwarding path may also include the following operations:
物联网接入节点根据预置的领区路由信息判断在当前时段是否存在处于未休眠状态的至少两条转发路径,当判断出在当前时段存在处于未休眠状态的至少两条转发路径时,触发执行上述从预置的领区路由信息表中选择两条转发路径的操作。The IoT access node determines, according to the preset territorial routing information, whether there are at least two forwarding paths in the non-sleep state in the current time period, and when it is determined that there are at least two forwarding paths in the non-sleep state in the current time period, triggering Perform the above operation of selecting two forwarding paths from the preset collar routing information table.
其中,物联网接入节点从预置的领区路由信息表中选择两条转发路径可以包括:The selecting, by the IoT access node, the two forwarding paths from the preset routing information table may include:
物联网接入节点根据预置的领区路由信息表确定出在当前时段处于未休眠状态的至少两条转发路径,并从该至少两条转发路径中选择出上报负荷最小或优先级最高的两条转发路径。其中,最小上报负荷或最高优先级的转发路径为主转发路径,次小上报负荷或次高优先级的转发路径为辅转发路径。The Internet of Things access node determines at least two forwarding paths that are not in the dormant state in the current time period according to the preset territorial routing information table, and selects two of the at least two forwarding paths that have the lowest reported load or the highest priority. Strip forwarding path. The minimum reporting load or the highest priority forwarding path is the primary forwarding path, and the secondary reporting load or the next highest priority forwarding path is the secondary forwarding path.
可见,实施图2所描述的物联网中选择转发路径进行数据上报的方法能够为汇聚单元感兴趣且上报频率较低的物联网数据选择两条转发路径,其中一条转发路径作为主转发路径,另一条转发路径作为辅转发路径,当主转发路径上报失败时,通过辅转发路径上报,这提高了汇聚单元接收到其感兴趣且上报频率较低的物联网数据的可靠性,进而保证了汇聚单元能够快速的对其感兴趣的物联网数据进行处理。It can be seen that the method for selecting a forwarding path for data reporting in the Internet of Things described in FIG. 2 can select two forwarding paths for the IoT data that are of interest to the aggregation unit and report the lower frequency, wherein one forwarding path is used as the primary forwarding path, and A forwarding path is used as the secondary forwarding path. When the primary forwarding path fails to be reported, the secondary forwarding path is reported. This improves the reliability of the aggregation unit receiving the IoT data that is of interest and has a lower reporting frequency, thus ensuring that the aggregation unit can Quickly process IoT data of interest to it.
实施例二Embodiment 2
请参阅图3,图3是本发明实施例公开的另一种物联网中选择转发路径进行数据上报的方法的流程示意图。如图3所示,该物联网中选择转发路径进行数据上报的方法可以包括以下操作:Referring to FIG. 3, FIG. 3 is a schematic flowchart of a method for selecting a forwarding path for data reporting in another Internet of Things according to an embodiment of the present invention. As shown in FIG. 3, the method for selecting a forwarding path for data reporting in the Internet of Things may include the following operations:
301、物联网接入节点接收过滤网关下发的数据上报指示消息并存储,该数据上报指示消息用于指示物联网接入节点针对汇聚单元感兴趣的目标设备 类型的终端设备上报的且上报频率低于预设上报频率的目标互联网数据选择双转发路径进行上报。301. The IoT access node receives and stores a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node is interested in the target device of the aggregation unit. The target Internet data reported by the terminal device of the type and reporting the frequency lower than the preset reporting frequency selects the dual forwarding path for reporting.
302、物联网接入节点检测其无线覆盖范围内的海量终端设备发起的物联网数据,并识别其检测到的所有物联网数据中是否存在上述数据上报指示消息所指示的上述目标物联网数据。302. The Internet of Things access node detects the Internet of Things data initiated by the mass terminal device in the wireless coverage area, and identifies whether the target Internet of Things data indicated by the data reporting indication message exists in all the Internet of Things data detected by the Internet of Things.
本发明实施例中,每个终端设备发起的物联网数据可以包括数据内容以及该终端设备的设备类型。其中,物联网接入节点识别其检测到的所有物联网数据中是否存在上述数据上报指示消息所指示的上述目标物联网数据可以包括:In the embodiment of the present invention, the Internet of Things data initiated by each terminal device may include data content and a device type of the terminal device. The IoT access node identifies the target Internet of Things data indicated by the data reporting indication message in all the Internet of Things data that is detected by the IoT access node.
物联网接入节点识别其检测到的所有物联网数据中是否存在上述数据上报指示消息所指示的目标设备类型的终端设备上报的且上报频率低于预设上报频率的目标互联网数据。The Internet of Things access node identifies whether there is target Internet data reported by the terminal device of the target device type indicated by the data reporting indication message and the reported frequency is lower than the preset reporting frequency in all the Internet of Things data detected by the Internet of Things.
303、当识别出上述所有物联网数据中存在上述目标物联网数据时,物联网接入节点根据预置的领区路由信息判断在当前时段是否存在处于未休眠状态的至少两条转发路径。303. When it is found that the foregoing target Internet of Things data exists in all the Internet of Things data, the IoT access node determines, according to the preset collar routing information, whether there are at least two forwarding paths that are in an unsleep state in the current time period.
304、当判断出在当前时段存在处于未休眠状态的至少两条转发路径时,物联网接入节点从预置的领区路由信息表中选择两条转发路径,该两条转发路径包括主转发路径以及辅转发路径。304. When it is determined that there are at least two forwarding paths in the non-dormant state in the current time period, the IoT access node selects two forwarding paths from the preset collar routing information table, where the two forwarding paths include the primary forwarding Path and secondary forwarding path.
其中,物联网接入节点从预置的领区路由信息表中选择两条转发路径包括:The IoT access node selects two forwarding paths from the preset collar routing information table, including:
物联网接入节点根据预置的领区路由信息表确定出在当前时段处于未休眠状态的至少两条转发路径,并从该至少两条转发路径中选择出上报负荷最小或优先级最高的两条转发路径。其中,最小上报负荷或最高优先级的转发路径为主转发路径,次小上报负荷或次高优先级的转发路径为辅转发路径。The Internet of Things access node determines at least two forwarding paths that are not in the dormant state in the current time period according to the preset territorial routing information table, and selects two of the at least two forwarding paths that have the lowest reported load or the highest priority. Strip forwarding path. The minimum reporting load or the highest priority forwarding path is the primary forwarding path, and the secondary reporting load or the next highest priority forwarding path is the secondary forwarding path.
305、物联网接入节点统计上述海量终端设备中设备类型为上述目标设备类型且上报频率低于上述预设上报频率的目标终端设备的数量。305. The IoT access node counts the number of target terminal devices in the mass terminal device that are the type of the target device and the reported frequency is lower than the preset reporting frequency.
306、物联网接入节点判断上述目标终端设备的数量是否达到预设数量阈值,当上述目标终端设备的数量达到预设数量阈值时,物联网接入节点将上述所有物联网数据封装成数据元,并通过主转发路径向汇聚单元上报该数据元。306. The IoT access node determines whether the number of the target terminal devices reaches a preset number threshold. When the number of the target terminal devices reaches a preset number threshold, the IoT access node encapsulates all the Internet of Things data into data elements. And reporting the data element to the aggregation unit through the primary forwarding path.
本发明实施例中,当上述目标终端设备的数量未达到预设数量阈值时,物联网接入节选需持续检测其无线覆盖范围内设备类型为上述目标设备类型且上报频率低于上述预设上报频率的终端设备上报的目标物联网数据,直至检测到的目标物联网数据的总数量达到预设数量阈值。 In the embodiment of the present invention, when the number of the target terminal devices does not reach the preset number threshold, the IoT access excerpt needs to continuously detect that the device type in the wireless coverage is the target device type and the reporting frequency is lower than the preset report. The target Internet of Things data reported by the terminal device of the frequency until the total number of detected target Internet of Things data reaches a preset number threshold.
307、物联网接入节点判断通过上述主转发路径是否成功上报上述数据元,当判断出未成功上报上述数据元时,通过辅转发路径向汇聚单元上报上述数据元。307. The IoT access node determines whether the data element is successfully reported by the primary forwarding path, and when the data element is not successfully reported, the data element is reported to the aggregation unit by using the secondary forwarding path.
其中,物联网接入节点判断通过上述主转发路径是否成功上报上述数据元可以包括:The determining, by the IoT access node, whether the data forwarding element is successfully reported by the foregoing primary forwarding path may include:
物联网接入节点判断在通过上述主转发路径向汇聚单元上报数据元之后的预设时间段内是否接收到汇聚单元下发的针对上报所有物联网数据的海量终端设备中至少一个终端设备的决策指示,当判断结果为否时,确定通过主转发路径未成功上报上述数据元,当判断结果为是时,确定通过主转发路径成功上报上述数据元,并结束本次流程。The IoT access node determines whether the decision of the at least one terminal device for reporting all the Internet of Things data sent by the aggregation unit is received in the preset time period after the data element is reported to the aggregation unit by the foregoing primary forwarding path. When the result of the determination is no, it is determined that the data element is not successfully reported by the primary forwarding path. When the determination result is yes, it is determined that the data element is successfully reported through the primary forwarding path, and the process ends.
可见,实施图3所描述的物联网中选择转发路径进行数据上报的方法能够为汇聚单元感兴趣且上报频率较低的终端设备上报的物联网数据选择两条转发路径,其中一条转发路径作为主转发路径,另一条转发路径作为辅转发路径,当主转发路径上报失败时,通过辅转发路径上报,这提高了汇聚单元接收到其感兴趣且上报频率较低的物联网数据的可靠性,进而保证了汇聚单元能够快速的对其感兴趣的物联网数据进行处理。It can be seen that the method for selecting the forwarding path for data reporting in the Internet of Things described in FIG. 3 can select two forwarding paths for the IoT data reported by the terminal device that is interested in the aggregation unit and reported the lower frequency, wherein one forwarding path is used as the primary The forwarding path is used as the secondary forwarding path. When the primary forwarding path fails to be reported, the secondary forwarding path is reported. This improves the reliability of the IoT data that the aggregation unit receives and reports low frequency. The aggregation unit can quickly process the IoT data of interest to it.
实施例三Embodiment 3
请参阅图4,图4是本发明实施例公开的一种物联网接入节点的结构示意图。如图4所示,该物联网接入节点400可以包括通信单元401、存储单元402、检测单元403、识别单元404、选择单元405、封装单元406以及判断单元407,其中:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an Internet of Things access node according to an embodiment of the present invention. As shown in FIG. 4, the Internet of Things access node 400 can include a communication unit 401, a storage unit 402, a detection unit 403, an identification unit 404, a selection unit 405, a packaging unit 406, and a determination unit 407, where:
通信单元401用于接收过滤网关下发的数据上报指示消息,该数据上报指示消息用于指示物联网接入节点400针对汇聚单元感兴趣且上报频率低于预设上报频率的目标物联网数据选择双转发路径进行上报。The communication unit 401 is configured to receive a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node 400 is interested in the aggregation unit and reports the target Internet of Things data whose frequency is lower than the preset reporting frequency. The dual forwarding path is reported.
存储单元402用于存储通信单元401接收到的上述数据上报指示消息。The storage unit 402 is configured to store the foregoing data report indication message received by the communication unit 401.
检测单元403用于检测其无线覆盖范围内的海量终端设备发起的物联网数据。The detecting unit 403 is configured to detect the Internet of Things data initiated by the mass terminal device within its wireless coverage.
识别单元404用于识别检测单元403检测到的所有物联网数据中是否存在存储单元402存储的上述数据上报指示消息所指示的目标物联网数据。The identification unit 404 is configured to identify whether the target Internet of Things data indicated by the data reporting indication message stored by the storage unit 402 exists in all the Internet of Things data detected by the detecting unit 403.
选择单元405用于当识别单元404识别出上述所有物联网数据中存在上述目标物联网数据时,从预置的领区路由信息表中选择两条转发路径,其中,该两条转发路径包括主转发路径以及辅转发路径。The selecting unit 405 is configured to: when the identifying unit 404 identifies that the target Internet of Things data exists in all the Internet of Things data, select two forwarding paths from the preset collar routing information table, where the two forwarding paths include the primary Forwarding path and secondary forwarding path.
封装单元406用于将上述所有物联网数据封装成数据元。The encapsulation unit 406 is configured to encapsulate all of the above Internet of Things data into data elements.
通信单元401还可以用于通过上述主转发路径向汇聚单元上报封装单元 406封装成的数据元。The communication unit 401 is further configured to report the encapsulation unit to the aggregation unit by using the foregoing primary forwarding path. 406 encapsulated data elements.
判断单元407用于判断通过上述主转发路径是否成功上报上述数据元。The determining unit 407 is configured to determine whether the data element is successfully reported by the primary forwarding path.
通信单元401还用于当判断单元407判断出未成功上报上述数据元时,通过上述辅转发路径向汇聚单元上报封装单元406封装成的数据元。The communication unit 401 is further configured to report, when the determining unit 407 determines that the data element is not successfully reported, the data element encapsulated by the encapsulating unit 406 to the aggregation unit by using the auxiliary forwarding path.
在一个可选的实施例中,判断单元407判断通过上述主转发路径是否成功上报上述数据元的具体方式可以为:In an optional embodiment, the determining unit 407 determines whether the data forwarding element is successfully reported by the primary forwarding path.
判断在通过上述主转发路径向汇聚单元上报上述数据元之后的预设时间段内是否接收到汇聚单元下发的针对上报上述所有物联网数据的海量终端设备中至少一个终端设备的决策指示,当判断结果为否时,确定通过上述主转发路径未成功上报上述数据元。Determining, by a predetermined time period after the reporting of the data element by the primary forwarding path to the aggregation unit, whether a decision indication of at least one terminal device of the mass terminal device for reporting all the Internet of Things data sent by the aggregation unit is received, When the determination result is no, it is determined that the data element is not successfully reported through the primary forwarding path.
在另一个可选的实施例中,判断单元407还可以用于在识别单元404识别出上述所有物联网数据中存在上述目标物联网数据之后以及在选择单元405从预置的领区路由信息表中选择两条转发路径之前,根据预置的领区路由信息判断在当前时段是否存在处于未休眠状态的至少两条转发路径,当判断出在当前时段存在处于未休眠状态的至少两条转发路径时,触发选择单元405执行上述从预置的领区路由信息表中选择两条转发路径的操作。In another optional embodiment, the determining unit 407 is further configured to: after the identifying unit 404 identifies that the target Internet of Things data exists in all the Internet of Things data, and in the selecting unit 405, from the preset collar routing information table. Before selecting two forwarding paths, determining whether there are at least two forwarding paths in the non-sleep state in the current period according to the preset routing information, and determining that there are at least two forwarding paths in the non-sleep state in the current period. At this time, the trigger selection unit 405 performs the above-described operation of selecting two forwarding paths from the preset collar routing information table.
在该另一种可选的实施例中,选择单元405从预置的领区路由信息表中选择两条转发路径的具体方式可以为:In this alternative embodiment, the specific manner in which the selecting unit 405 selects two forwarding paths from the preset collar routing information table may be:
根据预置的领区路由信息表确定出在当前时段处于未休眠状态的至少两条转发路径,并从该至少两条转发路径中选择出上报负荷最小的两条转发路径。And determining, according to the preset collar routing information table, at least two forwarding paths that are in a non-dormant state in the current period, and selecting, from the at least two forwarding paths, two forwarding paths that report the least load.
在又一个可选的实施例中,上述海量终端设备中每个终端设备发起的物联网数据包括数据内容以及该终端设备的设备类型,上述数据上报指示消息具体用于指示上述物联网接入节点针对汇聚单元感兴趣的目标设备类型的终端设备上报的且上报频率低于预设上报频率的目标互联网数据选择双转发路径进行上报。In still another optional embodiment, the Internet of Things data initiated by each terminal device in the mass terminal device includes data content and a device type of the terminal device, where the data reporting indication message is specifically used to indicate the foregoing Internet of Things access node. The target Internet data that is reported by the terminal device of the target device type that is of interest to the aggregation unit and whose reported frequency is lower than the preset reporting frequency is selected to be reported.
在该有一个可选的实施例中,识别单元404识别其检测到的所有物联网数据中是否存在上述数据上报指示消息所指示的目标物联网数据的具体方式为:In an optional embodiment, the identification unit 404 identifies whether the target Internet of Things data indicated by the data reporting indication message exists in all the Internet of Things data detected by the identification unit 404 is:
识别其检测到的所有物联网数据中是否存在上述数据上报指示消息所指示的上述目标设备类型的终端设备上报的且上报频率低于预设上报频率的目标互联网数据。And identifying, in all the Internet of Things data that is detected, the target Internet data reported by the terminal device of the target device type indicated by the data reporting indication message and reporting the frequency lower than the preset reporting frequency.
在又一个可选的实施例中,该物联网接入节点400还可以包括统计单元408,此时,该物联网接入节点400的结构可以如图5所示,图5是本发明实 施例公开的另一种物联网接入节点的结构示意图。其中:In still another optional embodiment, the Internet of Things access node 400 may further include a statistical unit 408. In this case, the structure of the Internet of Things access node 400 may be as shown in FIG. 5, and FIG. 5 is a A schematic diagram of another structure of an Internet of Things access node disclosed in the embodiment. among them:
统计单元408用于在封装单元406将上述所有物联网数据封装成数据元之前,统计上述海量终端设备中设备类型为上述目标设备类型且上报频率低于上述预设上报频率的目标终端设备的数量。The statistic unit 408 is configured to count, before the encapsulating unit 406 encapsulates all the Internet of Things data into data elements, the number of target terminal devices in the mass terminal device that have the device type of the target device type and the reported frequency is lower than the preset reporting frequency. .
判断单元407还可以用于判断统计单元408统计出的目标终端设备的数量是否达到预设数量阈值,当判断出上述目标终端设备的数量达到预设数量阈值时,触发封装单元406执行上述将上述所有物联网数据封装成数据元的操作。The determining unit 407 is further configured to determine whether the number of the target terminal devices counted by the statistic unit 408 reaches a preset number threshold. When it is determined that the number of the target terminal devices reaches a preset number threshold, the trigger encapsulating unit 406 performs the foregoing All IoT data is encapsulated into data element operations.
可见,实施图4或图5所描述的物联网接入节点400能够为汇聚单元感兴趣且上报频率较低的物联网数据选择两条转发路径,其中一条转发路径作为主转发路径,另一条转发路径作为辅转发路径,当主转发路径上报失败时,通过辅转发路径上报,这提高了汇聚单元接收到其感兴趣且上报频率较低的物联网数据的可靠性,进而保证了汇聚单元能够快速的对其感兴趣的物联网数据进行处理。It can be seen that the IoT access node 400 described in FIG. 4 or FIG. 5 can select two forwarding paths for the IoT data that are of interest to the aggregation unit and report the lower frequency. One forwarding path is used as the primary forwarding path and the other forwarding is performed. The path is used as the secondary forwarding path. When the primary forwarding path fails to report, the secondary forwarding path is reported. This improves the reliability of the IoT data that the aggregation unit receives and reports low frequency, which ensures that the aggregation unit can be fast. Process IoT data of interest to it.
实施例四Embodiment 4
请参阅图6,图6是本发明实施例公开的一种物联网中选择转发路径进行数据上报的系统的结构示意图。如图6所示,该物联网中选择转发路径进行数据上报的系统可以包括汇聚单元601、过滤网关602、物联网接入节点603以及处于该物联网接入节点覆盖范围内的多个终端设备604,其中:Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a system for selecting a forwarding path for data reporting in an Internet of Things according to an embodiment of the present invention. As shown in FIG. 6, the system for selecting a forwarding path for data reporting in the Internet of Things may include a convergence unit 601, a filtering gateway 602, an Internet of Things access node 603, and a plurality of terminal devices within the coverage of the Internet of Things access node. 604, where:
汇聚单元601用于将数据上报指示消息下发至过滤网关602,其中,该数据上报指示消息用于指示物联网接入节点603针对汇聚单元601感兴趣且上报频率低于预设上报频率的目标物联网数据选择双转发路径进行上报。The aggregation unit 601 is configured to send a data report indication message to the filtering gateway 602, where the data report indication message is used to indicate that the IoT access node 603 is interested in the aggregation unit 601 and reports a target whose frequency is lower than a preset reporting frequency. The IoT data is selected for reporting on the dual forwarding path.
过滤网关602用于接收汇聚单元601下发的上述数据上报指示消息,并将上述数据上报指示消息下发至物联网接入节点603。The filtering gateway 602 is configured to receive the data reporting indication message sent by the aggregation unit 601, and send the data reporting indication message to the Internet of Things access node 603.
物联网接入节点603用于接收并存储过滤网关602下发的上述数据上报指示消息。The IoT access node 603 is configured to receive and store the data reporting indication message delivered by the filtering gateway 602.
终端设备604用于向物联网接入节点603上报物联网数据,其中,每个终端设备604上报的物联网数据可以包括数据内容。The terminal device 604 is configured to report the Internet of Things data to the Internet of Things access node 603, wherein the Internet of Things data reported by each terminal device 604 may include data content.
物联网接入节点603用于检测其无线覆盖范围内的多个终端设备604上报的物联网数据,并识别其检测到的所有物联网数据中是否存在上述数据上报指示消息所指示的上述目标互联网数据,当识别出其检测到的所有物联网数据中存在上述数据上报指示消息中所指示的目标物联网数据时,从预置的邻区路由信息表中选择两条转发路径,其中,该两条转发路径中的其中一条转发路径为主转发路径,另一条转发路径为辅转发路径。 The Internet of Things access node 603 is configured to detect the Internet of Things data reported by the plurality of terminal devices 604 in the wireless coverage area, and identify whether the target Internet indicated by the data reporting indication message exists in all the Internet of Things data detected by the Internet of Things. Data, when identifying the target Internet of Things data indicated in the data reporting indication message in all the Internet of Things data detected by the data, selecting two forwarding paths from the preset neighboring routing information table, where the two One of the forwarding paths in the forwarding path is the primary forwarding path, and the other forwarding path is the secondary forwarding path.
物联网接入节点603还用于将其检测到的上述所有物联网数据封装成数据元,并通过上述主转发路径直接向汇聚单元601或通过过滤网关602向汇聚单元601上报该数据元,并判断通过上述主转发路径是否成功上报该数据元,当判断出通过上述主转发路径是否成功上报该数据元,当判断结果为否时,通过上述辅转发路径重新向汇聚单元601或通过过滤网关602向汇聚单元601上报该数据元。The IoT access node 603 is further configured to encapsulate the all the IoT data that is detected by the IoT data into a data element, and directly report the data element to the aggregation unit 601 through the primary forwarding path or through the filtering gateway 602, and Determining whether the data element is successfully reported by the primary forwarding path, and determining whether the data element is successfully reported by the primary forwarding path. When the determination result is no, the secondary forwarding path is redirected to the aggregation unit 601 or the filtering gateway 602. The data element is reported to the aggregation unit 601.
可选的,物联网接入节点603判断通过上述主转发路径是否成功上报上述数据元的具体方式可以为:Optionally, the specific manner in which the IoT access node 603 determines whether the data forwarding element is successfully reported by the foregoing primary forwarding path may be:
物联网接入节点603判断在通过上述主转发路径向汇聚单元601上报上述数据元之后的预设时间段内是否接收到汇聚单元601下发的针对上报上述所有物联网数据的海量终端设备中至少一个终端设备的决策指示,当判断结果为否时,确定通过上述主转发路径未成功上报数据元。The IoT access node 603 determines whether at least one of the mass terminal devices that are sent by the aggregation unit 601 for reporting all the Internet of Things data is received in the preset time period after the data element is reported to the aggregation unit 601 through the primary forwarding path. A decision indication of a terminal device, when the determination result is no, determines that the data element is not successfully reported through the primary forwarding path.
可选的,物联网接入节点603还可以在识别出上述所有物联网数据中存在上述目标物联网数据之后以及在从预置的领区路由信息表中选择两条转发路径之前,根据预置的领区路由信息判断在当前时段是否存在处于未休眠状态的至少两条转发路径,当判断出在当前时段存在处于未休眠状态的至少两条转发路径时,触发执行上述从预置的领区路由信息表中选择两条转发路径的操作。Optionally, the Internet of Things access node 603 may further determine, according to the preset, after the foregoing target Internet of Things data exists in all the Internet of Things data, and before selecting two forwarding paths from the preset collar routing information table. The routing information of the collar area determines whether there are at least two forwarding paths in the non-sleep state in the current time period, and when it is determined that there are at least two forwarding paths in the non-sleep state in the current time period, the execution of the preset pre-collection area is triggered. The operation of selecting two forwarding paths in the routing information table.
其中,物联网接入节点603从预置的领区路由信息表中选择两条转发路径的具体方式可以为:The specific manner in which the IoT access node 603 selects two forwarding paths from the preset routing information table may be:
物联网接入节点603根据预置的领区路由信息表确定出在当前时段处于未休眠状态的至少两条转发路径,并从该至少两条转发路径中选择出上报负荷最小的两条转发路径。The IoT access node 603 determines at least two forwarding paths that are in a non-dormant state during the current time period according to the preset collar routing information table, and selects two forwarding paths with the least reported load from the at least two forwarding paths. .
可选的,多个终端设备604中每个终端设备604发起的物联网数据可以包括数据内容以及该终端设备的设备类型,且上述数据上报指示消息具体用于指示物联网接入节点603针对汇聚单元601感兴趣的目标设备类型的终端设备上报的且上报频率低于预设上报频率的目标互联网数据选择双转发路径进行上报。Optionally, the Internet of Things data initiated by each of the plurality of terminal devices 604 may include the data content and the device type of the terminal device, and the data reporting indication message is specifically used to indicate that the Internet of Things access node 603 is configured for aggregation. The target Internet data reported by the terminal device of the target device type that is of interest to the unit 601 is reported to be reported by the dual-forwarding path of the target Internet data whose frequency is lower than the preset reporting frequency.
其中,物联网接入节点603识别其检测到的所有物联网数据中是否存在上述数据上报指示消息所指示的目标物联网数据的具体方式可以为:The specific manner in which the Internet of Things access node 603 identifies the target Internet of Things data indicated by the data reporting indication message in all the Internet of Things data detected by the Internet of Things access node 603 may be:
物联网接入节点603识别其检测到的所有物联网数据中是否存在上述数据上报指示消息所指示的目标设备类型的终端设备上报的且上报频率低于预设上报频率的目标互联网数据。The Internet of Things access node 603 identifies whether there is target Internet data reported by the terminal device of the target device type indicated by the data reporting indication message and the reported frequency is lower than the preset reporting frequency.
进一步可选的,物联网接入节点603还可以用于在将上述所有物联网数 据封装成数据元之前,统计上述多个终端设备中设备类型为上述目标设备类型且上报频率低于预设上报频率的目标终端设备的数量,并判断上述目标终端设备的数量是否达到预设数量阈值,当上述目标终端设备的数量达到预设数量阈值时,触发执行上述将所有物联网数据封装成数据元的操作。Further optionally, the Internet of Things access node 603 can also be used to count all the Internet of Things mentioned above. Before the data element is encapsulated, the number of the target terminal devices whose device type is the target device type and the reported frequency is lower than the preset reporting frequency, and the number of the target terminal devices is determined to be a preset number. Threshold, when the number of the target terminal devices reaches a preset number threshold, triggering the above operation of encapsulating all the Internet of Things data into data elements.
可见,实施图6所描述的物联网中选择转发路径进行数据上报的系统能够为汇聚单元感兴趣且上报频率较低的物联网数据选择两条转发路径,其中一条转发路径作为主转发路径,另一条转发路径作为辅转发路径,当主转发路径上报失败时,通过辅转发路径上报,这提高了汇聚单元接收到其感兴趣且上报频率较低的物联网数据的可靠性,进而保证了汇聚单元能够快速的对其感兴趣的物联网数据进行处理。It can be seen that the system for selecting the forwarding path for data reporting in the Internet of Things described in FIG. 6 can select two forwarding paths for the IoT data that are of interest to the aggregation unit and report the lower frequency, wherein one forwarding path is used as the primary forwarding path, and A forwarding path is used as the secondary forwarding path. When the primary forwarding path fails to be reported, the secondary forwarding path is reported. This improves the reliability of the aggregation unit receiving the IoT data that is of interest and has a lower reporting frequency, thus ensuring that the aggregation unit can Quickly process IoT data of interest to it.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(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 selecting a forwarding path for data reporting in the Internet of Things disclosed in the embodiment of the present invention are described in detail. The principles and implementation manners of the present invention are described in the following. It is only used to help understand the method of the present invention and its core ideas; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scopes. The contents of this specification are not to be construed as limiting the invention.

Claims (10)

  1. 一种物联网中选择转发路径进行数据上报的方法,其特征在于,所述方法包括:A method for selecting a forwarding path for data reporting in an Internet of Things, the method comprising:
    物联网接入节点接收过滤网关下发的数据上报指示消息并存储,所述数据上报指示消息用于指示所述物联网接入节点针对汇聚单元感兴趣且上报频率低于预设上报频率的目标物联网数据选择双转发路径进行上报;The IoT access node receives and stores a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node is interested in the aggregation unit and reports a frequency lower than a preset reporting frequency. The Internet of Things data selects a double forwarding path for reporting;
    所述物联网接入节点检测其无线覆盖范围内的海量终端设备发起的物联网数据,并识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标物联网数据;The IoT access node detects the Internet of Things data initiated by the mass terminal device in the wireless coverage area, and identifies whether the target Internet of Things indicated by the data reporting indication message exists in all the Internet of Things data detected by the IoT access node. data;
    当识别出所述所有物联网数据中存在所述目标物联网数据时,所述物联网接入节点从预置的领区路由信息表中选择两条转发路径,其中,所述两条转发路径包括主转发路径以及辅转发路径;When the target Internet of Things data is found in all the Internet of Things data, the IoT access node selects two forwarding paths from the preset collar routing information table, where the two forwarding paths Including a primary forwarding path and a secondary forwarding path;
    所述物联网接入节点将所述所有物联网数据封装成数据元,并通过所述主转发路径向所述汇聚单元上报所述数据元,以及判断通过所述主转发路径是否成功上报所述数据元,当判断出未成功上报所述数据元时,通过所述辅转发路径向所述汇聚单元上报所述数据元。The IoT access node encapsulates the all the Internet of Things data into a data element, and reports the data element to the aggregation unit through the primary forwarding path, and determines whether the primary forwarding path is successfully reported by the primary forwarding path. The data element, when it is determined that the data element is not successfully reported, reports the data element to the aggregation unit by using the secondary forwarding path.
  2. 根据权利要求1所述的物联网中选择转发路径进行数据上报的方法,其特征在于,所述物联网接入节点判断通过所述主转发路径是否成功上报所述数据元,包括:The method for selecting a forwarding path for data reporting in the Internet of Things according to claim 1, wherein the IoT access node determines whether the data element is successfully reported by the primary forwarding path, including:
    所述物联网接入节点判断在通过所述主转发路径向所述汇聚单元上报所述数据元之后的预设时间段内是否接收到所述汇聚单元下发的针对上报所述所有物联网数据的所述海量终端设备中至少一个终端设备的决策指示,当判断结果为否时,确定通过所述主转发路径未成功上报所述数据元。The IoT access node determines whether the all the Internet of Things data sent by the aggregation unit is sent in the preset time period after the data element is reported to the aggregation unit by the primary forwarding path. The decision indication of the at least one terminal device of the mass terminal device determines that the data element is not successfully reported through the primary forwarding path when the determination result is no.
  3. 根据权利要求1或2所述的物联网中选择转发路径进行数据上报的方法,其特征在于,在识别出所述所有物联网数据中存在所述目标物联网数据之后,所述物联网接入节点从预置的领区路由信息表中选择两条转发路径之前,所述方法还包括:The method for selecting a forwarding path for data reporting in the Internet of Things according to claim 1 or 2, wherein after the target Internet of Things data is found in all the Internet of Things data, the Internet of Things access Before the node selects two forwarding paths from the preset routing information table, the method further includes:
    所述物联网接入节点根据预置的领区路由信息判断在当前时段是否存在处于未休眠状态的至少两条转发路径,当判断出在所述当前时段存在处于所述未休眠状态的至少两条转发路径时,触发执行所述从预置的领区路由信息表中选择两条转发路径的操作;The IoT access node determines, according to the preset territorial routing information, whether there are at least two forwarding paths that are in a non-dormant state in the current time period, and determines that at least two of the non-sleep states exist in the current time period. When the path is forwarded, the operation of selecting the two forwarding paths from the preset routing information table is triggered;
    其中,所述物联网接入节点从预置的领区路由信息表中选择两条转发路径,包括:The IoT access node selects two forwarding paths from the preset routing information table, including:
    所述物联网接入节点根据预置的领区路由信息表确定出在所述当前时段处于所述未休眠状态的至少两条转发路径,并从所述至少两条转发路径中选 择出上报负荷最小的两条转发路径。The IoT access node determines, according to the preset territorial routing information table, at least two forwarding paths that are in the unhibernated state during the current time period, and selects from the at least two forwarding paths. Select the two forwarding paths with the lowest reported load.
  4. 根据权利要求1-3任一项所述的物联网中选择转发路径进行数据上报的方法,其特征在于,所述海量终端设备中每个终端设备发起的物联网数据包括数据内容以及该终端设备的设备类型,所述数据上报指示消息具体用于指示所述物联网接入节点针对所述汇聚单元感兴趣的目标设备类型的终端设备上报的且上报频率低于所述预设上报频率的目标互联网数据选择双转发路径进行上报;The method for selecting a forwarding path for data reporting in the Internet of Things according to any one of claims 1 to 3, wherein the Internet of Things data initiated by each terminal device in the mass terminal device includes data content and the terminal device. And the data reporting indication message is specifically used to indicate that the IoT access node reports the target device of the target device type that is interested in the aggregation unit, and reports a target whose frequency is lower than the preset reporting frequency. Internet data selection double forwarding path for reporting;
    所述物联网接入节点识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标物联网数据,包括:The IoT access node identifies whether the target Internet of Things data indicated by the data report indication message exists in all the Internet of Things data detected by the IoT access node, including:
    所述物联网接入节点识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标设备类型的终端设备上报的且上报频率低于所述预设上报频率的所述目标互联网数据。The IoT access node identifies, in all the Internet of Things data detected by the device, whether the terminal device of the target device type indicated by the data reporting indication message is reported and the reported frequency is lower than the preset reporting frequency. The target internet data.
  5. 根据权利要求4所述的物联网中选择转发路径进行数据上报的方法,其特征在于,所述物联网接入节点将所述所有物联网数据封装成数据元之前,所述方法还包括:The method for selecting a forwarding path for data reporting in the Internet of Things according to claim 4, wherein before the IoT access node encapsulates the all the Internet of Things data into a data element, the method further includes:
    所述物联网接入节点统计所述海量终端设备中设备类型为所述目标设备类型且上报频率低于所述预设上报频率的目标终端设备的数量,并判断所述目标终端设备的数量是否达到预设数量阈值,当所述目标终端设备的数量达到所述预设数量阈值时,触发执行所述将所述所有物联网数据封装成数据元的操作。The IoT access node counts the number of target terminal devices in the mass terminal device whose device type is the target device type and reports the frequency lower than the preset reporting frequency, and determines whether the number of the target terminal devices is When the preset number threshold is reached, when the number of the target terminal devices reaches the preset number threshold, the operation of encapsulating the all Internet of Things data into data elements is triggered.
  6. 一种物联网接入节点,其特征在于,所述物联网接入节点包括通信单元、存储单元、检测单元、识别单元、选择单元、封装单元以及判断单元,其中:An IoT access node, characterized in that the IoT access node comprises a communication unit, a storage unit, a detecting unit, an identifying unit, a selecting unit, a packaging unit and a determining unit, wherein:
    所述通信单元,用于接收过滤网关下发的数据上报指示消息,所述数据上报指示消息用于指示所述物联网接入节点针对汇聚单元感兴趣且上报频率低于预设上报频率的目标物联网数据选择双转发路径进行上报;The communication unit is configured to receive a data report indication message sent by the filtering gateway, where the data report indication message is used to indicate that the IoT access node is interested in the aggregation unit and reports a target whose frequency is lower than a preset reporting frequency. The Internet of Things data selects a double forwarding path for reporting;
    所述存储单元,用于存储所述数据上报指示消息;The storage unit is configured to store the data report indication message;
    所述检测单元,用于检测其无线覆盖范围内的海量终端设备发起的物联网数据;The detecting unit is configured to detect Internet of Things data initiated by a mass terminal device in a wireless coverage area thereof;
    所述识别单元,用于识别所述检测单元检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标物联网数据;The identifying unit is configured to identify whether the target Internet of Things data indicated by the data reporting indication message exists in all the Internet of Things data detected by the detecting unit;
    所述选择单元,用于当所述识别单元识别出所述所有物联网数据中存在所述目标物联网数据时,从预置的领区路由信息表中选择两条转发路径,其中,所述两条转发路径包括主转发路径以及辅转发路径; The selecting unit is configured to: when the identifying unit identifies that the target Internet of Things data exists in the all Internet of Things data, select two forwarding paths from the preset collar routing information table, where the The two forwarding paths include a primary forwarding path and a secondary forwarding path.
    所述封装单元,用于将所述所有物联网数据封装成数据元;The encapsulating unit is configured to encapsulate the all Internet of Things data into data elements;
    所述通信单元,还用于通过所述主转发路径向所述汇聚单元上报所述数据元;The communication unit is further configured to report the data element to the aggregation unit by using the primary forwarding path;
    所述判断单元,用于判断通过所述主转发路径是否成功上报所述数据元;The determining unit is configured to determine whether the data element is successfully reported by the primary forwarding path;
    所述通信单元,还用于当所述判断单元判断出未成功上报所述数据元时,通过所述辅转发路径向所述汇聚单元上报所述数据元。The communication unit is further configured to report the data element to the aggregation unit by using the secondary forwarding path when the determining unit determines that the data element is not successfully reported.
  7. 根据权利要求6所述的物联网接入节点,其特征在于,所述判断单元判断通过所述主转发路径是否成功上报所述数据元的具体方式为:The IoT access node according to claim 6, wherein the determining unit determines whether the data forwarding element is successfully reported by the primary forwarding path is:
    判断在通过所述主转发路径向所述汇聚单元上报所述数据元之后的预设时间段内是否接收到所述汇聚单元下发的针对上报所述所有物联网数据的所述海量终端设备中至少一个终端设备的决策指示,当判断结果为否时,确定通过所述主转发路径未成功上报所述数据元。Determining, in a preset time period after the reporting of the data element by the primary forwarding path, the receiving, by the aggregation unit, the mass terminal device for reporting all the Internet of Things data The decision indication of the at least one terminal device determines that the data element is not successfully reported through the primary forwarding path when the determination result is no.
  8. 根据权利要求6或7所述的物联网接入节点,其特征在于,所述判断单元,还用于在所述识别单元识别出所述所有物联网数据中存在所述目标物联网数据之后以及在所述选择单元从预置的领区路由信息表中选择两条转发路径之前,根据预置的领区路由信息判断在当前时段是否存在处于未休眠状态的至少两条转发路径,当判断出在所述当前时段存在处于所述未休眠状态的至少两条转发路径时,触发所述选择单元执行所述从预置的领区路由信息表中选择两条转发路径的操作;The Internet of Things access node according to claim 6 or 7, wherein the determining unit is further configured to: after the identifying unit identifies the target Internet of Things data in the all Internet of Things data, and Before the selecting unit selects two forwarding paths from the preset routing information table, determining, according to the preset routing information, whether there are at least two forwarding paths in the non-sleep state in the current period, when determining When the current time period has at least two forwarding paths in the unsleep state, triggering the selecting unit to perform the operation of selecting two forwarding paths from the preset collar routing information table;
    其中,所述选择单元从预置的领区路由信息表中选择两条转发路径的具体方式为:The specific manner in which the selecting unit selects two forwarding paths from the preset routing information table is:
    根据预置的领区路由信息表确定出在所述当前时段处于所述未休眠状态的至少两条转发路径,并从所述至少两条转发路径中选择出上报负荷最小的两条转发路径。And determining, according to the preset collar routing information table, at least two forwarding paths that are in the non-dormant state in the current time period, and selecting two forwarding paths that report the least load from the at least two forwarding paths.
  9. 根据权利要求6-8任一项所述的物联网接入节点,其特征在于,所述海量终端设备中每个终端设备发起的物联网数据包括数据内容以及该终端设备的设备类型,所述数据上报指示消息具体用于指示所述物联网接入节点针对所述汇聚单元感兴趣的目标设备类型的终端设备上报的且上报频率低于所述预设上报频率的目标互联网数据选择双转发路径进行上报;The Internet of Things access node according to any one of claims 6-8, wherein the Internet of Things data initiated by each terminal device in the mass terminal device comprises data content and a device type of the terminal device, The data reporting indication message is specifically configured to indicate that the IoT access node selects a dual forwarding path for the target Internet data reported by the terminal device of the target device type that is interested in the aggregation unit and reports a frequency lower than the preset reporting frequency. Reporting;
    所述识别单元识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标物联网数据的具体方式为:The specific manner of the identification unit identifying whether the target Internet of Things data indicated by the data report indication message exists in all the Internet of Things data detected by the identification unit is:
    识别其检测到的所有物联网数据中是否存在所述数据上报指示消息所指示的所述目标设备类型的终端设备上报的且上报频率低于所述预设上报频率的所述目标互联网数据。 And identifying, in all the Internet of Things data detected by the terminal device, the target Internet data reported by the terminal device of the target device type indicated by the data reporting indication message and reporting a frequency lower than the preset reporting frequency.
  10. 根据权利要求9所述的物联网接入节点,其特征在于,所述物联网接入节点还包括统计单元,其中:The Internet of Things access node according to claim 9, wherein the Internet of Things access node further comprises a statistical unit, wherein:
    所述统计单元,用于在所述封装单元将所述所有物联网数据封装成数据元之前,统计所述海量终端设备中设备类型为所述目标设备类型且上报频率低于所述预设上报频率的目标终端设备的数量;The statistic unit is configured to: before the encapsulating unit encapsulates the all the Internet of Things data into a data element, the device type of the mass terminal device is the target device type, and the reporting frequency is lower than the preset report The number of target terminal devices of the frequency;
    所述判断单元,还用于判断所述目标终端设备的数量是否达到预设数量阈值,当所述目标终端设备的数量达到所述预设数量阈值时,触发所述封装单元执行所述将所述所有物联网数据封装成数据元的操作。 The determining unit is further configured to determine whether the number of the target terminal devices reaches a preset number threshold, and when the number of the target terminal devices reaches the preset number threshold, triggering the encapsulating unit to execute the The operation of all IoT data encapsulated into data elements.
PCT/CN2017/099659 2017-06-21 2017-08-30 Method and device for selecting forwarding path for data reporting in internet of things WO2018233027A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710473280.1 2017-06-21
CN201710473280.1A CN107248953A (en) 2017-06-21 2017-06-21 Forward-path is selected to carry out the method and apparatus that data are reported in a kind of Internet of Things

Publications (1)

Publication Number Publication Date
WO2018233027A1 true WO2018233027A1 (en) 2018-12-27

Family

ID=60018694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099659 WO2018233027A1 (en) 2017-06-21 2017-08-30 Method and device for selecting forwarding path for data reporting in internet of things

Country Status (2)

Country Link
CN (1) CN107248953A (en)
WO (1) WO2018233027A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114765591A (en) * 2020-12-31 2022-07-19 大唐移动通信设备有限公司 Data transmission method, device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347591B (en) * 2021-08-05 2021-10-15 四川省公路规划勘察设计研究院有限公司 LoRa gateway, control method and field engineering structure monitoring system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255807A (en) * 2011-07-07 2011-11-23 浙江大学 Multipath segmental routing method based on multihop network with master-slave structure
CN102420874A (en) * 2011-12-08 2012-04-18 北京工业大学 Field programmable gate array (FPGA)-based Internet of things accessing module
WO2012126333A1 (en) * 2011-03-18 2012-09-27 中国移动通信集团公司 Internet of things communication method, gateway, terminal and system
CN104010314A (en) * 2014-05-26 2014-08-27 哈尔滨工业大学(威海) Wireless sensor network relay node distributing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012126333A1 (en) * 2011-03-18 2012-09-27 中国移动通信集团公司 Internet of things communication method, gateway, terminal and system
CN102255807A (en) * 2011-07-07 2011-11-23 浙江大学 Multipath segmental routing method based on multihop network with master-slave structure
CN102420874A (en) * 2011-12-08 2012-04-18 北京工业大学 Field programmable gate array (FPGA)-based Internet of things accessing module
CN104010314A (en) * 2014-05-26 2014-08-27 哈尔滨工业大学(威海) Wireless sensor network relay node distributing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114765591A (en) * 2020-12-31 2022-07-19 大唐移动通信设备有限公司 Data transmission method, device and storage medium
CN114765591B (en) * 2020-12-31 2023-07-18 大唐移动通信设备有限公司 Data transmission method, device and storage medium

Also Published As

Publication number Publication date
CN107248953A (en) 2017-10-13

Similar Documents

Publication Publication Date Title
CN107197029B (en) Terminal equipment off-line detection method and system based on edge forwarding node
WO2018233030A1 (en) Transmission duration-based internet of things data reporting control method and forwarding node
WO2017219855A1 (en) Root cause locating method and device
WO2018233020A1 (en) Internet of things based data package method and system
WO2018232970A1 (en) Method and system for detecting state of terminal device applied in internet of things
WO2018232976A1 (en) Terminal device operating status determination method and device
CN107396416B (en) Communication control method and system based on data type
WO2018233018A1 (en) Terminal equipment priority based data reporting control method and system
WO2018233009A1 (en) Device type and geographical position based data deduplication method and device
WO2018233036A1 (en) Internet-of-things data reporting control method and device
CN104853378B (en) A kind of method, apparatus and terminal detecting WIFI network access capability
WO2018233016A1 (en) Edge routing node and reporting frequency adjusting method thereof
WO2018233027A1 (en) Method and device for selecting forwarding path for data reporting in internet of things
WO2018233028A1 (en) Internet-of-things data reporting control method and system
WO2018232973A1 (en) Method and system for controlling working state of internet-of-things terminal device
CN107317854B (en) Terminal equipment reporting frequency adjusting method based on control table and routing node
WO2018233034A1 (en) Method and system for controlling transmission of internet of things data
WO2018233049A1 (en) Internet-of-things data communication method and system
WO2018233014A1 (en) Method and device for controlling filtering of internet-of-things data on the basis of transmission time duration
WO2018233021A1 (en) Method and system for controlling data encapsulation in internet of things
WO2018233022A1 (en) Control method and system for packaging data on basis of quantity of terminal devices
WO2018233008A1 (en) Data processing method and system applied to internet of things
CN107197501B (en) Method and equipment for updating routing information table based on monitored equipment
CN107360217B (en) Data reporting method and system based on geographic position and time
CN107360099B (en) Method and equipment for reporting data of Internet of things by configuration based on aggregation unit

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: 17914259

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

122 Ep: pct application non-entry in european phase

Ref document number: 17914259

Country of ref document: EP

Kind code of ref document: A1