WO2018232966A1 - Edge forwarding node-based method and system for detection whether terminal device is offline - Google Patents

Edge forwarding node-based method and system for detection whether terminal device is offline Download PDF

Info

Publication number
WO2018232966A1
WO2018232966A1 PCT/CN2017/098502 CN2017098502W WO2018232966A1 WO 2018232966 A1 WO2018232966 A1 WO 2018232966A1 CN 2017098502 W CN2017098502 W CN 2017098502W WO 2018232966 A1 WO2018232966 A1 WO 2018232966A1
Authority
WO
WIPO (PCT)
Prior art keywords
offline
terminal
forwarding node
edge forwarding
data packet
Prior art date
Application number
PCT/CN2017/098502
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
Priority to CN201710463180.0A priority Critical patent/CN107197029A/en
Priority to CN201710463180.0 priority
Application filed by 深圳市盛路物联通讯技术有限公司 filed Critical 深圳市盛路物联通讯技术有限公司
Publication of WO2018232966A1 publication Critical patent/WO2018232966A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing packet switching networks
    • H04L43/10Arrangements for monitoring or testing packet switching networks using active monitoring, e.g. heartbeat protocols, polling, ping, trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/12Network-specific arrangements or communication protocols supporting networked applications adapted for proprietary or special purpose networking environments, e.g. medical networks, sensor networks, networks in a car or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/18Network-specific arrangements or communication protocols supporting networked applications in which the network application is adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/24Presence management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/28Network-specific arrangements or communication protocols supporting networked applications for the provision of proxy services, e.g. intermediate processing or storage in the network
    • H04L67/2823Network-specific arrangements or communication protocols supporting networked applications for the provision of proxy services, e.g. intermediate processing or storage in the network for conversion or adaptation of application content or format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • H04W4/185Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals by embedding added-value information into content, e.g. geo-tagging

Abstract

An embodiment of the present invention relates to the technical field of the Internet of Things, and discloses an edge forwarding node-based method and system for detecting whether a terminal device is offline, the method comprising: an edge forwarding node monitoring terminal devices in a specified area during a preset time period so as to obtain an offline quantity of offline terminal devices in the specified area; the edge forwarding node determining whether the offline quantity reaches a preset reporting number; if the offline quantity reaches the preset reporting number, the edge forwarding node obtaining device identifiers or Internet Protocol (IP) addresses of the offline terminal devices; the edge forwarding node encapsulating the device identifiers or the IP addresses into a data packet, and sending the data packet to an aggregation unit. The embodiment of the present invention may be used to accurately detect offline terminal devices in a specified area so as to ensure the number of terminal devices that are used for collecting data in the specified area, and ensure reliability of data information.

Description

Terminal device offline detection method and system based on edge forwarding node Technical field

The present invention relates to the field of Internet of Things technologies, and in particular, to a method and system for offline detection of a terminal device based on an edge forwarding node.

Background technique

The Internet of Things is a network that extends and expands on the Internet. It extends and extends network terminal equipment to any device for data exchange and communication. These terminal devices include “dumb devices” such as soil moisture sensors and street lamps. , sound sensor, etc. The terminal device accesses the Internet of Things through the forwarding node located in the Internet of Things, and uploads the data to the aggregation unit. The aggregation unit is configured to analyze and process the data stream generated by the infinite number of terminal devices, and can also obtain information by sending instructions. Or configure terminal device parameters.

The terminal devices in the Internet of Things must be able to operate independently and in a specific scenario. In a specific scenario, the number of online devices in the specified area must be ensured. The number of online devices is sufficient to report the data to the aggregation unit. To ensure that the information is “reliable”, the terminal device needs to be monitored in real time.

Summary of the invention

The embodiment of the invention discloses an offline detection method and system for a terminal device based on an edge forwarding node, which is used for accurately detecting an offline terminal device in a specified area, to ensure the number of terminal devices used for collecting information in a specified area, and to ensure data. The reliability of the information.

The first aspect of the present invention discloses a method for offline detection of a terminal device based on an edge forwarding node, which may include:

The edge forwarding node listens to the terminal device in the specified area within a preset time period to obtain the offline quantity of the offline terminal device in the specified area;

The edge forwarding node determines whether the offline quantity reaches a preset number of reports;

If the number of offline reports reaches the preset number of reports, the edge forwarding node acquires a device identifier or an Internet Protocol Address (IP) of the offline terminal device;

The edge forwarding node encapsulates the device identifier or IP address into a data packet, and the number is The packet is sent to the aggregation unit.

As an optional implementation manner, in the first aspect of the present invention, the edge forwarding node listens to a terminal device in a specified area within a preset time period to obtain an offline terminal device in the specified area. The number of offline, including:

The edge forwarding node monitors a heartbeat data packet sent by the terminal device in the specified area within a preset time period, and identifies, within the preset time period, the designated area according to the monitored heartbeat data packet. The offline terminal device that does not send the heartbeat data packet obtains the offline number of the offline terminal device in the designated area.

As an optional implementation manner, in the first aspect of the present invention, the edge forwarding node listens to a terminal device in a specified area within a preset time period to obtain an offline terminal device in the specified area. After the offline number, and the edge forwarding node determines whether the offline quantity reaches a preset number of reports, the method further includes:

Determining, by the edge forwarding node, that the offline terminal device belongs to the activated terminal in the designated area indicated by the information statistics table, according to an information statistics table of all terminal devices in the specified area delivered by the aggregation unit. a device; wherein the information statistics table includes a device identifier or an IP address of the terminal device in the designated area;

If the offline terminal device belongs to the terminal device in the specified area indicated by the information statistics table, the edge forwarding node performs a step of determining whether the offline quantity reaches a preset reporting quantity.

As an optional implementation manner, in the first aspect of the present invention, the edge forwarding node listens to a terminal device in a specified area within a preset time period to obtain an offline terminal device in the specified area. The number of offline, including:

Determining, by the edge forwarding node, all the activated terminal devices in the specified area according to the information statistics table of all the terminal devices in the specified area delivered by the aggregation unit; wherein the information statistics table is included in the designated area Device identification or IP address of the terminal device;

The edge forwarding node monitors a heartbeat data packet sent by the activated terminal device in the specified area within a preset time period, and identifies, according to the monitored heartbeat data packet, the preset in the specified area Setting an offline terminal device that does not send the heartbeat data packet within a time period to obtain an offline number of the offline terminal device.

As an optional implementation manner, in the first aspect of the present invention, the edge forwarding node The device identifier or the IP address is encapsulated into a data packet, and the data packet is sent to the aggregation unit, including:

The edge forwarding node acquires the offline duration of the offline terminal device, encapsulates the offline duration, the device identifier, or the IP address into a data packet, and sends the data packet to the convergence unit.

After receiving the data packet, the aggregation unit acquires related information of the offline terminal device, where the related information includes a working environment in which the offline terminal device is located, and the offline terminal device is in the work The location, device type, device identification, and IP address in the environment;

The aggregation unit analyzes the cause of the offline terminal device being offline according to the related information, and issues an early warning.

The second aspect of the present invention discloses an offline detection system for a terminal device based on an edge forwarding node, which may include:

The terminal device is disposed in a specified area within the wireless coverage of the edge forwarding node, and receives the interception of the edge forwarding node within a preset time period;

An edge forwarding node, configured to listen to a terminal device in a specified area within a preset time period, to obtain an offline quantity of the offline terminal device in the specified area;

The edge forwarding node is further configured to: determine whether the offline quantity reaches a preset number of reports;

The edge forwarding node is further configured to: obtain the device identifier or the Internet Protocol IP address of the offline terminal device, when the number of offline reaches the preset number of reports;

The edge forwarding node is further configured to encapsulate the device identifier or an IP address into a data packet, and send the data packet to the convergence unit.

An aggregation unit, configured to receive the data packet sent by the edge forwarding node.

As an optional implementation manner, in the second aspect of the present invention, the edge forwarding node is configured to listen to a terminal device in a specified area within a preset time period to obtain offline in the specified area. The way to limit the number of offline devices is as follows:

The edge forwarding node is configured to monitor a heartbeat data packet sent by the terminal device in the specified area within a preset time period, and identify, according to the monitored heartbeat data packet, the preset in the specified area The offline terminal device of the heartbeat data packet is not sent within a time period to obtain the offline number of the offline terminal device in the designated area.

As an optional implementation manner, in the second aspect of the present invention, the edge forwarding node is further configured to: listen to a terminal device in a specified area within a preset time period to obtain the specified area After the offline number of offline terminal devices, and determining whether the offline quantity reaches a preset number of reports Pre-determining whether the offline terminal device belongs to the activated terminal device in the designated area indicated by the information statistics table, according to the information statistics table of all terminal devices in the specified area delivered by the aggregation unit; The information statistics table includes a device identifier or an IP address of the terminal device in the specified area; if the offline terminal device belongs to the terminal device in the designated area indicated by the information statistics table, determining the Whether the number of offline reaches the preset number of reports.

As an optional implementation manner, in the second aspect of the present invention, the edge forwarding node is configured to listen to a terminal device in a specified area within a preset time period to obtain offline in the specified area. The way to limit the number of offline devices is as follows:

The edge forwarding node is configured to determine, according to an information statistics table of all terminal devices in a specified area delivered by the aggregation unit, all activated terminal devices in the specified area; wherein the information statistics table is included in the Specifying a device identifier or an IP address of the terminal device in the specified area; monitoring a heartbeat data packet sent by the activated terminal device in the specified area within a preset time period, and identifying the heartbeat data packet according to the monitored heartbeat data packet An offline terminal device in the designated area that does not send the heartbeat data packet within the preset time period to obtain an offline number of the offline terminal device.

As an optional implementation manner, in the second aspect of the present invention, the edge forwarding node is further configured to encapsulate the device identifier or an IP address into a data packet, and send the data packet to the aggregation unit. The specific way is:

The edge forwarding node is further configured to obtain an offline duration of the offline terminal device, encapsulate the offline duration, a device identifier, or an IP address into a data packet, and send the data packet to the convergence unit.

After receiving the data packet sent by the edge forwarding node, the aggregation unit acquires related information of the offline terminal device, where the related information includes a working environment in which the offline terminal device is located, and the A location, a device type, a device identifier, and an IP address of the offline terminal device in the working environment; and analyzing the cause of the offline terminal device being offline according to the related information, and issuing an early warning.

Compared with the prior art, the embodiment of the invention has the following beneficial effects:

In the embodiment of the present invention, the edge forwarding node listens to the terminal device in the specified area within a preset time period to obtain the offline quantity of the offline terminal device in the specified area, and determines that the offline quantity reaches the preset number of reports. The device identifier or IP address of the offline terminal device is obtained, and then the device identifier or the IP address is encapsulated into a data packet, and then sent to the aggregation unit. It can be seen that, by implementing the embodiment of the present invention, the offline quantity of the offline terminal device in the designated area can be detected in time and effectively to ensure the designated area. The number of terminal devices used to collect information in the domain improves the reliability of data information.

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 is a schematic diagram of an Internet of Things architecture disclosed by some embodiments of the present invention;

FIG. 2 is a schematic flowchart of a method for offline detection of a terminal device based on an edge forwarding node according to an embodiment of the present disclosure;

FIG. 3 is a schematic diagram of interaction of an offline detection method of a terminal device based on an edge forwarding node according to an embodiment of the present disclosure;

FIG. 4 is a schematic structural diagram of an offline detection system of a terminal device based on an edge forwarding node 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 "comprising" and "having", and any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or process comprising a series of steps or units. The apparatus is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not explicitly listed or inherent to such procedures, methods, products, or devices.

The embodiment of the invention discloses an offline detection method for a terminal device based on an edge forwarding node, which is used for accurately detecting an offline terminal device in a specified area to ensure the number of terminal devices used for collecting information and improve the reliability of data information. An embodiment of the present invention further discloses an offline detection system for a terminal device based on an edge forwarding node. The technical solution of the present invention will be described in detail below with reference to specific embodiments.

Before introducing the technical solution of the present invention by using specific embodiments, some embodiments of the present invention are disclosed. The IoT architecture diagram, as shown in the IoT architecture shown in FIG. 1, may include three layers of a terminal device layer, a forwarding node layer, and a convergence unit layer according to functions. The terminal device layer includes a mass terminal device located at the edge of the Internet of Things, such as a hygrometer, a smoke sensor, a ventilation device, a rain sensor, an irrigation valve, etc.; the forwarding node layer may include a plurality of forwarding nodes, and between the plurality of forwarding nodes It can be interconnected through a network (not shown in Figure 1). In the forwarding node layer, the forwarding node may be a variety of intermediate devices, such as a router and a relay, which are not limited in the embodiment of the present invention. Specifically, the forwarding node in the forwarding node layer that covers the terminal device through the wireless network and directly interacts with the terminal device is called an edge forwarding node; the aggregation unit layer may include an aggregation unit, where the aggregation unit is in the Internet of Things. The human-machine interface used as the Internet of Things in the architecture is used for high-level management of the entire Internet of Things through the forwarding node, including collecting data reported by a large number of terminal devices in a certain period of time, analyzing and determining the data, and then converting it into a user's need. Simple warning, abnormal or related report; the aggregation unit can also send information to obtain information or configure terminal device parameters (the data is transmitted to the terminal device at this time); the aggregation unit can also introduce various input services, from big data to social networks. Even from social tools "likes" to weather sharing. In addition, the forwarding node can use any standard networking protocol, and the forwarding node can implement data parsing between different network standards; in the IoT architecture shown in Figure 1, each forwarding node can be covered by its own wireless The mass terminal equipment in the range provides the Internet of Things data transceiving service, wherein each terminal device within the coverage of each forwarding node's own wireless can have a built-in wireless communication module, which enables each forwarding node to communicate with the wireless network. Each terminal device within its own wireless coverage communicates wirelessly. In the Internet of Things architecture shown in Figure 1, the wireless communication module built into the terminal device can input the upper frequency point 470MHz and the lower frequency point 510MHz during production, so that the wireless communication module can automatically define the communication frequency band as 470MHz ~ 510MHz, It complies with the provisions of China's SRRC standard; alternatively, it can input the upper frequency point of 868MHz and the lower frequency point of 908MHz, so that the wireless communication module can automatically define the communication frequency band as 868MHz to 908MHz to comply with the European ETSI standard; or, you can enter The frequency is 918MHz and the lower frequency is 928MHz, so the wireless communication module can automatically define the communication frequency band as 918MHz~928MHz to meet the requirements of the US FCC standard. Alternatively, the communication frequency band of the wireless communication module can also be defined as conforming to the Japanese ARIB standard or Canada. The specification of the IC standard is not limited in the embodiment of the present invention. In the Internet of Things architecture shown in FIG. 1, the terminal device can use Frequency Division Multiple Access (FDMA), Frequency-Hopping Spread Spectrum (FHSS), and Dynamic Time Division Multiple Access (Dynamic Time Division Multiple Access). , DTDMA), and backtracking multiplexing (CSMA) are combined to solve the interference problem.

Embodiment 1

Referring to FIG. 2, FIG. 2 is a schematic flowchart of a method for offline detection of a terminal device based on an edge forwarding node according to an embodiment of the present invention; and FIG. 2 is a schematic diagram of an offline detection method for a terminal device based on an edge forwarding node. The edge forwarding node of the Internet of Things architecture shown in FIG. 1 is described. In conjunction with FIG. 1, the offline detection method of the terminal device based on the edge forwarding node may include:

201. The edge forwarding node listens to the terminal device in the specified area within a preset time period to obtain an offline quantity of the offline terminal device in the specified area.

The terminal device mentioned in the embodiment of the present invention may include a sensor, a smoke detector, a hygrometer, a ventilation device, and the like, which are not specifically limited in the embodiment of the present invention.

The designated area mentioned in the embodiment of the present invention may include a certain vegetable shed in a certain farm, a certain garage, a certain highway bridge, and the like, which are not specifically limited in the embodiment of the present invention.

The reason why the terminal device in the designated area is in the offline state in the embodiment of the present invention includes a power failure, a device hardware failure, and the like. For example, in different locations of the highway bridge, there are hundreds of strain gauge sensors that can collect data and then report the data to the aggregation unit through the edge forwarding node to form the state of the highway bridge. monitor. Among them, strain gauge sensors distributed on highway bridges are usually powered by "solar energy". Under normal conditions, as the sun moves, the strain gauge sensor in the shadow area stops transmitting data, while other strain sensors that are illuminated by the sun transmit data; or the strain gauge sensor transmits data during the vehicle. After the data transmission is interrupted. Although not all terminal devices can transmit data at any time, it is ensured that at any time, a sufficient number of terminal devices are transmitting data to ensure the reliability of the data information. In an abnormal situation, the terminal device of a certain small area is covered by the shadow for a long time, thereby causing insufficient online terminal equipment in the designated area, which affects the reliability of the data information. In order to detect the situation, the embodiment of the present invention is implemented.

In the embodiment of the present invention, the preset time period may be set according to a specific situation. For example, in the above-mentioned highway bridge, since the strain gauge sensor uses "solar power" to supply power, the power supply condition may change in one day. You can set the preset time period to include multiple days with one day as a small period.

As an optional implementation manner, the edge forwarding node receives the information statistics table sent by the aggregation unit, where the information statistics table includes the device identifier or IP address of the terminal device in the specified area, and indicates the specified area. These terminal devices are all activated, that is, in a valid working state state. Determining, according to the information statistics table, all activated terminal devices in the specified area; the edge forwarding node monitoring the heartbeat data packets sent by the activated terminal device in the specified area within the preset time period; and the edge forwarding node according to the monitored heartbeat The data packet identifies an offline terminal device (which belongs to the activated terminal device in the designated area) in the specified area that has not sent the heartbeat data packet within a preset time period to obtain an offline number of the offline terminal device. With this embodiment, the determined offline terminal devices are terminal devices that are in an effective working state in the designated area.

202. The edge forwarding node determines whether the offline quantity reaches a preset reporting quantity.

If the offline quantity reaches the preset report quantity, the process goes to step 203; if the offline quantity does not reach the preset report quantity, the process ends.

203. The edge forwarding node acquires a device identifier or an IP address of the offline terminal device.

As an optional implementation manner, the obtaining, by the edge forwarding node, the device identifier or the IP address of the offline terminal device includes:

The edge forwarding node acquires the device identifier or IP address of the offline terminal device from the terminal device information table according to the determined offline terminal device.

204. The edge forwarding node encapsulates the device identifier or the IP address into a data packet, and sends the data packet to the aggregation unit.

As an optional implementation manner, the edge forwarding node further acquires the offline duration of the offline terminal device, encapsulates the offline duration, the device identifier, or the IP address into a data packet, and sends the data packet to the aggregation unit. After receiving the data packet, the aggregation unit acquires related information of the offline terminal device, where the related information includes a working environment where the offline terminal device is located, a location where the offline terminal device is located in the working environment, a device type, a device identifier, and IP address; based on the relevant information, analyze the cause of the offline terminal device being offline and issue an alert. With this embodiment, the edge forwarding node can be made aware of the offline duration of the offline terminal device offline to further analyze the cause of the offline operation of the terminal device.

In the embodiment of the present invention, the edge forwarding node listens to the terminal device in the specified area within a preset time period to obtain the offline quantity of the offline terminal device in the specified area, and determines that the offline quantity reaches the preset number of reports. The device identifier or IP address of the offline terminal device is obtained, and then the device identifier or the IP address is encapsulated into a data packet, and then sent to the aggregation unit. It can be seen that the implementation of the embodiment of the present invention can effectively detect the offline number of offline terminal devices in a specified area in time, to ensure the number of terminal devices used for collecting information in the specified area, and improve the reliability of the data information.

Embodiment 2

Referring to FIG. 3, FIG. 3 is a schematic diagram of interaction of an offline detection method of a terminal device based on an edge forwarding node according to an embodiment of the present disclosure; and FIG. 1 is a schematic diagram of an offline detection method for a terminal device based on an edge forwarding node, which may include :

301. The aggregation unit sends an information statistics table to the edge forwarding node.

The information statistics table includes the device identifier or the IP address of the terminal device in the specified area, and indicates that the terminal devices in the designated area are all in an activated state, that is, in a valid working state.

302. The terminal device in the specified area sends a heartbeat data packet to the edge forwarding node within a preset time period;

303. The edge forwarding node monitors a heartbeat data packet sent by the terminal device in the specified area within a preset time period.

304. The edge forwarding node identifies, according to the monitored heartbeat data packet, an offline terminal device that does not send a heartbeat data packet within a preset time period in the specified area, to obtain an offline number of offline terminal devices in the specified area.

305. The edge forwarding node determines whether the offline terminal device belongs to the activated terminal device in the specified area indicated by the information statistics table, and determines whether the offline quantity is when the offline terminal device belongs to the terminal device in the designated area indicated by the information statistics table. The preset number of reports is reached, and when the preset number of reports is reached, the device identifier or the IP address is encapsulated into a data packet;

306. The edge forwarding node sends the data packet to the convergence unit.

As an optional implementation manner, before the edge forwarding node sends the data packet to the aggregation unit, the edge forwarding node determines whether the workload of the aggregation unit exceeds a threshold, and if the threshold is not exceeded (equal to or less than the threshold), the data packet is sent to The aggregation unit; if the threshold is exceeded, the data packet is sent to the aggregation unit when the workload of the aggregation unit is lower than the threshold.

Further, before the edge forwarding node sends the data packet to the aggregation unit, the edge forwarding node receives the load indication sent by the aggregation unit, and the edge forwarding node waits for the working of the aggregation unit when determining that the workload indication indicates that the workload of the aggregation unit exceeds the threshold. When the load is lower than the threshold, the data packet is sent to the aggregation unit; the edge forwarding node sends the data packet to the aggregation unit when determining that the load indication indicates that the workload of the aggregation unit does not exceed the threshold (equal to or less than the threshold).

Further, the receiving, by the edge forwarding node, the load indication sent by the aggregation unit comprises: receiving, by the edge forwarding node, a load indication of the aggregation unit forwarded by the filtering gateway. In this embodiment, the convergence unit layer is further Including the filtering gateway, the filtering gateway monitors the workload of the aggregation unit in real time, and then feeds back to the edge forwarding node, which can effectively control the workload of the aggregation unit, and avoid data loss or collapse of the aggregation unit system due to excessive workload of the aggregation unit.

307. The aggregation unit acquires related information of the offline terminal device, where the related information includes a working environment where the offline terminal device is located, a location where the offline terminal device is located in the working environment, a device type, a device identifier, and an IP address.

308. The aggregation unit analyzes the cause of the offline terminal device being offline according to the related information, and issues an early warning.

In this embodiment, the aggregation unit sends an information statistics table to the edge forwarding node, and the terminal device in the specified area sends a heartbeat data packet to the edge forwarding node within a preset time period, and the edge forwarding node monitors the specified time period. The heartbeat data packet sent by the terminal device in the area identifies the offline terminal device in the specified area that has not sent the heartbeat data packet within the preset time period according to the monitored heartbeat data packet, to obtain the offline terminal device in the designated area. The number of offline reports, when the edge forwarding node determines that the offline terminal device belongs to the activated terminal device in the specified area indicated by the information statistics table, the edge forwarding node further determines whether the offline quantity reaches the preset reporting quantity, and reaches the preset reporting quantity. The device identifier or the IP address is encapsulated into a data packet, and then the data packet is sent to the aggregation unit. The aggregation unit obtains information about the offline terminal, analyzes the cause of the offline terminal device being offline, and performs an early warning. By implementing the embodiments of the present invention, the number of offline terminal devices in a specified area can be determined, and potential abnormalities or trends of the terminal devices can be analyzed to ensure the number of online terminal devices in the designated area, and the reliability of the data information is improved.

Embodiment 3

Referring to FIG. 4, FIG. 4 is a schematic structural diagram of an offline detection system for a terminal device based on an edge forwarding node according to an embodiment of the present invention; as shown in FIG. 4, an offline detection system for a terminal device based on an edge forwarding node may include:

The terminal device 410 is disposed in a designated area within the wireless coverage of the edge forwarding node 420, and receives the interception of the edge forwarding node 420 within a preset time period;

The edge forwarding node 420 is configured to listen to the terminal device 410 in the specified area within a preset time period to obtain an offline number of offline terminal devices in the specified area.

The edge forwarding node 420 is further configured to determine whether the offline quantity reaches a preset number of reports;

The edge forwarding node 420 is further configured to: obtain an offline reporting quantity when the number of offline reaches a preset reporting quantity. Equipment ID or Internet Protocol IP address;

The edge forwarding node 420 is further configured to encapsulate the device identifier or the IP address into a data packet, and send the data packet to the aggregation unit 430;

The aggregation unit 430 is configured to receive the data packet sent by the edge forwarding node 420.

As an optional implementation manner, the specific manner in which the edge forwarding node 420 obtains the device identifier or the IP address of the offline terminal device is:

The edge forwarding node 420 obtains the device identifier or IP address of the offline terminal device from the terminal device information table according to the determined offline terminal device.

As an optional implementation manner, the edge forwarding node 420 receives the information statistics table delivered by the aggregation unit 430, where the information statistics table includes the device identifier or IP address of the terminal device 410 in the designated area, and indicates the These terminal devices 410 in the designated area are all in an activated state, that is, in an active working state. According to the information statistics table, all activated terminal devices 410 in the specified area are determined; the edge forwarding node 420 monitors the heartbeat data packets sent by the activated terminal device in the specified area within a preset time period; and the edge forwarding node 420 monitors according to the monitoring The obtained heartbeat data packet identifies an offline terminal device (belonging to the activated terminal device 410 in the designated area) that has not transmitted the heartbeat data packet within the preset time zone in the specified area to obtain the offline number of the offline terminal device. With this embodiment, the determined offline terminal devices are all terminal devices 410 in a valid working state in the designated area.

As an optional implementation manner, the manner in which the edge forwarding node 420 is configured to listen to the terminal device 410 in the specified area within a preset time period to obtain the offline quantity of the offline terminal device in the specified area is specifically:

The edge forwarding node 420 is configured to monitor a heartbeat data packet sent by the terminal device 410 in the specified area within a preset time period, and identify, according to the monitored heartbeat data packet, that the heartbeat is not sent within the preset time period in the specified area. The offline terminal device of the packet to obtain the offline number of offline terminal devices in the specified area.

As an optional implementation manner, the edge forwarding node 420 is further configured to: after listening to the terminal device 410 in the specified area within a preset time period, to obtain the offline quantity of the offline terminal device in the specified area, and Before determining whether the number of offline reports reaches the preset number of reports, determining whether the offline terminal device belongs to the activated terminal device in the designated area indicated by the information statistics table according to the information statistics table of all terminal devices in the specified area delivered by the aggregation unit 430 410; wherein the information statistics table includes a device identifier or an IP address of the terminal device in the designated area; if the offline terminal device belongs to the information statistics table The terminal device 410 in the specified designated area determines whether the offline quantity reaches the preset reporting quantity.

As an optional implementation manner, the manner in which the edge forwarding node 420 is configured to listen to the terminal device 410 in the specified area within a preset time period to obtain the offline quantity of the offline terminal device in the specified area is specifically:

The edge forwarding node 420 is configured to determine, according to the information statistics table of all the terminal devices 410 in the specified area that is sent by the aggregation unit 430, all the activated terminal devices 410 in the specified area; wherein the information statistics table is included in the designated area. a device identifier or an IP address of the terminal device 410; monitoring a heartbeat data packet sent by the activated terminal device in the specified area within a preset time period, and identifying a preset time period in the specified area according to the monitored heartbeat data packet An offline terminal device that does not send a heartbeat packet to obtain an offline number of offline terminal devices. With this embodiment, it is ensured that the determined offline terminal device is the activated terminal device 410 within the designated area.

As an optional implementation manner, the edge forwarding node 420 is further configured to: encapsulate the device identifier or the IP address into a data packet, and send the data packet to the aggregation unit 430 by:

The edge forwarding node 420 is further configured to obtain an offline duration of the offline terminal device, encapsulate the offline duration, the device identifier, or the IP address into a data packet, and send the data packet to the convergence unit.

After receiving the data packet sent by the edge forwarding node 420, the aggregation unit 430 acquires related information of the offline terminal device, where the related information includes a working environment where the offline terminal device is located, a location where the offline terminal device is located in the working environment, Device type, device ID, and IP address; analyze the cause of the offline terminal device being offline and provide an alert based on the related information.

Through the foregoing implementation manner, the edge forwarding node 420 can be made aware of the offline duration of the offline terminal device offline to further analyze the cause of causing the terminal device to go offline.

Further, before the edge forwarding node 420 sends the data packet to the convergence unit 430, the edge forwarding node 420 determines whether the workload of the aggregation unit 430 exceeds a threshold. If the threshold is not exceeded (equal to or less than the threshold), the data packet is sent to the aggregation unit. 430. If the threshold is exceeded, the data packet is sent to the convergence unit 430 when the workload of the aggregation unit 430 is lower than the threshold.

Further, before the edge forwarding node 420 sends the data packet to the aggregation unit 430, the edge forwarding node 420 receives the load indication sent by the aggregation unit 430, and the edge forwarding node 420 determines that the workload indication exceeds the threshold of the convergence unit 430 when the load indication indicates that the workload exceeds the threshold. When the workload of the aggregation unit 430 is lower than the threshold, the data packet is sent to the aggregation unit 430; when the determination of the load indication indicates that the workload of the aggregation unit 430 does not exceed the threshold (equal to or less than the threshold), Send the packet to the sink Aggregation unit 430.

Further, the receiving, by the edge forwarding node 420, the load indication sent by the aggregation unit 430 specifically includes: the edge forwarding node 420 receiving the load indication of the aggregation unit 430 forwarded by the filtering gateway. In this embodiment, the aggregation unit layer further includes a filtering gateway, and the filtering gateway monitors the workload of the aggregation unit in real time, and then feeds back to the edge forwarding node 420, which can effectively control the workload of the aggregation unit 430 and avoid the workload of the aggregation unit 430. When it is too large, data is lost or the aggregation unit 430 system is crashed.

By implementing the system shown in FIG. 4, it is possible to determine the number of offline terminal devices in a designated area, and analyze potential abnormalities or trends of the terminal devices to ensure the number of terminal devices in the designated area and improve the reliability of data information.

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 offline detection of a terminal device based on an edge forwarding node disclosed in the embodiment of the present invention are described in detail. The principle and implementation manner of the present invention are described in the following examples. The description of the above embodiment is only The method for understanding the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The description should not be construed as limiting the invention.

Claims (10)

  1. An offline detection method for a terminal device based on an edge forwarding node, comprising:
    The edge forwarding node listens to the terminal device in the specified area within a preset time period to obtain the offline quantity of the offline terminal device in the specified area;
    The edge forwarding node determines whether the offline quantity reaches a preset number of reports;
    If the number of offline reports reaches the preset number of reports, the edge forwarding node acquires a device identifier or an internet protocol IP address of the offline terminal device;
    The edge forwarding node encapsulates the device identifier or IP address into a data packet, and sends the data packet to the aggregation unit.
  2. The method according to claim 1, wherein the edge forwarding node listens to the terminal device in the designated area within a preset time period to obtain the offline quantity of the offline terminal device in the designated area. include:
    The edge forwarding node monitors a heartbeat data packet sent by the terminal device in the specified area within a preset time period, and identifies, within the preset time period, the designated area according to the monitored heartbeat data packet. The offline terminal device that does not send the heartbeat data packet obtains the offline number of the offline terminal device in the designated area.
  3. The method according to claim 1 or 2, wherein the edge forwarding node listens to the terminal device in the designated area within a preset time period to obtain offline of the offline terminal device in the designated area. After the quantity, and the edge forwarding node determines whether the offline quantity reaches a preset number of reports, the method further includes:
    Determining, by the edge forwarding node, that the offline terminal device belongs to the activated terminal in the designated area indicated by the information statistics table, according to an information statistics table of all terminal devices in the specified area delivered by the aggregation unit. a device; wherein the information statistics table includes a device identifier or an IP address of the terminal device in the designated area;
    If the offline terminal device belongs to the terminal device in the specified area indicated by the information statistics table, the edge forwarding node performs a step of determining whether the offline quantity reaches a preset reporting quantity.
  4. The method according to claim 1, wherein the edge forwarding node listens to the terminal device in the designated area within a preset time period to obtain the offline quantity of the offline terminal device in the designated area. Includes:
    Determining, by the edge forwarding node, all the activated terminal devices in the specified area according to the information statistics table of all the terminal devices in the specified area delivered by the aggregation unit; wherein the information statistics table is included in the designated area Device identification or IP address of the terminal device;
    The edge forwarding node monitors a heartbeat data packet sent by the activated terminal device in the specified area within a preset time period, and identifies, according to the monitored heartbeat data packet, the preset in the specified area Setting an offline terminal device that does not send the heartbeat data packet within a time period to obtain an offline number of the offline terminal device.
  5. The method according to claim 1, wherein the edge forwarding node encapsulates the device identifier or the IP address into a data packet, and sends the data packet to the aggregation unit, including:
    The edge forwarding node acquires the offline duration of the offline terminal device, encapsulates the offline duration, the device identifier, or the IP address into a data packet, and sends the data packet to the convergence unit.
    After receiving the data packet, the aggregation unit acquires related information of the offline terminal device, where the related information includes a working environment in which the offline terminal device is located, and the offline terminal device is in the work The location, device type, device identification, and IP address in the environment;
    The aggregation unit analyzes the cause of the offline terminal device being offline according to the related information, and issues an early warning.
  6. An off-line detection system for a terminal device based on an edge forwarding node, comprising:
    The terminal device is disposed in a specified area within the wireless coverage of the edge forwarding node, and receives the interception of the edge forwarding node within a preset time period;
    An edge forwarding node, configured to listen to a terminal device in a specified area within a preset time period, to obtain an offline quantity of the offline terminal device in the specified area;
    The edge forwarding node is further configured to: determine whether the offline quantity reaches a preset number of reports;
    The edge forwarding node is further configured to: obtain the device identifier or the Internet Protocol IP address of the offline terminal device, when the number of offline reaches the preset number of reports;
    The edge forwarding node is further configured to encapsulate the device identifier or an IP address into a data packet, and send the data packet to the convergence unit.
    An aggregation unit, configured to receive the data packet sent by the edge forwarding node.
  7. The system according to claim 6, wherein the edge forwarding node is configured to listen to a terminal device in a specified area within a preset time period to obtain offline of the offline terminal device in the specified area. The quantity is specifically as follows:
    The edge forwarding node is configured to monitor a heartbeat data packet sent by the terminal device in the specified area within a preset time period, and identify, according to the monitored heartbeat data packet, the preset in the specified area The offline terminal device of the heartbeat data packet is not sent within a time period to obtain the offline number of the offline terminal device in the designated area.
  8. A system according to claim 6 or claim 7 wherein:
    The edge forwarding node is further configured to: after listening to the terminal device in the specified area within a preset time period, to obtain an offline quantity of the offline terminal device in the specified area, and determining whether the offline quantity reaches Before the preset number of reports, according to the information statistics table of all the terminal devices in the specified area delivered by the aggregation unit, determining whether the offline terminal device belongs to the activated area in the designated area indicated by the information statistics table a terminal device; wherein the information statistics table includes a device identifier or an IP address of the terminal device in the designated area; if the offline terminal device belongs to the terminal device in the designated area indicated by the information statistics table And determining whether the offline quantity reaches a preset reporting quantity.
  9. The system according to claim 6, wherein the edge forwarding node is configured to listen to a terminal device in a specified area within a preset time period to obtain offline of the offline terminal device in the specified area. The quantity is specifically as follows:
    The edge forwarding node is configured to determine, according to an information statistics table of all terminal devices in a specified area delivered by the aggregation unit, all activated terminal devices in the specified area; wherein the information statistics table is included in the Specifying a device identifier or an IP address of the terminal device in the specified area; monitoring a heartbeat data packet sent by the activated terminal device in the specified area within a preset time period, and identifying the heartbeat data packet according to the monitored heartbeat data packet An offline terminal device in the designated area that does not send the heartbeat data packet within the preset time period to obtain an offline number of the offline terminal device.
  10. The method according to claim 6, wherein the edge forwarding node is further configured to encapsulate the device identifier or an IP address into a data packet, and send the data packet to the aggregation unit. :
    The edge forwarding node is further configured to obtain an offline duration of the offline terminal device, encapsulate the offline duration, a device identifier, or an IP address into a data packet, and send the data packet to the convergence unit.
    After receiving the data packet sent by the edge forwarding node, the aggregation unit acquires related information of the offline terminal device, where the related information includes a working environment in which the offline terminal device is located, and the The location, device type, device identification, and location of the offline terminal device in the working environment The IP address is analyzed according to the related information, and the reason for causing the offline terminal device to be offline is analyzed, and an early warning is issued.
PCT/CN2017/098502 2017-06-19 2017-08-22 Edge forwarding node-based method and system for detection whether terminal device is offline WO2018232966A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710463180.0A CN107197029A (en) 2017-06-19 2017-06-19 A kind of terminal device off-line checking method and system based on edge forwarding node
CN201710463180.0 2017-06-19

Publications (1)

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

Family

ID=59879708

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098502 WO2018232966A1 (en) 2017-06-19 2017-08-22 Edge forwarding node-based method and system for detection whether terminal device is offline

Country Status (2)

Country Link
CN (1) CN107197029A (en)
WO (1) WO2018232966A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474494A (en) * 2018-12-05 2019-03-15 深圳绿米联创科技有限公司 Equipment detection method, device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136799A (en) * 2007-09-20 2008-03-05 中兴通讯股份有限公司 Method for implementing communication appliance fault centralized alarm treatment
CN102413611A (en) * 2011-11-22 2012-04-11 成都智汇科技有限公司 Street lamp energy-saving and managing system based on internet of things
CN103345214A (en) * 2013-06-17 2013-10-09 四川长虹电器股份有限公司 Intelligent household electrical appliance linkage control method based on middleware
CN104157120A (en) * 2014-08-21 2014-11-19 南京拓诺传感网络科技有限公司 WSN information perception system and method for industrial equipment and environment monitor
CN104185966A (en) * 2013-01-08 2014-12-03 华为技术有限公司 Network alarm method and device
CN105629103A (en) * 2015-12-23 2016-06-01 广州市优普计算机有限公司 Online monitoring method based on transformer substation operation and maintenance network shutdown

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136799A (en) * 2007-09-20 2008-03-05 中兴通讯股份有限公司 Method for implementing communication appliance fault centralized alarm treatment
CN102413611A (en) * 2011-11-22 2012-04-11 成都智汇科技有限公司 Street lamp energy-saving and managing system based on internet of things
CN104185966A (en) * 2013-01-08 2014-12-03 华为技术有限公司 Network alarm method and device
CN103345214A (en) * 2013-06-17 2013-10-09 四川长虹电器股份有限公司 Intelligent household electrical appliance linkage control method based on middleware
CN104157120A (en) * 2014-08-21 2014-11-19 南京拓诺传感网络科技有限公司 WSN information perception system and method for industrial equipment and environment monitor
CN105629103A (en) * 2015-12-23 2016-06-01 广州市优普计算机有限公司 Online monitoring method based on transformer substation operation and maintenance network shutdown

Also Published As

Publication number Publication date
CN107197029A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
Neumann et al. Indoor deployment of low-power wide area networks (LPWAN): A LoRaWAN case study
US10379873B2 (en) Distributed processing system
CN104581087B (en) A kind of power transmission line intelligent remote monitoring system based on Internet of Things
Sivanathan et al. Characterizing and classifying IoT traffic in smart cities and campuses
AU2012253078B2 (en) Data acquisition concentrator and data acquisition method
US20150288604A1 (en) Sensor Network Gateway
CN103457791B (en) A kind of intelligent substation network samples and the self-diagnosing method of control link
US20170019144A1 (en) Iot automation and data collection system
CN104243595B (en) A kind of power information acquisition system and its method based on IPv6
CN104242465B (en) A kind of transformer substation remote monitoring system based on B/S and method
US20160219348A1 (en) Method and Monitoring Centre for Supporting Supervision of Events
CN202261821U (en) Wireless sensor network system used for agricultural environment monitoring
KR101003104B1 (en) Apparatus for monitoring the security status in wireless network and method thereof
CN101908997B (en) Airport environment monitoring method based on wireless sensor network
CN102819249B (en) Linkage control system and control method for power tunnel
CN204065815U (en) A kind of control system based on 433 gateways
CN102484795B (en) Information sharing method in cognitive radio communication, cognitive radio communication device, and cognitive radio communication system
CN103068019B (en) A kind of method that WLAN is energy-conservation and device
CN107005331B (en) Interference detection
CN101158858B (en) Machinery room environmental monitoring system and method
CN102737468A (en) System and method for detecting fire hazard based on wireless multi-sensor information fusion
CN103517348B (en) A kind of data transmission method based on data priority and gateway
CN105305641B (en) A kind of relay protection information data acquisition and upper delivery method
CN101931982A (en) Network failure positioning method and device
CN103747061B (en) A kind of dynamic environment monitoring system and its operation method of supporting many networkings to access

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

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)