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 device
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
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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • 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

Definitions

  • 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.
  • 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.
  • 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.
  • the terminal device needs to be monitored in real time.
  • 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
  • the edge forwarding node acquires a device identifier or an Internet Protocol Address (IP) of the offline terminal device;
  • IP Internet Protocol Address
  • 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.
  • 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.
  • 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:
  • the edge forwarding node performs a step of determining whether the offline quantity reaches a preset reporting quantity.
  • 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 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.
  • 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.
  • the aggregation unit After receiving the data packet, 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the aggregation 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.
  • the embodiment of the invention has the following beneficial effects:
  • 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.
  • FIG. 1 is a schematic diagram of an Internet of Things architecture disclosed by some embodiments of the present invention.
  • FIG. 2 is a schematic flowchart of a method for 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.
  • 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.
  • the IoT architecture diagram 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).
  • the forwarding node may be a variety of intermediate devices, such as a router and a relay, which are not limited in the embodiment of the present invention.
  • the 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.
  • 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.
  • 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.
  • the wireless communication module built into the terminal device can input the upper frequency point 470MHz and the lower frequency point 510MHz during production, so that the wireless communication module can automatically define the communication frequency band as 470MHz ⁇ 510MHz, It complies with the provisions of China's SRRC standard; alternatively, it can input the upper frequency point of 868MHz and the lower frequency point of 908MHz, so that the wireless communication module can automatically define the communication frequency band as 868MHz to 908MHz to comply with the European ETSI standard; or, you can enter The frequency is 918MHz and the lower frequency is 928MHz, so the wireless communication module can automatically define the communication frequency band as 918MHz ⁇ 928MHz to meet the requirements of the US FCC standard.
  • the communication frequency band of the wireless communication module can also be defined as conforming to the Japanese ARIB standard or Canada.
  • the specification of the IC standard is not limited in the embodiment of the present invention.
  • the terminal device can use Frequency Division Multiple Access (FDMA), Frequency-Hopping Spread Spectrum (FHSS), and Dynamic Time Division Multiple Access (Dynamic Time Division Multiple Access). , DTDMA), and backtracking multiplexing (CSMA) are combined to solve the interference problem.
  • FDMA Frequency Division Multiple Access
  • FHSS Frequency-Hopping Spread Spectrum
  • CSMA Dynamic Time Division Multiple Access
  • FIG. 2 is a schematic flowchart of a method for offline detection of a terminal device based on an edge forwarding node according to an embodiment of the present invention
  • 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.
  • the offline detection method of the terminal device based on the edge forwarding node may include:
  • 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.
  • 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.
  • 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.
  • 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.
  • the embodiment of the present invention is implemented.
  • 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.
  • 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.
  • 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.
  • the determined offline terminal devices are terminal devices that are in an effective working state in the designated area.
  • the edge forwarding node determines whether the offline quantity reaches a preset reporting quantity.
  • step 203 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.
  • the edge forwarding node acquires a device identifier or an IP address of the offline terminal device.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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. 1 is a schematic diagram of an offline detection method for a terminal device based on an edge forwarding node, which may include :
  • 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.
  • the terminal device in the specified area sends a heartbeat data packet to the edge forwarding node within a preset time period
  • the edge forwarding node monitors a heartbeat data packet sent by the terminal device in the specified area within a preset time period.
  • 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.
  • 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;
  • the edge forwarding node sends the data packet to the convergence 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.
  • 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.
  • 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).
  • 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.
  • 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.
  • 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.
  • the aggregation unit analyzes the cause of the offline terminal device being offline according to the related information, and issues an early warning.
  • 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.
  • 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
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the determined offline terminal devices are all terminal devices 410 in a valid working state in the designated area.
  • 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.
  • 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.
  • 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.
  • 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.
  • the aggregation unit 430 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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

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;
如果所述离线数量达到所述预设上报数量,所述边缘转发节点获取所述离线终端设备的设备标识或者互联网协议地址(Internet Protocol Address,简称IP);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;
所述边缘转发节点将所述设备标识或者IP地址封装成数据包,并将所述数 据包发送给汇聚单元。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:
所述边缘转发节点根据汇聚单元下发的所述指定区域内所有终端设备的信息统计表,确定所述离线终端设备是否属于所述信息统计表所指示的所述指定区域内的被激活的终端设备;其中,所述信息统计表包括在所述指定区域内的终端设备的设备标识或者IP地址;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:
所述边缘转发节点根据汇聚单元下发的指定区域内所有终端设备的信息统计表,确定出所述指定区域内所有被激活的终端设备;其中,所述信息统计表包括在所述指定区域内的终端设备的设备标识或者IP地址;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.
作为一种可选的实施方式,在本发明第一方面中,所述边缘转发节点将所述 设备标识或者IP地址封装成数据包,并将所述数据包发送给汇聚单元,包括: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:
所述边缘转发节点获取所述离线终端设备的离线时长,将所述离线时长、设备标识或者IP地址封装成数据包,并将所述数据包发送给所述汇聚单元;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.
所述汇聚单元在接收到所述数据包后,获取所述离线终端设备的相关信息,其中,所述相关信息包括所述离线终端设备所处的工作环境、所述离线终端设备在所述工作环境中所处的位置、设备类型、设备标识和IP地址;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;
所述边缘转发节点还用于,在所述离线数量达到所述预设上报数量,获取所述离线终端设备的设备标识或者互联网协议IP地址;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;
所述边缘转发节点还用于,将所述设备标识或者IP地址封装成数据包,并将所述数据包发送给所述汇聚单元;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.
作为一种可选的实施方式,在本发明第二方面中,所述边缘转发节点还用于,在预设时间段内对指定区域内的终端设备进行侦听以获得所述指定区域内的离线终端设备的离线数量之后,以及在判断所述离线数量是否达到预设上报数量之 前,根据汇聚单元下发的所述指定区域内所有终端设备的信息统计表,确定所述离线终端设备是否属于所述信息统计表所指示的所述指定区域内的被激活的终端设备;其中,所述信息统计表包括在所述指定区域内的终端设备的设备标识或者IP地址;如果所述离线终端设备属于所述信息统计表所指示的所述指定区域内的终端设备,判断所述离线数量是否达到预设上报数量。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:
所述边缘转发节点用于,根据汇聚单元下发的指定区域内所有终端设备的信息统计表,确定出所述指定区域内所有被激活的终端设备;其中,所述信息统计表包括在所述指定区域内的终端设备的设备标识或者IP地址;监测所述指定区域内的被激活终端设备在预设时间段内发送的心跳数据包,并根据监测到的所述心跳数据包识别出所述指定区域内的在所述预设时间段内未发送所述心跳数据包的离线终端设备,以获得所述离线终端设备的离线数量。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.
作为一种可选的实施方式,在本发明第二方面中,所述边缘转发节点还用于将所述设备标识或者IP地址封装成数据包,并将所述数据包发送给所述汇聚单元的方式具体为: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:
所述边缘转发节点还用于获取所述离线终端设备的离线时长,将所述离线时长、设备标识或者IP地址封装成数据包,并将所述数据包发送给所述汇聚单元;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.
所述汇聚单元在接收到所述边缘转发节点发送的所述数据包后,获取所述离线终端设备的相关信息,其中,所述相关信息包括所述离线终端设备所处的工作环境、所述离线终端设备在所述工作环境中所处的位置、设备类型、设备标识和IP地址;根据所述相关信息,分析造成所述离线终端设备处于离线的原因,并发出预警。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:
在本发明实施例中,边缘转发节点在预设时间段内对指定区域内的终端设备进行侦听,以获得指定区域内的离线终端设备的离线数量,在判断该离线数量达到预设上报数量时,获取离线终端设备的设备标识或者IP地址,之后,将设备标识或者IP地址封装成数据包,然后发送给汇聚单元。可以看出,实施本发明实施例,能够及时有效地检测指定区域内的离线终端设备的离线数量,以确保指定区 域内用于采集信息的终端设备的数量,提高数据信息的可靠性。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为本发明一些实施例公开的物联网架构示意图;1 is a schematic diagram of an Internet of Things architecture disclosed by some embodiments of the present invention;
图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 disclosure;
图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;
图4为本发明实施例公开的基于边缘转发节点的终端设备离线检测系统的结构示意图。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.
在通过具体实施例介绍本发明技术方案之前,先介绍本发明一些实施例公开 的物联网架构示意图,如图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 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
请参阅图2,图2为本发明实施例公开的基于边缘转发节点的终端设备离线检测方法的流程示意图;在图2所示的一种基于边缘转发节点的终端设备离线检测方法中,从图1所示的物联网架构的边缘转发节点的角度出发进行描述,结合图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、边缘转发节点在预设时间段内对指定区域内的终端设备进行侦听,以获得指定区域内的离线终端设备的离线数量;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.
作为一种可选的实施方式,边缘转发节点接收汇聚单元下发的信息统计表,其中,该信息统计表包括在指定区域内的终端设备的设备标识或者IP地址,且表示出该指定区域内的这些终端设备均处于被激活状态,即处于有效的工作状 态。根据该信息统计表,确定出指定区域内所有被激活的终端设备;边缘转发节点监测指定区域内的被激活终端设备在预设时间段内发送的心跳数据包;边缘转发节点根据监测到的心跳数据包识别出指定区域内的在预设时间段内未发送所述心跳数据包的离线终端设备(属于指定区域内被激活的终端设备),以获得离线终端设备的离线数量。通过该实施方式,确定出的离线终端设备均为指定区域内处于有效的工作状态的终端设备。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、边缘转发节点判断离线数量是否达到预设上报数量;202. The edge forwarding node determines whether the offline quantity reaches a preset reporting quantity.
如果离线数量达到预设上报数量,转向步骤203;如果离线数量未达到预设上报数量,结束流程。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、边缘转发节点获取离线终端设备的设备标识或者IP地址;203. The edge forwarding node acquires a device identifier or an IP address of the offline terminal device.
作为一种可选的实施方式,边缘转发节点获取离线终端设备的设备标识或者IP地址具体包括: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:
边缘转发节点根据确定出的离线终端设备,从终端设备信息表中获取离线终端设备的设备标识或者IP地址。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、边缘转发节点将设备标识或者IP地址封装成数据包,并将数据包发送给汇聚单元。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.
作为一种可选的实施方式,边缘转发节点还获取离线终端设备的离线时长,将离线时长、设备标识或者IP地址封装成数据包,并将该数据包发送给汇聚单元。聚单元在接收到数据包后,获取离线终端设备的相关信息,其中,该相关信息包括离线终端设备所处的工作环境、离线终端设备在工作环境中所处的位置、设备类型、设备标识和IP地址;根据相关信息,分析造成离线终端设备处于离线的原因,并发出预警。通过该实施方式,能够让边缘转发节点清楚离线终端设备离线的离线时长,以进一步分析造成终端设备离线的原因。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.
在本发明实施例中,边缘转发节点在预设时间段内对指定区域内的终端设备进行侦听,以获得指定区域内的离线终端设备的离线数量,在判断该离线数量达到预设上报数量时,获取离线终端设备的设备标识或者IP地址,之后,将设备标识或者IP地址封装成数据包,然后发送给汇聚单元。可以看出,实施本发明实施例,能够及时有效地检测指定区域内的离线终端设备的离线数量,以确保指定区域内用于采集信息的终端设备的数量,提高数据信息的可靠性。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
请参阅图3,图3为本发明实施例公开的基于边缘转发节点的终端设备离线检测方法的交互示意图;结合图1,图3所示的基于边缘转发节点的终端设备离线检测方法,可包括: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、汇聚单元向边缘转发节点下发信息统计表;301. The aggregation unit sends an information statistics table to the edge forwarding node.
其中,该信息统计表包括在指定区域内的终端设备的设备标识或者IP地址,且表示出该指定区域内的这些终端设备均处于被激活状态,即处于有效的工作状态。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、指定区域内的终端设备在预设时间段内向边缘转发节点发送心跳数据包;302. The terminal device in the specified area sends a heartbeat data packet to the edge forwarding node within a preset time period;
303、边缘转发节点在预设时间段内监测指定区域内的终端设备发送的心跳数据包;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、边缘转发节点根据监测到的心跳数据包识别出指定区域内的在预设时间段内未发送心跳数据包的离线终端设备,以获得指定区域内的离线终端设备的离线数量;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、边缘转发节点确定离线终端设备是否属于信息统计表所指示的指定区域内的被激活的终端设备,在离线终端设备属于信息统计表所指示的指定区域内的终端设备时,判断离线数量是否达到预设上报数量,并在达到预设上报数量时,将设备标识或者IP地址封装成数据包;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、边缘转发节点将数据包发送给汇聚单元;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、汇聚单元获取离线终端设备的相关信息,其中,相关信息包括离线终端设备所处的工作环境、离线终端设备在工作环境中所处的位置、设备类型、设备标识和IP地址;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、汇聚单元根据该相关信息,分析造成离线终端设备处于离线的原因,并发出预警。308. The aggregation unit analyzes the cause of the offline terminal device being offline according to the related information, and issues an early warning.
在该实施例中,汇聚单元先向边缘转发节点下发信息统计表,指定区域内的终端设备在预设时间段内向边缘转发节点发送心跳数据包,边缘转发节点在预设时间段内监测指定区域内的终端设备发送的心跳数据包,根据监测到的心跳数据包识别出指定区域内的在预设时间段内未发送心跳数据包的离线终端设备,以获得指定区域内的离线终端设备的离线数量,边缘转发节点在确定离线终端设备属于信息统计表所指示的指定区域内的被激活的终端设备时,边缘转发节点进一步判断离线数量是否达到预设上报数量,并在达到预设上报数量时,将设备标识或者IP地址封装成数据包,然后将数据包发送给汇聚单元,汇聚单元获取离线终端的相关信息,分析造成离线终端设备处于离线的原因,并进行预警。实施本发明实施例,能够确定出指定区域内的离线终端设备的数量,以及分析终端设备的潜在异常或者趋势,以确保指定区域内的在线终端设备的数量,提高数据信息的可靠性。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
请参阅图4,图4为本发明实施例公开的基于边缘转发节点的终端设备离线检测系统的结构示意图;如图4所示,一种基于边缘转发节点的终端设备离线检测系统可包括: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:
终端设备410,设置在边缘转发节点420无线覆盖范围内的指定区域内,接受边缘转发节点420在预设时间段内的侦听;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;
边缘转发节点420,用于在预设时间段内对指定区域内的终端设备410进行侦听,以获得指定区域内的离线终端设备的离线数量;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.
边缘转发节点420还用于,判断离线数量是否达到预设上报数量;The edge forwarding node 420 is further configured to determine whether the offline quantity reaches a preset number of reports;
边缘转发节点420还用于,在离线数量达到预设上报数量,获取离线终端设 备的设备标识或者互联网协议IP地址;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;
边缘转发节点420还用于,将设备标识或者IP地址封装成数据包,并将数据包发送给汇聚单元430;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;
汇聚单元430,用于接收边缘转发节点420发送的数据包。The aggregation unit 430 is configured to receive the data packet sent by the edge forwarding node 420.
作为一种可选的实施方式,边缘转发节点420获取离线终端设备的设备标识或者IP地址的具体方式为: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:
边缘转发节点420根据确定出的离线终端设备,从终端设备信息表中获取离线终端设备的设备标识或者IP地址。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.
作为一种可选的实施方式,边缘转发节点420接收汇聚单元430下发的信息统计表,其中,该信息统计表包括在指定区域内的终端设备410的设备标识或者IP地址,且表示出该指定区域内的这些终端设备410均处于被激活状态,即处于有效的工作状态。根据该信息统计表,确定出指定区域内所有被激活的终端设备410;边缘转发节点420监测指定区域内的被激活终端设备在预设时间段内发送的心跳数据包;边缘转发节点420根据监测到的心跳数据包识别出指定区域内的在预设时间段内未发送心跳数据包的离线终端设备(属于指定区域内被激活的终端设备410),以获得离线终端设备的离线数量。通过该实施方式,确定出来的离线终端设备均为指定区域内处于有效的工作状态的终端设备410。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.
作为一种可选的实施方式,边缘转发节点420用于在预设时间段内对指定区域内的终端设备410进行侦听,以获得指定区域内的离线终端设备的离线数量的方式具体为: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:
边缘转发节点420,用于在预设时间段内监测指定区域内的终端设备410发送的心跳数据包,并根据监测到的心跳数据包识别出指定区域内的在预设时间段内未发送心跳数据包的离线终端设备,以获得指定区域内的离线终端设备的离线数量。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.
作为一种可选的实施方式,边缘转发节点420还用于,在预设时间段内对指定区域内的终端设备410进行侦听以获得指定区域内的离线终端设备的离线数量之后,以及在判断离线数量是否达到预设上报数量之前,根据汇聚单元430下发的指定区域内所有终端设备的信息统计表,确定离线终端设备是否属于信息统计表所指示的指定区域内的被激活的终端设备410;其中,信息统计表包括在指定区域内的终端设备的设备标识或者IP地址;如果离线终端设备属于信息统计表 所指示的指定区域内的终端设备410,判断离线数量是否达到预设上报数量。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.
作为一种可选的实施方式,边缘转发节点420用于在预设时间段内对指定区域内的终端设备410进行侦听,以获得指定区域内的离线终端设备的离线数量的方式具体为: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:
边缘转发节点420用于,根据汇聚单元430下发的指定区域内所有终端设备410的信息统计表,确定出指定区域内所有被激活的终端设备410;其中,信息统计表包括在指定区域内的终端设备410的设备标识或者IP地址;监测指定区域内的被激活终端设备在预设时间段内发送的心跳数据包,并根据监测到的心跳数据包识别出指定区域内的在预设时间段内未发送心跳数据包的离线终端设备,以获得离线终端设备的离线数量。通过该实施方式,确保确定出的离线终端设备是指定区域内的被激活的终端设备410。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.
作为一种可选的实施方式,边缘转发节点420还用于将设备标识或者IP地址封装成数据包,并将数据包发送给汇聚单元430的方式具体为: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:
边缘转发节点420还用于获取离线终端设备的离线时长,将离线时长、设备标识或者IP地址封装成数据包,并将数据包发送给汇聚单元;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.
汇聚单元430在接收到边缘转发节点420发送的数据包后,获取离线终端设备的相关信息,其中,相关信息包括离线终端设备所处的工作环境、离线终端设备在工作环境中所处的位置、设备类型、设备标识和IP地址;根据相关信息,分析造成离线终端设备处于离线的原因,并发出预警。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.
通过上述实施方式,能够让边缘转发节点420清楚离线终端设备离线的离线时长,以进一步分析造成终端设备离线的原因。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.
进一步地,边缘转发节点420将数据包发送给汇聚单元430之前,边缘转发节点420判断汇聚单元430的工作负荷是否超过阈值,如果未超过阈值(等于或者小于阈值),将数据包发送给汇聚单元430;如果超过阈值,则等待汇聚单元430的工作负荷低于该阈值时,将数据包发送给汇聚单元430。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.
进一步地,边缘转发节点420将数据包发送给汇聚单元430之前,边缘转发节点420接收汇聚单元430发送的负荷指示,边缘转发节点420在确定负荷指示表明了汇聚单元430的工作负荷超过阈值时,则等待汇聚单元430的工作负荷低于该阈值时,将数据包发送给汇聚单元430;边缘转发节点420在确定负荷指示表明了汇聚单元430的工作负荷未超过阈值(等于或者小于阈值)时,将数据包发送给汇 聚单元430。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.
进一步地,边缘转发节点420接收汇聚单元430发送的负荷指示具体包括:边缘转发节点420接收过滤网关转发的汇聚单元430的负荷指示。在该实施方式中,汇聚单元层还包括过滤网关,过滤网关实时监控汇聚单元的工作负荷,然后反馈给边缘转发节点420,能够有效控制汇聚单元430的工作负荷,避免因汇聚单元430的工作负荷过大时造成数据丢失或者造成汇聚单元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.
实施图4所示的系统,能够确定出指定区域内的离线终端设备的数量,以及分析终端设备的潜在异常或者趋势,以确保指定区域内的终端设备的数量,提高数据信息的可靠性。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.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(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 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;
    如果所述离线数量达到所述预设上报数量,所述边缘转发节点获取所述离线终端设备的设备标识或者互联网协议IP地址;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;
    所述边缘转发节点将所述设备标识或者IP地址封装成数据包,并将所述数据包发送给汇聚单元。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. 根据权利要求1所述的方法,其特征在于,所述边缘转发节点在预设时间段内对指定区域内的终端设备进行侦听,以获得所述指定区域内的离线终端设备的离线数量,包括: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. 根据权利要求1或2所述的方法,其特征在于,所述边缘转发节点在预设时间段内对指定区域内的终端设备进行侦听,以获得所述指定区域内的离线终端设备的离线数量之后,以及所述边缘转发节点判断所述离线数量是否达到预设上报数量之前,所述方法还包括: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:
    所述边缘转发节点根据汇聚单元下发的所述指定区域内所有终端设备的信息统计表,确定所述离线终端设备是否属于所述信息统计表所指示的所述指定区域内的被激活的终端设备;其中,所述信息统计表包括在所述指定区域内的终端设备的设备标识或者IP地址;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. 根据权利要求1所述的方法,其特征在于,所述边缘转发节点在预设时间段内对指定区域内的终端设备进行侦听,以获得所述指定区域内的离线终端设备的离线数量,包括: 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:
    所述边缘转发节点根据汇聚单元下发的指定区域内所有终端设备的信息统计表,确定出所述指定区域内所有被激活的终端设备;其中,所述信息统计表包括在所述指定区域内的终端设备的设备标识或者IP地址;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. 根据权利要求1所述的方法,其特征在于,所述边缘转发节点将所述设备标识或者IP地址封装成数据包,并将所述数据包发送给汇聚单元,包括: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:
    所述边缘转发节点获取所述离线终端设备的离线时长,将所述离线时长、设备标识或者IP地址封装成数据包,并将所述数据包发送给所述汇聚单元;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.
    所述汇聚单元在接收到所述数据包后,获取所述离线终端设备的相关信息,其中,所述相关信息包括所述离线终端设备所处的工作环境、所述离线终端设备在所述工作环境中所处的位置、设备类型、设备标识和IP地址;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;
    所述边缘转发节点还用于,在所述离线数量达到所述预设上报数量,获取所述离线终端设备的设备标识或者互联网协议IP地址;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;
    所述边缘转发节点还用于,将所述设备标识或者IP地址封装成数据包,并将所述数据包发送给所述汇聚单元;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. 根据权利要求6所述的系统,其特征在于,所述边缘转发节点用于在预设时间段内对指定区域内的终端设备进行侦听,以获得所述指定区域内的离线终端设备的离线数量的方式具体为: 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. 根据权利要求6或7所述的系统,其特征在于,A system according to claim 6 or claim 7 wherein:
    所述边缘转发节点还用于,在预设时间段内对指定区域内的终端设备进行侦听以获得所述指定区域内的离线终端设备的离线数量之后,以及在判断所述离线数量是否达到预设上报数量之前,根据汇聚单元下发的所述指定区域内所有终端设备的信息统计表,确定所述离线终端设备是否属于所述信息统计表所指示的所述指定区域内的被激活的终端设备;其中,所述信息统计表包括在所述指定区域内的终端设备的设备标识或者IP地址;如果所述离线终端设备属于所述信息统计表所指示的所述指定区域内的终端设备,判断所述离线数量是否达到预设上报数量。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. 根据权利要求6所述的系统,其特征在于,所述边缘转发节点用于在预设时间段内对指定区域内的终端设备进行侦听,以获得所述指定区域内的离线终端设备的离线数量的方式具体为: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:
    所述边缘转发节点用于,根据汇聚单元下发的指定区域内所有终端设备的信息统计表,确定出所述指定区域内所有被激活的终端设备;其中,所述信息统计表包括在所述指定区域内的终端设备的设备标识或者IP地址;监测所述指定区域内的被激活终端设备在预设时间段内发送的心跳数据包,并根据监测到的所述心跳数据包识别出所述指定区域内的在所述预设时间段内未发送所述心跳数据包的离线终端设备,以获得所述离线终端设备的离线数量。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. 根据权利要求6所述的方法,其特征在于,所述边缘转发节点还用于将所述设备标识或者IP地址封装成数据包,并将所述数据包发送给所述汇聚单元的方式具体为: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. :
    所述边缘转发节点还用于获取所述离线终端设备的离线时长,将所述离线时长、设备标识或者IP地址封装成数据包,并将所述数据包发送给所述汇聚单元;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.
    所述汇聚单元在接收到所述边缘转发节点发送的所述数据包后,获取所述离线终端设备的相关信息,其中,所述相关信息包括所述离线终端设备所处的工作环境、所述离线终端设备在所述工作环境中所处的位置、设备类型、设备标识和 IP地址;根据所述相关信息,分析造成所述离线终端设备处于离线的原因,并发出预警。 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)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710463180.0A CN107197029B (en) 2017-06-19 2017-06-19 Terminal equipment off-line detection 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) CN107197029B (en)
WO (1) WO2018232966A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910981A (en) * 2021-01-27 2021-06-04 联想(北京)有限公司 Control method and device
CN113472881A (en) * 2021-06-30 2021-10-01 四川虹美智能科技有限公司 Statistical method and device for online terminal equipment
CN114401207A (en) * 2021-12-30 2022-04-26 北京首钢自动化信息技术有限公司 Positioning method and device for communication abnormal terminal equipment and electronic equipment
CN115348165A (en) * 2022-08-15 2022-11-15 四川虹美智能科技有限公司 Intelligent equipment offline processing method based on big data

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864486A (en) * 2017-12-26 2018-03-30 杭州迪普科技股份有限公司 A kind of offline AP detection methods and device
CN111225224A (en) * 2018-11-27 2020-06-02 玲珑视界科技(北京)有限公司 System and method for monitoring state of grid node
CN109474494B (en) * 2018-12-05 2020-10-30 深圳绿米联创科技有限公司 Equipment detection method, device, server and storage medium
CN112953843B (en) * 2019-11-26 2022-12-30 华为技术有限公司 Data transmission method and device
CN112350792B (en) * 2020-09-27 2023-05-30 福建新大陆通信科技股份有限公司 Emergency broadcast data forwarding multiplexing method
CN114765587A (en) * 2020-12-30 2022-07-19 欧普照明股份有限公司 Method and system for reporting node online and offline states and reporting end server
CN115795387A (en) * 2022-10-27 2023-03-14 圣名科技(广州)有限责任公司 Sensor work abnormity monitoring method and device, storage medium and electronic equipment

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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130275230A1 (en) * 2012-03-05 2013-10-17 Elbrys Networks, Inc. Methods and systems for targeted advertising based on passively collected sensor-detected offline behavior
CN106686024B (en) * 2015-11-05 2019-09-20 腾讯科技(深圳)有限公司 Obtain the method, apparatus and system of the arrival rate of offline message
CN106817428A (en) * 2017-02-13 2017-06-09 浙江风向标科技有限公司 A kind of method and apparatus of offline inspection

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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910981A (en) * 2021-01-27 2021-06-04 联想(北京)有限公司 Control method and device
CN112910981B (en) * 2021-01-27 2022-07-26 联想(北京)有限公司 Control method and device
CN113472881A (en) * 2021-06-30 2021-10-01 四川虹美智能科技有限公司 Statistical method and device for online terminal equipment
CN113472881B (en) * 2021-06-30 2023-08-15 四川虹美智能科技有限公司 Statistical method and device for online terminal equipment
CN114401207A (en) * 2021-12-30 2022-04-26 北京首钢自动化信息技术有限公司 Positioning method and device for communication abnormal terminal equipment and electronic equipment
CN114401207B (en) * 2021-12-30 2024-03-15 北京首钢自动化信息技术有限公司 Communication abnormal terminal equipment positioning method and device and electronic equipment
CN115348165A (en) * 2022-08-15 2022-11-15 四川虹美智能科技有限公司 Intelligent equipment offline processing method based on big data

Also Published As

Publication number Publication date
CN107197029B (en) 2021-02-19
CN107197029A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
WO2018232966A1 (en) Edge forwarding node-based method and system for detection whether terminal device is offline
WO2018232970A1 (en) Method and system for detecting state of terminal device applied in internet of things
CN103179599B (en) The method for supervising of WLAN performance, equipment and system
WO2018233030A1 (en) Transmission duration-based internet of things data reporting control method and forwarding node
CN107197033B (en) Data packaging method and system based on Internet of things
WO2018232976A1 (en) Terminal device operating status determination method and device
WO2018233046A1 (en) Data type-based communication control method and system
WO2018233057A1 (en) Method and system for adjusting wireless signal of internet of things
WO2018233018A1 (en) Terminal equipment priority based data reporting control method and system
WO2018233048A1 (en) Method and system for controlling communication of internet of things terminal device
WO2018233045A1 (en) Switch control method and system for internet of things communication mode
WO2018233009A1 (en) Device type and geographical position based data deduplication method and device
WO2018232973A1 (en) Method and system for controlling working state of internet-of-things terminal device
WO2018232967A1 (en) Internet-of-things terminal device detection method and system based on access node
WO2018233036A1 (en) Internet-of-things data reporting control method and device
WO2018233034A1 (en) Method and system for controlling transmission of internet of things data
WO2018233016A1 (en) Edge routing node and reporting frequency adjusting method thereof
WO2018233049A1 (en) Internet-of-things data communication method and system
WO2018232962A1 (en) Method and system for adjusting network coverage range of internet of things access node
WO2018233028A1 (en) Internet-of-things data reporting control method and system
WO2018233008A1 (en) Data processing method and system applied to internet of things
WO2018233031A1 (en) Internet of things-based data transmission 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
WO2018233022A1 (en) Control method and system for packaging data on basis of quantity of terminal devices

Legal Events

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

Ref document number: 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)

122 Ep: pct application non-entry in european phase

Ref document number: 17914460

Country of ref document: EP

Kind code of ref document: A1