WO2018233043A1 - Internet of things geographic position-based data reporting control method and system - Google Patents

Internet of things geographic position-based data reporting control method and system Download PDF

Info

Publication number
WO2018233043A1
WO2018233043A1 PCT/CN2017/100004 CN2017100004W WO2018233043A1 WO 2018233043 A1 WO2018233043 A1 WO 2018233043A1 CN 2017100004 W CN2017100004 W CN 2017100004W WO 2018233043 A1 WO2018233043 A1 WO 2018233043A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
access point
aggregation device
edge access
internet
Prior art date
Application number
PCT/CN2017/100004
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 WO2018233043A1 publication Critical patent/WO2018233043A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to a method and system for controlling data reporting based on geographic location in an Internet of Things.
  • the Internet of Things digitizes and networks everything through sensors, radio frequency identification technology, positioning technology, etc., and achieves efficient information interaction between items, between objects and between people and the real environment.
  • the Internet of Things manages massive IoT terminal devices. These IoT terminal devices are geographically distributed. When a large number of IoT devices in the same geographical location or adjacent geographical locations transmit data, due to limited network resources, more The communication protocol using the competition mechanism is likely to cause some IoT terminal devices to fail to compete, and the data transmission fails, resulting in failure to report data in time.
  • the embodiment of the invention discloses a geographical location-based data reporting control method and system in the Internet of Things, which is used to solve the problem that the existing IoT terminal device cannot report data in time due to competition failure, so as to ensure the Internet of Things designated by the aggregation unit.
  • the data of the terminal device can be reported to improve the reliability of the data transmission of the Internet of Things.
  • a first aspect of the present invention discloses a method for controlling data reporting based on a geographic location in an Internet of Things, which may include:
  • the edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, where the control information includes the identity type of the group member and the geographic location information of the aggregation unit, where the identity type includes the primary aggregation device, Secondary aggregation devices and member devices;
  • the edge access point divides the Internet of Things terminal device that geographically matches the geographic location information of interest into a plurality of groups; wherein each of the groups includes multiple locations in which the geographic location matches the geographic location information of interest Internet of Things terminal equipment;
  • the edge access point configures one of the plurality of Internet of Things terminal devices in each of the groups as a main aggregation device, and removes the main device from the plurality of Internet of Things terminal devices
  • An IoT terminal device of the aggregation device is configured as a secondary aggregation device, and the remaining IoT terminal devices of the plurality of IoT terminal devices except the primary aggregation device and the secondary aggregation device are configured as member devices;
  • the primary aggregation device When the primary aggregation device does not fail, the primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element, and the first number is obtained. And reporting, by the edge access point, the edge access point to report the first data element to the aggregation unit by using the filtering gateway;
  • the secondary aggregation device When the primary aggregation device fails, the secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain a second data element, and reports the second data element to the edge. An access point, so that the edge access point reports the second data element to the aggregation unit by using the filtering gateway.
  • the edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, and includes:
  • the edge access point invokes a first network interface, and receives, by using the first network interface, control information that is sent by the aggregation unit and forwarded by the aggregation unit;
  • the primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element, and reports the first data element to the edge access point, including:
  • the primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element, and reports the first data element to the second data interface through the second network interface of the edge access point.
  • Edge access point
  • the secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to be packaged to obtain a second data element, and reports the second data element to the edge access point, including:
  • the secondary aggregation device obtains its own data and data of other IoT terminal devices in the group to obtain a second data element, and reports the second data element to the second data interface through the second network interface of the edge access point.
  • the edge access point obtains its own data and data of other IoT terminal devices in the group to obtain a second data element, and reports the second data element to the second data interface through the second network interface of the edge access point.
  • the method further includes:
  • the primary aggregation device obtains its current system time
  • the step of reporting the first data element to the edge access point is performed by the primary aggregation device when determining that the current system time of the acquisition matches the time of the preset report data.
  • the primary aggregation device reports the time when the acquired current system time matches the preset reported data, and reports the first data element to the Before the edge access point, the method further includes:
  • the primary aggregation device determines that the acquired current system time matches the preset reporting data, the primary aggregation device sends an immediate weather query request to the edge access point that carries the geographic location of the primary aggregation device.
  • the edge access point In order for the edge access point to request a matching request to the PTZ weather server Instant weather information for the geographic location of the primary aggregation device;
  • the primary aggregation device determines whether the real-time weather information matches weather information of a preset reported data
  • the step of reporting the first data element to the edge access point is performed by the primary aggregation device when determining that the real-time weather information matches the weather information of the preset report data.
  • the method further includes:
  • the secondary aggregation device obtains its current system time
  • the step of reporting, by the secondary aggregation device, the second data element to the edge access point is performed when determining that the acquired current system time matches the time of the preset report data.
  • the second aspect of the present invention discloses a geographic location-based data reporting control system in the Internet of Things, which may include:
  • An edge access point configured to receive, by the filtering gateway, control information sent by the aggregation unit, where the control information includes an identity type of the group member and geographic location information of the aggregation unit, where the identity type includes a primary Aggregation devices, secondary aggregation devices, and member devices;
  • the edge access point is further configured to divide the Internet of Things terminal device that is geographically matched to the geographic location information of interest into a plurality of groups; wherein each of the groups includes a geographic location that matches the geographic location information of interest Multiple IoT terminal devices;
  • the edge access point is further configured to configure one of the plurality of Internet of Things terminal devices in each of the groups as a primary aggregation device, and remove the plurality of Internet of Things terminal devices
  • An IoT terminal device of the primary aggregation device is configured as a secondary aggregation device, and the remaining IoT terminal devices of the plurality of IoT terminal devices are removed from the primary aggregation device and the remaining IoT terminal devices of the secondary 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 obtain data of the own data and other Internet of Things terminal devices in the group to obtain the first data element, and report the first data element to the primary data element.
  • the edge access point so that the edge access point reports the first data element to the convergence unit through the filtering gateway;
  • the secondary aggregation device When the primary aggregation device is faulty, the secondary aggregation device is configured to obtain data of its own data and other Internet of Things terminal devices in the group to obtain a second data element, and report the second data element to the second data element. Edge access point to enable the edge access point to pass through the filtering gateway The second data element is reported to the aggregation unit.
  • the manner in which the edge access point is used to receive the control information that is sent by the aggregation unit and is sent by the aggregation unit is specifically:
  • the edge access point is configured to invoke a first network interface, and receive, by using the first network interface, control information that is sent by the aggregation unit and forwarded by the aggregation unit;
  • the manner in which the primary aggregation device is configured to obtain the data of the other device and the other Internet of Things terminal devices in the group to obtain the first data element, and report the first data element to the edge access point is specifically:
  • the primary aggregation device is configured to obtain data of the own data and other Internet of Things terminal devices in the group to obtain the first data element, and report the first data element by using the second network interface of the edge access point. Giving the edge access point;
  • the manner in which the secondary aggregation device is configured to obtain the data of the other networked terminal devices in the group and the other data storage device in the group to obtain the second data element, and report the second data element to the edge access point is specifically:
  • the secondary aggregation device is configured to obtain data of the own data and other Internet of Things terminal devices in the group to obtain the second data element, and report the second data element by using the second network interface of the edge access point. Give the edge access point.
  • the primary aggregation device is further configured to: after acquiring data of its own data and data of other Internet of Things terminal devices in the group, obtaining the first data element, Get its current system time;
  • the primary aggregation device is further configured to determine whether the acquired current system time matches the preset reported data time;
  • the primary aggregation device is further configured to report the first data element to the edge access point when determining that the acquired current system time matches the preset reporting data.
  • the primary aggregation device is further configured to send, to the edge access point, when determining that the acquired current system time matches the preset reporting data. Carrying an instant weather query request for the geographic location of the primary aggregation device to cause the edge access point to request instant weather information matching the geographic location of the primary aggregation device to the PTZ weather server;
  • the primary aggregation device is further configured to receive the instant weather information returned by the edge access point;
  • the primary aggregation device is further configured to determine whether the real-time weather information matches weather information of preset reported data;
  • the primary aggregation device is further configured to report the first data element to the edge access point when determining that the real-time weather information matches the weather information of the preset report data.
  • the secondary aggregation device is further configured to: after acquiring data of its own data and data of other Internet of Things terminal devices in the group, obtaining the second data element, Get its current system time;
  • the secondary aggregation device is further configured to determine whether the acquired current system time matches the preset reported data time;
  • the secondary aggregation device is further configured to report the second data element to the edge access point when determining that the acquired current system time matches the preset reporting data.
  • the embodiment of the invention has the following beneficial effects:
  • the edge access point after receiving the control information sent by the aggregation unit, divides the Internet of Things terminal device whose geographic location matches the geographic location information into several groups, and then in each group, From it, a primary aggregation device, a secondary aggregation device, and the remaining IoT terminal devices are used as member devices to determine the identity type of the Internet of Things terminal device 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 IoT terminal devices (including secondary aggregation devices and member devices) of the group in which the group is located, and packages the data.
  • IoT terminal devices including secondary aggregation devices and member devices
  • the edge access point may only divide the group for the Internet of Things terminal device corresponding to the geographic location information of the aggregation unit, and further, the edge access point passes the object in the group.
  • the networked terminal device divides the identity type, and the data of the IoT terminal device in the group is aggregated and reported by the primary aggregation device or the secondary aggregation device to implement centralized reporting and data of all the Internet of Things terminal devices can be reported, specifically, in the main aggregation.
  • the primary aggregation device aggregates and reports data.
  • the secondary aggregation device aggregates and reports data to overcome multiple IoT terminals in the same geographical location or adjacent geographic location. The defect of uploading data failure due to competition improves the reliability of the entire IoT data transmission.
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed by some embodiments of the present invention.
  • FIG. 2 is a method for controlling data reporting based on geographic location in the Internet of Things according to an embodiment of the present invention. Schematic diagram of the process;
  • FIG. 3 is another schematic flowchart of a method for controlling data reporting based on a geographic location in an Internet of Things according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a geographic location-based data reporting control system in an Internet of Things according to an embodiment of the present invention
  • FIG. 5 is another schematic structural diagram of a geographic location-based data reporting control system in the Internet of Things according to an embodiment of the present invention.
  • the embodiment of the invention discloses a geographical location-based data reporting control method in the Internet of Things, which is used to ensure that data of all IoT terminal devices can be reported and reported in time, thereby improving the reliability of the entire Internet of Things data transmission.
  • the embodiment of the invention accordingly discloses a geographical location based data reporting control system in the Internet of Things.
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed by some embodiments of the present invention
  • the Internet of Things architecture shown in FIG. 1 may include three layers: a terminal device layer, an access point layer, and an aggregation layer according to functions.
  • the terminal device layer may include a mass-scale IoT terminal device, such as a hygrometer, a smoke sensor, a ventilation device, a rain sensor, an irrigation valve, etc.
  • the access point layer may include a large number of edge access points connected by the network.
  • the edge access point may include a router, a repeater, an access point, and the like, which are not limited in the embodiment of the present invention; the edge access point may use any standard networking protocol, and the edge access point may be in different network standards.
  • Data aggregation is implemented; the aggregation layer may include a filtering gateway and a convergence unit, wherein the filtering gateway may directly or indirectly communicate with each edge access point of the access point layer through the Internet (not shown in the figure); the aggregation unit
  • the filtering gateway can perform high-level management on each edge access point of the access point layer, thereby realizing the data transmission frequency,
  • the network topology and other networking functions are controlled; the aggregation unit can not only analyze and make decisions about the Internet of Things data generated by the mass terminal equipment, but also obtain the information or configure the terminal equipment parameters by sending commands (at this time, the data transmission is directed to the terminal equipment).
  • the aggregation unit can also introduce a variety of services, from big data to social networks, and even from social tools "likes" to weather sharing.
  • each edge access point can provide IoT data transmission and reception services for a large number of terminal devices within its own wireless network coverage, wherein each edge access point has its own wireless network coverage.
  • Each terminal device can have a built-in wireless communication module, which enables each edge access point 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 geographic location-based data reporting control method in an Internet of Things according to an embodiment of the present invention
  • a geographic location-based data reporting control method in an Internet of Things may include :
  • the edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, where the control information includes the identity type of the group member and the geographic location information of the aggregation unit, where the identity type includes the primary aggregation device and the secondary aggregation. Devices and member devices.
  • the identity type of the group member such as the primary aggregation device, the secondary aggregation device, and the member device, is set by the aggregation unit.
  • the main aggregation device is the IoT terminal device data in the group that is mainly used in the aggregation group, and then reported to the aggregation unit in a unified manner; and the primary aggregation device fails (for example, the data cannot be uploaded to the edge access point network).
  • the data of the IoT terminal device in the group is aggregated by the secondary aggregation device, and then reported to the aggregation unit uniformly to reduce the end of the Internet of Things. Competition between end devices to improve the success rate of data reporting.
  • the aggregation unit may specify that the edge access point divides the group for the Internet of Things terminal device of a certain geographical location, and configures the identity type for the Internet of Things terminal device in the group.
  • the geographic location specified by the aggregation unit is the geographic location of the aggregation unit.
  • the aggregation unit considers that the data collected by the IoT terminal device corresponding to the geographical location of a certain mine is more important, and it is hoped that these Internet of Things terminal devices can The data of the present invention can be implemented for the mine in time and successfully reported data.
  • the geographic location information of the convergence unit is located as the geographic location information of the aggregation unit, and is sent to the edge access point.
  • the edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, where the edge access point invokes the first network interface, and receives the filtered gateway forwarding by using the first network interface.
  • Control information delivered by the aggregation unit It can be understood that the edge access point is provided 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 and filter the gateway. Data interaction, the second network interface is used to implement data interaction with the Internet of Things terminal device.
  • the edge access point invokes the first network interface, and receives the control information delivered by the aggregation unit forwarded by the filtering gateway.
  • the edge access point divides the Internet of Things terminal device that is geographically matched with the geographic location information into a plurality of groups; wherein each group includes a plurality of Internet of Things terminal devices that are geographically matched to the geographic location information of interest.
  • the edge access point divides the group according to the geographic location information of interest, and overcomes the defect that multiple IoT terminal devices in the same geographical location or adjacent geographical location fail to upload data due to competition, and improves the whole object. The reliability of networked data transmission.
  • the edge access point configures one of the plurality of Internet of Things terminal devices in each group as a primary aggregation device, and removes one Internet of Things terminal device of the primary aggregation device from the plurality of Internet of Things terminal devices.
  • the configuration is a secondary aggregation device, and the remaining IoT terminal devices of the multiple IoT terminal devices except the primary aggregation device and the secondary aggregation device are configured as member devices.
  • the edge access point further configures the identity of the IoT terminal device in the group, selects one IoT terminal device from the plurality of IoT terminal devices as the primary aggregation device, and selects another IoT terminal device as the secondary aggregation device.
  • the remaining IoT terminal devices are configured as member devices.
  • the edge access point may select the best-performing IoT terminal device as the primary aggregation device from the plurality of IoT terminal devices of the group, and select the performance-oriented IoT terminal device configuration.
  • the remaining IoT terminal devices are configured as member devices.
  • the primary aggregation device When the primary aggregation device fails, the primary aggregation device obtains its own data and The data of the other IoT terminal devices in the group is packaged to obtain the first data element, and the first data element is reported to the edge access point, so that the edge access point reports the first data element to the aggregation unit through the filtering gateway.
  • IoT terminal devices herein include a secondary aggregation device and a member device.
  • the primary aggregation device reports the first data element to the edge access point
  • the method includes: the primary aggregation device reports the first data element to the edge access point by using the second network interface of the edge access point.
  • the reporting, by the primary aggregation device, the first data element to the edge access point includes: the primary aggregation device determines the target transmission frequency band; establishes a communication connection with the edge access point on the target transmission frequency band, and passes the established communication connection based on the The second network interface reports the first data element to the edge access point.
  • the primary aggregation device establishes a communication connection with the edge access point on the target transmission frequency band, and reports the first data element to the edge access point by using the second network interface based on the established communication connection, and the specific aggregation device determines the target.
  • the time-frequency resource corresponding to the transmission frequency band reports the first data element to the edge access point 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 the first data element is reported to the edge access point by using the second network interface on the time-frequency resource, and the primary aggregation device obtains the target from the target by frequency hopping. Determining, in the transmission frequency band, a frequency domain location of the physical resource block for reporting the first data element; the primary aggregation device, 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 yuan is reported to the edge access point.
  • the secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the second data element, and reports the second data element to the edge access point, so that The edge access point reports the second data element to the aggregation unit through the filtering gateway.
  • IoT terminal devices herein include a primary aggregation device and a member device.
  • the secondary 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 secondary aggregation device determines to monitor the primary convergence.
  • the device is faulty, and the data is obtained by acquiring the data of the other IoT terminal device in the group to obtain the second data element, and the second data element is reported to the edge access point, so that the edge access point passes the filtering gateway.
  • the step of reporting the second data element to the aggregation unit when receiving the heartbeat response data packet returned by the primary aggregation device within the preset time period, the secondary aggregation device determines that the primary aggregation device has not failed.
  • the secondary 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 edge access point acquires the primary aggregation device that is not received.
  • the secondary aggregation device determines that the primary aggregation device is faulty according to the notification message, and performs data acquisition of the data of the other Internet of Things terminal devices in the group to obtain the second data element, and reports the second data element to the edge access point.
  • the edge access point detects whether the primary aggregation device has failed, and notifies the secondary aggregation device when the failure occurs.
  • whether the time that the primary aggregation device receives data sent by other IoT 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 secondary aggregation.
  • the device is configured to detect whether the time for sending the first data element to the edge access point is greater than a second threshold. If the value is greater than the second threshold, it is determined that the device is faulty, and the secondary aggregation device is notified.
  • the edge access point after receiving the control information sent by the aggregation unit, divides the Internet of Things terminal device whose geographic location matches the geographic location information into several groups, and then in each group, From it, a primary aggregation device, a secondary aggregation device, and the remaining IoT terminal devices are used as member devices to determine the identity type of the Internet of Things terminal device 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 IoT terminal devices (including secondary aggregation devices and member devices) of the group in which the group is located, and packages the data.
  • IoT terminal devices including secondary aggregation devices and member devices
  • the edge access point may divide the group only for the geographic location information of interest of the aggregation unit, and further, the edge access point divides the identity type by using the Internet of Things terminal device in the group.
  • the data of the IoT terminal device in the group is aggregated and reported by the primary aggregation device or the secondary aggregation device to implement the centralized reporting and the data of all the Internet of Things terminal devices can be reported.
  • the primary aggregation device aggregates and reports data.
  • the secondary aggregation device aggregates and reports data.
  • the multiple IoT devices in the same geographical location or adjacent geographic location fail to upload data due to competition. The flaws improve the reliability of the entire IoT data transmission.
  • FIG. 3 is another schematic flowchart of a method for controlling data reporting based on a geographic location in an Internet of Things according to an embodiment of the present invention
  • FIG. 3 is a method for controlling data reporting based on a geographic location in an Internet of Things.
  • Can include:
  • the edge access point receives the control information sent by the aggregation unit and is forwarded by the filtering gateway, where the control information is sent.
  • the information includes the identity type of the group member and the geographic location information of the aggregation unit, and the identity type includes a primary aggregation device, a secondary aggregation device, and a member device.
  • the edge access point divides the Internet of Things terminal device that is geographically matched with the geographic location information into a plurality of groups; wherein each group includes a plurality of Internet of Things terminal devices that are geographically matched to the geographic location information of interest.
  • the edge access point searches for the geographic location of all IoT terminal devices within its wireless network coverage from the IoT terminal device information table it manages, and the geographic location of all IoT terminal devices in the IoT terminal device information table. Based on this, the Internet of Things terminal device that matches the geographic location information of interest is divided into several groups.
  • the edge access point configures one of the plurality of Internet of Things terminal devices in each group as a primary aggregation device, and removes one Internet of Things terminal device of the primary aggregation device from the plurality of Internet of Things terminal devices.
  • the configuration is a secondary aggregation device, and the remaining IoT terminal devices of the multiple IoT terminal devices except the primary aggregation device and the secondary aggregation device are configured as member devices.
  • the primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element.
  • the primary aggregation device obtains its current system time.
  • the aggregation unit may further set a time for each group to report data, and report data at the time.
  • the time for reporting data in each group can be set differently, thereby staggering the time for each group to report data, reducing competition, and improving the success rate of data reporting.
  • the edge access point after the time when the edge access point receives the reported data, the edge access point writes the time of reporting the data to the primary aggregation device and the secondary aggregation device of the group. in. Further, the aggregation unit can set different times for reporting different data for different groups.
  • the primary aggregation device determines whether the obtained current system time matches the preset reported data. If the result of the determination is YES, the process proceeds to step 307. If the result of the determination is negative, the process ends.
  • the primary aggregation device reports the first data element to the edge access point.
  • the primary aggregation device when the primary aggregation device determines that the acquired current system time matches the preset reporting data, the primary aggregation device sends an immediate weather query request to the edge access point that carries the geographic location of the primary aggregation device. So that the edge access point requests the sky station weather server to match the real-time weather information of the geographic location of the primary aggregation device; the primary aggregation device receives the real-time weather information returned by the edge access point; and the primary aggregation device determines whether the instant weather information matches the preset The weather information of the reported data; the primary aggregation device reports the first data element to the edge access point when determining that the weather information matches the weather information of the preset report data.
  • the secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the second data element.
  • the secondary aggregation device obtains its current system time.
  • step 310 The time when the secondary aggregation device determines whether the obtained current system time matches the preset reported data. If the result of the determination is YES, the process proceeds to step 311. If the result of the determination is negative, the process ends.
  • the secondary aggregation device reports the second data element to the edge access point.
  • the secondary aggregation device when the secondary aggregation device determines that the acquired current system time matches the preset reporting data, the secondary aggregation device sends an immediate weather query request for the geographic location of the secondary aggregation device to the edge access point. So that the edge access point requests the cloud station weather server to match the real-time weather information of the geographic location of the secondary aggregation device; the secondary aggregation device receives the instant weather information returned by the edge access point; and the secondary aggregation device determines whether the instant weather information matches the preset The weather information of the reported data; the secondary aggregation device reports the first data element to the edge access point when determining that the weather information matches the weather information of the preset report data.
  • the time at which the primary aggregation device and the secondary aggregation device report data is further set, and the edge access point divides the group according to the geographic location information of the aggregation unit, so that the geographic location information of the convergence unit is
  • the IoT terminal device reports the data in this manner.
  • the primary aggregation device and the secondary aggregation device can report the data according to the time when the data is reported.
  • the edge access point divides the identity type by the Internet of Things terminal device in the group.
  • the primary aggregation device does not fail, the primary aggregation device reports the first data element at the time of matching the data for reporting.
  • the secondary aggregation device reports the time for matching the reported data.
  • the second data element can ensure that the data of all the Internet of Things terminal devices can be reported, and the reliability of the Internet of Things data transmission is improved.
  • FIG. 4 is a schematic structural diagram of a geographic location-based data reporting control system in the Internet of Things according to an embodiment of the present invention
  • FIG. 5 is a data reporting based on geographic location in the Internet of Things disclosed in the embodiment of the present invention.
  • Another structural schematic diagram of the control system; as shown in FIG. 4, a geographic location-based data reporting control system in the Internet of Things may include:
  • the edge access point 410 is configured to receive, by the filtering gateway 420, the control information that is sent by the aggregation unit 430, where the control information includes an identity type of the group member and geographic location information of the aggregation unit 430, where the identity type includes the primary Aggregation device 4401, secondary aggregation device 4402 and member device 4403;
  • the edge access point 410 is further configured to divide the Internet of Things terminal device 440 that is geographically matched with the geographic location information of interest into a plurality of groups; wherein each group includes a geographic location matching interest a plurality of IoT terminal devices 440 that manage location information;
  • the edge access point 410 is further configured to configure one of the plurality of Internet of Things terminal devices 440 in each group as the main aggregation device 4401, and remove the main aggregation device from the plurality of Internet of Things terminal devices 440.
  • An IoT terminal device 440 of the 4401 is configured as a secondary aggregation device 4402, and the remaining IoT terminal devices 440 of the plurality of IoT terminal devices 440 except the primary aggregation device 4401 and the secondary aggregation device 4402 are configured as member devices 4403 (specifically attached Figure 5);
  • the primary aggregation device 4401 When the primary aggregation device 4401 does not fail, the primary aggregation device 4401 is configured to obtain data of the own data and other Internet of Things terminal devices 440 in the group to obtain the first data element, and report the first data element to the edge access. Point 410, so that the edge access point 410 reports the first data element to the convergence unit 430 through the filtering gateway 420;
  • the secondary aggregation device 4402 is configured to obtain data of its own data and other Internet of Things terminal devices 440 in the group to obtain the second data element, and report the second data element to the edge access point. 410.
  • the edge access point 410 reports the second data element to the convergence unit 430 through the filtering gateway 420.
  • the edge access point 410 searches for the geographic location of all the Internet of Things terminal devices 440 in its wireless network coverage from the IoT terminal device information table it manages, and all the Internet of Things terminals in the Internet of Things terminal device information table. Based on the geographic location of the device 440, the Internet of Things terminal device 440 that matches the geographic location information to the geographic location is divided into groups.
  • the primary aggregation device 4401 reports the first data element to the edge access point 410.
  • the specific aggregation device 4401 reports the first data element to the second network interface of the edge access point 410.
  • Edge access point 410 Edge access point 410.
  • the reporting, by the primary aggregation device 4401, the first data element to the edge access point 410 specifically includes: the primary aggregation device 4401 determines a target transmission frequency band; establishes a communication connection with the edge access point 410 on the target transmission frequency band, and is based on the established The communication connection reports the first data element to the edge access point 410 via the second network interface.
  • the primary aggregation device 4401 establishes a communication connection with the edge access point 410 on the target transmission frequency band, and reports the first data element to the edge access point 410 through the second network interface based on the established communication connection.
  • the device 4401 determines the time-frequency resource corresponding to the target transmission frequency band, and reports the first data element to the edge access point 410 through the second network interface on the time-frequency resource.
  • the primary aggregation device 4401 determines the time-frequency resource corresponding to the target transmission frequency band, and the reporting of the first data element to the edge access point 410 by using the second network interface on the time-frequency resource includes: the primary aggregation device 4401 performs frequency hopping The method determines a frequency domain location of the physical resource block for reporting the first data element from the target transmission frequency band; the primary aggregation device 4401 passes the second network interface on the time-frequency resource corresponding to the determined frequency domain location of the physical resource block. Reporting the first data element to the edge access point 410.
  • the secondary aggregation device 4402 periodically sends a heartbeat data packet to the primary aggregation device 4401; when the heartbeat response data packet returned by the primary aggregation device 4401 is not received within the preset time period, the secondary convergence device 4402 determines Detecting that the primary aggregation device 4401 has failed, and performing data acquisition of its own data and other IoT terminal devices 440 in the group to obtain the second data element, and reporting the second data element to the edge access point 410, so that The edge access point 410 reports the second data element to the aggregation unit 430 through the filtering gateway 420.
  • the secondary aggregation device 4402 determines the primary aggregation device. 4401 has not failed. With this implementation, the secondary aggregation device 4402 can find that the primary aggregation device 4401 is faulty in time to replace the primary aggregation device 4401 to aggregate data and report it as soon as possible.
  • the edge access point 410 acquires the length of time when the primary aggregation device 4401 does not receive the first data element, and the edge access point 410 determines whether the duration is greater than a preset threshold; the edge access point 410 When the duration is greater than the preset threshold, determining that the primary aggregation device 4401 fails, and sending a notification message to the secondary aggregation device 4402, so that the secondary aggregation device 4402 determines that the primary aggregation device 4401 is faulty according to the notification message to perform acquisition of its own data.
  • the data of the other IoT terminal device 440 in the group is packaged to obtain the second data element, and the second data element is reported to the edge access point 410, so that the edge access point 410 reports the second data element through the filtering gateway 420.
  • the primary aggregation device 4401 determines whether the time that the primary aggregation device 4401 receives the data sent by the other Internet of Things terminal device 440 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 that The secondary aggregation device 4402; or the primary aggregation device 4401 detects whether the time for sending the first data element to the edge access point 410 is greater than a second threshold. If the second aggregation threshold is greater than the second threshold, it is determined that the fault has occurred, and the secondary aggregation device 4402 is notified.
  • the manner in which the edge access point 410 is used to receive the control information that is sent by the aggregation unit 430 and is sent by the aggregation unit 420 is specifically:
  • the edge access point 410 is configured to invoke the first network interface, and receive, by using the first network interface, the control information that is sent by the filtering unit 420 and sent by the aggregation unit 430.
  • the main aggregation device 4401 is configured to obtain the first data element by the data collection of the data of the other IoT terminal device 440 in the group, and the method for reporting the first data element to the edge access point 410 is as follows:
  • the primary aggregation device 4401 is configured to obtain the first data element by using the second network interface of the edge access point 410 to obtain the first data element, and the first data element is reported to the edge interface through the second network interface of the edge access point 410. Entry point 410;
  • the manner in which the secondary aggregation device 4402 is used to obtain the data of the other IoT terminal device 440 in the group to be packaged to obtain the second data element, and the second data element is reported to the edge access point 410 is specifically as follows:
  • the secondary aggregation device 4402 is configured to obtain the second data element by using the second network interface of the edge access point 410 to obtain the second data element and the second data element of the edge access point 410. Entry point 410.
  • the main aggregation device 4401 is further configured to acquire the current data time of the first data element after obtaining the data of the other IoT terminal device 440 in the group and obtaining the first data element;
  • the main aggregation device 4401 is further configured to determine whether the acquired current system time matches the preset reported data time;
  • the primary aggregation device 4401 is further configured to report the first data element to the edge access point 410 when determining that the acquired current system time matches the preset reporting data.
  • the time for each group to report data can be set, and the data is reported at the time.
  • the time for reporting data in each group can be set differently, thereby staggering the time for each group to report data, reducing competition, and improving the success rate of data reporting.
  • the primary aggregation device 4401 is further configured to send an instant carrying the geographic location of the primary aggregation device 4401 to the edge access point 410 when determining that the acquired current system time matches the preset reported data.
  • the weather query request causes the edge access point 410 to request the sky station weather server to match the real-time weather information of the geographic location of the primary aggregation device 4401;
  • the primary convergence device 4401 is further configured to receive the real-time weather information returned by the edge access point 410;
  • the main convergence device 4401 is further configured to determine whether the real-time weather information matches the weather information of the preset reported data;
  • the main aggregation device 4401 is further configured to report the first data element to the edge access point 410 when it is determined that the real-time weather information matches the weather information of the preset report data.
  • the secondary aggregation device 4402 is further configured to obtain the current system time after acquiring the data of the OAS terminal 440 in the group and obtaining the second data element in the group;
  • the secondary aggregation device 4402 is further configured to determine whether the acquired current system time matches the preset reported data time;
  • the secondary aggregation device 4402 is further configured to report the second data element to the edge access point 410 when determining that the acquired current system time matches the preset reported data.
  • the secondary aggregation device 4402 when the secondary aggregation device 4402 determines that the acquired current system time matches the preset reporting data, the secondary aggregation device 4402 sends the carried to the edge access point 410.
  • the edge access point 410 may divide the group only for the geographic location information of interest of the aggregation unit 430. Further, the edge access point 410 divides the identity type by the Internet of Things terminal device 440 in the group, through the main The aggregation device 4401 or the secondary aggregation device 4402 uniformly aggregates the data of the IoT terminal device 440 in the group and reports the data, and the data of all the Internet of Things terminal devices 440 can be reported, and specifically, the main aggregation device 4401 fails. At the same time, the main aggregation device 4401 aggregates and reports data.
  • the secondary aggregation device 4402 concentrates and reports data to overcome multiple IoT terminal devices 440 in the same geographical location or adjacent geographic location.
  • the defect of uploading data failure due to competition improves the reliability of the entire IoT data transmission.
  • the time for reporting data by the group may be set, and the time for reporting data by each group may be different, so that the time for reporting the data is staggered, and the success rate of data transmission is improved.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • OTPROM One-Time Programmable Read-Only Memory
  • EEPROM Electronically-Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory

Abstract

Disclosed in the present invention are an Internet of Things geographic position-based data reporting control method and system, the method comprising: an edge access point receiving control information issued by an aggregation unit and forwarded by a filter gateway, dividing into multiple groups Internet of Things terminal devices having geographic positions matching geographic position information of interest, one Internet of Things terminal device in a group being configured as a main aggregation device, another being configured as a secondary aggregation device, and the remainder being configured as member devices; when the main aggregation device does not experience a fault, the main aggregation device obtains data of itself and data of the other Internet of Things terminal devices, packages the data to obtain a first data element and reports the data element to the edge access point; when the main aggregation device experiences a fault, the secondary aggregation device obtains data of itself and data of the other Internet of Things terminal devices, packages the data to obtain a second data element and reports the data element to the edge access point. The present invention ensures that all data of an Internet of Things terminal device indicated by an aggregation unit may be reported, improving Internet of Things data transmission reliability.

Description

一种物联网中基于地理位置的数据上报控制方法及系统Geographical-based data reporting control method and system in internet of things 技术领域Technical field
本发明涉及物联网技术领域,具体涉及一种物联网中基于地理位置的数据上报控制方法及系统。The present invention relates to the field of Internet of Things technologies, and in particular, to a method and system for controlling data reporting based on geographic location in an Internet of Things.
背景技术Background technique
物联网通过传感器、射频识别技术、定位技术等将一切事物数字化、网络化,在物品之间、物品与人之间、人与现实环境之间实现高效信息交互方式。物联网管理着海量物联网终端设备,这些物联网终端设备地域性分布,这些在同一地理位置或者相邻地理位置上的大量物联网终端设备在传输数据时,由于网络资源有限,更多的是采用竞争机制的通信协议,容易造成一些物联网终端设备竞争失败,从而数据传输失败,导致无法及时上报数据。The Internet of Things digitizes and networks everything through sensors, radio frequency identification technology, positioning technology, etc., and achieves efficient information interaction between items, between objects and between people and the real environment. The Internet of Things manages massive IoT terminal devices. These IoT terminal devices are geographically distributed. When a large number of IoT devices in the same geographical location or adjacent geographical locations transmit data, due to limited network resources, more The communication protocol using the competition mechanism is likely to cause some IoT terminal devices to fail to compete, and the data transmission fails, resulting in failure to report data in time.
发明内容Summary of the invention
本发明实施例公开了一种物联网中基于地理位置的数据上报控制方法及系统,用于解决现有物联网终端设备因竞争失败导致无法及时上报数据的问题,以确保汇聚单元指定的物联网终端设备的数据均可上报,提高物联网数据传输的可靠性。The embodiment of the invention discloses a geographical location-based data reporting control method and system in the Internet of Things, which is used to solve the problem that the existing IoT terminal device cannot report data in time due to competition failure, so as to ensure the Internet of Things designated by the aggregation unit. The data of the terminal device can be reported to improve the reliability of the data transmission of the Internet of Things.
本发明第一方面公开了一种物联网中基于地理位置的数据上报控制方法,可包括:A first aspect of the present invention discloses a method for controlling data reporting based on a geographic location in an Internet of Things, which may include:
边缘接入点接收过滤网关转发的由汇聚单元下发的控制信息,所述控制信息包括群组成员的身份类型和所述汇聚单元的感兴趣地理位置信息,所述身份类型包括主汇聚设备、次汇聚设备和成员设备;The edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, where the control information includes the identity type of the group member and the geographic location information of the aggregation unit, where the identity type includes the primary aggregation device, Secondary aggregation devices and member devices;
所述边缘接入点将地理位置匹配所述感兴趣地理位置信息的物联网终端设备划分成若干群组;其中,每一个所述群组包括地理位置匹配所述感兴趣地理位置信息的多个物联网终端设备;The edge access point divides the Internet of Things terminal device that geographically matches the geographic location information of interest into a plurality of groups; wherein each of the groups includes multiple locations in which the geographic location matches the geographic location information of interest Internet of Things terminal equipment;
所述边缘接入点将每一个所述群组中的所述多个物联网终端设备中的一个物联网终端设备配置为主汇聚设备,将所述多个物联网终端设备中除去所述主汇聚设备的一个物联网终端设备配置为次汇聚设备,将所述多个物联网终端设备中除去所述主汇聚设备与所述次汇聚设备的剩余物联网终端设备配置为成员设备;The edge access point configures one of the plurality of Internet of Things terminal devices in each of the groups as a main aggregation device, and removes the main device from the plurality of Internet of Things terminal devices An IoT terminal device of the aggregation device is configured as a secondary aggregation device, and the remaining IoT terminal devices of the plurality of IoT terminal devices except the primary aggregation device and the secondary aggregation device are configured as member devices;
在所述主汇聚设备未发生故障时,所述主汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,将所述第一数 据元上报给所述边缘接入点,以使所述边缘接入点通过所述过滤网关将所述第一数据元上报给所述汇聚单元;When the primary aggregation device does not fail, the primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element, and the first number is obtained. And reporting, by the edge access point, the edge access point to report the first data element to the aggregation unit by using the filtering gateway;
在所述主汇聚设备发生故障时,所述次汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,将所述第二数据元上报给所述边缘接入点,以使所述边缘接入点通过所述过滤网关将所述第二数据元上报给所述汇聚单元。When the primary aggregation device fails, the secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain a second data element, and reports the second data element to the edge. An access point, so that the edge access point reports the second data element to the aggregation unit by using the filtering gateway.
作为一种可选的实施方式,在本发明第一方面中,所述边缘接入点接收过滤网关转发的由汇聚单元下发的控制信息,包括:As an optional implementation manner, in the first aspect of the present invention, the edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, and includes:
所述边缘接入点调用第一网络接口,通过所述第一网络接口接收过滤网关转发的由汇聚单元下发的控制信息;The edge access point invokes a first network interface, and receives, by using the first network interface, control information that is sent by the aggregation unit and forwarded by the aggregation unit;
所述主汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,将所述第一数据元上报给所述边缘接入点,包括:The primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element, and reports the first data element to the edge access point, including:
所述主汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,通过所述边缘接入点的第二网络接口将所述第一数据元上报给所述边缘接入点;The primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element, and reports the first data element to the second data interface through the second network interface of the edge access point. Edge access point
所述次汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,将所述第二数据元上报给所述边缘接入点,包括:The secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to be packaged to obtain a second data element, and reports the second data element to the edge access point, including:
所述次汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,通过所述边缘接入点的第二网络接口将所述第二数据元上报给所述边缘接入点。The secondary aggregation device obtains its own data and data of other IoT terminal devices in the group to obtain a second data element, and reports the second data element to the second data interface through the second network interface of the edge access point. The edge access point.
作为一种可选的实施方式,在本发明第一方面中,所述主汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元之后,以及将所述第一数据元上报给所述边缘接入点之前,所述方法还包括:As an optional implementation manner, in the first aspect of the present invention, after the primary aggregation device acquires its own data and data of other Internet of Things terminal devices in the group is packaged to obtain the first data element, and the Before the first data element is reported to the edge access point, the method further includes:
所述主汇聚设备获取其当前系统时间;The primary aggregation device obtains its current system time;
所述主汇聚设备判断获取的当前系统时间是否匹配预设的上报数据的时间;The time when the primary aggregation device determines whether the acquired current system time matches the preset reported data;
所述主汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将所述第一数据元上报给所述边缘接入点的步骤。The step of reporting the first data element to the edge access point is performed by the primary aggregation device when determining that the current system time of the acquisition matches the time of the preset report data.
作为一种可选的实施方式,在本发明第一方面中,所述主汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,以及将所述第一数据元上报给所述边缘接入点之前,所述方法还包括:As an optional implementation manner, in the first aspect of the present invention, the primary aggregation device reports the time when the acquired current system time matches the preset reported data, and reports the first data element to the Before the edge access point, the method further includes:
所述主汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,所述主汇聚设备向所述边缘接入点发送携带所述主汇聚设备的地理位置的即时天气查询请求,以使所述边缘接入点向云台天气服务器请求匹配所述 主汇聚设备的地理位置的即时天气信息;When the primary aggregation device determines that the acquired current system time matches the preset reporting data, the primary aggregation device sends an immediate weather query request to the edge access point that carries the geographic location of the primary aggregation device. In order for the edge access point to request a matching request to the PTZ weather server Instant weather information for the geographic location of the primary aggregation device;
所述主汇聚设备接收所述边缘接入点返回的所述即时天气信息;Receiving, by the primary convergence device, the instant weather information returned by the edge access point;
所述主汇聚设备判断所述即时天气信息是否匹配预设的上报数据的天气信息;The primary aggregation device determines whether the real-time weather information matches weather information of a preset reported data;
所述主汇聚设备在确定出所述即时天气信息匹配预设的上报数据的天气信息时,执行将所述第一数据元上报给所述边缘接入点的步骤。The step of reporting the first data element to the edge access point is performed by the primary aggregation device when determining that the real-time weather information matches the weather information of the preset report data.
作为一种可选的实施方式,在本发明第一方面中,所述次汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元之后,以及将所述第二数据元上报给所述边缘接入点之前,所述方法还包括:As an optional implementation manner, in the first aspect of the present invention, after the secondary aggregation device acquires its own data and data of other Internet of Things terminal devices in the group is packaged to obtain the second data element, and the Before the second data element is reported to the edge access point, the method further includes:
所述次汇聚设备获取其当前系统时间;The secondary aggregation device obtains its current system time;
所述次汇聚设备判断获取的当前系统时间是否匹配预设的上报数据的时间;Determining, by the secondary aggregation device, whether the acquired current system time matches the preset reported data time;
所述次汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将所述第二数据元上报给所述边缘接入点的步骤。The step of reporting, by the secondary aggregation device, the second data element to the edge access point is performed when determining that the acquired current system time matches the time of the preset report data.
本发明第二方面公开了一种物联网中基于地理位置的数据上报控制系统,可包括:The second aspect of the present invention discloses a geographic location-based data reporting control system in the Internet of Things, which may include:
边缘接入点,用于接收过滤网关转发的由汇聚单元下发的控制信息,所述控制信息包括群组成员的身份类型和所述汇聚单元的感兴趣地理位置信息,所述身份类型包括主汇聚设备、次汇聚设备和成员设备;An edge access point, configured to receive, by the filtering gateway, control information sent by the aggregation unit, where the control information includes an identity type of the group member and geographic location information of the aggregation unit, where the identity type includes a primary Aggregation devices, secondary aggregation devices, and member devices;
所述边缘接入点还用于将地理位置匹配所述感兴趣地理位置信息的物联网终端设备划分成若干群组;其中,每一个所述群组包括地理位置匹配所述感兴趣地理位置信息的多个物联网终端设备;The edge access point is further configured to divide the Internet of Things terminal device that is geographically matched to the geographic location information of interest into a plurality of groups; wherein each of the groups includes a geographic location that matches the geographic location information of interest Multiple IoT terminal devices;
所述边缘接入点还用于将每一个所述群组中的所述多个物联网终端设备中的一个物联网终端设备配置为主汇聚设备,将所述多个物联网终端设备中除去所述主汇聚设备的一个物联网终端设备配置为次汇聚设备,将所述多个物联网终端设备中除去所述主汇聚设备与所述次汇聚设备的剩余物联网终端设备配置为成员设备;The edge access point is further configured to configure one of the plurality of Internet of Things terminal devices in each of the groups as a primary aggregation device, and remove the plurality of Internet of Things terminal devices An IoT terminal device of the primary aggregation device is configured as a secondary aggregation device, and the remaining IoT terminal devices of the plurality of IoT terminal devices are removed from the primary aggregation device and the remaining IoT terminal devices of the secondary aggregation device are configured as member devices;
在所述主汇聚设备未发生故障时,所述主汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,将所述第一数据元上报给所述边缘接入点,以使所述边缘接入点通过所述过滤网关将所述第一数据元上报给所述汇聚单元;When the primary aggregation device is not faulty, the primary aggregation device is configured to obtain data of the own data and other Internet of Things terminal devices in the group to obtain the first data element, and report the first data element to the primary data element. The edge access point, so that the edge access point reports the first data element to the convergence unit through the filtering gateway;
在所述主汇聚设备发生故障时,所述次汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,将所述第二数据元上报给所述边缘接入点,以使所述边缘接入点通过所述过滤网关将所 述第二数据元上报给所述汇聚单元。When the primary aggregation device is faulty, the secondary aggregation device is configured to obtain data of its own data and other Internet of Things terminal devices in the group to obtain a second data element, and report the second data element to the second data element. Edge access point to enable the edge access point to pass through the filtering gateway The second data element is reported to the aggregation unit.
作为一种可选的实施方式,在本发明第二方面中,所述边缘接入点用于接收过滤网关转发的由汇聚单元下发的控制信息的方式具体为:As an optional implementation manner, in the second aspect of the present invention, the manner in which the edge access point is used to receive the control information that is sent by the aggregation unit and is sent by the aggregation unit is specifically:
所述边缘接入点用于调用第一网络接口,通过所述第一网络接口接收过滤网关转发的由汇聚单元下发的控制信息;The edge access point is configured to invoke a first network interface, and receive, by using the first network interface, control information that is sent by the aggregation unit and forwarded by the aggregation unit;
所述主汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,将所述第一数据元上报给所述边缘接入点的方式具体为:The manner in which the primary aggregation device is configured to obtain the data of the other device and the other Internet of Things terminal devices in the group to obtain the first data element, and report the first data element to the edge access point is specifically:
所述主汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,通过所述边缘接入点的第二网络接口将所述第一数据元上报给所述边缘接入点;The primary aggregation device is configured to obtain data of the own data and other Internet of Things terminal devices in the group to obtain the first data element, and report the first data element by using the second network interface of the edge access point. Giving the edge access point;
所述次汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,将所述第二数据元上报给所述边缘接入点的方式具体为:The manner in which the secondary aggregation device is configured to obtain the data of the other networked terminal devices in the group and the other data storage device in the group to obtain the second data element, and report the second data element to the edge access point is specifically:
所述次汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,通过所述边缘接入点的第二网络接口将所述第二数据元上报给所述边缘接入点。The secondary aggregation device is configured to obtain data of the own data and other Internet of Things terminal devices in the group to obtain the second data element, and report the second data element by using the second network interface of the edge access point. Give the edge access point.
作为一种可选的实施方式,在本发明第二方面中,所述主汇聚设备还用于在获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元之后,获取其当前系统时间;As an optional implementation manner, in the second aspect of the present invention, the primary aggregation device is further configured to: after acquiring data of its own data and data of other Internet of Things terminal devices in the group, obtaining the first data element, Get its current system time;
所述主汇聚设备还用于判断获取的当前系统时间是否匹配预设的上报数据的时间;The primary aggregation device is further configured to determine whether the acquired current system time matches the preset reported data time;
所述主汇聚设备还用于在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将所述第一数据元上报给所述边缘接入点。The primary aggregation device is further configured to report the first data element to the edge access point when determining that the acquired current system time matches the preset reporting data.
作为一种可选的实施方式,在本发明第二方面中,所述主汇聚设备还用于在确定获取的当前系统时间匹配预设的上报数据的时间时,向所述边缘接入点发送携带所述主汇聚设备的地理位置的即时天气查询请求,以使所述边缘接入点向云台天气服务器请求匹配所述主汇聚设备的地理位置的即时天气信息;As an optional implementation manner, in the second aspect of the present invention, the primary aggregation device is further configured to send, to the edge access point, when determining that the acquired current system time matches the preset reporting data. Carrying an instant weather query request for the geographic location of the primary aggregation device to cause the edge access point to request instant weather information matching the geographic location of the primary aggregation device to the PTZ weather server;
所述主汇聚设备还用于接收所述边缘接入点返回的所述即时天气信息;The primary aggregation device is further configured to receive the instant weather information returned by the edge access point;
所述主汇聚设备还用于判断所述即时天气信息是否匹配预设的上报数据的天气信息;The primary aggregation device is further configured to determine whether the real-time weather information matches weather information of preset reported data;
所述主汇聚设备还用于在确定出所述即时天气信息匹配预设的上报数据的天气信息时,执行将所述第一数据元上报给所述边缘接入点。 The primary aggregation device is further configured to report the first data element to the edge access point when determining that the real-time weather information matches the weather information of the preset report data.
作为一种可选的实施方式,在本发明第二方面中,所述次汇聚设备还用于在获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元之后,获取其当前系统时间;As an optional implementation manner, in the second aspect of the present invention, the secondary aggregation device is further configured to: after acquiring data of its own data and data of other Internet of Things terminal devices in the group, obtaining the second data element, Get its current system time;
所述次汇聚设备还用于判断获取的当前系统时间是否匹配预设的上报数据的时间;The secondary aggregation device is further configured to determine whether the acquired current system time matches the preset reported data time;
所述次汇聚设备还用于在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将所述第二数据元上报给所述边缘接入点。The secondary aggregation device is further configured to report the second data element to the edge access point when determining that the acquired current system time matches the preset reporting data.
与现有技术相比,本发明实施例具有以下有益效果: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 control information sent by the aggregation unit, the edge access point divides the Internet of Things terminal device whose geographic location matches the geographic location information into several groups, and then in each group, From it, a primary aggregation device, a secondary aggregation device, and the remaining IoT terminal devices are used as member devices to determine the identity type of the Internet of Things terminal device 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 IoT terminal devices (including secondary aggregation devices and member devices) of the group in which the group is located, and packages the data. Obtaining the first data element and then reporting it to the edge access point; when the primary aggregation device in the group fails, the secondary aggregation device acquires its own data and other IoT terminal devices in its group (including the primary aggregation device and The data of the member device is packaged to obtain the second data element, and then reported to the edge access point. It can be seen that, in the embodiment of the present invention, the edge access point may only divide the group for the Internet of Things terminal device corresponding to the geographic location information of the aggregation unit, and further, the edge access point passes the object in the group. The networked terminal device divides the identity type, and the data of the IoT terminal device in the group is aggregated and reported by the primary aggregation device or the secondary aggregation device to implement centralized reporting and data of all the Internet of Things terminal devices can be reported, specifically, in the main aggregation. When the device does not fail, the primary aggregation device aggregates and reports data. When the primary aggregation device fails, the secondary aggregation device aggregates and reports data to overcome multiple IoT terminals in the same geographical location or adjacent geographic location. The defect of uploading data failure due to competition improves the reliability of the entire IoT data transmission.
附图说明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 method for controlling data reporting based on geographic location in the Internet of Things according to an embodiment of the present invention; Schematic diagram of the process;
图3为本发明实施例公开的物联网中基于地理位置的数据上报控制方法的另一流程示意图;3 is another schematic flowchart of a method for controlling data reporting based on a geographic location in an Internet of Things according to an embodiment of the present invention;
图4为本发明实施例公开的物联网中基于地理位置的数据上报控制系统的结构示意图;4 is a schematic structural diagram of a geographic location-based data reporting control system in an Internet of Things according to an embodiment of the present invention;
图5为本发明实施例公开的物联网中基于地理位置的数据上报控制系统的另一结构示意图。FIG. 5 is another schematic structural diagram of a geographic location-based data reporting control system in the Internet of Things according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,本发明的说明书和权利要求书中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定顺序。本发明实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。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.
本发明实施例公开了一种物联网中基于地理位置的数据上报控制方法,用于保证全部物联网终端设备的数据均可上报且能及时上报,提高整个物联网数据传输的可靠性。本发明实施例相应地公开了一种物联网中基于地理位置的数据上报控制系统。The embodiment of the invention discloses a geographical location-based data reporting control method in the Internet of Things, which is used to ensure that data of all IoT terminal devices can be reported and reported in time, thereby improving the reliability of the entire Internet of Things data transmission. The embodiment of the invention accordingly discloses a geographical location based data reporting control system in the Internet of Things.
在介绍本发明实施例之前,先简单介绍一下本发明一些实施例公开的物联网架构。如图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 by some embodiments of the present invention; the Internet of Things architecture shown in FIG. 1 may include three layers: a terminal device layer, an access point layer, and an aggregation layer according to functions. The terminal device layer may include a mass-scale IoT terminal device, such as a hygrometer, a smoke sensor, a ventilation device, a rain sensor, an irrigation valve, etc.; the access point layer may include a large number of edge access points connected by the network. The edge access point may include a router, a repeater, an access point, and the like, which are not limited in the embodiment of the present invention; the edge access point may use any standard networking protocol, and the edge access point may be in different network standards. Data aggregation is implemented; the aggregation layer may include a filtering gateway and a convergence unit, wherein the filtering gateway may directly or indirectly communicate with each edge access point of the access point layer through the Internet (not shown in the figure); the aggregation unit The filtering gateway can perform high-level management on each edge access point of the access point layer, thereby realizing the data transmission frequency, The network topology and other networking functions are controlled; the aggregation unit can not only analyze and make decisions about the Internet of Things data generated by the mass terminal equipment, but also obtain the information or configure the terminal equipment parameters by sending commands (at this time, the data transmission is directed to the terminal equipment). The aggregation unit can also introduce a variety of services, from big data to social networks, and even from social tools "likes" to weather sharing. In the Internet of Things architecture shown in Figure 1, each edge access point can provide IoT data transmission and reception services for a large number of terminal devices within its own wireless network coverage, wherein each edge access point has its own wireless network coverage. Each terminal device can have a built-in wireless communication module, which enables each edge access point 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 and in conjunction with specific embodiments.
实施例一Embodiment 1
请参阅图2,图2为本发明实施例公开的物联网中基于地理位置的数据上报控制方法的流程示意图;如图2所示,一种物联网中基于地理位置的数据上报控制方法可包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a geographic location-based data reporting control method in an Internet of Things according to an embodiment of the present invention; as shown in FIG. 2, a geographic location-based data reporting control method in an Internet of Things may include :
201、边缘接入点接收过滤网关转发的由汇聚单元下发的控制信息,该控制信息包括群组成员的身份类型和汇聚单元的感兴趣地理位置信息,该身份类型包括主汇聚设备、次汇聚设备和成员设备。201. The edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, where the control information includes the identity type of the group member and the geographic location information of the aggregation unit, where the identity type includes the primary aggregation device and the secondary aggregation. Devices and member devices.
在本发明实施例中,由汇聚单元设置群组成员的身份类型,比如主汇聚设备、次汇聚设备和成员设备。其中,主汇聚设备为群组中主要用于汇聚群组里的物联网终端设备数据,然后统一上报给汇聚单元;而在主汇聚设备发生故障(如无法将数据上传给边缘接入点的网络故障)时,由次汇聚设备汇聚群组中的物联网终端设备数据,然后统一上报给汇聚单元,减少物联网终 端设备之间的竞争,以提高数据上报的成功率。In the embodiment of the present invention, the identity type of the group member, such as the primary aggregation device, the secondary aggregation device, and the member device, is set by the aggregation unit. The main aggregation device is the IoT terminal device data in the group that is mainly used in the aggregation group, and then reported to the aggregation unit in a unified manner; and the primary aggregation device fails (for example, the data cannot be uploaded to the edge access point network). When the fault occurs, the data of the IoT terminal device in the group is aggregated by the secondary aggregation device, and then reported to the aggregation unit uniformly to reduce the end of the Internet of Things. Competition between end devices to improve the success rate of data reporting.
进一步地,在本发明实施例中,汇聚单元可以指定边缘接入点针对某一地理位置的物联网终端设备划分群组,以及对群组中的物联网终端设备配置身份类型。其中,汇聚单元指定的某一地理位置为该汇聚单元感兴趣地理位置,比如,汇聚单元觉得某一个矿井对应地理位置所在的物联网终端设备采集的数据比较重要,希望这些物联网终端设备都能及时且成功上报数据,那么可以针对该矿井实施本发明技术方案。在本发明实施例中,将汇聚单元感兴趣地理位置定位为汇聚单元的感兴趣地理位置信息,并一起下发给边缘接入点。Further, in the embodiment of the present invention, the aggregation unit may specify that the edge access point divides the group for the Internet of Things terminal device of a certain geographical location, and configures the identity type for the Internet of Things terminal device in the group. The geographic location specified by the aggregation unit is the geographic location of the aggregation unit. For example, the aggregation unit considers that the data collected by the IoT terminal device corresponding to the geographical location of a certain mine is more important, and it is hoped that these Internet of Things terminal devices can The data of the present invention can be implemented for the mine in time and successfully reported data. In the embodiment of the present invention, the geographic location information of the convergence unit is located as the geographic location information of the aggregation unit, and is sent to the edge access point.
作为一种可选的实施方式,该边缘接入点接收过滤网关转发的由汇聚单元下发的控制信息具体包括:边缘接入点调用第一网络接口,通过第一网络接口接收过滤网关转发的由汇聚单元下发的控制信息。可以理解,边缘接入点设置有两种类型的网络接口,在本发明实施例中称之为第一网络接口和第二网络接口,其中,第一网络接口用于实现与过滤网关之间的数据交互,第二网络接口用于实现与物联网终端设备之间的数据交互。在该实施方式中,边缘接入点调用第一网络接口,接收由过滤网关转发的汇聚单元下发的控制信息。As an optional implementation manner, the edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, where the edge access point invokes the first network interface, and receives the filtered gateway forwarding by using the first network interface. Control information delivered by the aggregation unit. It can be understood that the edge access point is provided 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 and filter the gateway. Data interaction, the second network interface is used to implement data interaction with the Internet of Things terminal device. In this embodiment, the edge access point invokes the first network interface, and receives the control information delivered by the aggregation unit forwarded by the filtering gateway.
202、边缘接入点将地理位置匹配感兴趣地理位置信息的物联网终端设备划分成若干群组;其中,每一个群组包括地理位置匹配感兴趣地理位置信息的多个物联网终端设备。202. The edge access point divides the Internet of Things terminal device that is geographically matched with the geographic location information into a plurality of groups; wherein each group includes a plurality of Internet of Things terminal devices that are geographically matched to the geographic location information of interest.
在本发明实施例中,边缘接入点根据感兴趣地理位置信息来划分群组,克服同一地理位置或者相邻地理位置的多个物联网终端设备因竞争导致上传数据失败的缺陷,提高整个物联网数据传输的可靠性。In the embodiment of the present invention, the edge access point divides the group according to the geographic location information of interest, and overcomes the defect that multiple IoT terminal devices in the same geographical location or adjacent geographical location fail to upload data due to competition, and improves the whole object. The reliability of networked data transmission.
203、边缘接入点将每一个群组中的多个物联网终端设备中的一个物联网终端设备配置为主汇聚设备,将多个物联网终端设备中除去主汇聚设备的一个物联网终端设备配置为次汇聚设备,将多个物联网终端设备中除去主汇聚设备与次汇聚设备的剩余物联网终端设备配置为成员设备。203. The edge access point configures one of the plurality of Internet of Things terminal devices in each group as a primary aggregation device, and removes one Internet of Things terminal device of the primary aggregation device from the plurality of Internet of Things terminal devices. The configuration is a secondary aggregation device, and the remaining IoT terminal devices of the multiple IoT terminal devices except the primary aggregation device and the secondary aggregation device are configured as member devices.
边缘接入点进一步对群组中的物联网终端设备配置身份,从多个物联网终端设备中选择一个物联网终端设备配置为主汇聚设备,选择另外一个物联网终端设备配置为次汇聚设备,剩余的物联网终端设备配置为成员设备。The edge access point further configures the identity of the IoT terminal device in the group, selects one IoT terminal device from the plurality of IoT terminal devices as the primary aggregation device, and selects another IoT terminal device as the secondary aggregation device. The remaining IoT terminal devices are configured as member devices.
作为一种可选的实施方式,边缘接入点可以从群组的多个物联网终端设备中选择性能最优的物联网终端设备配置为主汇聚设备,选择性能次之的物联网终端设备配置为次汇聚设备,剩余的物联网终端设备配置为成员设备。As an optional implementation manner, the edge access point may select the best-performing IoT terminal device as the primary aggregation device from the plurality of IoT terminal devices of the group, and select the performance-oriented IoT terminal device configuration. For the secondary aggregation device, the remaining IoT terminal devices are configured as member devices.
204、在主汇聚设备未发生故障时,主汇聚设备获取其自身数据以及所在 群组中其它物联网终端设备的数据打包得到第一数据元,将第一数据元上报给边缘接入点,以使边缘接入点通过该过滤网关将第一数据元上报给汇聚单元。204. When the primary aggregation device fails, the primary aggregation device obtains its own data and The data of the other IoT terminal devices in the group is packaged to obtain the first data element, and the first data element is reported to the edge access point, so that the edge access point reports the first data element to the aggregation unit through the filtering gateway.
其中,这里的其它物联网终端设备包括次汇聚设备和成员设备。Among them, other IoT terminal devices herein include a secondary aggregation device and a member device.
作为一种可选的实施方式,主汇聚设备将第一数据元上报给边缘接入点具体包括:主汇聚设备通过边缘接入点的第二网络接口将第一数据元上报给边缘接入点。As an optional implementation manner, the primary aggregation device reports the first data element to the edge access point, and the method includes: the primary aggregation device reports the first data element to the edge access point by using the second network interface of the edge access point. .
进一步地,主汇聚设备将第一数据元上报给边缘接入点具体包括:主汇聚设备确定目标传输频段;在目标传输频段上与边缘接入点建立通信连接,以及基于建立的通信连接通过第二网络接口将第一数据元上报给边缘接入点。Further, the reporting, by the primary aggregation device, the first data element to the edge access point includes: the primary aggregation device determines the target transmission frequency band; establishes a communication connection with the edge access point on the target transmission frequency band, and passes the established communication connection based on the The second network interface reports the first data element to the edge access point.
进一步地,主汇聚设备在目标传输频段上与边缘接入点建立通信连接,以及基于建立的通信连接通过第二网络接口将第一数据元上报给边缘接入点具体包括:主汇聚设备确定目标传输频段所对应的时频资源,在时频资源上通过第二网络接口将第一数据元上报给边缘接入点。Further, the primary aggregation device establishes a communication connection with the edge access point on the target transmission frequency band, and reports the first data element to the edge access point by using the second network interface based on the established communication connection, and the specific aggregation device determines the target. The time-frequency resource corresponding to the transmission frequency band reports the first data element to the edge access point 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 the first data element is reported to the edge access point by using the second network interface on the time-frequency resource, and the primary aggregation device obtains the target from the target by frequency hopping. Determining, in the transmission frequency band, a frequency domain location of the physical resource block for reporting the first data element; the primary aggregation device, 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 yuan is reported to the edge access point. 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 secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the second data element, and reports the second data element to the edge access point, so that The edge access point reports the second data element to the aggregation unit through the filtering gateway.
这里的其它物联网终端设备包括主汇聚设备和成员设备。Other IoT terminal devices herein include a primary aggregation device and a member device.
作为一种可选的实施方式,次汇聚设备周期性向主汇聚设备发送心跳数据包;在预设时间段内未接收到主汇聚设备返回的心跳响应数据包时,次汇聚设备确定监听到主汇聚设备发生故障,从而执行获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,将第二数据元上报给边缘接入点,以使边缘接入点通过过滤网关将第二数据元上报给汇聚单元的步骤;在预设时间段内接收到主汇聚设备返回的心跳响应数据包时,次汇聚设备确定主汇聚设备未发生故障。通过该实施方式,次汇聚设备能够及时发现主汇聚设备出现故障,以尽快替换主汇聚设备汇聚数据并上报。As an optional implementation manner, the secondary 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 secondary aggregation device determines to monitor the primary convergence. The device is faulty, and the data is obtained by acquiring the data of the other IoT terminal device in the group to obtain the second data element, and the second data element is reported to the edge access point, so that the edge access point passes the filtering gateway. The step of reporting the second data element to the aggregation unit; when receiving the heartbeat response data packet returned by the primary aggregation device within the preset time period, the secondary aggregation device determines that the primary aggregation device has not failed. With this implementation, the secondary 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 edge access point acquires the primary aggregation device that is not received. The length of the first data element; the edge access point determines whether the duration is greater than a preset threshold; when the duration is greater than the preset threshold, the edge access point determines that the primary aggregation device is faulty, and sends a notification message to the secondary aggregation device to The secondary aggregation device determines that the primary aggregation device is faulty according to the notification message, and performs data acquisition of the data of the other Internet of Things terminal devices in the group to obtain the second data element, and reports the second data element to the edge access point. The step of causing the edge access point to report the second data element to the aggregation unit through the filtering gateway. With this embodiment, the edge access point detects whether the primary aggregation device has failed, and notifies the secondary aggregation device when the failure occurs.
作为另一种可选的实施方式,主汇聚设备接收所在群组的其它物联网终端设备发送的数据的时间是否大于第一预置,如果大于第一预置,确定自身出现故障,通知次汇聚设备;或者,主汇聚设备检测其发送第一数据元给边缘接入点的时间是否大于第二阈值,如果大于第二阈值,确定自身出现故障,通知次汇聚设备。As another optional implementation manner, whether the time that the primary aggregation device receives data sent by other IoT 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 secondary aggregation. The device is configured to detect whether the time for sending the first data element to the edge access point is greater than a second threshold. If the value is greater than the second threshold, it is determined that the device is faulty, and the secondary aggregation device is notified.
在本发明实施例中,边缘接入点在接收汇聚单元下发的控制信息后,将地理位置匹配感兴趣地理位置信息的物联网终端设备划分成若干群组,然后在每一个群组中,从里面确定出一个主汇聚设备、一个次汇聚设备,剩余的物联网终端设备作为成员设备,从而确定群组中的物联网终端设备的身份类型。之后,在群组中的主汇聚设备没有发生故障时,群组中的主汇聚设备获取其自身数据以及其所在群组的其它物联网终端设备(包括次汇聚设备和成员设备)的数据,打包得到第一数据元,然后上报给边缘接入点;在群组中的主汇聚设备发生故障时,次汇聚设备获取自身的数据和其所在群组的其它物联网终端设备(包括主汇聚设备和成员设备)的数据,打包得到第二数据元,然后上报给边缘接入点。可以看出,在本发明实施例中,边缘接入点可以只针对汇聚单元的感兴趣地理位置信息划分群组,进一步地,边缘接入点通过对群组中的物联网终端设备划分身份类型,通过主汇聚设备或者次汇聚设备统一汇聚群组中物联网终端设备的数据并上报,实现集中上报且所有物联网终端设备的数据均可上报,具体地,在主汇聚设备没有发生故障时,集中由主汇聚设备汇聚并上报数据,在主汇聚设备发生故障时,集中由次汇聚设备汇聚并上报数据,克服同一地理位置或者相邻地理位置的多个物联网终端设备因竞争导致上传数据失败的缺陷,提高整个物联网数据传输的可靠性。In the embodiment of the present invention, after receiving the control information sent by the aggregation unit, the edge access point divides the Internet of Things terminal device whose geographic location matches the geographic location information into several groups, and then in each group, From it, a primary aggregation device, a secondary aggregation device, and the remaining IoT terminal devices are used as member devices to determine the identity type of the Internet of Things terminal device 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 IoT terminal devices (including secondary aggregation devices and member devices) of the group in which the group is located, and packages the data. Obtaining the first data element and then reporting it to the edge access point; when the primary aggregation device in the group fails, the secondary aggregation device acquires its own data and other IoT terminal devices in its group (including the primary aggregation device and The data of the member device is packaged to obtain the second data element, and then reported to the edge access point. It can be seen that, in the embodiment of the present invention, the edge access point may divide the group only for the geographic location information of interest of the aggregation unit, and further, the edge access point divides the identity type by using the Internet of Things terminal device in the group. The data of the IoT terminal device in the group is aggregated and reported by the primary aggregation device or the secondary aggregation device to implement the centralized reporting and the data of all the Internet of Things terminal devices can be reported. Specifically, when the primary aggregation device does not fail, The primary aggregation device aggregates and reports data. When the primary aggregation device fails, the secondary aggregation device aggregates and reports data. The multiple IoT devices in the same geographical location or adjacent geographic location fail to upload data due to competition. The flaws improve the reliability of the entire IoT data transmission.
实施例二Embodiment 2
请参阅图3,图3为本发明实施例公开的物联网中基于地理位置的数据上报控制方法的另一流程示意图;如图3所示,一种物联网中基于地理位置的数据上报控制方法可包括:Referring to FIG. 3, FIG. 3 is another schematic flowchart of a method for controlling data reporting based on a geographic location in an Internet of Things according to an embodiment of the present invention; and FIG. 3 is a method for controlling data reporting based on a geographic location in an Internet of Things. Can include:
301、边缘接入点接收过滤网关转发的由汇聚单元下发的控制信息,该控 制信息包括群组成员的身份类型和汇聚单元的感兴趣地理位置信息,该身份类型包括主汇聚设备、次汇聚设备和成员设备。301. The edge access point receives the control information sent by the aggregation unit and is forwarded by the filtering gateway, where the control information is sent. The information includes the identity type of the group member and the geographic location information of the aggregation unit, and the identity type includes a primary aggregation device, a secondary aggregation device, and a member device.
302、边缘接入点将地理位置匹配感兴趣地理位置信息的物联网终端设备划分成若干群组;其中,每一个群组包括地理位置匹配感兴趣地理位置信息的多个物联网终端设备。302. The edge access point divides the Internet of Things terminal device that is geographically matched with the geographic location information into a plurality of groups; wherein each group includes a plurality of Internet of Things terminal devices that are geographically matched to the geographic location information of interest.
边缘接入点从其所管理的物联网终端设备信息表中查找其无线网络覆盖范围内的所有物联网终端设备的地理位置,以物联网终端设备信息表中的所有物联网终端设备的地理位置为依据,将地理位置匹配感兴趣地理位置信息的物联网终端设备划分成若干群组。The edge access point searches for the geographic location of all IoT terminal devices within its wireless network coverage from the IoT terminal device information table it manages, and the geographic location of all IoT terminal devices in the IoT terminal device information table. Based on this, the Internet of Things terminal device that matches the geographic location information of interest is divided into several groups.
303、边缘接入点将每一个群组中的多个物联网终端设备中的一个物联网终端设备配置为主汇聚设备,将多个物联网终端设备中除去主汇聚设备的一个物联网终端设备配置为次汇聚设备,将多个物联网终端设备中除去主汇聚设备与次汇聚设备的剩余物联网终端设备配置为成员设备。303. The edge access point configures one of the plurality of Internet of Things terminal devices in each group as a primary aggregation device, and removes one Internet of Things terminal device of the primary aggregation device from the plurality of Internet of Things terminal devices. The configuration is a secondary aggregation device, and the remaining IoT terminal devices of the multiple IoT terminal devices except the primary aggregation device and the secondary aggregation device are configured as member devices.
304、在主汇聚设备未发生故障时,主汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元。304. When the primary aggregation device does not fail, the primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element.
305、主汇聚设备获取其当前系统时间。305. The primary aggregation device obtains its current system time.
在本发明实施例中,汇聚单元还可以设置每个群组上报数据的时间,在该时间上报数据。同时,可以设置每个群组上报数据的时间各不相同,从而错开各个群组上报数据的时间,减少竞争,提高数据上报的成功率。In the embodiment of the present invention, the aggregation unit may further set a time for each group to report data, and report data at the time. At the same time, the time for reporting data in each group can be set differently, thereby staggering the time for each group to report data, reducing competition, and improving the success rate of data reporting.
作为一种可选的实施方式,汇聚单元下发上报数据的时间,边缘接入点接收到该上报数据的时间后,将该上报数据的时间写入到群组的主汇聚设备和次汇聚设备中。进一步地,汇聚单元可以针对不同群组设置不同上报数据的时间。As an optional implementation manner, after the time when the edge access point receives the reported data, the edge access point writes the time of reporting the data to the primary aggregation device and the secondary aggregation device of the group. in. Further, the aggregation unit can set different times for reporting different data for different groups.
306、主汇聚设备判断获取的当前系统时间是否匹配预设的上报数据的时间。其中,在判断结果为是时,转向步骤307;在判断结果为否时,结束该流程。306. The primary aggregation device determines whether the obtained current system time matches the preset reported data. If the result of the determination is YES, the process proceeds to step 307. If the result of the determination is negative, the process ends.
307、主汇聚设备将第一数据元上报给边缘接入点。307. The primary aggregation device reports the first data element to the edge access point.
作为一种可选的实施方式,主汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,主汇聚设备向边缘接入点发送携带主汇聚设备的地理位置的即时天气查询请求,以使边缘接入点向云台天气服务器请求匹配主汇聚设备的地理位置的即时天气信息;主汇聚设备接收边缘接入点返回的即时天气信息;主汇聚设备判断即时天气信息是否匹配预设的上报数据的天气信息;主汇聚设备在确定出即时天气信息匹配预设的上报数据的天气信息时,将第一数据元上报给边缘接入点。 As an optional implementation manner, when the primary aggregation device determines that the acquired current system time matches the preset reporting data, the primary aggregation device sends an immediate weather query request to the edge access point that carries the geographic location of the primary aggregation device. So that the edge access point requests the sky station weather server to match the real-time weather information of the geographic location of the primary aggregation device; the primary aggregation device receives the real-time weather information returned by the edge access point; and the primary aggregation device determines whether the instant weather information matches the preset The weather information of the reported data; the primary aggregation device reports the first data element to the edge access point when determining that the weather information matches the weather information of the preset report data.
308、在主汇聚设备发生故障时,次汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元。308. When the primary aggregation device fails, the secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the second data element.
309、次汇聚设备获取其当前系统时间。309. The secondary aggregation device obtains its current system time.
310、次汇聚设备判断获取的当前系统时间是否匹配预设的上报数据的时间。其中,在判断结果为是时,转向步骤311;在判断结果为否时,结束该流程。310. The time when the secondary aggregation device determines whether the obtained current system time matches the preset reported data. If the result of the determination is YES, the process proceeds to step 311. If the result of the determination is negative, the process ends.
311、次汇聚设备将第二数据元上报给边缘接入点。311. The secondary aggregation device reports the second data element to the edge access point.
作为一种可选的实施方式,次汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,次汇聚设备向边缘接入点发送携带次汇聚设备的地理位置的即时天气查询请求,以使边缘接入点向云台天气服务器请求匹配次汇聚设备的地理位置的即时天气信息;次汇聚设备接收边缘接入点返回的即时天气信息;次汇聚设备判断即时天气信息是否匹配预设的上报数据的天气信息;次汇聚设备在确定出即时天气信息匹配预设的上报数据的天气信息时,将第一数据元上报给边缘接入点。As an optional implementation manner, when the secondary aggregation device determines that the acquired current system time matches the preset reporting data, the secondary aggregation device sends an immediate weather query request for the geographic location of the secondary aggregation device to the edge access point. So that the edge access point requests the cloud station weather server to match the real-time weather information of the geographic location of the secondary aggregation device; the secondary aggregation device receives the instant weather information returned by the edge access point; and the secondary aggregation device determines whether the instant weather information matches the preset The weather information of the reported data; the secondary aggregation device reports the first data element to the edge access point when determining that the weather information matches the weather information of the preset report data.
在本发明实施例中,还可以进一步设置主汇聚设备和次汇聚设备上报数据的时间,边缘接入点根据汇聚单元的感兴趣地理位置信息划分群组,使得汇聚单元的感兴趣地理位置信息下的物联网终端设备以该方式上报数据,进一步,主汇聚设备和次汇聚设备可以按照上报数据的时间上报数据,进一步地,边缘接入点通过对群组中的物联网终端设备划分身份类型,在主汇聚设备没有发生故障时,集中由主汇聚设备在匹配用于上报数据的时间上报第一数据元;在主汇聚设备发生故障时,集中由次汇聚设备在匹配用于上报数据的时间上报第二数据元,能够保证全部物联网终端设备的数据均可上报,提高物联网数据传输的可靠性。In the embodiment of the present invention, the time at which the primary aggregation device and the secondary aggregation device report data is further set, and the edge access point divides the group according to the geographic location information of the aggregation unit, so that the geographic location information of the convergence unit is The IoT terminal device reports the data in this manner. Further, the primary aggregation device and the secondary aggregation device can report the data according to the time when the data is reported. Further, the edge access point divides the identity type by the Internet of Things terminal device in the group. When the primary aggregation device does not fail, the primary aggregation device reports the first data element at the time of matching the data for reporting. When the primary aggregation device fails, the secondary aggregation device reports the time for matching the reported data. The second data element can ensure that the data of all the Internet of Things terminal devices can be reported, and the reliability of the Internet of Things data transmission is improved.
实施例三Embodiment 3
请参阅图4和图5,图4为本发明实施例公开的物联网中基于地理位置的数据上报控制系统的结构示意图,图5为本发明实施例公开的物联网中基于地理位置的数据上报控制系统的另一结构示意图;如图4所示,一种物联网中基于地理位置的数据上报控制系统可包括:Referring to FIG. 4 and FIG. 5, FIG. 4 is a schematic structural diagram of a geographic location-based data reporting control system in the Internet of Things according to an embodiment of the present invention, and FIG. 5 is a data reporting based on geographic location in the Internet of Things disclosed in the embodiment of the present invention. Another structural schematic diagram of the control system; as shown in FIG. 4, a geographic location-based data reporting control system in the Internet of Things may include:
边缘接入点410,用于接收过滤网关420转发的由汇聚单元430下发的控制信息,该控制信息包括群组成员的身份类型和汇聚单元430的感兴趣地理位置信息,该身份类型包括主汇聚设备4401、次汇聚设备4402和成员设备4403;The edge access point 410 is configured to receive, by the filtering gateway 420, the control information that is sent by the aggregation unit 430, where the control information includes an identity type of the group member and geographic location information of the aggregation unit 430, where the identity type includes the primary Aggregation device 4401, secondary aggregation device 4402 and member device 4403;
边缘接入点410还用于将地理位置匹配感兴趣地理位置信息的物联网终端设备440划分成若干群组;其中,每一个群组包括地理位置匹配感兴趣地 理位置信息的多个物联网终端设备440;The edge access point 410 is further configured to divide the Internet of Things terminal device 440 that is geographically matched with the geographic location information of interest into a plurality of groups; wherein each group includes a geographic location matching interest a plurality of IoT terminal devices 440 that manage location information;
边缘接入点410还用于将每一个群组中的多个物联网终端设备440中的一个物联网终端设备440配置为主汇聚设备4401,将多个物联网终端设备440中除去主汇聚设备4401的一个物联网终端设备440配置为次汇聚设备4402,将多个物联网终端设备440中除去主汇聚设备4401与次汇聚设备4402的剩余物联网终端设备440配置为成员设备4403(具体如附图5所示);The edge access point 410 is further configured to configure one of the plurality of Internet of Things terminal devices 440 in each group as the main aggregation device 4401, and remove the main aggregation device from the plurality of Internet of Things terminal devices 440. An IoT terminal device 440 of the 4401 is configured as a secondary aggregation device 4402, and the remaining IoT terminal devices 440 of the plurality of IoT terminal devices 440 except the primary aggregation device 4401 and the secondary aggregation device 4402 are configured as member devices 4403 (specifically attached Figure 5);
在主汇聚设备4401未发生故障时,主汇聚设备4401用于获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第一数据元,将第一数据元上报给边缘接入点410,以使边缘接入点410通过过滤网关420将第一数据元上报给汇聚单元430;When the primary aggregation device 4401 does not fail, the primary aggregation device 4401 is configured to obtain data of the own data and other Internet of Things terminal devices 440 in the group to obtain the first data element, and report the first data element to the edge access. Point 410, so that the edge access point 410 reports the first data element to the convergence unit 430 through the filtering gateway 420;
在主汇聚设备4401发生故障时,次汇聚设备4402用于获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第二数据元,将第二数据元上报给边缘接入点410,以使边缘接入点410通过过滤网关420将第二数据元上报给汇聚单元430。When the primary aggregation device 4401 fails, the secondary aggregation device 4402 is configured to obtain data of its own data and other Internet of Things terminal devices 440 in the group to obtain the second data element, and report the second data element to the edge access point. 410. The edge access point 410 reports the second data element to the convergence unit 430 through the filtering gateway 420.
其中,边缘接入点410从其所管理的物联网终端设备信息表中查找其无线网络覆盖范围内的所有物联网终端设备440的地理位置,以物联网终端设备信息表中的所有物联网终端设备440的地理位置为依据,将地理位置匹配感兴趣地理位置信息的物联网终端设备440划分成若干群组。The edge access point 410 searches for the geographic location of all the Internet of Things terminal devices 440 in its wireless network coverage from the IoT terminal device information table it manages, and all the Internet of Things terminals in the Internet of Things terminal device information table. Based on the geographic location of the device 440, the Internet of Things terminal device 440 that matches the geographic location information to the geographic location is divided into groups.
作为一种可选的实施方式,主汇聚设备4401将第一数据元上报给边缘接入点410具体包括:主汇聚设备4401通过边缘接入点410的第二网络接口将第一数据元上报给边缘接入点410。As an optional implementation, the primary aggregation device 4401 reports the first data element to the edge access point 410. The specific aggregation device 4401 reports the first data element to the second network interface of the edge access point 410. Edge access point 410.
进一步地,主汇聚设备4401将第一数据元上报给边缘接入点410具体包括:主汇聚设备4401确定目标传输频段;在目标传输频段上与边缘接入点410建立通信连接,以及基于建立的通信连接通过第二网络接口将第一数据元上报给边缘接入点410。Further, the reporting, by the primary aggregation device 4401, the first data element to the edge access point 410 specifically includes: the primary aggregation device 4401 determines a target transmission frequency band; establishes a communication connection with the edge access point 410 on the target transmission frequency band, and is based on the established The communication connection reports the first data element to the edge access point 410 via the second network interface.
进一步地,主汇聚设备4401在目标传输频段上与边缘接入点410建立通信连接,以及基于建立的通信连接通过第二网络接口将第一数据元上报给边缘接入点410具体包括:主汇聚设备4401确定目标传输频段所对应的时频资源,在时频资源上通过第二网络接口将第一数据元上报给边缘接入点410。Further, the primary aggregation device 4401 establishes a communication connection with the edge access point 410 on the target transmission frequency band, and reports the first data element to the edge access point 410 through the second network interface based on the established communication connection. The device 4401 determines the time-frequency resource corresponding to the target transmission frequency band, and reports the first data element to the edge access point 410 through the second network interface on the time-frequency resource.
进一步地,主汇聚设备4401确定目标传输频段所对应的时频资源,在时频资源上通过第二网络接口将第一数据元上报给边缘接入点410具体包括:主汇聚设备4401通过跳频方式从目标传输频段中确定用于上报第一数据元的物理资源块的频域位置;主汇聚设备4401在确定的物理资源块的频域位置所对应的时频资源上,通过第二网络接口将第一数据元上报给边缘接入点 410。实施上述实施方式,能够解决数据干扰问题,提高数据传输效率。Further, the primary aggregation device 4401 determines the time-frequency resource corresponding to the target transmission frequency band, and the reporting of the first data element to the edge access point 410 by using the second network interface on the time-frequency resource includes: the primary aggregation device 4401 performs frequency hopping The method determines a frequency domain location of the physical resource block for reporting the first data element from the target transmission frequency band; the primary aggregation device 4401 passes the second network interface on the time-frequency resource corresponding to the determined frequency domain location of the physical resource block. Reporting the first data element to the edge access point 410. By implementing the above embodiments, data interference problems can be solved and data transmission efficiency can be improved.
作为一种可选的实施方式,次汇聚设备4402周期性向主汇聚设备4401发送心跳数据包;在预设时间段内未接收到主汇聚设备4401返回的心跳响应数据包时,次汇聚设备4402确定监听到主汇聚设备4401发生故障,从而执行获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第二数据元,将第二数据元上报给边缘接入点410,以使边缘接入点410通过过滤网关420将第二数据元上报给汇聚单元430的步骤;在预设时间段内接收到主汇聚设备4401返回的心跳响应数据包时,次汇聚设备4402确定主汇聚设备4401未发生故障。通过该实施方式,次汇聚设备4402能够及时发现主汇聚设备4401出现故障,以尽快替换主汇聚设备4401汇聚数据并上报。As an optional implementation manner, the secondary aggregation device 4402 periodically sends a heartbeat data packet to the primary aggregation device 4401; when the heartbeat response data packet returned by the primary aggregation device 4401 is not received within the preset time period, the secondary convergence device 4402 determines Detecting that the primary aggregation device 4401 has failed, and performing data acquisition of its own data and other IoT terminal devices 440 in the group to obtain the second data element, and reporting the second data element to the edge access point 410, so that The edge access point 410 reports the second data element to the aggregation unit 430 through the filtering gateway 420. When the heartbeat response data packet returned by the primary aggregation device 4401 is received within a preset time period, the secondary aggregation device 4402 determines the primary aggregation device. 4401 has not failed. With this implementation, the secondary aggregation device 4402 can find that the primary aggregation device 4401 is faulty in time to replace the primary aggregation device 4401 to aggregate data and report it as soon as possible.
作为另一种可选的实施方式,边缘接入点410获取未接收到主汇聚设备4401发送第一数据元的时长;边缘接入点410判断该时长是否大于预设阈值;边缘接入点410在该时长大于预设阈值时,确定主汇聚设备4401发生故障,并向次汇聚设备4402发送通知消息,以使得次汇聚设备4402根据通知消息确定主汇聚设备4401发生故障,以执行获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第二数据元,将第二数据元上报给边缘接入点410,以使边缘接入点410通过过滤网关420将第二数据元上报给汇聚单元430的步骤。通过该实施方式,由边缘接入点410来检测主汇聚设备4401是否发生故障,并在发生故障时通知次汇聚设备4402。As another optional implementation manner, the edge access point 410 acquires the length of time when the primary aggregation device 4401 does not receive the first data element, and the edge access point 410 determines whether the duration is greater than a preset threshold; the edge access point 410 When the duration is greater than the preset threshold, determining that the primary aggregation device 4401 fails, and sending a notification message to the secondary aggregation device 4402, so that the secondary aggregation device 4402 determines that the primary aggregation device 4401 is faulty according to the notification message to perform acquisition of its own data. And the data of the other IoT terminal device 440 in the group is packaged to obtain the second data element, and the second data element is reported to the edge access point 410, so that the edge access point 410 reports the second data element through the filtering gateway 420. The step to the aggregation unit 430. With this embodiment, it is detected by the edge access point 410 whether the primary aggregation device 4401 has failed, and the secondary aggregation device 4402 is notified when a failure occurs.
作为另一种可选的实施方式,主汇聚设备4401接收所在群组的其它物联网终端设备440发送的数据的时间是否大于第一预置,如果大于第一预置,确定自身出现故障,通知次汇聚设备4402;或者,主汇聚设备4401检测其发送第一数据元给边缘接入点410的时间是否大于第二阈值,如果大于第二阈值,确定自身出现故障,通知次汇聚设备4402。As another optional implementation manner, whether the time that the primary aggregation device 4401 receives the data sent by the other Internet of Things terminal device 440 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 that The secondary aggregation device 4402; or the primary aggregation device 4401 detects whether the time for sending the first data element to the edge access point 410 is greater than a second threshold. If the second aggregation threshold is greater than the second threshold, it is determined that the fault has occurred, and the secondary aggregation device 4402 is notified.
作为一种可选的实施方式,边缘接入点410用于接收过滤网关420转发的由汇聚单元430下发的控制信息的方式具体为:As an optional implementation manner, the manner in which the edge access point 410 is used to receive the control information that is sent by the aggregation unit 430 and is sent by the aggregation unit 420 is specifically:
边缘接入点410用于调用第一网络接口,通过第一网络接口接收过滤网关420转发的由汇聚单元430下发的控制信息;The edge access point 410 is configured to invoke the first network interface, and receive, by using the first network interface, the control information that is sent by the filtering unit 420 and sent by the aggregation unit 430.
主汇聚设备4401用于获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第一数据元,将第一数据元上报给边缘接入点410的方式具体为:The main aggregation device 4401 is configured to obtain the first data element by the data collection of the data of the other IoT terminal device 440 in the group, and the method for reporting the first data element to the edge access point 410 is as follows:
主汇聚设备4401用于获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第一数据元,通过边缘接入点410的第二网络接口将第一数据元上报给边缘接入点410; The primary aggregation device 4401 is configured to obtain the first data element by using the second network interface of the edge access point 410 to obtain the first data element, and the first data element is reported to the edge interface through the second network interface of the edge access point 410. Entry point 410;
次汇聚设备4402用于获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第二数据元,将第二数据元上报给边缘接入点410的方式具体为:The manner in which the secondary aggregation device 4402 is used to obtain the data of the other IoT terminal device 440 in the group to be packaged to obtain the second data element, and the second data element is reported to the edge access point 410 is specifically as follows:
次汇聚设备4402用于获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第二数据元,通过边缘接入点410的第二网络接口将第二数据元上报给边缘接入点410。The secondary aggregation device 4402 is configured to obtain the second data element by using the second network interface of the edge access point 410 to obtain the second data element and the second data element of the edge access point 410. Entry point 410.
作为一种可选的实施方式,主汇聚设备4401还用于在获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第一数据元之后,获取其当前系统时间;As an optional implementation manner, the main aggregation device 4401 is further configured to acquire the current data time of the first data element after obtaining the data of the other IoT terminal device 440 in the group and obtaining the first data element;
主汇聚设备4401还用于判断获取的当前系统时间是否匹配预设的上报数据的时间;The main aggregation device 4401 is further configured to determine whether the acquired current system time matches the preset reported data time;
主汇聚设备4401还用于在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将第一数据元上报给边缘接入点410。The primary aggregation device 4401 is further configured to report the first data element to the edge access point 410 when determining that the acquired current system time matches the preset reporting data.
通过上述实施方式,可以设置每个群组上报数据的时间,在该时间上报数据。同时,可以设置每个群组上报数据的时间各不相同,从而错开各个群组上报数据的时间,减少竞争,提高数据上报的成功率。Through the above embodiment, the time for each group to report data can be set, and the data is reported at the time. At the same time, the time for reporting data in each group can be set differently, thereby staggering the time for each group to report data, reducing competition, and improving the success rate of data reporting.
作为一种可选的实施方式,主汇聚设备4401还用于在确定获取的当前系统时间匹配预设的上报数据的时间时,向边缘接入点410发送携带主汇聚设备4401的地理位置的即时天气查询请求,以使边缘接入点410向云台天气服务器请求匹配主汇聚设备4401的地理位置的即时天气信息;As an optional implementation manner, the primary aggregation device 4401 is further configured to send an instant carrying the geographic location of the primary aggregation device 4401 to the edge access point 410 when determining that the acquired current system time matches the preset reported data. The weather query request causes the edge access point 410 to request the sky station weather server to match the real-time weather information of the geographic location of the primary aggregation device 4401;
主汇聚设备4401还用于接收边缘接入点410返回的即时天气信息;The primary convergence device 4401 is further configured to receive the real-time weather information returned by the edge access point 410;
主汇聚设备4401还用于判断即时天气信息是否匹配预设的上报数据的天气信息;The main convergence device 4401 is further configured to determine whether the real-time weather information matches the weather information of the preset reported data;
主汇聚设备4401还用于在确定出即时天气信息匹配预设的上报数据的天气信息时,执行将第一数据元上报给边缘接入点410。The main aggregation device 4401 is further configured to report the first data element to the edge access point 410 when it is determined that the real-time weather information matches the weather information of the preset report data.
作为一种可选的实施方式,次汇聚设备4402还用于在获取其自身数据以及所在群组中其它物联网终端设备440的数据打包得到第二数据元之后,获取其当前系统时间;As an optional implementation manner, the secondary aggregation device 4402 is further configured to obtain the current system time after acquiring the data of the OAS terminal 440 in the group and obtaining the second data element in the group;
次汇聚设备4402还用于判断获取的当前系统时间是否匹配预设的上报数据的时间;The secondary aggregation device 4402 is further configured to determine whether the acquired current system time matches the preset reported data time;
次汇聚设备4402还用于在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将第二数据元上报给边缘接入点410。The secondary aggregation device 4402 is further configured to report the second data element to the edge access point 410 when determining that the acquired current system time matches the preset reported data.
作为一种可选的实施方式,次汇聚设备4402在确定获取的当前系统时间匹配预设的上报数据的时间时,次汇聚设备4402向边缘接入点410发送携带 次汇聚设备4402的地理位置的即时天气查询请求,以使边缘接入点410向云台天气服务器请求匹配次汇聚设备4402的地理位置的即时天气信息;次汇聚设备4402接收边缘接入点410返回的即时天气信息;次汇聚设备4402判断即时天气信息是否匹配预设的上报数据的天气信息;次汇聚设备4402在确定出即时天气信息匹配预设的上报数据的天气信息时,将第一数据元上报给边缘接入点410。As an optional implementation manner, when the secondary aggregation device 4402 determines that the acquired current system time matches the preset reporting data, the secondary aggregation device 4402 sends the carried to the edge access point 410. An instant weather query request for the geographic location of the secondary aggregation device 4402 to cause the edge access point 410 to request instant weather information matching the geographic location of the secondary aggregation device 4402 to the PTZ weather server; the secondary aggregation device 4402 receives the edge access point 410 back The real-time weather information; the sub-aggregation device 4402 determines whether the real-time weather information matches the weather information of the preset report data; and the sub-aggregation device 4402 determines the first weather data when the weather information matches the weather information of the preset report data. Reported to edge access point 410.
实施上述系统,边缘接入点410可以只针对汇聚单元430的感兴趣地理位置信息划分群组,进一步地,边缘接入点410通过对群组中的物联网终端设备440划分身份类型,通过主汇聚设备4401或者次汇聚设备4402统一汇聚群组中物联网终端设备440的数据并上报,实现集中上报且所有物联网终端设备440的数据均可上报,具体地,在主汇聚设备4401没有发生故障时,集中由主汇聚设备4401汇聚并上报数据,在主汇聚设备4401发生故障时,集中由次汇聚设备4402汇聚并上报数据,克服同一地理位置或者相邻地理位置的多个物联网终端设备440因竞争导致上传数据失败的缺陷,提高整个物联网数据传输的可靠性。进一步地,可以设置群组上报数据的时间,可以每个群组上报数据的时间各不相同,以错开上报数据的时间,提高数据传输的成功率。Implementing the above system, the edge access point 410 may divide the group only for the geographic location information of interest of the aggregation unit 430. Further, the edge access point 410 divides the identity type by the Internet of Things terminal device 440 in the group, through the main The aggregation device 4401 or the secondary aggregation device 4402 uniformly aggregates the data of the IoT terminal device 440 in the group and reports the data, and the data of all the Internet of Things terminal devices 440 can be reported, and specifically, the main aggregation device 4401 fails. At the same time, the main aggregation device 4401 aggregates and reports data. When the primary aggregation device 4401 fails, the secondary aggregation device 4402 concentrates and reports data to overcome multiple IoT terminal devices 440 in the same geographical location or adjacent geographic location. The defect of uploading data failure due to competition improves the reliability of the entire IoT data transmission. Further, the time for reporting data by the group may be set, and the time for reporting data by each group may be different, so that the time for reporting the data is staggered, and the success rate of data transmission is improved.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(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 data reporting based on the geographic location in the Internet of Things disclosed in the embodiment of the present invention are described in detail. The principles and implementations of the present invention are described in the following. It is only used to help understand the method of the present invention and its core ideas; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scopes. The contents of this specification are not to be construed as limiting the invention.

Claims (10)

  1. 一种物联网中基于地理位置的数据上报控制方法,其特征在于,包括:A geographical location-based data reporting control method in an Internet of Things, characterized in that it comprises:
    边缘接入点接收过滤网关转发的由汇聚单元下发的控制信息,所述控制信息包括群组成员的身份类型和所述汇聚单元的感兴趣地理位置信息,所述身份类型包括主汇聚设备、次汇聚设备和成员设备;The edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, where the control information includes the identity type of the group member and the geographic location information of the aggregation unit, where the identity type includes the primary aggregation device, Secondary aggregation devices and member devices;
    所述边缘接入点将地理位置匹配所述感兴趣地理位置信息的物联网终端设备划分成若干群组;其中,每一个所述群组包括地理位置匹配所述感兴趣地理位置信息的多个物联网终端设备;The edge access point divides the Internet of Things terminal device that geographically matches the geographic location information of interest into a plurality of groups; wherein each of the groups includes multiple locations in which the geographic location matches the geographic location information of interest Internet of Things terminal equipment;
    所述边缘接入点将每一个所述群组中的所述多个物联网终端设备中的一个物联网终端设备配置为主汇聚设备,将所述多个物联网终端设备中除去所述主汇聚设备的一个物联网终端设备配置为次汇聚设备,将所述多个物联网终端设备中除去所述主汇聚设备与所述次汇聚设备的剩余物联网终端设备配置为成员设备;The edge access point configures one of the plurality of Internet of Things terminal devices in each of the groups as a main aggregation device, and removes the main device from the plurality of Internet of Things terminal devices An IoT terminal device of the aggregation device is configured as a secondary aggregation device, and the remaining IoT terminal devices of the plurality of IoT terminal devices except the primary aggregation device and the secondary aggregation device are configured as member devices;
    在所述主汇聚设备未发生故障时,所述主汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,将所述第一数据元上报给所述边缘接入点,以使所述边缘接入点通过所述过滤网关将所述第一数据元上报给所述汇聚单元;When the primary aggregation device does not fail, the primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element, and reports the first data element to the An edge access point, so that the edge access point reports the first data element to the convergence unit by using the filtering gateway;
    在所述主汇聚设备发生故障时,所述次汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,将所述第二数据元上报给所述边缘接入点,以使所述边缘接入点通过所述过滤网关将所述第二数据元上报给所述汇聚单元。When the primary aggregation device fails, the secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain a second data element, and reports the second data element to the edge. An access point, so that the edge access point reports the second data element to the aggregation unit by using the filtering gateway.
  2. 根据权利要求1所述的方法,其特征在于,所述边缘接入点接收过滤网关转发的由汇聚单元下发的控制信息,包括:The method according to claim 1, wherein the edge access point receives the control information that is sent by the aggregation unit and is sent by the aggregation unit, and includes:
    所述边缘接入点调用第一网络接口,通过所述第一网络接口接收过滤网关转发的由汇聚单元下发的控制信息;The edge access point invokes a first network interface, and receives, by using the first network interface, control information that is sent by the aggregation unit and forwarded by the aggregation unit;
    所述主汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,将所述第一数据元上报给所述边缘接入点,包括:The primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element, and reports the first data element to the edge access point, including:
    所述主汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,通过所述边缘接入点的第二网络接口将所述第一数据元上报给所述边缘接入点;The primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element, and reports the first data element to the second data interface through the second network interface of the edge access point. Edge access point
    所述次汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,将所述第二数据元上报给所述边缘接入点,包括:The secondary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to be packaged to obtain a second data element, and reports the second data element to the edge access point, including:
    所述次汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,通过所述边缘接入点的第二网络接口将所述第二数据元上报给所述边缘接入点。The secondary aggregation device obtains its own data and data of other IoT terminal devices in the group to obtain a second data element, and reports the second data element to the second data interface through the second network interface of the edge access point. The edge access point.
  3. 根据权利要求1或2所述的方法,其特征在于,所述主汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元 之后,以及将所述第一数据元上报给所述边缘接入点之前,所述方法还包括:The method according to claim 1 or 2, wherein the primary aggregation device obtains its own data and data of other Internet of Things terminal devices in the group to obtain the first data element. And the method further includes: before reporting the first data element to the edge access point, the method further includes:
    所述主汇聚设备获取其当前系统时间;The primary aggregation device obtains its current system time;
    所述主汇聚设备判断获取的当前系统时间是否匹配预设的上报数据的时间;The time when the primary aggregation device determines whether the acquired current system time matches the preset reported data;
    所述主汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将所述第一数据元上报给所述边缘接入点的步骤。The step of reporting the first data element to the edge access point is performed by the primary aggregation device when determining that the current system time of the acquisition matches the time of the preset report data.
  4. 根据权利要求3所述的方法,其特征在于,所述主汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,以及将所述第一数据元上报给所述边缘接入点之前,所述方法还包括:The method according to claim 3, wherein the primary aggregation device reports the time when the acquired current system time matches the preset reported data, and reports the first data element to the edge access. Before the point, the method further includes:
    所述主汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,所述主汇聚设备向所述边缘接入点发送携带所述主汇聚设备的地理位置的即时天气查询请求,以使所述边缘接入点向云台天气服务器请求匹配所述主汇聚设备的地理位置的即时天气信息;When the primary aggregation device determines that the acquired current system time matches the preset reporting data, the primary aggregation device sends an immediate weather query request to the edge access point that carries the geographic location of the primary aggregation device. So that the edge access point requests the sky station weather server to match the real-time weather information of the geographic location of the primary aggregation device;
    所述主汇聚设备接收所述边缘接入点返回的所述即时天气信息;Receiving, by the primary convergence device, the instant weather information returned by the edge access point;
    所述主汇聚设备判断所述即时天气信息是否匹配预设的上报数据的天气信息;The primary aggregation device determines whether the real-time weather information matches weather information of a preset reported data;
    所述主汇聚设备在确定出所述即时天气信息匹配预设的上报数据的天气信息时,执行将所述第一数据元上报给所述边缘接入点的步骤。The step of reporting the first data element to the edge access point is performed by the primary aggregation device when determining that the real-time weather information matches the weather information of the preset report data.
  5. 根据权利要求1~4任一项所述的方法,其特征在于,所述次汇聚设备获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元之后,以及将所述第二数据元上报给所述边缘接入点之前,所述方法还包括:The method according to any one of claims 1 to 4, wherein the secondary aggregation device acquires its own data and data of other Internet of Things terminal devices in the group to obtain the second data element, and Before the second data element is reported to the edge access point, the method further includes:
    所述次汇聚设备获取其当前系统时间;The secondary aggregation device obtains its current system time;
    所述次汇聚设备判断获取的当前系统时间是否匹配预设的上报数据的时间;Determining, by the secondary aggregation device, whether the acquired current system time matches the preset reported data time;
    所述次汇聚设备在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将所述第二数据元上报给所述边缘接入点的步骤。The step of reporting, by the secondary aggregation device, the second data element to the edge access point is performed when determining that the acquired current system time matches the time of the preset report data.
  6. 一种物联网中基于地理位置的数据上报控制系统,其特征在于,包括:A geographic location-based data reporting control system in an Internet of Things, comprising:
    边缘接入点,用于接收过滤网关转发的由汇聚单元下发的控制信息,所述控制信息包括群组成员的身份类型和所述汇聚单元的感兴趣地理位置信息,所述身份类型包括主汇聚设备、次汇聚设备和成员设备;An edge access point, configured to receive, by the filtering gateway, control information sent by the aggregation unit, where the control information includes an identity type of the group member and geographic location information of the aggregation unit, where the identity type includes a primary Aggregation devices, secondary aggregation devices, and member devices;
    所述边缘接入点还用于将地理位置匹配所述感兴趣地理位置信息的物联网终端设备划分成若干群组;其中,每一个所述群组包括地理位置匹配所述感兴趣地理位置信息的多个物联网终端设备;The edge access point is further configured to divide the Internet of Things terminal device that is geographically matched to the geographic location information of interest into a plurality of groups; wherein each of the groups includes a geographic location that matches the geographic location information of interest Multiple IoT terminal devices;
    所述边缘接入点还用于将每一个所述群组中的所述多个物联网终端设备中的一个物联网终端设备配置为主汇聚设备,将所述多个物联网终端设备中 除去所述主汇聚设备的一个物联网终端设备配置为次汇聚设备,将所述多个物联网终端设备中除去所述主汇聚设备与所述次汇聚设备的剩余物联网终端设备配置为成员设备;The edge access point is further configured to configure one of the plurality of Internet of Things terminal devices in each of the groups as a primary aggregation device, where the plurality of Internet of Things terminal devices are Configuring an IoT terminal device of the primary aggregation device to be configured as a secondary aggregation device, and configuring the remaining IoT terminal devices of the plurality of Internet of Things terminal devices from the primary aggregation device and the secondary aggregation device as member devices ;
    在所述主汇聚设备未发生故障时,所述主汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,将所述第一数据元上报给所述边缘接入点,以使所述边缘接入点通过所述过滤网关将所述第一数据元上报给所述汇聚单元;When the primary aggregation device is not faulty, the primary aggregation device is configured to obtain data of the own data and other Internet of Things terminal devices in the group to obtain the first data element, and report the first data element to the primary data element. The edge access point, so that the edge access point reports the first data element to the convergence unit through the filtering gateway;
    在所述主汇聚设备发生故障时,所述次汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,将所述第二数据元上报给所述边缘接入点,以使所述边缘接入点通过所述过滤网关将所述第二数据元上报给所述汇聚单元。When the primary aggregation device is faulty, the secondary aggregation device is configured to obtain data of its own data and other Internet of Things terminal devices in the group to obtain a second data element, and report the second data element to the second data element. An edge access point is configured to enable the edge access point to report the second data element to the aggregation unit by using the filtering gateway.
  7. 根据权利要求6所述的系统,其特征在于,所述边缘接入点用于接收过滤网关转发的由汇聚单元下发的控制信息的方式具体为:The system according to claim 6, wherein the manner in which the edge access point is used to receive the control information sent by the aggregation unit forwarded by the aggregation gateway is specifically:
    所述边缘接入点用于调用第一网络接口,通过所述第一网络接口接收过滤网关转发的由汇聚单元下发的控制信息;The edge access point is configured to invoke a first network interface, and receive, by using the first network interface, control information that is sent by the aggregation unit and forwarded by the aggregation unit;
    所述主汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,将所述第一数据元上报给所述边缘接入点的方式具体为:The manner in which the primary aggregation device is configured to obtain the data of the other device and the other Internet of Things terminal devices in the group to obtain the first data element, and report the first data element to the edge access point is specifically:
    所述主汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元,通过所述边缘接入点的第二网络接口将所述第一数据元上报给所述边缘接入点;The primary aggregation device is configured to obtain data of the own data and other Internet of Things terminal devices in the group to obtain the first data element, and report the first data element by using the second network interface of the edge access point. Giving the edge access point;
    所述次汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,将所述第二数据元上报给所述边缘接入点的方式具体为:The manner in which the secondary aggregation device is configured to obtain the data of the other networked terminal devices in the group and the other data storage device in the group to obtain the second data element, and report the second data element to the edge access point is specifically:
    所述次汇聚设备用于获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元,通过所述边缘接入点的第二网络接口将所述第二数据元上报给所述边缘接入点。The secondary aggregation device is configured to obtain data of the own data and other Internet of Things terminal devices in the group to obtain the second data element, and report the second data element by using the second network interface of the edge access point. Give the edge access point.
  8. 根据权利要求6或7所述的系统,其特征在于,A system according to claim 6 or claim 7 wherein:
    所述主汇聚设备还用于在获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第一数据元之后,获取其当前系统时间;The primary aggregation device is further configured to obtain the current system time after acquiring the data of the own Internet device and the data of the other Internet of Things terminal device in the group to obtain the first data element;
    所述主汇聚设备还用于判断获取的当前系统时间是否匹配预设的上报数据的时间;The primary aggregation device is further configured to determine whether the acquired current system time matches the preset reported data time;
    所述主汇聚设备还用于在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将所述第一数据元上报给所述边缘接入点。The primary aggregation device is further configured to report the first data element to the edge access point when determining that the acquired current system time matches the preset reporting data.
  9. 根据权利要求8所述的系统,其特征在于,The system of claim 8 wherein:
    所述主汇聚设备还用于在确定获取的当前系统时间匹配预设的上报数据 的时间时,向所述边缘接入点发送携带所述主汇聚设备的地理位置的即时天气查询请求,以使所述边缘接入点向云台天气服务器请求匹配所述主汇聚设备的地理位置的即时天气信息;The primary aggregation device is further configured to match the preset report data in determining the current system time acquired. Transmitting, to the edge access point, an instant weather query request carrying the geographic location of the primary aggregation device, so that the edge access point requests the gimbal weather server to match the geographic location of the primary aggregation device Instant weather information;
    所述主汇聚设备还用于接收所述边缘接入点返回的所述即时天气信息;The primary aggregation device is further configured to receive the instant weather information returned by the edge access point;
    所述主汇聚设备还用于判断所述即时天气信息是否匹配预设的上报数据的天气信息;The primary aggregation device is further configured to determine whether the real-time weather information matches weather information of preset reported data;
    所述主汇聚设备还用于在确定出所述即时天气信息匹配预设的上报数据的天气信息时,执行将所述第一数据元上报给所述边缘接入点。The primary aggregation device is further configured to report the first data element to the edge access point when determining that the real-time weather information matches the weather information of the preset report data.
  10. 根据权利要求6~9任一项所述的系统,其特征在于,A system according to any one of claims 6 to 9, wherein
    所述次汇聚设备还用于在获取其自身数据以及所在群组中其它物联网终端设备的数据打包得到第二数据元之后,获取其当前系统时间;The secondary aggregation device is further configured to acquire the current system time after acquiring the data of the own Internet device and the data of the other Internet of Things terminal device in the group to obtain the second data element;
    所述次汇聚设备还用于判断获取的当前系统时间是否匹配预设的上报数据的时间;The secondary aggregation device is further configured to determine whether the acquired current system time matches the preset reported data time;
    所述次汇聚设备还用于在确定获取的当前系统时间匹配预设的上报数据的时间时,执行将所述第二数据元上报给所述边缘接入点。 The secondary aggregation device is further configured to report the second data element to the edge access point when determining that the acquired current system time matches the preset reporting data.
PCT/CN2017/100004 2017-06-21 2017-08-31 Internet of things geographic position-based data reporting control method and system WO2018233043A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710473220.XA CN107360215A (en) 2017-06-21 2017-06-21 Data method for controlling reporting and system based on geographical position in a kind of Internet of Things
CN201710473220.X 2017-06-21

Publications (1)

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

Family

ID=60272981

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100004 WO2018233043A1 (en) 2017-06-21 2017-08-31 Internet of things geographic position-based data reporting control method and system

Country Status (2)

Country Link
CN (1) CN107360215A (en)
WO (1) WO2018233043A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913493B (en) * 2018-09-18 2023-04-07 中国电信股份有限公司 Data reporting method and system, core network element and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765095A (en) * 2009-12-14 2010-06-30 浙江大学 Tracking method for wireless sensor network moving target based on mixed cluster
CN103067497A (en) * 2012-12-27 2013-04-24 北京时代凌宇科技有限公司 System of internet of things
CN105376766A (en) * 2014-08-11 2016-03-02 无锡市嘉邦电力管道厂 Internet-of-things data transmission method
CN106487577A (en) * 2015-09-02 2017-03-08 Ls 产电株式会社 Data processing equipment
CN106871333A (en) * 2017-01-05 2017-06-20 邯郸美的制冷设备有限公司 Method, the apparatus and system of a kind of scenery control air-conditioning in virtual world

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594911B (en) * 2012-03-15 2015-07-08 招商局重庆交通科研设计院有限公司 Wireless-sensor-based Internet of things monitoring system and method for geological disaster
CN102932751A (en) * 2012-10-17 2013-02-13 中国联合网络通信集团有限公司 Internet of Things data transmission method and Internet of Things
US9438440B2 (en) * 2013-07-29 2016-09-06 Qualcomm Incorporated Proximity detection of internet of things (IoT) devices using sound chirps
CN104113593A (en) * 2014-07-02 2014-10-22 宁波摩米创新工场电子科技有限公司 Internet of Things information service method and system
WO2016154959A1 (en) * 2015-04-01 2016-10-06 深圳市大疆创新科技有限公司 Communication method, unmanned aerial vehicle and control device for unmanned aerial vehicle
CN106550468B (en) * 2016-11-07 2020-03-31 北京佰才邦技术有限公司 Data transmission method and base station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765095A (en) * 2009-12-14 2010-06-30 浙江大学 Tracking method for wireless sensor network moving target based on mixed cluster
CN103067497A (en) * 2012-12-27 2013-04-24 北京时代凌宇科技有限公司 System of internet of things
CN105376766A (en) * 2014-08-11 2016-03-02 无锡市嘉邦电力管道厂 Internet-of-things data transmission method
CN106487577A (en) * 2015-09-02 2017-03-08 Ls 产电株式会社 Data processing equipment
CN106871333A (en) * 2017-01-05 2017-06-20 邯郸美的制冷设备有限公司 Method, the apparatus and system of a kind of scenery control air-conditioning in virtual world

Also Published As

Publication number Publication date
CN107360215A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
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
CN107396416B (en) Communication control method and system based on data type
WO2018232976A1 (en) Terminal device operating status determination method and device
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
CN110856185B (en) Method and system for adjusting wireless signals of Internet of things
WO2018233048A1 (en) Method and system for controlling communication of internet of things terminal device
WO2018233018A1 (en) Terminal equipment priority based data reporting control method and system
WO2018233036A1 (en) Internet-of-things data reporting control method and device
WO2018233045A1 (en) Switch control method and system for internet of things communication mode
WO2018233034A1 (en) Method and system for controlling transmission of internet of things data
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
WO2018233016A1 (en) Edge routing node and reporting frequency adjusting method thereof
WO2018233049A1 (en) Internet-of-things data communication method and system
CN111130680B (en) Method and system for synchronizing time of access node and aggregation unit of Internet of things
WO2018233028A1 (en) Internet-of-things data reporting control method and system
WO2018233042A1 (en) Data reporting method and system based on geographical location and time
WO2018233050A1 (en) Method and system for detecting signal intensity of internet of things
WO2018232962A1 (en) Method and system for adjusting network coverage range of internet of things access node
WO2018233043A1 (en) Internet of things geographic position-based data reporting control method and system
WO2018233031A1 (en) Internet of things-based data transmission control method and system
WO2018233008A1 (en) Data processing method and system applied to internet of things
WO2018233021A1 (en) Method and system for controlling data encapsulation in internet of things

Legal Events

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

Ref document number: 17915169

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 18/05/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17915169

Country of ref document: EP

Kind code of ref document: A1