WO2018233034A1 - Method and system for controlling transmission of internet of things data - Google Patents

Method and system for controlling transmission of internet of things data Download PDF

Info

Publication number
WO2018233034A1
WO2018233034A1 PCT/CN2017/099669 CN2017099669W WO2018233034A1 WO 2018233034 A1 WO2018233034 A1 WO 2018233034A1 CN 2017099669 W CN2017099669 W CN 2017099669W WO 2018233034 A1 WO2018233034 A1 WO 2018233034A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
aggregation device
data packet
forwarding node
terminal devices
Prior art date
Application number
PCT/CN2017/099669
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 WO2018233034A1 publication Critical patent/WO2018233034A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to a method and system for controlling transmission of Internet of Things data.
  • the Internet of Things is a network that connects things to things.
  • terminal devices such as hygrometers, smoke detectors, ventilation devices, rain sensors, irrigation valves, etc. can collect data and report it to the aggregation unit through the Internet of Things.
  • the aggregation unit is used to analyze the data generated by the mass terminal devices. And processing.
  • the terminal device aggregates the data to be transmitted to the forwarding node in a single-hop or multi-hop manner, and the forwarding node uploads the aggregated data to the aggregation unit. Due to the large number of terminal devices and limited network resources, it is easy for some terminal devices to fail to transmit data and reduce the reliability of the Internet of Things.
  • the embodiment of the invention discloses a method and a system for controlling the transmission and control of the Internet of Things data, which are used to solve the problem that the reliability of the data transmission in the existing Internet of Things leads to low reliability of the Internet of Things.
  • a first aspect of the present invention discloses a method for controlling transmission of Internet of Things data, which may include:
  • the forwarding node receives configuration information that is sent by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, a backup aggregation device, and a member device.
  • the forwarding node acquires a time point of collecting data by the terminal device in the coverage of the wireless network, and divides the terminal device in the coverage of the wireless network of the forwarding node into a plurality of points according to the time point at which the terminal device collects data. a group; wherein each of the groups includes a plurality of terminal devices at a time point in which data is collected;
  • the forwarding node configures one of the plurality of terminal devices in each of the groups as a primary aggregation device, and configures one terminal device of the plurality of terminal devices to be removed from the primary aggregation device as
  • the standby aggregation device configures the remaining terminal devices of the plurality of terminal devices from the primary aggregation device and the standby aggregation device as member devices;
  • the primary aggregation device When the primary aggregation device does not fail, the primary aggregation device acquires data of its own data and other terminal devices in the group, and packages the first data packet, and reports the first data packet to the forwarding. a node, so that the forwarding node reports the first data packet to the aggregation unit;
  • the secondary aggregation device When the primary aggregation device fails, the secondary aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node. So that the forwarding node reports the second data packet to the aggregation unit.
  • the forwarding node receives the sink Configuration information delivered by the aggregation unit, including:
  • the forwarding node invokes a first network interface, and receives configuration information delivered by the aggregation unit by using the first network interface;
  • the primary aggregation device obtains the data of the user and the data of the other terminal devices in the group, and packages the data packet to obtain the first data packet, and reports the first data packet to the forwarding node, including:
  • the primary aggregation device obtains its own data and data of other terminal devices in the group, and packages the first data packet, and reports the first data packet to the forwarding node by using the second network interface of the forwarding node. ;
  • the standby aggregation device obtains its own data and data of other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node, including:
  • the standby aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node by using the second network interface of the forwarding node. .
  • the primary aggregation device when the primary aggregation device does not fail, acquires data of its own data and other terminal devices in the group and packages the data. And transmitting, by the first data packet, the first data packet to the forwarding node, including:
  • the primary aggregation device When the primary aggregation device does not fail, the primary aggregation device acquires data of its own data and other terminal devices in the group and packages the first data packet;
  • the primary aggregation device sends an instant weather query request carrying the location information of the primary aggregation device to the forwarding node, so that the forwarding node requests the cloud platform weather server to match the real-time weather of the location information of the primary aggregation device. information;
  • the primary aggregation device determines whether the real-time weather information matches a preset weather information for reporting the first data packet
  • the first aggregation device reports the first data packet to the forwarding node when it is determined that the current weather information matches the preset weather information for reporting the first data packet.
  • the primary aggregation device determines, when the current weather information matches a preset weather information for reporting the first data packet,
  • the reporting of the first data packet to the forwarding node includes:
  • the primary aggregation device reports the first data packet to the forwarding node when determining that the current current system time matches the time of the preset reporting data.
  • the standby aggregation device acquires its own data and other terminal devices in the group.
  • the data is packetized to obtain a second data packet, and the second data packet is reported to the forwarding node, including:
  • the standby aggregation device acquires data of its own data and other terminal devices in the group and packages the second data packet;
  • the second aggregation packet reports the second data packet to the forwarding node when the current system time is determined to match the preset time of the reported data.
  • a second aspect of the present invention discloses a transmission control system for Internet of Things data, which may include:
  • the forwarding node is configured to receive configuration information that is sent by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, a backup aggregation device, and a member device.
  • the forwarding node is further configured to acquire a time point of collecting data by the terminal device in the coverage of the wireless network, and use the terminal device in the wireless network coverage range of the forwarding node as a basis of the time point at which the terminal device collects data. Dividing into a plurality of groups; wherein each of the groups includes a plurality of terminal devices that collect data at a time point of the same time period;
  • the forwarding node is further configured to configure one terminal device of each of the plurality of terminal devices in the group as a primary aggregation device, and remove one terminal of the primary aggregation device from the multiple terminal devices
  • the device is configured as a standby aggregation device, and the remaining terminal devices of the plurality of terminal devices except the primary aggregation device and the standby aggregation device are configured as member devices;
  • the primary aggregation device When the primary aggregation device is not faulty, the primary aggregation device is configured to acquire data of its own data and other terminal devices in the group, and package the first data packet, and report the first data packet to the local data packet. Deriving the forwarding node, so that the forwarding node reports the first data packet to the convergence unit;
  • the standby aggregation device is configured to acquire data of its own data and other terminal devices in the group, and package the second data packet, and report the second data packet to the Forwarding the node, so that the forwarding node reports the second data packet to the aggregation unit.
  • the manner in which the forwarding node is configured to receive the configuration information delivered by the aggregation unit is specifically:
  • the forwarding node is configured to invoke a first network interface, and receive configuration information delivered by the aggregation unit by using the first network interface;
  • the manner in which the primary aggregation device is configured to acquire the data of the other terminal devices in the group and the other terminal devices in the group and to obtain the first data packet, and report the first data packet to the forwarding node is specifically:
  • the primary aggregation device is configured to obtain the data of the other terminal device and the data of the other terminal devices in the group, and package the first data packet, and report the first data packet to the Forwarding node
  • the standby aggregation device acquires data of its own data and other terminal devices in the group
  • the method of reporting the second data packet and reporting the second data packet to the forwarding node is specifically:
  • the standby aggregation device is configured to obtain data of its own data and other terminal devices in the group and package the second data packet, and report the second data packet to the second data interface through the forwarding node. Forward the node.
  • the primary aggregation device when the primary aggregation device does not fail, the primary aggregation device is configured to acquire data of its own data and other terminal devices in the group.
  • the method of packetizing the first data packet and reporting the first data packet to the forwarding node is specifically:
  • the primary aggregation device When the primary aggregation device does not fail, the primary aggregation device is configured to acquire data of its own data and other terminal devices in the group and package the first data packet; and send the carrier to the forwarding node.
  • An immediate weather query request for location information of the primary aggregation device such that the forwarding node requests the cloud weather server to match the real-time weather information of the location information of the primary aggregation device; and receiving the Instant weather information; and determining whether the instant weather information matches a preset weather information for reporting the first data packet; and determining that the instant weather information matches a preset for reporting the first
  • the weather information of the data packet is sent, the first data packet is reported to the forwarding node.
  • the primary aggregation device is configured to: when determining that the real-time weather information matches a preset weather information for reporting the first data packet,
  • the manner of reporting the first data packet to the forwarding node is specifically:
  • the main aggregation device is configured to acquire a current system time of the primary aggregation device when determining that the real-time weather information matches a predetermined weather information for reporting the first data packet; and determining the current current acquisition Whether the system time matches the preset time for reporting the data; and when the current system time is determined to match the time of the preset report data, the first data packet is reported to the forwarding node.
  • the standby aggregation device when the primary aggregation device fails, is configured to acquire data of its own data and other terminal devices in the group and package the data. Obtaining the second data packet, and reporting the second data packet to the forwarding node is specifically:
  • the standby aggregation device is configured to acquire data of its own data and other terminal devices in the group and package the second data packet; and obtain the current system time and determine the acquisition. Whether the current system time matches the time of the preset report data; and when the time when the current system time is matched to the preset report data is determined, the second data packet is reported to the forwarding node.
  • the embodiment of the invention has the following beneficial effects:
  • the forwarding node after receiving the configuration information sent by the aggregation unit, divides the terminal equipment in the coverage of the wireless network into the basis of the time point of collecting the data by the terminal device in the coverage of the wireless network.
  • Several groups then in each group, determine from inside A primary aggregation device, an alternate aggregation device, and the remaining terminal devices are used as member devices to determine the identity type of the terminal devices in the group. Then, when the primary aggregation device in the group does not fail, the primary aggregation device in the group obtains data of its own data and other terminal devices (including the backup aggregation device and member devices) of the group in which the group is located, and is packaged.
  • the first data packet is then reported to the forwarding node; when the primary aggregation device in the group fails, the secondary aggregation device obtains data of its own data and other terminal devices of the group (including the primary aggregation device and the member device) And packaged to get the second data packet, and then reported to the forwarding node.
  • the forwarding node may divide the group according to the time point of collecting the data, so that the data collected by the terminal device can be reported in a centralized manner and in a timely manner, and further, the forwarding node passes the terminal device in the group.
  • the primary aggregation device is faulty, the data is reported by the primary aggregation device.
  • the primary aggregation device is faulty, the data is reported by the secondary aggregation device.
  • the reliability of networking is then reported to the forwarding node; when the primary aggregation device in the group fails, the secondary aggregation device obtains data of its own data and other terminal devices of the group (including the primary aggregation device
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed by some embodiments of the present invention.
  • FIG. 2 is a schematic flowchart of a method for controlling transmission of Internet of Things data according to an embodiment of the present invention
  • FIG. 3 is another schematic flowchart of a method for controlling transmission of Internet of Things data according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a transmission control system for an Internet of Things data disclosed in an embodiment of the present invention
  • FIG. 5 is another schematic structural diagram of a transmission control system for an Internet of Things data according to an embodiment of the present invention.
  • Embodiments of the present invention disclose a method for controlling transmission of Internet of Things data, which is used for centralized and timely The data collected by the terminal device is reported on the ground, and further, the data of all the terminal devices can be reported, and the reliability of the Internet of Things is improved. Embodiments of the present invention accordingly disclose a transmission control system for Internet of Things data.
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed in some embodiments of the present invention
  • the Internet of Things architecture shown in FIG. 1 may include three layers: a terminal device layer, a forwarding node layer, and an aggregation layer according to functions.
  • the terminal device layer may include a mass-scale terminal device, such as a hygrometer, a smoke sensor, a ventilation device, a rain sensor, an irrigation valve, etc.
  • the forwarding node layer may include a large number of forwarding nodes connected by a network, and the forwarding node may include a router.
  • the device, the repeater, the access point, and the like are not limited in the embodiment of the present invention;
  • the forwarding node may use any standard networking protocol, and the forwarding node may implement data parsing between different network standards;
  • the convergence layer may include an aggregation unit.
  • the aggregation unit can perform high-level management on each forwarding node of the forwarding node layer, thereby realizing control of data transmission frequency, network topology, and other networking functions; the aggregation unit can not only analyze and make decisions on the Internet of Things data generated by the mass terminal equipment.
  • each forwarding node can provide IoT data receiving and receiving services for a large number of terminal devices within its own wireless network coverage, wherein each forwarding node has its own wireless network coverage.
  • the terminal device can have a built-in wireless communication module, which enables each forwarding node to wirelessly communicate with each terminal device within its own wireless network 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 controlling transmission of Internet of Things data according to an embodiment of the present invention.
  • a method for controlling transmission of Internet of Things data may include:
  • the forwarding node receives the configuration information delivered by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, an alternate aggregation device, and a member device.
  • the identity type of the group member such as the primary aggregation device, the standby aggregation device, and the member device, is set by the aggregation unit.
  • the primary aggregation device is used to collect the terminal device data in the aggregation group, and then reported to the aggregation unit in a unified manner.
  • the primary aggregation device fails, such as the network failure of uploading data to the forwarding node,
  • the terminal device data in the group is aggregated by the standby aggregation device, and then reported to the aggregation unit in a unified manner to reduce the competition between the terminal devices to improve the success rate of data reporting.
  • the receiving, by the forwarding node, the configuration information that is sent by the aggregation unit specifically includes: the forwarding node invokes the first network interface, and receives the configuration information delivered by the aggregation unit by using the first network interface.
  • the forwarding node is configured with two types of network interfaces, which are referred to as a first network interface and a second network interface in the embodiment of the present invention, wherein the first network interface is used to implement data interaction with the aggregation unit.
  • the second network interface is used to implement data interaction with the terminal device.
  • the forwarding node invokes the first network interface to receive configuration information delivered by the aggregation unit.
  • the forwarding node obtains a time point of collecting data by the terminal device in the coverage of the wireless network, and divides the terminal device in the wireless network coverage of the forwarding node into several groups according to the time point of the terminal device collecting data; Each of the groups includes a plurality of terminal devices at the same time period at which the data is collected.
  • the aggregation unit may set a time point at which the terminal device collects data. Specifically, the aggregation unit sets a time point for collecting data for the terminal device on the location of interest (a certain farm). The aggregation unit can send the setting parameters to the terminal device, and the terminal device sets the time point for collecting data according to the setting parameters, after which the terminal device collects data at the time point of collecting the data.
  • the forwarding node divides the terminal devices in the coverage of the wireless network according to the time points of collecting data, for example, the time points at which the data is collected are the same or the time points at which the data is collected are relatively close.
  • the terminal devices are divided into groups for timely transmission.
  • the forwarding node configures one terminal device of each of the plurality of terminal devices in the group as a primary aggregation device, and configures one terminal device of the multiple terminal devices except the primary aggregation device as a standby aggregation device, and multiple The remaining terminal devices in the terminal device except the primary aggregation device and the standby aggregation device are configured as member devices.
  • the forwarding node further configures the identity of the terminal device in the group, and selects one of the plurality of terminal devices to be the primary aggregation device, and the other terminal device is configured as the standby aggregation device, and the remaining terminal devices are configured as the member devices.
  • the forwarding node may select the terminal device with the best performance from the plurality of terminal devices of the group as the primary aggregation device, and select the terminal device with the second performance as the standby aggregation device, and the remaining terminals.
  • the device is configured as a member device.
  • the primary aggregation device acquires its own data and The data of the other terminal devices in the group is packaged to obtain the first data packet, and the first data packet is reported to the forwarding node, so that the forwarding node reports the first data packet to the aggregation unit.
  • the primary aggregation device reports the first data packet to the forwarding node
  • the method includes: reporting, by the primary aggregation device, the first data packet to the forwarding node by using the second network interface of the forwarding node.
  • the reporting, by the primary aggregation device, the first data packet to the forwarding node includes: determining, by the primary aggregation device, a target transmission frequency band; establishing a communication connection with the forwarding node on the target transmission frequency band, and using the second network interface based on the established communication connection The first data packet is reported to the forwarding node.
  • the primary aggregation device establishes a communication connection with the forwarding node on the target transmission frequency band, and reports the first data packet to the forwarding node by using the second network interface based on the established communication connection, and the method includes: determining, by the primary aggregation device, the target transmission frequency band The time-frequency resource reports the first data packet to the forwarding node through the second network interface on the time-frequency resource.
  • the primary aggregation device determines the time-frequency resource corresponding to the target transmission frequency band, and reports the first data packet to the forwarding node by using the second network interface on the time-frequency resource, which includes: the primary aggregation device transmits the frequency band from the target through frequency hopping Determining a frequency domain location of the physical resource block for reporting the first data packet; the primary aggregation device reporting the first data packet by using the second network interface on the time-frequency resource corresponding to the frequency domain location of the determined physical resource block Give the forwarding node.
  • the standby aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node to enable the forwarding node.
  • the second data packet is reported to the aggregation unit.
  • Other terminal devices herein include a primary aggregation device and a member device.
  • the standby aggregation device periodically sends a heartbeat data packet to the primary aggregation device; when the heartbeat response data packet returned by the primary aggregation device is not received within the preset time period, the standby aggregation device determines to monitor the primary convergence. The device is faulty, so that the data of the user and the other terminal devices in the group are obtained and the second data packet is packetized, and the second data packet is reported to the forwarding node, so that the forwarding node reports the second data packet to the aggregation node. Step of the unit; when receiving the heartbeat response packet returned by the primary aggregation device within the preset time period, the standby aggregation device determines that the primary aggregation device has not failed. With this implementation, the standby aggregation device can find that the primary aggregation device is faulty in time to replace the aggregation data of the primary aggregation device and report the data.
  • the forwarding node acquires the length of time that the primary aggregation device does not receive the first data packet, and the forwarding node determines whether the duration is greater than a preset threshold; when the forwarding node is greater than the preset threshold, the forwarding node determines The primary aggregation device fails, and sends a notification message to the standby aggregation device, so that the secondary aggregation device determines that the primary aggregation device is faulty according to the notification message, and performs data acquisition of its own data and other terminal devices in the group and is packaged.
  • the second data packet is reported to the forwarding node by the second data packet, so that the forwarding node reports the second data packet to the aggregation unit.
  • the forwarding node detects whether the primary aggregation device has failed, and notifies the standby aggregation device when a failure occurs.
  • the primary aggregation device detects whether the time for sending the first data packet to the forwarding node is greater than a second threshold, and if it is greater than the second threshold, determining that the user has failed, notifying the standby aggregation device.
  • the forwarding node after receiving the configuration information sent by the aggregation unit, divides the terminal equipment in the coverage of the wireless network into the basis of the time point of collecting the data by the terminal device in the coverage of the wireless network.
  • a plurality of groups, and then in each group, a primary aggregation device, an alternate aggregation device, and the remaining terminal devices are determined as member devices, thereby determining the identity type of the terminal devices in the group.
  • the primary aggregation device in the group does not fail, the primary aggregation device in the group obtains data of its own data and other terminal devices (including the backup aggregation device and member devices) of the group in which the group is located, and is packaged.
  • the first data packet is then reported to the forwarding node; when the primary aggregation device in the group fails, the secondary aggregation device obtains data of its own data and other terminal devices of the group (including the primary aggregation device and the member device) And packaged to get the second data packet, and then reported to the forwarding node.
  • the forwarding node may divide the group according to the time point of collecting the data, so that the data collected by the terminal device can be reported in a centralized manner and in a timely manner, and further, the forwarding node passes the terminal device in the group.
  • the primary aggregation device is faulty, the data is reported by the primary aggregation device.
  • the primary aggregation device is faulty, the data is reported by the secondary aggregation device.
  • the reliability of networking is then reported to the forwarding node; when the primary aggregation device in the group fails, the secondary aggregation device obtains data of its own data and other terminal devices of the group (including the primary aggregation device
  • FIG. 3 is another schematic flowchart of a method for controlling transmission of Internet of Things data according to an embodiment of the present invention.
  • a method for controlling transmission of Internet of Things data may include:
  • the forwarding node receives configuration information that is sent by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, an alternate aggregation device, and a member device.
  • the forwarding node after the access node is connected to the network, the forwarding node sends a request for obtaining configuration information to the aggregation unit, and receives configuration information delivered by the aggregation unit.
  • the forwarding node receives the system update configuration information delivered by the aggregation unit, performs system update configuration according to the system update configuration information, and sends a request for obtaining configuration information to the aggregation unit after the system update configuration is completed. And receiving the configuration information delivered by the aggregation unit.
  • the forwarding node obtains a time point of collecting data by the terminal device in the coverage of the wireless network, and divides the terminal device in the wireless network coverage of the forwarding node into several groups according to the time point of the terminal device collecting data; Each group includes a plurality of terminal devices at the same time period at which the data is collected.
  • the forwarding node configures one terminal device of the multiple terminal devices in each group as a primary aggregation device, and configures one terminal device of the multiple terminal devices except the primary aggregation device as a standby aggregation device, and multiple terminals.
  • the remaining terminal settings of the primary aggregation device and the standby aggregation device are removed from the device.
  • the configuration is a member device.
  • the primary aggregation device obtains data of its own data and other terminal devices in the group and packages the first data packet.
  • the primary aggregation device sends an immediate weather query request that carries the location information of the primary aggregation device to the forwarding node, so that the forwarding node requests the cloud weather server to match the real-time weather information of the location information of the primary aggregation device.
  • the aggregation unit may also set the weather for reporting data in each group.
  • the data may be reported on a sunny day to ensure network performance, thereby improving the success rate of data reporting.
  • the aggregation unit sends the weather information of the reported data, and after receiving the weather information, the forwarding node writes the weather information to the primary aggregation device and the standby aggregation device of the group.
  • the primary aggregation device receives the real-time weather information returned by the forwarding node.
  • the primary convergence device determines whether the real-time weather information matches the preset weather information for reporting the first data packet. When the determination result is YES, the process proceeds to step 308; when the determination result is negative, the process ends.
  • the primary aggregation device reports the first data packet to the forwarding node.
  • the primary aggregation device when determining that the real-time weather information matches the preset weather information for reporting the first data packet, the primary aggregation device first acquires the current system time of the primary aggregation device; and determines the current system time obtained. Whether to match the time of the preset report data; when determining the time when the acquired current system time matches the preset report data, the first data packet is reported to the forwarding node.
  • the standby aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet.
  • the standby aggregation device sends an instant weather query request carrying the location information of the standby aggregation device to the forwarding node, so that the forwarding node requests the cloud station weather server to match the real-time weather information of the location information of the standby aggregation device.
  • the standby aggregation device receives the real-time weather information returned by the forwarding node.
  • the standby aggregation device determines whether the real-time weather information matches the preset weather information for reporting the second data packet. If the result of the determination is YES, the process proceeds to step 313. If the result of the determination is negative, the process ends.
  • the standby aggregation device reports the second data packet to the forwarding node.
  • the standby aggregation device acquires data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet.
  • the forwarding node includes: when the primary aggregation device fails, the standby aggregation device acquires its own data and data of other terminal devices in the group and packages the second data packet; and obtains its current system time, and The second data packet is reported to the forwarding node when it is determined that the current system time is matched with the preset time for reporting the data.
  • the standby aggregation device determines the instant weather information matching pre- When the weather information of the second data packet is reported, the current system time of the standby aggregation device is obtained first; whether the current system time obtained matches the preset time for reporting the data; and the current system time is determined to match the preset. When the time of the data is reported, the second data packet is reported to the forwarding node.
  • the weather of the data reported by the primary aggregation device and the standby aggregation device may be further set, and the forwarding node may divide the group according to the time point of collecting the data, so that the data collected by the terminal device can be reported in a centralized and timely manner, and further The forwarding node allocates the identity type to the terminal device in the group.
  • the primary aggregation device does not fail, the primary aggregation device reports the first data packet in the weather for matching the first data packet.
  • the secondary aggregation device collects the second data packet in the weather for matching the second data packet. The data of all the terminal devices can be reported and the reliability of the Internet of Things can be improved.
  • FIG. 4 is a schematic structural diagram of an Internet of Things data transmission control system according to an embodiment of the present invention
  • FIG. 5 is another schematic structural diagram of an Internet of Things data transmission control system according to an embodiment of the present invention
  • a transmission control system for Internet of Things data may include:
  • the forwarding node 410 is configured to receive configuration information that is sent by the aggregation unit 420, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device 43011, a backup aggregation device 43022, and a member device 43033;
  • the forwarding node 410 is further configured to acquire a time point of the terminal device 430 in the coverage of the wireless network to collect the data, and divide the terminal device 430 in the wireless network coverage of the forwarding node 410 according to the time point at which the terminal device 430 collects the data.
  • each group includes a plurality of terminal devices 430 that collect data at a same time period;
  • the forwarding node 410 is further configured to configure one terminal device 430 of the plurality of terminal devices 430 in each group as the primary aggregation device 43011, and configure one terminal device 430 of the plurality of terminal devices 430 except the primary aggregation device 43011 to be configured as
  • the standby aggregation device 43022 configures the remaining terminal devices 430 of the plurality of terminal devices 430 except the primary aggregation device 43011 and the backup aggregation device 43022 as the member devices 43033 (as shown in FIG. 5 in detail);
  • the primary aggregation device 43011 When the primary aggregation device 43011 has not failed, the primary aggregation device 43011 is configured to acquire the data of the other terminal device 430 and the data of the other terminal device 430 in the group, and package the first data packet, and report the first data packet to the forwarding node 410.
  • the forwarding node 410 reports the first data packet to the aggregation unit 420;
  • the secondary aggregation device 43022 is configured to acquire data of its own data and other terminal devices 430 in the group and package the second data packet, and report the second data packet to the forwarding node 410.
  • the forwarding node 410 is caused to report the second data packet to the convergence unit 420.
  • the standby aggregation device 43022 periodically sends a heartbeat data packet to the primary aggregation device 43011; when the heartbeat response data packet returned by the primary aggregation device 43011 is not received within the preset time period, the backup aggregation device 43022 determines Listening to the failure of the primary aggregation device, Therefore, the step of obtaining the data of the other terminal device and the other terminal devices in the group is performed, and the second data packet is packetized, and the second data packet is reported to the forwarding node, so that the forwarding node reports the second data packet to the aggregation unit 420.
  • the standby aggregation device 43022 determines that the primary aggregation device has not failed.
  • the backup aggregation device 43022 can detect that the primary aggregation device is faulty in time to replace the aggregation data of the primary aggregation device 43011 and report the data.
  • the forwarding node 410 obtains the length of time when the primary aggregation device 43011 does not receive the first data packet, and the forwarding node 410 determines whether the duration is greater than a preset threshold. The forwarding node 410 is greater than the preset duration. At the threshold, it is determined that the primary aggregation device 43011 has failed, and sends a notification message to the standby aggregation device 43022, so that the backup aggregation device 43022 determines that the primary aggregation device 43011 has failed according to the notification message to perform acquisition of its own data and other groups in the group.
  • the data of the terminal device is packaged to obtain the second data packet, and the second data packet is reported to the forwarding node 410, so that the forwarding node 410 reports the second data packet to the aggregation unit 420.
  • the forwarding node 410 detects whether the primary aggregation device 43011 has failed, and notifies the alternate aggregation device 43022 when a failure occurs.
  • the time that the primary aggregation device 43011 receives the data sent by the other terminal devices of the group is greater than the first preset, and if it is greater than the first preset, determines that the user has a fault, and notifies the standby aggregation device. 43022;
  • the primary convergence device 43011 detects whether the time at which the first data packet is sent to the forwarding node 410 is greater than a second threshold, and if it is greater than the second threshold, determines that it has failed, notifying the alternate aggregation device 43022.
  • the manner in which the forwarding node 410 is configured to receive the configuration information delivered by the aggregation unit 420 is specifically:
  • the forwarding node 410 is configured to invoke the first network interface, and receive configuration information delivered by the aggregation unit 420 through the first network interface.
  • the main aggregation device 43011 is configured to obtain the data of the other terminal device 430 in the group and the data of the other terminal device 430 in the group, and package the first data packet, and report the first data packet to the forwarding node 410.
  • the main aggregation device 43011 is configured to acquire the data of the other terminal device 430 in the group and the data of the other terminal device 430 in the group, and the first data packet is sent to the forwarding node 410 through the second network interface of the forwarding node 410;
  • the backup aggregation device 43022 obtains its own data and the data of the other terminal devices 430 in the group, and packages the second data packet, and the second data packet is reported to the forwarding node 410.
  • the backup aggregation device 43022 is configured to obtain the data of the other terminal device 430 in the group and the data of the other terminal device 430 in the group.
  • the second data packet is forwarded to the forwarding node 410 through the second network interface of the forwarding node 410.
  • the forwarding node 410 before the forwarding node 410 receives the configuration information sent by the aggregation unit 420, the forwarding node 410 sends the acquisition to the aggregation unit 420 after accessing the network and starting.
  • the configuration information is requested, and the configuration information delivered by the aggregation unit 420 is received.
  • the forwarding node 410 receives the system update configuration information that is sent by the aggregation unit 420, performs system update configuration according to the system update configuration information, and sends the acquisition configuration to the aggregation unit 420 after the system update configuration is completed.
  • the request for information and the configuration information delivered by the aggregation unit 420 is not limited to the system update configuration information.
  • the primary aggregation device 43011 reports the first data packet to the forwarding node 410.
  • the primary aggregation device 43111 reports the first data packet to the forwarding node 410 by using the second network interface of the forwarding node 410.
  • the reporting, by the primary aggregation device 43011, the first data packet to the forwarding node 410 includes: the primary aggregation device 43011 determines a target transmission frequency band; establishes a communication connection with the forwarding node 410 on the target transmission frequency band, and passes the established communication connection based on the The second network interface reports the first data packet to the forwarding node 410.
  • the primary aggregation device 43011 establishes a communication connection with the forwarding node 410 on the target transmission frequency band, and reports the first data packet to the forwarding node 410 through the second network interface based on the established communication connection. Specifically, the primary aggregation device 43011 determines the target. The time-frequency resource corresponding to the transmission band reports the first data packet to the forwarding node 410 through the second network interface on the time-frequency resource.
  • the primary aggregation device 43011 determines the time-frequency resource corresponding to the target transmission frequency band, and the first data packet is reported to the forwarding node 410 by using the second network interface on the time-frequency resource, and the method includes: the primary aggregation device 43011 adopts a frequency hopping method. Determining, in the target transmission frequency band, a frequency domain location of the physical resource block used for reporting the reporting information; the primary aggregation device 43011, on the time-frequency resource corresponding to the frequency domain location of the determined physical resource block, using the second network interface to the first data The packet is reported to the forwarding node 410.
  • the primary aggregation device 43011 when the primary aggregation device 43011 fails to be faulty, the primary aggregation device 43011 is configured to acquire data of its own data and other terminal devices 430 in the group, and package the first data packet.
  • the manner in which a data packet is reported to the forwarding node 410 is specifically as follows:
  • the primary aggregation device 43011 When the primary aggregation device 43011 has not failed, the primary aggregation device 43011 is configured to acquire data of its own data and other terminal devices 430 in the group and package the first data packet; and send the primary aggregation device to the forwarding node 410.
  • An instant weather query request for location information of 43011 such that forwarding node 410 requests instant weather information matching the location information of primary aggregation device 43011 to the PTZ weather server; and receiving instant weather information returned by forwarding node 410; and determining instant Whether the weather information matches the preset weather information for reporting the first data packet; and, when determining that the real-time weather information matches the preset weather information for reporting the first data packet, reporting the first data packet to the forwarding Node 410.
  • the main aggregation device 43011 is configured to report the first data packet to the forwarding node 410 when determining that the real-time weather information matches the preset weather information for reporting the first data packet. for:
  • the main aggregation device 43011 is configured to acquire the current system time of the primary aggregation device 43011 when it is determined that the real-time weather information matches the preset weather information for reporting the first data packet; and, determine The obtained current system time is matched with the preset time of reporting the data; and the first data packet is reported to the forwarding node 410 when it is determined that the current system time of the acquisition matches the preset reported data.
  • the backup aggregation device 43022 is configured to acquire data of its own data and other terminal devices 430 in the group, and package the second data packet, and the second packet.
  • the manner in which the data packet is reported to the forwarding node 410 is specifically as follows:
  • the backup aggregation device 43022 is configured to acquire data of its own data and other terminal devices 430 in the group and package the second data packet; and obtain its current system time and determine the acquired data. Whether the current system time matches the time of the preset report data; and when the current system time is determined to match the time of the preset report data, the second data packet is reported to the forwarding node 410.
  • the forwarding node 410 can divide the group according to the time point of collecting the data, so that the data collected by the terminal device can be reported in a centralized manner and in a timely manner. Further, the forwarding node 410 divides the identity type by the terminal device 430 in the group.
  • the primary aggregation device 43011 fails to be reported, the data is reported by the primary aggregation device 43011.
  • the primary aggregation device 43011 fails, the data is reported by the secondary aggregation device 43022, and the data of all the terminal devices 430 can be reported. The reliability of the Internet of Things.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • OTPROM One-Time Programmable Read-Only Memory
  • EEPROM Electronically-Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiments of the present invention relate to the field of Internet of Things technology, and disclosed thereby are a method and a system for controlling the transmission of the Internet of Things data, the method comprising: a forwarding node receives configuration information issued by an aggregation unit, and divides terminal devices into several groups, comprising main aggregation devices, standby aggregation devices, and member devices on the basis of time points of data acquisition by the terminal devices in a coverage area of a wireless network of the forwarding node; When the main aggregation devices do not experience a fault, the main aggregation devices obtain data thereof and data of the other terminal devices, packages the data to obtain a first data packet and reports the data packet to the forwarding node; When the main aggregation devices experience a fault, the standby aggregation devices obtain data thereof and the data of the other terminal devices, packages the data to obtain a second data packet and reports the data packet to the forwarding node; It may be seen that with the present invention, the data collected by the terminal devices may be centrally reported in a timely manner, further ensuring that all terminal device data may be reported, and improving the reliability of the Internet of Things.

Description

一种物联网数据的传输控制方法及系统Method and system for controlling transmission of Internet of Things data 技术领域Technical field
本发明涉及物联网技术领域,具体涉及一种物联网数据的传输控制方法及系统。The present invention relates to the field of Internet of Things technologies, and in particular, to a method and system for controlling transmission of Internet of Things data.
背景技术Background technique
物联网(Internet of Things,简称IOT)是实现物与物相连的网络。在物联网中,湿度计、烟感器、通风设备、雨量传感器、灌溉阀等终端设备能够采集数据,并通过物联网上报给汇聚单元,汇聚单元用于对海量终端设备产生的数据信息进行分析和处理。终端设备通过单跳或者多跳的方式将要传输的数据汇聚到转发节点,由转发节点将汇聚的数据上传给汇聚单元。由于终端设备数量较多,网络资源有限,容易造成一些终端设备传输数据失败,降低物联网的可靠性。The Internet of Things (IOT) is a network that connects things to things. In the Internet of Things, terminal devices such as hygrometers, smoke detectors, ventilation devices, rain sensors, irrigation valves, etc. can collect data and report it to the aggregation unit through the Internet of Things. The aggregation unit is used to analyze the data generated by the mass terminal devices. And processing. The terminal device aggregates the data to be transmitted to the forwarding node in a single-hop or multi-hop manner, and the forwarding node uploads the aggregated data to the aggregation unit. Due to the large number of terminal devices and limited network resources, it is easy for some terminal devices to fail to transmit data and reduce the reliability of the Internet of Things.
发明内容Summary of the invention
本发明实施例公开了一种物联网数据的传输控制方法及系统,用于解决现有物联网中数据传输失败导致物联网可靠性较低的问题。The embodiment of the invention discloses a method and a system for controlling the transmission and control of the Internet of Things data, which are used to solve the problem that the reliability of the data transmission in the existing Internet of Things leads to low reliability of the Internet of Things.
本发明第一方面公开了一种物联网数据的传输控制方法,可包括:A first aspect of the present invention discloses a method for controlling transmission of Internet of Things data, which may include:
转发节点接收汇聚单元下发的配置信息,所述配置信息包括群组成员的身份类型,所述身份类型包括主汇聚设备、备用汇聚设备和成员设备;The forwarding node receives configuration information that is sent by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, a backup aggregation device, and a member device.
所述转发节点获取其无线网络覆盖范围内的终端设备采集数据的时间点,以所述终端设备采集数据的时间点为依据,将所述转发节点的无线网络覆盖范围内的终端设备划分成若干群组;其中,每一个所述群组包括采集数据的时间点在同一时间段的多个终端设备;The forwarding node acquires a time point of collecting data by the terminal device in the coverage of the wireless network, and divides the terminal device in the coverage of the wireless network of the forwarding node into a plurality of points according to the time point at which the terminal device collects data. a group; wherein each of the groups includes a plurality of terminal devices at a time point in which data is collected;
所述转发节点将每一个所述群组中的所述多个终端设备中的一个终端设备配置为主汇聚设备,将所述多个终端设备中除去所述主汇聚设备的一个终端设备配置为备用汇聚设备,将所述多个终端设备中除去所述主汇聚设备与所述备用汇聚设备的剩余终端设备配置为成员设备;The forwarding node configures one of the plurality of terminal devices in each of the groups as a primary aggregation device, and configures one terminal device of the plurality of terminal devices to be removed from the primary aggregation device as The standby aggregation device configures the remaining terminal devices of the plurality of terminal devices from the primary aggregation device and the standby aggregation device as member devices;
在所述主汇聚设备未发生故障时,所述主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点,以使所述转发节点将所述第一数据包上报给所述汇聚单元;When the primary aggregation device does not fail, the primary aggregation device acquires data of its own data and other terminal devices in the group, and packages the first data packet, and reports the first data packet to the forwarding. a node, so that the forwarding node reports the first data packet to the aggregation unit;
在所述主汇聚设备发生故障时,所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点,以使所述转发节点将所述第二数据包上报给所述汇聚单元。When the primary aggregation device fails, the secondary aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node. So that the forwarding node reports the second data packet to the aggregation unit.
作为一种可选的实施方式,在本发明第一方面中,所述转发节点接收汇 聚单元下发的配置信息,包括:As an optional implementation manner, in the first aspect of the present invention, the forwarding node receives the sink Configuration information delivered by the aggregation unit, including:
所述转发节点调用第一网络接口,通过所述第一网络接口接收所述汇聚单元下发的配置信息;The forwarding node invokes a first network interface, and receives configuration information delivered by the aggregation unit by using the first network interface;
所述主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点,包括:The primary aggregation device obtains the data of the user and the data of the other terminal devices in the group, and packages the data packet to obtain the first data packet, and reports the first data packet to the forwarding node, including:
所述主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,通过所述转发节点的第二网络接口将所述第一数据包上报给所述转发节点;The primary aggregation device obtains its own data and data of other terminal devices in the group, and packages the first data packet, and reports the first data packet to the forwarding node by using the second network interface of the forwarding node. ;
所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点,包括:The standby aggregation device obtains its own data and data of other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node, including:
所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,通过所述转发节点的第二网络接口将所述第二数据包上报给所述转发节点。The standby aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node by using the second network interface of the forwarding node. .
作为一种可选的实施方式,在本发明第一方面中,在所述主汇聚设备未发生故障时,所述主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点,包括:As an optional implementation manner, in the first aspect of the present invention, when the primary aggregation device does not fail, the primary aggregation device acquires data of its own data and other terminal devices in the group and packages the data. And transmitting, by the first data packet, the first data packet to the forwarding node, including:
在所述主汇聚设备未发生故障时,所述主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包;When the primary aggregation device does not fail, the primary aggregation device acquires data of its own data and other terminal devices in the group and packages the first data packet;
所述主汇聚设备向所述转发节点发送携带所述主汇聚设备的位置信息的即时天气查询请求,以使所述转发节点向云台天气服务器请求匹配所述主汇聚设备的位置信息的即时天气信息;The primary aggregation device sends an instant weather query request carrying the location information of the primary aggregation device to the forwarding node, so that the forwarding node requests the cloud platform weather server to match the real-time weather of the location information of the primary aggregation device. information;
所述主汇聚设备接收所述转发节点返回的所述即时天气信息;Receiving, by the primary aggregation device, the instant weather information returned by the forwarding node;
所述主汇聚设备判断所述即时天气信息是否匹配预设的用于上报所述第一数据包的天气信息;The primary aggregation device determines whether the real-time weather information matches a preset weather information for reporting the first data packet;
所述主汇聚设备在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,将所述第一数据包上报给所述转发节点。The first aggregation device reports the first data packet to the forwarding node when it is determined that the current weather information matches the preset weather information for reporting the first data packet.
作为一种可选的实施方式,在本发明第一方面中,所述主汇聚设备在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,将所述第一数据包上报给所述转发节点,包括:As an optional implementation manner, in the first aspect of the present invention, the primary aggregation device determines, when the current weather information matches a preset weather information for reporting the first data packet, The reporting of the first data packet to the forwarding node includes:
所述主汇聚设备在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,获取所述主汇聚设备的当前系统时间;Obtaining, by the primary aggregation device, the current system time of the primary aggregation device when determining that the real-time weather information matches a preset weather information for reporting the first data packet;
所述主汇聚设备判断获取的当前系统时间是否匹配预设的上报数据的时间;The time when the primary aggregation device determines whether the acquired current system time matches the preset reported data;
所述主汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,将所述第一数据包上报给所述转发节点。The primary aggregation device reports the first data packet to the forwarding node when determining that the current current system time matches the time of the preset reporting data.
作为一种可选的实施方式,在本发明第一方面中,在所述主汇聚设备发生故障时,所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备 的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点,包括:As an optional implementation manner, in the first aspect of the present invention, when the primary aggregation device fails, the standby aggregation device acquires its own data and other terminal devices in the group. The data is packetized to obtain a second data packet, and the second data packet is reported to the forwarding node, including:
在所述主汇聚设备发生故障时,所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包;When the primary aggregation device fails, the standby aggregation device acquires data of its own data and other terminal devices in the group and packages the second data packet;
所述备用汇聚设备获取其当前系统时间,以及判断获取的当前系统时间是否匹配预设的上报数据的时间;The time when the standby aggregation device acquires its current system time and determines whether the acquired current system time matches the preset reported data;
所述备用汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,将所述第二数据包上报给所述转发节点。The second aggregation packet reports the second data packet to the forwarding node when the current system time is determined to match the preset time of the reported data.
本发明第二方面公开了一种物联网数据的传输控制系统,可包括:A second aspect of the present invention discloses a transmission control system for Internet of Things data, which may include:
转发节点,用于接收汇聚单元下发的配置信息,所述配置信息包括群组成员的身份类型,所述身份类型包括主汇聚设备、备用汇聚设备和成员设备;The forwarding node is configured to receive configuration information that is sent by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, a backup aggregation device, and a member device.
所述转发节点还用于获取其无线网络覆盖范围内的终端设备采集数据的时间点,以所述终端设备采集数据的时间点为依据,将所述转发节点的无线网络覆盖范围内的终端设备划分成若干群组;其中,每一个所述群组包括采集数据的时间点在同一时间段的多个终端设备;The forwarding node is further configured to acquire a time point of collecting data by the terminal device in the coverage of the wireless network, and use the terminal device in the wireless network coverage range of the forwarding node as a basis of the time point at which the terminal device collects data. Dividing into a plurality of groups; wherein each of the groups includes a plurality of terminal devices that collect data at a time point of the same time period;
所述转发节点还用于将每一个所述群组中的所述多个终端设备中的一个终端设备配置为主汇聚设备,将所述多个终端设备中除去所述主汇聚设备的一个终端设备配置为备用汇聚设备,将所述多个终端设备中除去所述主汇聚设备与所述备用汇聚设备的剩余终端设备配置为成员设备;The forwarding node is further configured to configure one terminal device of each of the plurality of terminal devices in the group as a primary aggregation device, and remove one terminal of the primary aggregation device from the multiple terminal devices The device is configured as a standby aggregation device, and the remaining terminal devices of the plurality of terminal devices except the primary aggregation device and the standby aggregation device are configured as member devices;
在所述主汇聚设备未发生故障时,所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点,以使所述转发节点将所述第一数据包上报给所述汇聚单元;When the primary aggregation device is not faulty, the primary aggregation device is configured to acquire data of its own data and other terminal devices in the group, and package the first data packet, and report the first data packet to the local data packet. Deriving the forwarding node, so that the forwarding node reports the first data packet to the convergence unit;
在所述主汇聚设备发生故障时,所述备用汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点,以使所述转发节点将所述第二数据包上报给所述汇聚单元。When the primary aggregation device fails, the standby aggregation device is configured to acquire data of its own data and other terminal devices in the group, and package the second data packet, and report the second data packet to the Forwarding the node, so that the forwarding node reports the second data packet to the aggregation unit.
作为一种可选的实施方式,在本发明第二方面中,所述转发节点用于接收汇聚单元下发的配置信息的方式具体为:As an optional implementation manner, in the second aspect of the present invention, the manner in which the forwarding node is configured to receive the configuration information delivered by the aggregation unit is specifically:
所述转发节点用于调用第一网络接口,通过所述第一网络接口接收所述汇聚单元下发的配置信息;The forwarding node is configured to invoke a first network interface, and receive configuration information delivered by the aggregation unit by using the first network interface;
所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点的方式具体为:The manner in which the primary aggregation device is configured to acquire the data of the other terminal devices in the group and the other terminal devices in the group and to obtain the first data packet, and report the first data packet to the forwarding node is specifically:
所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,通过所述转发节点的第二网络接口将所述第一数据包上报给所述转发节点;The primary aggregation device is configured to obtain the data of the other terminal device and the data of the other terminal devices in the group, and package the first data packet, and report the first data packet to the Forwarding node
所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据 并打包得到第二数据包,将所述第二数据包上报给所述转发节点的方式具体为:The standby aggregation device acquires data of its own data and other terminal devices in the group The method of reporting the second data packet and reporting the second data packet to the forwarding node is specifically:
所述备用汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,通过所述转发节点的第二网络接口将所述第二数据包上报给所述转发节点。The standby aggregation device is configured to obtain data of its own data and other terminal devices in the group and package the second data packet, and report the second data packet to the second data interface through the forwarding node. Forward the node.
作为一种可选的实施方式,在本发明第二方面中,在所述主汇聚设备未发生故障时,所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点的方式具体为:As an optional implementation manner, in the second aspect of the present invention, when the primary aggregation device does not fail, the primary aggregation device is configured to acquire data of its own data and other terminal devices in the group. The method of packetizing the first data packet and reporting the first data packet to the forwarding node is specifically:
在所述主汇聚设备未发生故障时,所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包;以及,向所述转发节点发送携带所述主汇聚设备的位置信息的即时天气查询请求,以使所述转发节点向云台天气服务器请求匹配所述主汇聚设备的位置信息的即时天气信息;以及,接收所述转发节点返回的所述即时天气信息;以及,判断所述即时天气信息是否匹配预设的用于上报所述第一数据包的天气信息;以及,在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,将所述第一数据包上报给所述转发节点。When the primary aggregation device does not fail, the primary aggregation device is configured to acquire data of its own data and other terminal devices in the group and package the first data packet; and send the carrier to the forwarding node. An immediate weather query request for location information of the primary aggregation device, such that the forwarding node requests the cloud weather server to match the real-time weather information of the location information of the primary aggregation device; and receiving the Instant weather information; and determining whether the instant weather information matches a preset weather information for reporting the first data packet; and determining that the instant weather information matches a preset for reporting the first When the weather information of the data packet is sent, the first data packet is reported to the forwarding node.
作为一种可选的实施方式,在本发明第二方面中,所述主汇聚设备用于在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,将所述第一数据包上报给所述转发节点的方式具体为:As an optional implementation manner, in the second aspect of the present invention, the primary aggregation device is configured to: when determining that the real-time weather information matches a preset weather information for reporting the first data packet, The manner of reporting the first data packet to the forwarding node is specifically:
所述主汇聚设备用于在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,获取所述主汇聚设备的当前系统时间;以及,判断获取的当前系统时间是否匹配预设的上报数据的时间;以及,在确定获取的当前系统时间匹配预设的上报数据的时间时,将所述第一数据包上报给所述转发节点。The main aggregation device is configured to acquire a current system time of the primary aggregation device when determining that the real-time weather information matches a predetermined weather information for reporting the first data packet; and determining the current current acquisition Whether the system time matches the preset time for reporting the data; and when the current system time is determined to match the time of the preset report data, the first data packet is reported to the forwarding node.
作为一种可选的实施方式,在本发明第二方面中,在所述主汇聚设备发生故障时,所述备用汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点的方式具体为:As an optional implementation manner, in the second aspect of the present invention, when the primary aggregation device fails, the standby aggregation device is configured to acquire data of its own data and other terminal devices in the group and package the data. Obtaining the second data packet, and reporting the second data packet to the forwarding node is specifically:
在所述主汇聚设备发生故障时,所述备用汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包;以及,获取其当前系统时间,以及判断获取的当前系统时间是否匹配预设的上报数据的时间;以及,在确定获取的当前系统时间匹配预设的上报数据的时间时,将所述第二数据包上报给所述转发节点。When the primary aggregation device fails, the standby aggregation device is configured to acquire data of its own data and other terminal devices in the group and package the second data packet; and obtain the current system time and determine the acquisition. Whether the current system time matches the time of the preset report data; and when the time when the current system time is matched to the preset report data is determined, the second data packet is reported to the forwarding node.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiment of the invention has the following beneficial effects:
在本发明实施例中,转发节点在接收汇聚单元下发的配置信息后,以其无线网络覆盖范围内的终端设备采集数据的时间点为依据,将其无线网络覆盖范围内的终端设备划分成若干个群组,然后在每一个群组中,从里面确定 出一个主汇聚设备、一个备用汇聚设备,剩余的终端设备作为成员设备,从而确定群组中的终端设备的身份类型。之后,在群组中的主汇聚设备没有发生故障时,群组中的主汇聚设备获取其自身数据以及其所在群组的其它终端设备(包括备用汇聚设备和成员设备)的数据,并打包得到第一数据包,然后上报给转发节点;在群组中的主汇聚设备发生故障时,备用汇聚设备获取自身的数据和其所在群组的其它终端设备(包括主汇聚设备和成员设备)的数据,并打包得到第二数据包,然后上报给转发节点。可以看出,在本发明实施例中,转发节点可以根据采集数据的时间点划分群组,以便能够集中且及时地上报终端设备采集的数据,进一步地,转发节点通过对群组中的终端设备划分身份类型,在主汇聚设备没有发生故障时,集中由主汇聚设备上报数据,在主汇聚设备发生故障时,集中由备用汇聚设备上报数据,能够保证全部终端设备的数据均可上报,提高物联网的可靠性。In the embodiment of the present invention, after receiving the configuration information sent by the aggregation unit, the forwarding node divides the terminal equipment in the coverage of the wireless network into the basis of the time point of collecting the data by the terminal device in the coverage of the wireless network. Several groups, then in each group, determine from inside A primary aggregation device, an alternate aggregation device, and the remaining terminal devices are used as member devices to determine the identity type of the terminal devices in the group. Then, when the primary aggregation device in the group does not fail, the primary aggregation device in the group obtains data of its own data and other terminal devices (including the backup aggregation device and member devices) of the group in which the group is located, and is packaged. The first data packet is then reported to the forwarding node; when the primary aggregation device in the group fails, the secondary aggregation device obtains data of its own data and other terminal devices of the group (including the primary aggregation device and the member device) And packaged to get the second data packet, and then reported to the forwarding node. It can be seen that, in the embodiment of the present invention, the forwarding node may divide the group according to the time point of collecting the data, so that the data collected by the terminal device can be reported in a centralized manner and in a timely manner, and further, the forwarding node passes the terminal device in the group. When the primary aggregation device is faulty, the data is reported by the primary aggregation device. When the primary aggregation device is faulty, the data is reported by the secondary aggregation device. The reliability of networking.
附图说明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 by some embodiments of the present invention;
图2为本发明实施例公开的物联网数据的传输控制方法的流程示意图;2 is a schematic flowchart of a method for controlling transmission of Internet of Things data according to an embodiment of the present invention;
图3为本发明实施例公开的物联网数据的传输控制方法的另一流程示意图;3 is another schematic flowchart of a method for controlling transmission of Internet of Things data according to an embodiment of the present invention;
图4为本发明实施例公开的物联网数据的传输控制系统的结构示意图;4 is a schematic structural diagram of a transmission control system for an Internet of Things data disclosed in an embodiment of the present invention;
图5为本发明实施例公开的物联网数据的传输控制系统的另一结构示意图。FIG. 5 is another schematic structural diagram of a transmission control system for an Internet of Things data 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.
需要说明的是,本发明的说明书和权利要求书中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定顺序。本发明实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish different objects, and are not intended to describe a specific order. The terms "comprising" and "having", and any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units listed may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
本发明实施例公开了一种物联网数据的传输控制方法,用于集中且及时 地上报终端设备采集的数据,进一步地,能够保证全部终端设备的数据均可上报,提高物联网的可靠性。本发明实施例相应地公开了一种物联网数据的传输控制系统。Embodiments of the present invention disclose a method for controlling transmission of Internet of Things data, which is used for centralized and timely The data collected by the terminal device is reported on the ground, and further, the data of all the terminal devices can be reported, and the reliability of the Internet of Things is improved. Embodiments of the present invention accordingly disclose a transmission control system for Internet of Things data.
在介绍本发明实施例之前,先简单介绍一下本发明一些实施例公开的物联网架构。如图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)相结合的方法来解决干扰问题。Before introducing the embodiments of the present invention, the Internet of Things architecture disclosed in some embodiments of the present invention will be briefly introduced. As shown in FIG. 1 , FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed in some embodiments of the present invention; the Internet of Things architecture shown in FIG. 1 may include three layers: a terminal device layer, a forwarding node layer, and an aggregation layer according to functions. The terminal device layer may include a mass-scale terminal device, such as a hygrometer, a smoke sensor, a ventilation device, a rain sensor, an irrigation valve, etc.; the forwarding node layer may include a large number of forwarding nodes connected by a network, and the forwarding node may include a router. The device, the repeater, the access point, and the like are not limited in the embodiment of the present invention; the forwarding node may use any standard networking protocol, and the forwarding node may implement data parsing between different network standards; the convergence layer may include an aggregation unit. The aggregation unit can perform high-level management on each forwarding node of the forwarding node layer, thereby realizing control of data transmission frequency, network topology, and other networking functions; the aggregation unit can not only analyze and make decisions on the Internet of Things data generated by the mass terminal equipment. It is also possible to send information to obtain information or to configure terminal device parameters (where the transmission of data is directed 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. Share and so on. In the Internet of Things architecture shown in Figure 1, each forwarding node can provide IoT data receiving and receiving services for a large number of terminal devices within its own wireless network coverage, wherein each forwarding node has its own wireless network coverage. The terminal device can have a built-in wireless communication module, which enables each forwarding node to wirelessly communicate with each terminal device within its own wireless network 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.
下面将结合具体实施例,从图1所示的物联网架构的角度出发,对本发明技术方案进行详细说明。The technical solution of the present invention will be described in detail below from the perspective of the Internet of Things architecture shown in FIG. 1 in conjunction with specific embodiments.
实施例一Embodiment 1
请参阅图2,图2为本发明实施例公开的物联网数据的传输控制方法的流程示意图;如图2所示,一种物联网数据的传输控制方法可包括: Referring to FIG. 2, FIG. 2 is a schematic flowchart of a method for controlling transmission of Internet of Things data according to an embodiment of the present invention; as shown in FIG. 2, a method for controlling transmission of Internet of Things data may include:
201、转发节点接收汇聚单元下发的配置信息,该配置信息包括群组成员的身份类型,该身份类型包括主汇聚设备、备用汇聚设备和成员设备。201. The forwarding node receives the configuration information delivered by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, an alternate aggregation device, and a member device.
在本发明实施例中,由汇聚单元设置群组成员的身份类型,比如主汇聚设备、备用汇聚设备和成员设备。其中,主汇聚设备为群组中主要用于汇聚群组里的终端设备数据,然后统一上报给汇聚单元;而在主汇聚设备发生故障(如无法将数据上传给转发节点的网络故障)时,由备用汇聚设备汇聚群组中的终端设备数据,然后统一上报给汇聚单元,减少终端设备之间的竞争,以提高数据上报的成功率。In the embodiment of the present invention, the identity type of the group member, such as the primary aggregation device, the standby aggregation device, and the member device, is set by the aggregation unit. The primary aggregation device is used to collect the terminal device data in the aggregation group, and then reported to the aggregation unit in a unified manner. When the primary aggregation device fails, such as the network failure of uploading data to the forwarding node, The terminal device data in the group is aggregated by the standby aggregation device, and then reported to the aggregation unit in a unified manner to reduce the competition between the terminal devices to improve the success rate of data reporting.
作为一种可选的实施方式,该转发节点接收汇聚单元下发的配置信息具体包括:转发节点调用第一网络接口,通过第一网络接口接收汇聚单元下发的配置信息。可以理解,转发节点设置有两种类型的网络接口,在本发明实施例中称之为第一网络接口和第二网络接口,其中,第一网络接口用于实现与汇聚单元之间的数据交互,第二网络接口用于实现与终端设备之间的数据交互。在该实施方式中,转发节点调用第一网络接口,接收汇聚单元下发的配置信息。As an optional implementation manner, the receiving, by the forwarding node, the configuration information that is sent by the aggregation unit, specifically includes: the forwarding node invokes the first network interface, and receives the configuration information delivered by the aggregation unit by using the first network interface. It can be understood that the forwarding node is configured with two types of network interfaces, which are referred to as a first network interface and a second network interface in the embodiment of the present invention, wherein the first network interface is used to implement data interaction with the aggregation unit. The second network interface is used to implement data interaction with the terminal device. In this embodiment, the forwarding node invokes the first network interface to receive configuration information delivered by the aggregation unit.
202、转发节点获取其无线网络覆盖范围内的终端设备采集数据的时间点,以终端设备采集数据的时间点为依据,将转发节点的无线网络覆盖范围内的终端设备划分成若干群组;其中,每一个该群组包括采集数据的时间点在同一时间段的多个终端设备。202. The forwarding node obtains a time point of collecting data by the terminal device in the coverage of the wireless network, and divides the terminal device in the wireless network coverage of the forwarding node into several groups according to the time point of the terminal device collecting data; Each of the groups includes a plurality of terminal devices at the same time period at which the data is collected.
作为一种可选的实施方式,汇聚单元可以设置终端设备采集数据的时间点,具体地,汇聚单元针对其感兴趣位置(某一个农场)上的终端设备设置采集数据的时间点等。汇聚单元可以通过下发设置参数到终端设备,终端设备根据设置参数设置采集数据的时间点,之后,终端设备将在该采集数据的时间点采集数据。As an optional implementation manner, the aggregation unit may set a time point at which the terminal device collects data. Specifically, the aggregation unit sets a time point for collecting data for the terminal device on the location of interest (a certain farm). The aggregation unit can send the setting parameters to the terminal device, and the terminal device sets the time point for collecting data according to the setting parameters, after which the terminal device collects data at the time point of collecting the data.
在本发明实施例中,转发节点将其无线网络覆盖范围内的终端设备按照采集数据的时间点来划分群组,比如,将采集数据的时间点相同或者采集数据的时间点比较接近的多个终端设备划分为一个群组,以便及时发送。In the embodiment of the present invention, the forwarding node divides the terminal devices in the coverage of the wireless network according to the time points of collecting data, for example, the time points at which the data is collected are the same or the time points at which the data is collected are relatively close. The terminal devices are divided into groups for timely transmission.
203、转发节点将每一个该群组中的多个终端设备中的一个终端设备配置为主汇聚设备,将多个终端设备中除去主汇聚设备的一个终端设备配置为备用汇聚设备,将多个终端设备中除去主汇聚设备与备用汇聚设备的剩余终端设备配置为成员设备。203. The forwarding node configures one terminal device of each of the plurality of terminal devices in the group as a primary aggregation device, and configures one terminal device of the multiple terminal devices except the primary aggregation device as a standby aggregation device, and multiple The remaining terminal devices in the terminal device except the primary aggregation device and the standby aggregation device are configured as member devices.
转发节点进一步对群组中的终端设备配置身份,从多个终端设备中选择一个终端设备配置为主汇聚设备,选择另外一个终端设备配置为备用汇聚设备,剩余的终端设备配置为成员设备。The forwarding node further configures the identity of the terminal device in the group, and selects one of the plurality of terminal devices to be the primary aggregation device, and the other terminal device is configured as the standby aggregation device, and the remaining terminal devices are configured as the member devices.
作为一种可选的实施方式,转发节点可以从群组的多个终端设备中选择性能最优的终端设备配置为主汇聚设备,选择性能次之的终端设备配置为备用汇聚设备,剩余的终端设备配置为成员设备。As an optional implementation manner, the forwarding node may select the terminal device with the best performance from the plurality of terminal devices of the group as the primary aggregation device, and select the terminal device with the second performance as the standby aggregation device, and the remaining terminals. The device is configured as a member device.
204、在主汇聚设备未发生故障时,该主汇聚设备获取其自身数据以及所 在群组中其它终端设备的数据并打包得到第一数据包,将第一数据包上报给转发节点,以使转发节点将第一数据包上报给汇聚单元。204. When the primary aggregation device does not fail, the primary aggregation device acquires its own data and The data of the other terminal devices in the group is packaged to obtain the first data packet, and the first data packet is reported to the forwarding node, so that the forwarding node reports the first data packet to the aggregation unit.
作为一种可选的实施方式,主汇聚设备将所述第一数据包上报给所述转发节点具体包括:主汇聚设备通过转发节点的第二网络接口将第一数据包上报给转发节点。As an optional implementation manner, the primary aggregation device reports the first data packet to the forwarding node, and the method includes: reporting, by the primary aggregation device, the first data packet to the forwarding node by using the second network interface of the forwarding node.
进一步地,主汇聚设备将第一数据包上报给转发节点具体包括:主汇聚设备确定目标传输频段;在目标传输频段上与转发节点建立通信连接,以及基于建立的通信连接通过第二网络接口将第一数据包上报给转发节点。Further, the reporting, by the primary aggregation device, the first data packet to the forwarding node includes: determining, by the primary aggregation device, a target transmission frequency band; establishing a communication connection with the forwarding node on the target transmission frequency band, and using the second network interface based on the established communication connection The first data packet is reported to the forwarding node.
进一步地,主汇聚设备在目标传输频段上与转发节点建立通信连接,以及基于建立的通信连接通过第二网络接口将第一数据包上报给转发节点具体包括:主汇聚设备确定目标传输频段所对应的时频资源,在时频资源上通过第二网络接口将第一数据包上报给转发节点。Further, the primary aggregation device establishes a communication connection with the forwarding node on the target transmission frequency band, and reports the first data packet to the forwarding node by using the second network interface based on the established communication connection, and the method includes: determining, by the primary aggregation device, the target transmission frequency band The time-frequency resource reports the first data packet to the forwarding node through the second network interface on the time-frequency resource.
进一步地,主汇聚设备确定目标传输频段所对应的时频资源,在时频资源上通过第二网络接口将第一数据包上报给转发节点具体包括:主汇聚设备通过跳频方式从目标传输频段中确定用于上报第一数据包的物理资源块的频域位置;主汇聚设备在确定的物理资源块的频域位置所对应的时频资源上,通过第二网络接口将第一数据包上报给转发节点。实施上述实施方式,能够解决数据干扰问题,提高数据传输效率。Further, the primary aggregation device determines the time-frequency resource corresponding to the target transmission frequency band, and reports the first data packet to the forwarding node by using the second network interface on the time-frequency resource, which includes: the primary aggregation device transmits the frequency band from the target through frequency hopping Determining a frequency domain location of the physical resource block for reporting the first data packet; the primary aggregation device reporting the first data packet by using the second network interface on the time-frequency resource corresponding to the frequency domain location of the determined physical resource block Give the forwarding node. By implementing the above embodiments, data interference problems can be solved and data transmission efficiency can be improved.
205、在主汇聚设备发生故障时,该备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将第二数据包上报给转发节点,以使转发节点将第二数据包上报给汇聚单元。205. When the primary aggregation device fails, the standby aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node to enable the forwarding node. The second data packet is reported to the aggregation unit.
这里的其它终端设备包括主汇聚设备和成员设备。Other terminal devices herein include a primary aggregation device and a member device.
作为一种可选的实施方式,备用汇聚设备周期性向主汇聚设备发送心跳数据包;在预设时间段内未接收到主汇聚设备返回的心跳响应数据包时,备用汇聚设备确定监听到主汇聚设备发生故障,从而执行获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将第二数据包上报给转发节点,以使转发节点将第二数据包上报给汇聚单元的步骤;在预设时间段内接收到主汇聚设备返回的心跳响应数据包时,备用汇聚设备确定主汇聚设备未发生故障。通过该实施方式,备用汇聚设备能够及时发现主汇聚设备出现故障,以尽快替换主汇聚设备汇聚数据并上报。As an optional implementation manner, the standby aggregation device periodically sends a heartbeat data packet to the primary aggregation device; when the heartbeat response data packet returned by the primary aggregation device is not received within the preset time period, the standby aggregation device determines to monitor the primary convergence. The device is faulty, so that the data of the user and the other terminal devices in the group are obtained and the second data packet is packetized, and the second data packet is reported to the forwarding node, so that the forwarding node reports the second data packet to the aggregation node. Step of the unit; when receiving the heartbeat response packet returned by the primary aggregation device within the preset time period, the standby aggregation device determines that the primary aggregation device has not failed. With this implementation, the standby aggregation device can find that the primary aggregation device is faulty in time to replace the aggregation data of the primary aggregation device and report the data.
作为另一种可选的实施方式,转发节点获取未接收到主汇聚设备发送第一数据包的时长;转发节点判断该时长是否大于预设阈值;转发节点在该时长大于预设阈值时,确定主汇聚设备发生故障,并向备用汇聚设备发送通知消息,以使得备用汇聚设备根据通知消息确定主汇聚设备发生故障,以执行获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将第二数据包上报给转发节点,以使转发节点将第二数据包上报给汇聚单元的步骤。通过该实施方式,由转发节点来检测主汇聚设备是否发生故障,并在发生故障时通知备用汇聚设备。 As another optional implementation manner, the forwarding node acquires the length of time that the primary aggregation device does not receive the first data packet, and the forwarding node determines whether the duration is greater than a preset threshold; when the forwarding node is greater than the preset threshold, the forwarding node determines The primary aggregation device fails, and sends a notification message to the standby aggregation device, so that the secondary aggregation device determines that the primary aggregation device is faulty according to the notification message, and performs data acquisition of its own data and other terminal devices in the group and is packaged. The second data packet is reported to the forwarding node by the second data packet, so that the forwarding node reports the second data packet to the aggregation unit. With this embodiment, the forwarding node detects whether the primary aggregation device has failed, and notifies the standby aggregation device when a failure occurs.
作为另一种可选的实施方式,主汇聚设备接收所在群组的其它终端设备发送的数据的时间是否大于第一预置,如果大于第一预置,确定自身出现故障,通知备用汇聚设备;或者,主汇聚设备检测其发送第一数据包给转发节点的时间是否大于第二阈值,如果大于第二阈值,确定自身出现故障,通知备用汇聚设备。As another optional implementation manner, whether the time that the primary aggregation device receives the data sent by the other terminal devices of the group is greater than the first preset, and if it is greater than the first preset, determines that the user has a fault, and notifies the standby aggregation device; Or, the primary aggregation device detects whether the time for sending the first data packet to the forwarding node is greater than a second threshold, and if it is greater than the second threshold, determining that the user has failed, notifying the standby aggregation device.
在本发明实施例中,转发节点在接收汇聚单元下发的配置信息后,以其无线网络覆盖范围内的终端设备采集数据的时间点为依据,将其无线网络覆盖范围内的终端设备划分成若干个群组,然后在每一个群组中,从里面确定出一个主汇聚设备、一个备用汇聚设备,剩余的终端设备作为成员设备,从而确定群组中的终端设备的身份类型。之后,在群组中的主汇聚设备没有发生故障时,群组中的主汇聚设备获取其自身数据以及其所在群组的其它终端设备(包括备用汇聚设备和成员设备)的数据,并打包得到第一数据包,然后上报给转发节点;在群组中的主汇聚设备发生故障时,备用汇聚设备获取自身的数据和其所在群组的其它终端设备(包括主汇聚设备和成员设备)的数据,并打包得到第二数据包,然后上报给转发节点。可以看出,在本发明实施例中,转发节点可以根据采集数据的时间点划分群组,以便能够集中且及时地上报终端设备采集的数据,进一步地,转发节点通过对群组中的终端设备划分身份类型,在主汇聚设备没有发生故障时,集中由主汇聚设备上报数据,在主汇聚设备发生故障时,集中由备用汇聚设备上报数据,能够保证全部终端设备的数据均可上报,提高物联网的可靠性。In the embodiment of the present invention, after receiving the configuration information sent by the aggregation unit, the forwarding node divides the terminal equipment in the coverage of the wireless network into the basis of the time point of collecting the data by the terminal device in the coverage of the wireless network. A plurality of groups, and then in each group, a primary aggregation device, an alternate aggregation device, and the remaining terminal devices are determined as member devices, thereby determining the identity type of the terminal devices in the group. Then, when the primary aggregation device in the group does not fail, the primary aggregation device in the group obtains data of its own data and other terminal devices (including the backup aggregation device and member devices) of the group in which the group is located, and is packaged. The first data packet is then reported to the forwarding node; when the primary aggregation device in the group fails, the secondary aggregation device obtains data of its own data and other terminal devices of the group (including the primary aggregation device and the member device) And packaged to get the second data packet, and then reported to the forwarding node. It can be seen that, in the embodiment of the present invention, the forwarding node may divide the group according to the time point of collecting the data, so that the data collected by the terminal device can be reported in a centralized manner and in a timely manner, and further, the forwarding node passes the terminal device in the group. When the primary aggregation device is faulty, the data is reported by the primary aggregation device. When the primary aggregation device is faulty, the data is reported by the secondary aggregation device. The reliability of networking.
实施例二Embodiment 2
请参阅图3,图3为本发明实施例公开的物联网数据的传输控制方法的另一流程示意图;如图3所示,一种物联网数据的传输控制方法可包括:Referring to FIG. 3, FIG. 3 is another schematic flowchart of a method for controlling transmission of Internet of Things data according to an embodiment of the present invention; as shown in FIG. 3, a method for controlling transmission of Internet of Things data may include:
301、转发节点接收汇聚单元下发的配置信息,该配置信息包括群组成员的身份类型,该身份类型包括主汇聚设备、备用汇聚设备和成员设备。301. The forwarding node receives configuration information that is sent by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, an alternate aggregation device, and a member device.
作为一种可选的实施方式,转发节点在接入网络并启动后,向汇聚单元发送获取配置信息的请求,以及接收汇聚单元下发的配置信息。As an optional implementation manner, after the access node is connected to the network, the forwarding node sends a request for obtaining configuration information to the aggregation unit, and receives configuration information delivered by the aggregation unit.
作为另一种可选的实施方式,转发节点接收汇聚单元下发的系统更新配置信息,根据该系统更新配置信息进行系统更新配置,在系统更新配置完成后,向汇聚单元发送获取配置信息的请求,以及接收汇聚单元下发的配置信息。As another optional implementation manner, the forwarding node receives the system update configuration information delivered by the aggregation unit, performs system update configuration according to the system update configuration information, and sends a request for obtaining configuration information to the aggregation unit after the system update configuration is completed. And receiving the configuration information delivered by the aggregation unit.
302、转发节点获取其无线网络覆盖范围内的终端设备采集数据的时间点,以终端设备采集数据的时间点为依据,将转发节点的无线网络覆盖范围内的终端设备划分成若干群组;其中,每一个群组包括采集数据的时间点在同一时间段的多个终端设备。302. The forwarding node obtains a time point of collecting data by the terminal device in the coverage of the wireless network, and divides the terminal device in the wireless network coverage of the forwarding node into several groups according to the time point of the terminal device collecting data; Each group includes a plurality of terminal devices at the same time period at which the data is collected.
303、转发节点将每一个群组中的多个终端设备中的一个终端设备配置为主汇聚设备,将多个终端设备中除去主汇聚设备的一个终端设备配置为备用汇聚设备,将多个终端设备中除去主汇聚设备与备用汇聚设备的剩余终端设 备配置为成员设备。303. The forwarding node configures one terminal device of the multiple terminal devices in each group as a primary aggregation device, and configures one terminal device of the multiple terminal devices except the primary aggregation device as a standby aggregation device, and multiple terminals. The remaining terminal settings of the primary aggregation device and the standby aggregation device are removed from the device. The configuration is a member device.
304、在主汇聚设备未发生故障时,主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包。304. When the primary aggregation device does not fail, the primary aggregation device obtains data of its own data and other terminal devices in the group and packages the first data packet.
305、主汇聚设备向转发节点发送携带主汇聚设备的位置信息的即时天气查询请求,以使转发节点向云台天气服务器请求匹配主汇聚设备的位置信息的即时天气信息。305. The primary aggregation device sends an immediate weather query request that carries the location information of the primary aggregation device to the forwarding node, so that the forwarding node requests the cloud weather server to match the real-time weather information of the location information of the primary aggregation device.
在本发明实施例中,汇聚单元还可以设置每个群组上报数据的天气,比如可以设置在晴天上报数据,以确保网络性能,从而提高数据上报的成功率。In the embodiment of the present invention, the aggregation unit may also set the weather for reporting data in each group. For example, the data may be reported on a sunny day to ensure network performance, thereby improving the success rate of data reporting.
作为一种可选的实施方式,汇聚单元下发上报数据的天气信息,转发节点接收到该天气信息后,将该天气信息写入到群组的主汇聚设备和备用汇聚设备中。As an optional implementation manner, the aggregation unit sends the weather information of the reported data, and after receiving the weather information, the forwarding node writes the weather information to the primary aggregation device and the standby aggregation device of the group.
306、主汇聚设备接收转发节点返回的即时天气信息。306. The primary aggregation device receives the real-time weather information returned by the forwarding node.
307、主汇聚设备判断即时天气信息是否匹配预设的用于上报第一数据包的天气信息。其中,在判断结果为是时,转向步骤308;在判断结果为否时,结束该流程。307. The primary convergence device determines whether the real-time weather information matches the preset weather information for reporting the first data packet. When the determination result is YES, the process proceeds to step 308; when the determination result is negative, the process ends.
308、主汇聚设备将第一数据包上报给转发节点。308. The primary aggregation device reports the first data packet to the forwarding node.
作为一种可选的实施方式,主汇聚设备在确定出即时天气信息匹配预设的用于上报第一数据包的天气信息时,先获取主汇聚设备的当前系统时间;判断获取的当前系统时间是否匹配预设的上报数据的时间;在确定获取的当前系统时间匹配预设的上报数据的时间时,将第一数据包上报给转发节点。As an optional implementation manner, when determining that the real-time weather information matches the preset weather information for reporting the first data packet, the primary aggregation device first acquires the current system time of the primary aggregation device; and determines the current system time obtained. Whether to match the time of the preset report data; when determining the time when the acquired current system time matches the preset report data, the first data packet is reported to the forwarding node.
309、在主汇聚设备发生故障时,备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包;309. When the primary aggregation device fails, the standby aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet.
310、备用汇聚设备向转发节点发送携带该备用汇聚设备的位置信息的即时天气查询请求,以使转发节点向云台天气服务器请求匹配备用汇聚设备的位置信息的即时天气信息。310. The standby aggregation device sends an instant weather query request carrying the location information of the standby aggregation device to the forwarding node, so that the forwarding node requests the cloud station weather server to match the real-time weather information of the location information of the standby aggregation device.
311、备用汇聚设备接收转发节点返回的即时天气信息。311. The standby aggregation device receives the real-time weather information returned by the forwarding node.
312、备用汇聚设备判断即时天气信息是否匹配预设的用于上报第二数据包的天气信息。其中,在判断结果为是时,转向步骤313;在判断结果为否时,结束该流程。312. The standby aggregation device determines whether the real-time weather information matches the preset weather information for reporting the second data packet. If the result of the determination is YES, the process proceeds to step 313. If the result of the determination is negative, the process ends.
313、备用汇聚设备将第二数据包上报给转发节点。313. The standby aggregation device reports the second data packet to the forwarding node.
作为一种可选的实施方式,在主汇聚设备发生故障时,备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点,包括:在主汇聚设备发生故障时,备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包;以及,获取其当前系统时间,以及判断获取的当前系统时间是否匹配预设的上报数据的时间;在确定获取的当前系统时间匹配预设的上报数据的时间时,将第二数据包上报给转发节点。As an optional implementation manner, when the primary aggregation device fails, the standby aggregation device acquires data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet. The forwarding node includes: when the primary aggregation device fails, the standby aggregation device acquires its own data and data of other terminal devices in the group and packages the second data packet; and obtains its current system time, and The second data packet is reported to the forwarding node when it is determined that the current system time is matched with the preset time for reporting the data.
作为一种可选的实施方式,备用汇聚设备在确定出即时天气信息匹配预 设的用于上报第二数据包的天气信息时,先获取备用汇聚设备的当前系统时间;判断获取的当前系统时间是否匹配预设的上报数据的时间;在确定获取的当前系统时间匹配预设的上报数据的时间时,将第二数据包上报给转发节点。As an optional implementation manner, the standby aggregation device determines the instant weather information matching pre- When the weather information of the second data packet is reported, the current system time of the standby aggregation device is obtained first; whether the current system time obtained matches the preset time for reporting the data; and the current system time is determined to match the preset. When the time of the data is reported, the second data packet is reported to the forwarding node.
在本发明实施例中,还可以进一步设置主汇聚设备和备用汇聚设备上报数据的天气,转发节点可以根据采集数据的时间点划分群组,以便能够集中且及时地上报终端设备采集的数据,进一步地,转发节点通过对群组中的终端设备划分身份类型,在主汇聚设备没有发生故障时,集中由主汇聚设备在匹配用于上报第一数据包的天气上报第一数据包;在主汇聚设备发生故障时,集中由备用汇聚设备在匹配用于上报第二数据包的天气上报第二数据包,能够保证全部终端设备的数据均可上报,提高物联网的可靠性。In the embodiment of the present invention, the weather of the data reported by the primary aggregation device and the standby aggregation device may be further set, and the forwarding node may divide the group according to the time point of collecting the data, so that the data collected by the terminal device can be reported in a centralized and timely manner, and further The forwarding node allocates the identity type to the terminal device in the group. When the primary aggregation device does not fail, the primary aggregation device reports the first data packet in the weather for matching the first data packet. When the device is faulty, the secondary aggregation device collects the second data packet in the weather for matching the second data packet. The data of all the terminal devices can be reported and the reliability of the Internet of Things can be improved.
实施例三Embodiment 3
请参阅图4和图5,图4为本发明实施例公开的物联网数据的传输控制系统的结构示意图,图5为本发明实施例公开的物联网数据的传输控制系统的另一结构示意图;如图4所示,一种物联网数据的传输控制系统可包括:Referring to FIG. 4 and FIG. 5, FIG. 4 is a schematic structural diagram of an Internet of Things data transmission control system according to an embodiment of the present invention, and FIG. 5 is another schematic structural diagram of an Internet of Things data transmission control system according to an embodiment of the present invention; As shown in FIG. 4, a transmission control system for Internet of Things data may include:
转发节点410,用于接收汇聚单元420下发的配置信息,该配置信息包括群组成员的身份类型,该身份类型包括主汇聚设备43011、备用汇聚设备43022和成员设备43033;The forwarding node 410 is configured to receive configuration information that is sent by the aggregation unit 420, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device 43011, a backup aggregation device 43022, and a member device 43033;
转发节点410还用于获取其无线网络覆盖范围内的终端设备430采集数据的时间点,以终端设备430采集数据的时间点为依据,将转发节点410的无线网络覆盖范围内的终端设备430划分成若干群组;其中,每一个群组包括采集数据的时间点在同一时间段的多个终端设备430;The forwarding node 410 is further configured to acquire a time point of the terminal device 430 in the coverage of the wireless network to collect the data, and divide the terminal device 430 in the wireless network coverage of the forwarding node 410 according to the time point at which the terminal device 430 collects the data. In a plurality of groups; wherein each group includes a plurality of terminal devices 430 that collect data at a same time period;
转发节点410还用于将每一个群组中的多个终端设备430中的一个终端设备430配置为主汇聚设备43011,将多个终端设备430中除去主汇聚设备43011的一个终端设备430配置为备用汇聚设备43022,将多个终端设备430中除去主汇聚设备43011与备用汇聚设备43022的剩余终端设备430配置为成员设备43033(具体如图5所示);The forwarding node 410 is further configured to configure one terminal device 430 of the plurality of terminal devices 430 in each group as the primary aggregation device 43011, and configure one terminal device 430 of the plurality of terminal devices 430 except the primary aggregation device 43011 to be configured as The standby aggregation device 43022 configures the remaining terminal devices 430 of the plurality of terminal devices 430 except the primary aggregation device 43011 and the backup aggregation device 43022 as the member devices 43033 (as shown in FIG. 5 in detail);
在主汇聚设备43011未发生故障时,主汇聚设备43011用于获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第一数据包,将第一数据包上报给转发节点410,以使转发节点410将第一数据包上报给汇聚单元420;When the primary aggregation device 43011 has not failed, the primary aggregation device 43011 is configured to acquire the data of the other terminal device 430 and the data of the other terminal device 430 in the group, and package the first data packet, and report the first data packet to the forwarding node 410. The forwarding node 410 reports the first data packet to the aggregation unit 420;
在主汇聚设备43011发生故障时,备用汇聚设备43022用于获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第二数据包,将第二数据包上报给转发节点410,以使转发节点410将第二数据包上报给汇聚单元420。When the primary aggregation device 43011 fails, the secondary aggregation device 43022 is configured to acquire data of its own data and other terminal devices 430 in the group and package the second data packet, and report the second data packet to the forwarding node 410. The forwarding node 410 is caused to report the second data packet to the convergence unit 420.
作为一种可选的实施方式,备用汇聚设备43022周期性向主汇聚设备43011发送心跳数据包;在预设时间段内未接收到主汇聚设备43011返回的心跳响应数据包时,备用汇聚设备43022确定监听到主汇聚设备发生故障, 从而执行获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将第二数据包上报给转发节点,以使转发节点将第二数据包上报给汇聚单元420的步骤;在预设时间段内接收到主汇聚设备43011返回的心跳响应数据包时,备用汇聚设备43022确定主汇聚设备未发生故障。通过该实施方式,备用汇聚设备43022能够及时发现主汇聚设备出现故障,以尽快替换主汇聚设备43011汇聚数据并上报。As an optional implementation manner, the standby aggregation device 43022 periodically sends a heartbeat data packet to the primary aggregation device 43011; when the heartbeat response data packet returned by the primary aggregation device 43011 is not received within the preset time period, the backup aggregation device 43022 determines Listening to the failure of the primary aggregation device, Therefore, the step of obtaining the data of the other terminal device and the other terminal devices in the group is performed, and the second data packet is packetized, and the second data packet is reported to the forwarding node, so that the forwarding node reports the second data packet to the aggregation unit 420. When receiving the heartbeat response packet returned by the primary aggregation device 43011 within the preset time period, the standby aggregation device 43022 determines that the primary aggregation device has not failed. With this implementation, the backup aggregation device 43022 can detect that the primary aggregation device is faulty in time to replace the aggregation data of the primary aggregation device 43011 and report the data.
作为另一种可选的实施方式,转发节点410获取未接收到主汇聚设备43011发送第一数据包的时长;转发节点410判断该时长是否大于预设阈值;转发节点410在该时长大于预设阈值时,确定主汇聚设备43011发生故障,并向备用汇聚设备43022发送通知消息,以使得备用汇聚设备43022根据通知消息确定主汇聚设备43011发生故障,以执行获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将第二数据包上报给转发节点410,以使转发节点410将第二数据包上报给汇聚单元420的步骤。通过该实施方式,由转发节点410来检测主汇聚设备43011是否发生故障,并在发生故障时通知备用汇聚设备43022。As another optional implementation manner, the forwarding node 410 obtains the length of time when the primary aggregation device 43011 does not receive the first data packet, and the forwarding node 410 determines whether the duration is greater than a preset threshold. The forwarding node 410 is greater than the preset duration. At the threshold, it is determined that the primary aggregation device 43011 has failed, and sends a notification message to the standby aggregation device 43022, so that the backup aggregation device 43022 determines that the primary aggregation device 43011 has failed according to the notification message to perform acquisition of its own data and other groups in the group. The data of the terminal device is packaged to obtain the second data packet, and the second data packet is reported to the forwarding node 410, so that the forwarding node 410 reports the second data packet to the aggregation unit 420. With this embodiment, the forwarding node 410 detects whether the primary aggregation device 43011 has failed, and notifies the alternate aggregation device 43022 when a failure occurs.
作为另一种可选的实施方式,主汇聚设备43011接收所在群组的其它终端设备发送的数据的时间是否大于第一预置,如果大于第一预置,确定自身出现故障,通知备用汇聚设备43022;或者,主汇聚设备43011检测其发送第一数据包给转发节点410的时间是否大于第二阈值,如果大于第二阈值,确定自身出现故障,通知备用汇聚设备43022。As another optional implementation manner, the time that the primary aggregation device 43011 receives the data sent by the other terminal devices of the group is greater than the first preset, and if it is greater than the first preset, determines that the user has a fault, and notifies the standby aggregation device. 43022; Alternatively, the primary convergence device 43011 detects whether the time at which the first data packet is sent to the forwarding node 410 is greater than a second threshold, and if it is greater than the second threshold, determines that it has failed, notifying the alternate aggregation device 43022.
作为一种可选的实施方式,转发节点410用于接收汇聚单元420下发的配置信息的方式具体为:As an optional implementation manner, the manner in which the forwarding node 410 is configured to receive the configuration information delivered by the aggregation unit 420 is specifically:
转发节点410用于调用第一网络接口,通过第一网络接口接收汇聚单元420下发的配置信息;The forwarding node 410 is configured to invoke the first network interface, and receive configuration information delivered by the aggregation unit 420 through the first network interface.
主汇聚设备43011用于获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第一数据包,将第一数据包上报给转发节点410的方式具体为:The main aggregation device 43011 is configured to obtain the data of the other terminal device 430 in the group and the data of the other terminal device 430 in the group, and package the first data packet, and report the first data packet to the forwarding node 410.
主汇聚设备43011用于获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第一数据包,通过转发节点410的第二网络接口将第一数据包上报给转发节点410;The main aggregation device 43011 is configured to acquire the data of the other terminal device 430 in the group and the data of the other terminal device 430 in the group, and the first data packet is sent to the forwarding node 410 through the second network interface of the forwarding node 410;
备用汇聚设备43022获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第二数据包,将第二数据包上报给转发节点410的方式具体为:The backup aggregation device 43022 obtains its own data and the data of the other terminal devices 430 in the group, and packages the second data packet, and the second data packet is reported to the forwarding node 410.
备用汇聚设备43022用于获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第二数据包,通过转发节点410的第二网络接口将第二数据包上报给转发节点410。The backup aggregation device 43022 is configured to obtain the data of the other terminal device 430 in the group and the data of the other terminal device 430 in the group. The second data packet is forwarded to the forwarding node 410 through the second network interface of the forwarding node 410.
作为一种可选的实施方式,转发节点410在接收汇聚单元420下发的配置信息之前,转发节点410在接入网络并启动后,向汇聚单元420发送获取 配置信息的请求,以及接收汇聚单元420下发的配置信息。As an optional implementation manner, before the forwarding node 410 receives the configuration information sent by the aggregation unit 420, the forwarding node 410 sends the acquisition to the aggregation unit 420 after accessing the network and starting. The configuration information is requested, and the configuration information delivered by the aggregation unit 420 is received.
作为另一种可选的实施方式,转发节点410接收汇聚单元420下发的系统更新配置信息,根据该系统更新配置信息进行系统更新配置,在系统更新配置完成后,向汇聚单元420发送获取配置信息的请求,以及接收汇聚单元420下发的配置信息。As another optional implementation manner, the forwarding node 410 receives the system update configuration information that is sent by the aggregation unit 420, performs system update configuration according to the system update configuration information, and sends the acquisition configuration to the aggregation unit 420 after the system update configuration is completed. The request for information and the configuration information delivered by the aggregation unit 420.
作为一种可选的实施方式,主汇聚设备43011将第一数据包上报给转发节点410具体包括:主汇聚设备43011通过转发节点410的第二网络接口将第一数据包上报给转发节点410。As an optional implementation manner, the primary aggregation device 43011 reports the first data packet to the forwarding node 410. The primary aggregation device 43111 reports the first data packet to the forwarding node 410 by using the second network interface of the forwarding node 410.
进一步地,主汇聚设备43011将第一数据包上报给转发节点410具体包括:主汇聚设备43011确定目标传输频段;在目标传输频段上与转发节点410建立通信连接,以及基于建立的通信连接通过第二网络接口将第一数据包上报给转发节点410。Further, the reporting, by the primary aggregation device 43011, the first data packet to the forwarding node 410 includes: the primary aggregation device 43011 determines a target transmission frequency band; establishes a communication connection with the forwarding node 410 on the target transmission frequency band, and passes the established communication connection based on the The second network interface reports the first data packet to the forwarding node 410.
进一步地,主汇聚设备43011在目标传输频段上与转发节点410建立通信连接,以及基于建立的通信连接通过第二网络接口将第一数据包上报给转发节点410具体包括:主汇聚设备43011确定目标传输频段所对应的时频资源,在时频资源上通过第二网络接口将第一数据包上报给转发节点410。Further, the primary aggregation device 43011 establishes a communication connection with the forwarding node 410 on the target transmission frequency band, and reports the first data packet to the forwarding node 410 through the second network interface based on the established communication connection. Specifically, the primary aggregation device 43011 determines the target. The time-frequency resource corresponding to the transmission band reports the first data packet to the forwarding node 410 through the second network interface on the time-frequency resource.
进一步地,主汇聚设备43011确定目标传输频段所对应的时频资源,在时频资源上通过第二网络接口将第一数据包上报给转发节点410具体包括:主汇聚设备43011通过跳频方式从目标传输频段中确定用于上报汇报信息的物理资源块的频域位置;主汇聚设备43011在确定的物理资源块的频域位置所对应的时频资源上,通过第二网络接口将第一数据包上报给转发节点410。实施上述实施方式,能够解决数据干扰问题,提高数据传输效率。Further, the primary aggregation device 43011 determines the time-frequency resource corresponding to the target transmission frequency band, and the first data packet is reported to the forwarding node 410 by using the second network interface on the time-frequency resource, and the method includes: the primary aggregation device 43011 adopts a frequency hopping method. Determining, in the target transmission frequency band, a frequency domain location of the physical resource block used for reporting the reporting information; the primary aggregation device 43011, on the time-frequency resource corresponding to the frequency domain location of the determined physical resource block, using the second network interface to the first data The packet is reported to the forwarding node 410. By implementing the above embodiments, data interference problems can be solved and data transmission efficiency can be improved.
作为一种可选的实施方式,在主汇聚设备43011未发生故障时,主汇聚设备43011用于获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第一数据包,将第一数据包上报给转发节点410的方式具体为:As an optional implementation manner, when the primary aggregation device 43011 fails to be faulty, the primary aggregation device 43011 is configured to acquire data of its own data and other terminal devices 430 in the group, and package the first data packet. The manner in which a data packet is reported to the forwarding node 410 is specifically as follows:
在主汇聚设备43011未发生故障时,主汇聚设备43011用于获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第一数据包;以及,向转发节点410发送携带主汇聚设备43011的位置信息的即时天气查询请求,以使转发节点410向云台天气服务器请求匹配主汇聚设备43011的位置信息的即时天气信息;以及,接收转发节点410返回的即时天气信息;以及,判断即时天气信息是否匹配预设的用于上报第一数据包的天气信息;以及,在确定出即时天气信息匹配预设的用于上报第一数据包的天气信息时,将第一数据包上报给转发节点410。When the primary aggregation device 43011 has not failed, the primary aggregation device 43011 is configured to acquire data of its own data and other terminal devices 430 in the group and package the first data packet; and send the primary aggregation device to the forwarding node 410. An instant weather query request for location information of 43011, such that forwarding node 410 requests instant weather information matching the location information of primary aggregation device 43011 to the PTZ weather server; and receiving instant weather information returned by forwarding node 410; and determining instant Whether the weather information matches the preset weather information for reporting the first data packet; and, when determining that the real-time weather information matches the preset weather information for reporting the first data packet, reporting the first data packet to the forwarding Node 410.
作为一种可选的实施方式,主汇聚设备43011用于在确定出即时天气信息匹配预设的用于上报第一数据包的天气信息时,将第一数据包上报给转发节点410的方式具体为:As an optional implementation manner, the main aggregation device 43011 is configured to report the first data packet to the forwarding node 410 when determining that the real-time weather information matches the preset weather information for reporting the first data packet. for:
主汇聚设备43011用于在确定出即时天气信息匹配预设的用于上报第一数据包的天气信息时,获取主汇聚设备43011的当前系统时间;以及,判断 获取的当前系统时间是否匹配预设的上报数据的时间;以及,在确定获取的当前系统时间匹配预设的上报数据的时间时,将第一数据包上报给转发节点410。The main aggregation device 43011 is configured to acquire the current system time of the primary aggregation device 43011 when it is determined that the real-time weather information matches the preset weather information for reporting the first data packet; and, determine The obtained current system time is matched with the preset time of reporting the data; and the first data packet is reported to the forwarding node 410 when it is determined that the current system time of the acquisition matches the preset reported data.
作为一种可选的实施方式,在主汇聚设备43011发生故障时,备用汇聚设备43022用于获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第二数据包,将第二数据包上报给转发节点410的方式具体为:As an optional implementation manner, when the primary aggregation device 43011 fails, the backup aggregation device 43022 is configured to acquire data of its own data and other terminal devices 430 in the group, and package the second data packet, and the second packet The manner in which the data packet is reported to the forwarding node 410 is specifically as follows:
在主汇聚设备43011发生故障时,备用汇聚设备43022用于获取其自身数据以及所在群组中其它终端设备430的数据并打包得到第二数据包;以及,获取其当前系统时间,以及判断获取的当前系统时间是否匹配预设的上报数据的时间;以及,在确定获取的当前系统时间匹配预设的上报数据的时间时,将第二数据包上报给转发节点410。When the primary aggregation device 43011 fails, the backup aggregation device 43022 is configured to acquire data of its own data and other terminal devices 430 in the group and package the second data packet; and obtain its current system time and determine the acquired data. Whether the current system time matches the time of the preset report data; and when the current system time is determined to match the time of the preset report data, the second data packet is reported to the forwarding node 410.
实施上述系统,转发节点410可以根据采集数据的时间点划分群组,以便能够集中且及时地上报终端设备采集的数据,进一步地,转发节点410通过对群组中的终端设备430划分身份类型,在主汇聚设备43011没有发生故障时,集中由主汇聚设备43011上报数据,在主汇聚设备43011发生故障时,集中由备用汇聚设备43022上报数据,能够保证全部终端设备430的数据均可上报,提高物联网的可靠性。The implementation of the foregoing system, the forwarding node 410 can divide the group according to the time point of collecting the data, so that the data collected by the terminal device can be reported in a centralized manner and in a timely manner. Further, the forwarding node 410 divides the identity type by the terminal device 430 in the group. When the primary aggregation device 43011 fails to be reported, the data is reported by the primary aggregation device 43011. When the primary aggregation device 43011 fails, the data is reported by the secondary aggregation device 43022, and the data of all the terminal devices 430 can be reported. The reliability of the Internet of Things.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(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 system for controlling the transmission and control of the Internet of Things data disclosed in the embodiments of the present invention are described in detail. The principles and implementations of the present invention are described in the specific examples. The description of the above embodiments is only for helping. The method of the present invention and its core idea are understood; at the same time, for those skilled in the art, according to the idea of the present invention, there are changes in the specific embodiments and application scopes. It should be understood that the invention is limited.

Claims (10)

  1. 一种物联网数据的传输控制方法,其特征在于,包括:A method for controlling transmission of Internet of Things data, comprising:
    转发节点接收汇聚单元下发的配置信息,所述配置信息包括群组成员的身份类型,所述身份类型包括主汇聚设备、备用汇聚设备和成员设备;The forwarding node receives configuration information that is sent by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, a backup aggregation device, and a member device.
    所述转发节点获取其无线网络覆盖范围内的终端设备采集数据的时间点,以所述终端设备采集数据的时间点为依据,将所述转发节点的无线网络覆盖范围内的终端设备划分成若干群组;其中,每一个所述群组包括采集数据的时间点在同一时间段的多个终端设备;The forwarding node acquires a time point of collecting data by the terminal device in the coverage of the wireless network, and divides the terminal device in the coverage of the wireless network of the forwarding node into a plurality of points according to the time point at which the terminal device collects data. a group; wherein each of the groups includes a plurality of terminal devices at a time point in which data is collected;
    所述转发节点将每一个所述群组中的所述多个终端设备中的一个终端设备配置为主汇聚设备,将所述多个终端设备中除去所述主汇聚设备的一个终端设备配置为备用汇聚设备,将所述多个终端设备中除去所述主汇聚设备与所述备用汇聚设备的剩余终端设备配置为成员设备;The forwarding node configures one of the plurality of terminal devices in each of the groups as a primary aggregation device, and configures one terminal device of the plurality of terminal devices to be removed from the primary aggregation device as The standby aggregation device configures the remaining terminal devices of the plurality of terminal devices from the primary aggregation device and the standby aggregation device as member devices;
    在所述主汇聚设备未发生故障时,所述主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点,以使所述转发节点将所述第一数据包上报给所述汇聚单元;When the primary aggregation device does not fail, the primary aggregation device acquires data of its own data and other terminal devices in the group, and packages the first data packet, and reports the first data packet to the forwarding. a node, so that the forwarding node reports the first data packet to the aggregation unit;
    在所述主汇聚设备发生故障时,所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点,以使所述转发节点将所述第二数据包上报给所述汇聚单元。When the primary aggregation device fails, the secondary aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node. So that the forwarding node reports the second data packet to the aggregation unit.
  2. 根据权利要求1所述的方法,其特征在于,所述转发节点接收汇聚单元下发的配置信息,包括:The method according to claim 1, wherein the forwarding node receives the configuration information delivered by the aggregation unit, including:
    所述转发节点调用第一网络接口,通过所述第一网络接口接收所述汇聚单元下发的配置信息;The forwarding node invokes a first network interface, and receives configuration information delivered by the aggregation unit by using the first network interface;
    所述主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点,包括:The primary aggregation device obtains the data of the user and the data of the other terminal devices in the group, and packages the data packet to obtain the first data packet, and reports the first data packet to the forwarding node, including:
    所述主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,通过所述转发节点的第二网络接口将所述第一数据包上报给所述转发节点;The primary aggregation device obtains its own data and data of other terminal devices in the group, and packages the first data packet, and reports the first data packet to the forwarding node by using the second network interface of the forwarding node. ;
    所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点,包括:The standby aggregation device obtains its own data and data of other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node, including:
    所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,通过所述转发节点的第二网络接口将所述第二数据包上报给所述转发节点。The standby aggregation device obtains data of its own data and other terminal devices in the group, and packages the second data packet, and reports the second data packet to the forwarding node by using the second network interface of the forwarding node. .
  3. 根据权利要求1或2所述的方法,其特征在于,在所述主汇聚设备未发生故障时,所述主汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点,包括:The method according to claim 1 or 2, wherein, when the primary aggregation device does not fail, the primary aggregation device acquires data of its own data and other terminal devices in the group and packages the first The data packet is reported to the forwarding node by the first data packet, including:
    在所述主汇聚设备未发生故障时,所述主汇聚设备获取其自身数据以及 所在群组中其它终端设备的数据并打包得到第一数据包;When the primary aggregation device fails, the primary aggregation device acquires its own data and Data of other terminal devices in the group and packaged to obtain the first data packet;
    所述主汇聚设备向所述转发节点发送携带所述主汇聚设备的位置信息的即时天气查询请求,以使所述转发节点向云台天气服务器请求匹配所述主汇聚设备的位置信息的即时天气信息;The primary aggregation device sends an instant weather query request carrying the location information of the primary aggregation device to the forwarding node, so that the forwarding node requests the cloud platform weather server to match the real-time weather of the location information of the primary aggregation device. information;
    所述主汇聚设备接收所述转发节点返回的所述即时天气信息;Receiving, by the primary aggregation device, the instant weather information returned by the forwarding node;
    所述主汇聚设备判断所述即时天气信息是否匹配预设的用于上报所述第一数据包的天气信息;The primary aggregation device determines whether the real-time weather information matches a preset weather information for reporting the first data packet;
    所述主汇聚设备在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,将所述第一数据包上报给所述转发节点。The first aggregation device reports the first data packet to the forwarding node when it is determined that the current weather information matches the preset weather information for reporting the first data packet.
  4. 根据权利要求3所述的方法,其特征在于,所述主汇聚设备在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,将所述第一数据包上报给所述转发节点,包括:The method according to claim 3, wherein the primary aggregation device determines the first weather data when it is determined that the current weather information matches a preset weather information for reporting the first data packet. The packet is reported to the forwarding node, including:
    所述主汇聚设备在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,获取所述主汇聚设备的当前系统时间;Obtaining, by the primary aggregation device, the current system time of the primary aggregation device when determining that the real-time weather information matches a preset weather information for reporting the first data packet;
    所述主汇聚设备判断获取的当前系统时间是否匹配预设的上报数据的时间;The time when the primary aggregation device determines whether the acquired current system time matches the preset reported data;
    所述主汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,将所述第一数据包上报给所述转发节点。The primary aggregation device reports the first data packet to the forwarding node when determining that the current current system time matches the time of the preset reporting data.
  5. 根据权利要求1~4任一项所述的方法,其特征在于,在所述主汇聚设备发生故障时,所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点,包括:The method according to any one of claims 1 to 4, wherein, when the primary aggregation device fails, the standby aggregation device acquires data of its own data and other terminal devices in the group and packages the data. And sending the second data packet to the forwarding node, where the second data packet includes:
    在所述主汇聚设备发生故障时,所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包;When the primary aggregation device fails, the standby aggregation device acquires data of its own data and other terminal devices in the group and packages the second data packet;
    所述备用汇聚设备获取其当前系统时间,以及判断获取的当前系统时间是否匹配预设的上报数据的时间;The time when the standby aggregation device acquires its current system time and determines whether the acquired current system time matches the preset reported data;
    所述备用汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,将所述第二数据包上报给所述转发节点。The second aggregation packet reports the second data packet to the forwarding node when the current system time is determined to match the preset time of the reported data.
  6. 一种物联网数据的传输控制系统,其特征在于,包括:A transmission control system for Internet of Things data, comprising:
    转发节点,用于接收汇聚单元下发的配置信息,所述配置信息包括群组成员的身份类型,所述身份类型包括主汇聚设备、备用汇聚设备和成员设备;The forwarding node is configured to receive configuration information that is sent by the aggregation unit, where the configuration information includes an identity type of the group member, where the identity type includes a primary aggregation device, a backup aggregation device, and a member device.
    所述转发节点还用于获取其无线网络覆盖范围内的终端设备采集数据的时间点,以所述终端设备采集数据的时间点为依据,将所述转发节点的无线网络覆盖范围内的终端设备划分成若干群组;其中,每一个所述群组包括采集数据的时间点在同一时间段的多个终端设备;The forwarding node is further configured to acquire a time point of collecting data by the terminal device in the coverage of the wireless network, and use the terminal device in the wireless network coverage range of the forwarding node as a basis of the time point at which the terminal device collects data. Dividing into a plurality of groups; wherein each of the groups includes a plurality of terminal devices that collect data at a time point of the same time period;
    所述转发节点还用于将每一个所述群组中的所述多个终端设备中的一个终端设备配置为主汇聚设备,将所述多个终端设备中除去所述主汇聚设备的一个终端设备配置为备用汇聚设备,将所述多个终端设备中除去所述主汇聚 设备与所述备用汇聚设备的剩余终端设备配置为成员设备;The forwarding node is further configured to configure one terminal device of each of the plurality of terminal devices in the group as a primary aggregation device, and remove one terminal of the primary aggregation device from the multiple terminal devices The device is configured as a standby aggregation device, and the main aggregation is removed from the multiple terminal devices The device and the remaining terminal devices of the standby aggregation device are configured as member devices;
    在所述主汇聚设备未发生故障时,所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点,以使所述转发节点将所述第一数据包上报给所述汇聚单元;When the primary aggregation device is not faulty, the primary aggregation device is configured to acquire data of its own data and other terminal devices in the group, and package the first data packet, and report the first data packet to the local data packet. Deriving the forwarding node, so that the forwarding node reports the first data packet to the convergence unit;
    在所述主汇聚设备发生故障时,所述备用汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点,以使所述转发节点将所述第二数据包上报给所述汇聚单元。When the primary aggregation device fails, the standby aggregation device is configured to acquire data of its own data and other terminal devices in the group, and package the second data packet, and report the second data packet to the Forwarding the node, so that the forwarding node reports the second data packet to the aggregation unit.
  7. 根据权利要求6所述的系统,其特征在于,所述转发节点用于接收汇聚单元下发的配置信息的方式具体为:The system according to claim 6, wherein the manner in which the forwarding node is configured to receive the configuration information delivered by the aggregation unit is specifically:
    所述转发节点用于调用第一网络接口,通过所述第一网络接口接收所述汇聚单元下发的配置信息;The forwarding node is configured to invoke a first network interface, and receive configuration information delivered by the aggregation unit by using the first network interface;
    所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点的方式具体为:The manner in which the primary aggregation device is configured to acquire the data of the other terminal devices in the group and the other terminal devices in the group and to obtain the first data packet, and report the first data packet to the forwarding node is specifically:
    所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,通过所述转发节点的第二网络接口将所述第一数据包上报给所述转发节点;The primary aggregation device is configured to obtain the data of the other terminal device and the data of the other terminal devices in the group, and package the first data packet, and report the first data packet to the Forwarding node
    所述备用汇聚设备获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点的方式具体为:The manner in which the standby aggregation device obtains its own data and the data of other terminal devices in the group and packs the second data packet, and reports the second data packet to the forwarding node is specifically:
    所述备用汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,通过所述转发节点的第二网络接口将所述第二数据包上报给所述转发节点。The standby aggregation device is configured to obtain data of its own data and other terminal devices in the group and package the second data packet, and report the second data packet to the second data interface through the forwarding node. Forward the node.
  8. 根据权利要求6或7所述的系统,其特征在于,在所述主汇聚设备未发生故障时,所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包,将所述第一数据包上报给所述转发节点的方式具体为:The system according to claim 6 or 7, wherein the primary aggregation device is configured to acquire data of its own data and other terminal devices in the group and package the data when the primary aggregation device does not fail. The first data packet, the manner in which the first data packet is reported to the forwarding node is specifically:
    在所述主汇聚设备未发生故障时,所述主汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第一数据包;以及,向所述转发节点发送携带所述主汇聚设备的位置信息的即时天气查询请求,以使所述转发节点向云台天气服务器请求匹配所述主汇聚设备的位置信息的即时天气信息;以及,接收所述转发节点返回的所述即时天气信息;以及,判断所述即时天气信息是否匹配预设的用于上报所述第一数据包的天气信息;以及,在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,将所述第一数据包上报给所述转发节点。When the primary aggregation device does not fail, the primary aggregation device is configured to acquire data of its own data and other terminal devices in the group and package the first data packet; and send the carrier to the forwarding node. An immediate weather query request for location information of the primary aggregation device, such that the forwarding node requests the cloud weather server to match the real-time weather information of the location information of the primary aggregation device; and receiving the Instant weather information; and determining whether the instant weather information matches a preset weather information for reporting the first data packet; and determining that the instant weather information matches a preset for reporting the first When the weather information of the data packet is sent, the first data packet is reported to the forwarding node.
  9. 根据权利要求8所述的系统,其特征在于,所述主汇聚设备用于在确 定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,将所述第一数据包上报给所述转发节点的方式具体为:The system of claim 8 wherein said primary aggregation device is used in When the current weather information is matched to the preset weather information for reporting the first data packet, the manner of reporting the first data packet to the forwarding node is specifically:
    所述主汇聚设备用于在确定出所述即时天气信息匹配预设的用于上报所述第一数据包的天气信息时,获取所述主汇聚设备的当前系统时间;以及,判断获取的当前系统时间是否匹配预设的上报数据的时间;以及,在确定获取的当前系统时间匹配预设的上报数据的时间时,将所述第一数据包上报给所述转发节点。The main aggregation device is configured to acquire a current system time of the primary aggregation device when determining that the real-time weather information matches a predetermined weather information for reporting the first data packet; and determining the current current acquisition Whether the system time matches the preset time for reporting the data; and when the current system time is determined to match the time of the preset report data, the first data packet is reported to the forwarding node.
  10. 根据权利要求6~9任一项所述的系统,其特征在于,在所述主汇聚设备发生故障时,所述备用汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包,将所述第二数据包上报给所述转发节点的方式具体为:The system according to any one of claims 6 to 9, wherein when the primary aggregation device fails, the standby aggregation device is configured to acquire data of its own data and other terminal devices in the group. The method of packetizing the second data packet and reporting the second data packet to the forwarding node is specifically:
    在所述主汇聚设备发生故障时,所述备用汇聚设备用于获取其自身数据以及所在群组中其它终端设备的数据并打包得到第二数据包;以及,获取其当前系统时间,以及判断获取的当前系统时间是否匹配预设的上报数据的时间;以及,在确定获取的当前系统时间匹配预设的上报数据的时间时,将所述第二数据包上报给所述转发节点。 When the primary aggregation device fails, the standby aggregation device is configured to acquire data of its own data and other terminal devices in the group and package the second data packet; and obtain the current system time and determine the acquisition. Whether the current system time matches the time of the preset report data; and when the time when the current system time is matched to the preset report data is determined, the second data packet is reported to the forwarding node.
PCT/CN2017/099669 2017-06-21 2017-08-30 Method and system for controlling transmission of internet of things data WO2018233034A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710473212.5 2017-06-21
CN201710473212.5A CN107249171A (en) 2017-06-21 2017-06-21 The transfer control method and system of a kind of Internet of Things data

Publications (1)

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

Family

ID=60019262

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099669 WO2018233034A1 (en) 2017-06-21 2017-08-30 Method and system for controlling transmission of internet of things data

Country Status (2)

Country Link
CN (1) CN107249171A (en)
WO (1) WO2018233034A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756380A (en) * 2019-01-14 2019-05-14 山东建筑大学 A kind of internet of things equipment adaptive access and shared method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089167B (en) * 2018-09-04 2021-11-02 北京奇艺世纪科技有限公司 Data acquisition method and mobile device
CN109831815B (en) * 2018-12-14 2021-10-08 中磊电子股份有限公司 Data transmission coordination system and method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142096A (en) * 2015-08-14 2015-12-09 湘潭大学 Neural network-based cross-media data fusion method in internet of things
CN105376766A (en) * 2014-08-11 2016-03-02 无锡市嘉邦电力管道厂 Internet-of-things data transmission method
US20170111785A1 (en) * 2005-08-26 2017-04-20 Hand Held Products, Inc. Data collection device having dynamic access to multiple wireless networks
CN106604211A (en) * 2016-12-19 2017-04-26 南京邮电大学 Hierarchical adaptive space-time compression method based on sensor network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259830A (en) * 2012-05-10 2013-08-21 南京英飞诺网络科技有限公司 Low-latency convergence TAP
US9413779B2 (en) * 2014-01-06 2016-08-09 Cisco Technology, Inc. Learning model selection in a distributed network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170111785A1 (en) * 2005-08-26 2017-04-20 Hand Held Products, Inc. Data collection device having dynamic access to multiple wireless networks
CN105376766A (en) * 2014-08-11 2016-03-02 无锡市嘉邦电力管道厂 Internet-of-things data transmission method
CN105142096A (en) * 2015-08-14 2015-12-09 湘潭大学 Neural network-based cross-media data fusion method in internet of things
CN106604211A (en) * 2016-12-19 2017-04-26 南京邮电大学 Hierarchical adaptive space-time compression method based on sensor network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756380A (en) * 2019-01-14 2019-05-14 山东建筑大学 A kind of internet of things equipment adaptive access and shared method and system
CN109756380B (en) * 2019-01-14 2022-02-15 山东建筑大学 Self-adaptive access and sharing method and system for Internet of things equipment

Also Published As

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

Similar Documents

Publication Publication Date Title
US11881991B2 (en) Cloud-based control of a Wi-Fi network
WO2018232970A1 (en) Method and system for detecting state of terminal device applied in internet of things
WO2018232966A1 (en) Edge forwarding node-based method and system for detection whether terminal device is offline
WO2018233030A1 (en) Transmission duration-based internet of things data reporting control method and forwarding node
WO2018233020A1 (en) Internet of things based data package method and system
WO2018233046A1 (en) Data type-based communication control method and system
WO2018233057A1 (en) Method and system for adjusting wireless signal of internet of things
WO2018233034A1 (en) Method and system for controlling transmission of internet of things data
WO2018233048A1 (en) Method and system for controlling communication of internet of things terminal device
WO2018232976A1 (en) Terminal device operating status determination method and device
WO2018233036A1 (en) Internet-of-things data reporting control method and device
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
WO2018233045A1 (en) Switch control method and system for internet of things communication mode
WO2018233016A1 (en) Edge routing node and reporting frequency adjusting method thereof
WO2018233049A1 (en) Internet-of-things data communication method and system
WO2018232967A1 (en) Internet-of-things terminal device detection method and system based on access node
WO2018232973A1 (en) Method and system for controlling working state of internet-of-things terminal device
WO2018233050A1 (en) Method and system for detecting signal intensity of internet of things
WO2018233042A1 (en) Data reporting method and system based on geographical location and time
WO2018233031A1 (en) Internet of things-based data transmission control method and system
WO2018232972A1 (en) Method and system for time synchronization between access node and convergence unit in internet of things
WO2018232962A1 (en) Method and system for adjusting network coverage range of internet of things access node
WO2018233028A1 (en) Internet-of-things data reporting control method and system
WO2018233022A1 (en) Control method and system for packaging data on basis of quantity of terminal devices

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 17915025

Country of ref document: EP

Kind code of ref document: A1