WO2022116760A1 - 物联网设备的监控方法、服务器和物联网设备 - Google Patents

物联网设备的监控方法、服务器和物联网设备 Download PDF

Info

Publication number
WO2022116760A1
WO2022116760A1 PCT/CN2021/128067 CN2021128067W WO2022116760A1 WO 2022116760 A1 WO2022116760 A1 WO 2022116760A1 CN 2021128067 W CN2021128067 W CN 2021128067W WO 2022116760 A1 WO2022116760 A1 WO 2022116760A1
Authority
WO
WIPO (PCT)
Prior art keywords
online
iot device
iot
offline
ring
Prior art date
Application number
PCT/CN2021/128067
Other languages
English (en)
French (fr)
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 珠海格力电器股份有限公司
Priority to US18/039,912 priority Critical patent/US20240022493A1/en
Priority to EP21899794.8A priority patent/EP4243354A4/en
Publication of WO2022116760A1 publication Critical patent/WO2022116760A1/zh

Links

Images

Classifications

    • 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present application belongs to the technical field of the Internet of Things, and specifically relates to a monitoring method, a server and an Internet of Things device for an Internet of Things device.
  • IoT devices such as rental equipment and smart home equipment
  • unexpected situations such as power outages, module damage, etc.
  • How to check whether the IoT devices are abnormally offline is very important.
  • the problem of checking whether the IoT device is abnormally offline is solved by sending a heartbeat packet to the server.
  • the server will receive a lot of information, which will cause network congestion and server failure. Occupying resources and other bad conditions, resulting in low inspection efficiency.
  • the main purpose of this application is to provide a monitoring method, a server and an IoT device for IoT devices, so as to solve the problem of low inspection efficiency in the prior art for inspecting IoT devices.
  • the present application provides a monitoring method for an Internet of Things device, including:
  • An actual offline IoT device in the online IoT device ring is determined according to the response data corresponding to the offline detection data.
  • the application also provides a monitoring method for an Internet of Things device, including:
  • Each online IoT device in the multiple online IoT devices existing in the constructed arbitrary IoT device group respectively receives the group ring information sent by the server;
  • the each online IoT device generates an online IoT device ring according to the group ring information
  • the arbitrary online IoT device sends the notification of the existence of the offline device to the server, so that the server sends offline detection data to each online IoT device in the online IoT device ring, and An actual offline IoT device in the online IoT device ring is determined according to the response data corresponding to the offline detection data.
  • the application also provides a server, including a storage device and a controller;
  • a computer program is stored on the storage device, and when the computer program is executed by the controller, the steps of the monitoring method for an Internet of Things device as described above are implemented.
  • the application also provides an Internet of Things device, including a memory and a controller;
  • a computer program is stored on the memory, and when the computer program is executed by the controller, the steps of the monitoring method for an Internet of Things device as described above are implemented.
  • one or more embodiments of the above solutions may have the following advantages or beneficial effects:
  • the monitoring method, server and IoT device of the Internet of Things device of the present application obtain the device information of each online Internet of Things device in a plurality of online Internet of Things devices existing in any constructed Internet of Things device group; Device information of online IoT devices to generate group ring information; sending the group ring information to the multiple online IoT devices, so that the multiple online IoT devices generate online IoT devices according to the group ring information A device ring; if a notification of the existence of an offline device sent by any online IoT device in the online IoT device ring is received, send offline detection data to each of the online IoT devices in the online IoT device ring; An actual offline IoT device in the online IoT device ring is determined according to the response data corresponding to the offline detection data.
  • This application realizes the detection of actual offline IoT devices in the interrupted state of the online IoT device ring, without the need for each online IoT device to always send heartbeat packets to detect whether the IoT device is abnormally offline, effectively preventing the server from receiving a large number of The information causes network congestion, the server occupies a large amount of resources, etc., resulting in bad conditions.
  • the inspection efficiency can be improved.
  • FIG. 1 is a flowchart of an embodiment of a monitoring method for an Internet of Things device according to the present application
  • FIG. 2 is a flowchart of another embodiment of a monitoring method for an Internet of Things device of the present application
  • Fig. 3 is the flow chart of the grouping method of rental equipment
  • Fig. 4 is the flow chart of rental equipment going online
  • Fig. 5 is the flow chart of the normal offline of rental equipment
  • FIG. 6 is a flowchart of the abnormal offline of the rental equipment.
  • an embodiment of the present application provides a monitoring method for an Internet of Things device.
  • FIG. 1 is a flowchart of an embodiment of a monitoring method for an IoT device according to the present application. As shown in FIG. 1 , the monitoring method for an IoT device in this embodiment may specifically include the following steps:
  • the construction process of the IoT device group includes the following steps:
  • Step 1 Receive the device set sent by each monitored IoT device.
  • the device set sent by each monitored IoT device includes a monitored IoT device corresponding to the device set and other monitored IoT devices that can be matched with each monitored IoT device.
  • each monitored IoT device is connected through a network communication module, we need to consider the following factors:
  • the distance factor the distance between the two network communication modules is limited.
  • the available network communication module is a Wireless-Fidelity (WiFi) module
  • the communication distance between two WiFi modules is up to 10 meters, so if the distance between the two WiFi modules is less than 10 meters, the It is considered that the two communication modules can be connected to each other.
  • the distance between the two WiFi modules is greater than or equal to 10 meters, they cannot be connected to each other. Therefore, one factor for the mutual matching between two monitored IoT devices is that the communication distance between the communication modules used by the two devices is less than the maximum distance allowed to connect to each other.
  • the number of connections factor considering the network communication capability and efficiency of the network communication module, the network communication module is often limited by the maximum number of connections.
  • the network communication module used in this embodiment is a WiFi module
  • the maximum number of connections of the WiFi module is 5
  • the controlled IoT devices A-D all meet the distance requirements in the distance factor
  • the link information of the controlled IoT devices A-D is shown in Table 1 :
  • Controlled IoT device A B C D Number of existing connections 0 3 4 5 Number of idle connections 5 2 1 0
  • A can establish a connection with B, because after A and B are connected, the number of existing connections of A is 1, the number of existing connections of B is 4, and the number of existing connections of both of them does not exceed 5.
  • A can establish a connection with C for the same reason as above.
  • A cannot establish a connection with D, because the number of existing connections of D is 5. If a connection is established with other devices, 5+1>5, the maximum number of connections 5 will be exceeded.
  • A can establish a connection with B, A can also establish a connection with C, and B can also establish a connection with C, can A, B, and C form a group?
  • the mutual matching of rental equipment needs to meet the following conditions in terms of the number of connections:
  • the number of connections established by the current device is less than the maximum number of connections of the communication module
  • the number of devices in a group is less than the maximum value (maximum number of connections) that a single device can connect to other devices. Because when the number of devices in a group is greater than the maximum value that a single device can connect to other devices, there will be a situation in which A, B, and C cannot establish connections at the same time in the example, so in order to avoid this situation, the device in the group is directly The size of the number is limited. Since the grouping has not been established at this time, this constraint is a constraint when establishing the grouping.
  • a device set corresponding to each monitored IoT device can be obtained.
  • the maximum number of connections that the network communication module can establish is 3, a total of 5 controlled IoT devices A1-E1, A1 can establish a connection with B1, C1, D1; B1 can establish a connection with C1, D1, E1; C1 can establish a connection Establish connection with A1, E1, D1; D1 can establish connection with A1, B1, E1, E1 can establish connection with A1, C1, D1.
  • the set of Si for A1 , B1, C1, D1, and E1 obtained in this embodiment is as follows:
  • Step 2 According to a preset grouping rule, the device set corresponding to each monitored IoT device is processed, and all monitored IoT devices are divided into one or more IoT device groups.
  • a set containing M devices can be selected in turn, and an intersection corresponding to the set containing M devices can be obtained, until all sets are traversed; After the intersection of the grouping conditions, and according to the principle of non-repetitive grouping, one or more IoT device groups are obtained; wherein, satisfying the grouping conditions is: the intersection corresponding to the set containing M devices includes the corresponding set of M devices. IoT devices being monitored. M is an integer of 2 or more.
  • S A1 ⁇ S C1 ⁇ A1,C1,D1 ⁇
  • S A1 ⁇ S D1 ⁇ A1,D1,B1 ⁇
  • S B1 ⁇ S D1 ⁇ B1,D1,E1 ⁇
  • S C1 ⁇ S E1 ⁇ A1, C1, D1, E1 ⁇
  • S D1 ⁇ S E1 ⁇ A1, D1, E1 ⁇ .
  • the constructed groups are A1C1, B1D1, E1, or A1D1, C1E1, B1, etc., which will not be illustrated one by one here.
  • the specific grouping rules can be set by relevant personnel, so as to obtain N IoT device groups.
  • the device information of each online IoT device can be obtained, such as online The label of the IoT device (device 1, device 2%) and/or the network access time of the online IoT device (8:00am, 9:am).
  • sorting may be performed according to the labels of the online IoT devices and/or the network access time of the online IoT devices, and the sorting result may be used as group ring information.
  • the group ring information may be sent to multiple online IoT devices, so that the multiple online IoT devices generate an online IoT device ring according to the group ring information.
  • each online IoT device after each online IoT device receives the group ring information sent by the server, it can know the device information of the upstream online IoT device and the device information of the downstream online IoT device, and realize the sorted online IoT devices.
  • a cyclic connection consisting of a ring of networked devices connected end to end.
  • an online IoT device ring can be formed: B2 only sends messages to A2; A2 only sends messages to C2, and C2 only sends messages to B2. If there are only A2 and B2, A2 sends a message to B2, and B2 sends a message to A2, forming a cycle.
  • each online IoT device After each online IoT device generates an online IoT device ring according to the received group ring information, the online IoT devices in the online IoT device ring continuously send data packets in a loop to monitor the online IoT devices within the ring. state. For example, if one of the online IoT devices does not receive a data packet sent by the upstream online IoT device when the set duration is reached, the upstream online IoT device is considered to be offline. At this time, a notification of the existence of an offline device can be generated and sent to the server.
  • the server receives a notification of the existence of an offline device sent by any online IoT device in the online IoT device ring, in order to accurately analyze which online IoT device If the offline phenomenon occurs abnormally, offline detection data can be sent to each online IoT device in the online IoT device ring.
  • the actual online IoT device may return response data corresponding to the offline detection data, while the actual offline IoT device may return response data corresponding to the offline detection data.
  • the internet-connected device cannot return response data corresponding to the offline detection data, so that the actual offline IoT device in the online IoT device ring can be determined.
  • the monitoring method of the Internet of Things device in this embodiment obtains the device information of each online Internet of Things device for a plurality of online Internet of Things devices existing in any constructed Internet of Things device group; according to the device information of each online Internet of Things device , generate group ring information; send the group ring information to the multiple online IoT devices, so that the multiple online IoT devices generate an online IoT device ring according to the group ring information; A notification of the existence of an offline device sent by any online IoT device in the online IoT device ring, sending offline detection data to each online IoT device in the online IoT device ring; In response to the data, the actual offline IoT devices in the online IoT device ring are determined, so as to realize the detection of the actual offline IoT devices when the online IoT device ring is interrupted.
  • the actual online IoT device in the online IoT device ring can also be determined according to the response data of each online IoT device to the offline detection data; if the actual online IoT device The number of devices is at least two, and offline regrouping information is generated according to the device information of the actual online IoT device; the offline regrouping information and the device information of the actual offline IoT device are sent to the The actual online IoT device, so that after the actual offline IoT device is eliminated according to the device information of the actual offline IoT device, the ring is regrouped according to the offline regrouping information.
  • the offline regrouping information is the regrouping information generated because there is an abnormally offline IoT device.
  • any online IoT device in the online IoT device ring may be offline normally due to the operation of the operator.
  • the offline IoT device in the online IoT device ring will send an offline request.
  • the actual online object in the online IoT device ring is determined according to the device information of the offline IoT device corresponding to the offline request Internet-connected device, that is, because it is normally offline at this time, and the offline request carries the device information related to the IoT device to be offline, it can directly determine which online IoT device sends the offline request, so as to determine the online IoT device in the ring.
  • the server may receive an online request sent by any monitored IoT device.
  • the IoT device group to which the monitored IoT device to be online belongs can be determined according to the device information of the monitored IoT device to be online. Convert the IoT devices to be online to be monitored into online IoT devices; if there are multiple online IoT devices in the IoT device group to which the IoT devices to be monitored belong, according to the device information of the multiple online IoT devices, generate Amplifying the reorganized loop information, so that multiple online IoT devices can reorganize the loops according to the amplified reorganized loop information.
  • the amplified recombination ring information represents the recombination information generated by other monitored IoT devices that need to go online. Specifically, because other monitored IoT devices need to go online, at this time, other monitored IoT devices that need to go online can be added to the original online IoT device ring, at this time, the expansion and reorganization of the ring can be generated and completed. Regrouping of rings of online IoT devices.
  • the server does not receive the online IoT device ring If the status report data sent by the online IoT device is started in the middle, and the notification of the existence of the offline device is not received, it is determined that all online IoT devices in the online IoT device ring are converted into offline IoT devices.
  • the detection period for the server to receive the status report data sent by the initial online IoT device can be set according to the time required for the completion of the data cycle in the ring without interruption and the completion of the number of data cycles in the ring. If the period exceeds the threshold corresponding to the detection period, the status report data sent by the starting online IoT device in the online IoT device ring has not been received, and the notification of the existence of an offline device has not been received, it can be determined that the online IoT device All online IoT devices in the IoT device ring are converted to offline IoT devices.
  • N IoT device groups are constructed.
  • each IoT device group does not form an IoT device ring
  • a single IoT device sends status report data to the server.
  • the status reporting data sent by the initial online IoT device is compared to the status reporting data sent by all online IoT devices in the monitoring method of the related art. It is much smaller, and the amount of information received by the server is relatively small, so it is not easy to cause network congestion, the server occupies less resources, and the inspection efficiency is improved.
  • the methods in the embodiments of the present application may be executed by a single device, such as a computer or a server.
  • the method in this embodiment can also be applied in a distributed scenario, and is completed by the cooperation of multiple devices.
  • one device among the multiple devices may only execute one or more steps in the methods of the embodiments of the present application, and the multiple devices will interact with each other to complete the method.
  • an embodiment of the present application provides a monitoring method for an Internet of Things device.
  • FIG. 2 is a flowchart of another embodiment of a monitoring method for an IoT device according to the present application. As shown in FIG. 2 , the monitoring method for an IoT device in this embodiment may specifically include the following steps:
  • Each online IoT device in the constructed arbitrary IoT device group receives the group ring information sent by the server respectively;
  • Each online IoT device generates an online IoT device ring according to the group ring information
  • Any online IoT device sends the notification of the existence of the offline device to the server.
  • the server if the server receives a notification of the existence of an offline device sent by any online IoT device in the online IoT device ring, the server sends offline detection data to each online IoT device in the online IoT device ring; An actual offline IoT device in the online IoT device ring is determined according to the response data corresponding to the offline detection data.
  • the monitoring method of the Internet of Things device in this embodiment is described on the side of the Internet of Things device, and for the implementation process, reference may be made to the relevant records of the above-mentioned first embodiment, which will not be repeated here.
  • FIG. 3 is a flowchart of a method for grouping rental equipment, which may specifically include the following steps:
  • the rental equipment reports the equipment set S to the rental server;
  • the rental server groups the devices according to all the collected data and the grouping rules set by the administrator;
  • the rental server sends the grouping result to the corresponding rental device.
  • Fig. 4 is the flow chart of rental equipment going online, which may specifically include the following steps:
  • the rental device Z sends online information to the rental server;
  • the rental server receives the online information, retrieves which group the rental device Z is in, and obtains all online nodes in the group;
  • step 405 Whether the acquired number of online nodes in the group is greater than 1; if yes, go to step 405, if not, go to step 408;
  • the rental server sends the online notification of the rental device Z and the device ring sequence information to all the online devices in the group;
  • the online device in the group obtains the device ring sequence information, it re-organizes the network according to the device ring sequence information;
  • the rental server sends a notification of online success to the rental device Z.
  • Fig. 5 is the flow chart of the normal offline of the rental equipment, which may specifically include the following steps:
  • the rental device Z sends offline information to the rental server;
  • the server receives the offline information, retrieves which group the rental device Z is in, and obtains all online nodes in the group;
  • step 503 Whether the acquired number of online nodes in the group is greater than 1; if so, go to step 504, if not, go to step 508;
  • the rental server sends the offline notification of the rental device Z and the device ring sequence information to all online devices in the group;
  • the online device in the group obtains the device ring sequence information, it re-organizes the network according to the device ring sequence information;
  • the rental equipment Z is offline;
  • the server sends an offline success notification to the rental device Z.
  • Fig. 6 is the flow chart of the abnormal offline of the rental equipment, which can specifically include the following steps:
  • step 603 Whether the device receives the packet sent by the front-end node device; if yes, go to step 601, if not, go to step 603;
  • step 604 Whether the post node can be connected; if yes, go to step 602, if not, go to step 604;
  • the device sends a packet to the back-end node device; the process ends. 603. Whether the time period for which the device does not receive the packet has timed out, if so, go to step 604, if not, return to step 600;
  • the rental server checks the actual online status of all online devices recorded in the group; and ends the process.
  • an embodiment of the present application provides a server.
  • the server includes a storage device and a control device.
  • a computer program is stored on the storage device, and when the computer program is executed by the control device, the steps of the monitoring method for the Internet of Things device described in the first embodiment above are implemented.
  • an embodiment of the present application provides an Internet of Things device, and the Internet of Things device includes a memory and a controller;
  • the memory stores a computer program, and when the computer program is executed by the controller, implements the steps of the method for monitoring the Internet of Things device described in the second embodiment.
  • an embodiment of the present application provides a storage medium.
  • the storage medium of this embodiment stores a computer program thereon, and when the computer program is executed by the controller, implements the steps of the method for monitoring the Internet of Things device in the first embodiment or the second embodiment.
  • any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
  • the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种物联网设备的监控方法、服务器和物联网设备,所述物联网设备的监控方法方法包括:获取构建的任意物联网设备组中存在的多个在线物联网设备中的每个在线物联网设备的设备信息;根据所述每个在线物联网设备的设备信息,生成组环信息;将所述组环信息发送给所述多个在线物联网设备,以使所述多个在线物联网设备根据所述组环信息生成在线物联网设备环;若接收到所述在线物联网设备环中任意在线物联网设备发送的存在离线设备的通知,向所述在线物联网设备环中的所述每个在线物联网设备发送离线检测数据;根据与所述离线检测数据相对应的响应数据,确定所述在线物联网设备环中的实际离线物联网设备。

Description

物联网设备的监控方法、服务器和物联网设备
相关申请的交叉引用
本申请要求于2020年12月4日提交中国专利局,申请号为202011408027.6,申请名称为“物联网设备的监控方法、服务器和物联网设备”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本申请属于物联网技术领域,具体涉及一种物联网设备的监控方法、服务器和物联网设备。
背景技术
在租赁设备、智能家居设备等物联网设备实际应用中,可能会遇到突发状况(如停电、模块损坏等)从而造成设备异常离线,而如何检验物联网设备是否异常离线就显得非常重要。
通常情况下,通过物联网设备向服务器发送心跳包的方式来解决检验物联网设备是否异常离线的问题,但是当物联网设备非常多的时候,服务器会收到大量信息,从而造成网络拥堵、服务器占用资源大等不良状况,导致检验效率较低。
发明内容
本申请的主要目的是提供一种物联网设备的监控方法、服务器和物联网设备,以解决现有技术中检验物联网的检验效率较低的问题。
针对上述问题,本申请提供了一种物联网设备的监控方法,包括:
获取构建的任意物联网设备组中存在的多个在线物联网设备中的每个在线物联网设备的设备信息;
根据所述每个在线物联网设备的设备信息,生成组环信息;
将所述组环信息发送给所述多个在线物联网设备,以使所述多个在线物联网设备根据所述组环信息生成在线物联网设备环;
若接收到所述在线物联网设备环中任意在线物联网设备发送的存在离线设备的通知,向所述在线物联网设备环中的所述每个在线物联网设备发送离线检测数据;
根据与所述离线检测数据相对应的响应数据,确定所述在线物联网设备环中的实际离线物联网设备。
本申请还提供一种物联网设备的监控方法,包括:
构建的任意物联网设备组中存在的多个在线物联网设备中的每个在线物联网设备分别接收服务器发送的组环信息;
所述每个在线物联网设备根据所述组环信息生成在线物联网设备环;
判断所述线物联网设备环中任意在线物联网设备检测与所述任意在线物联网设备相邻的在线物联网设备是断开还是连接,若断开,生成存在离线设备的通知;
所述任意在线物联网设备将所述存在离线设备的通知发送给所述服务器,以使所述服务器向所述在线物联网设备环中的所述每个在线物联网设备发送离线检测数据,并根据与所述离线检测数据相对应的响应数据,确定所述在线物联网设备环中的实际离线物联网设备。
本申请还提供一种服务器,包括存储器件和控制器;
所述存储器件上存储有计算机程序,所述计算机程序被所述控制器执行时实现如上所述物联网设备的监控方法的步骤。
本申请还提供一种物联网设备,包括存储器和控制器;
所述存储器上存储有计算机程序,所述计算机程序被所述控制器执行时实现如上所述物联网设备的监控方法的步骤。
与现有技术相比,上述方案中的一个或多个实施例可以具有如下优点或有益效果:
本申请的物联网设备的监控方法、服务器和物联网设备,获取构建的任意物联网设备组中存在的多个在线物联网设备中的每个在线物联网设备的设备信息;根据所述每个在线物联网设备的设备信息,生成组环信息;将所述组环信息发送给所述多个在线物联网设备,以使所述多个在线物联网设备根据所述组环信息生成在线物联网设备环;若接收到所述在线物联网设备环中任意在线物联网设备发送的存在离线设备的通知,向所述在线物联网设备环中的所述每个在线物联网设备发送离线检测数据;根据与所述离线检测数据相对应的响应数据,确定所述在线物联网设备环中的实际离线物联网设备。本申请实现了在线物联网设备环的中断状态下,对实际离线物联网设备的检测,无需每个在线物联网设备一直发送心跳包来检测物联网设备是否异常离线,有效防止服务器因收到大量信息造成网络拥堵、服务器占用资源大等造成不良状况,采用本申请的技术方案,能够提高检验效率。
本申请的其它特征和优点将在随后的说明书中阐述,并且部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
附图用来提供对本申请的进一步理解,并且构成说明书的一部分,与本申请的实施例共同用于解释本申请,并不构成对本申请的限制。在附图中:
图1为本申请的物联网设备的监控方法一实施例的流程图;
图2为本申请的物联网设备的监控方法另一实施例的流程图;
图3为租赁设备的分组方法的流程图;
图4为租赁设备上线的流程图;
图5为租赁设备正常离线的流程图;
图6为租赁设备异常离线的流程图。
具体实施方式
以下将结合附图及实施例来详细说明本申请的实施方式,借此对本申请如何应用技术手段来解决技术问题,并达成技术效果的实现过程能充分理解并据以实施。需要说明的是,只要不构成冲突,本申请中的各个实施例以及各实施例中的各个特征可以相互结合,所形成的技术方案均在本申请的保护范围之内。
实施例一
为解决现有技术中存在的上述技术问题,本申请实施例提供了一种物联网设备的监控方法。
图1为本申请的物联网设备的监控方法一种实施例的流程图,如图1所示,本实施例的物联网设备的监控方法具体可以包括如下步骤:
100、获取构建的任意物联网设备组中存在的至少两个在线物联网设备中的每个在线物联网设备的设备信息;
在一个具体实施例中,物联网设备组的构建过程包括如下步骤:
步骤1,接收每个被监控物联网设备发送的设备集合。
本实施例中,每个被监控物联网设备发送的设备集合包括与该设备集合对应的被监控物联网设备和与所述每个被监控物联网设备能够相互匹配的其他被监控物联网设备。
具体地,因为每个被监控物联网设备之间是通过网络通讯模块进行连接的,所以我们要考虑以下因素:
第一、距离因素:两两网络通讯模块相互之间的连接有距离限制。例如,可以使用的网络通讯模块是无线保真(Wireless-Fidelity,WiFi)模块,两个WiFi模块之间的通讯最远距离为10米,这样如果两WiFi模块之间的距离小于10米,就认为两个通讯模块 可以相互连接,反之,如果两WiFi模块之间的距离大于或等于10米,则不能相互连接。因此,两个被监控物联网设备之间相互匹配的一个因素为两个设备使用的通讯模块之间的通讯距离小于所允许相互连接的最远距离。
第二、连接数目因素:网络通讯模块在考虑到其网络通讯能力和效率的情况下,网络通讯模块往往是有最大连接数的限制。例如,本实施例使用的网络通讯模块是WiFi模块,WiFi模块最大连接数为5,被控物联网设备A-D皆满足距离因素中对距离的要求,被控物联网设备A-D的链接信息如表1:
表1
被控物联网设备 A B C D
已有连接数 0 3 4 5
空闲连接数 5 2 1 0
根据上述假设可知:
A可以与B建立连接,因为A与B连接后,A的已有连接数为1,B的已有连接数为4,他们的已有连接数均不超过5。
A可以与C建立连接,理由同上。
B可以与C建立连接,理由同上。
A不可以与D建立连接,因为D的已有连接数是5,如果与其它的设备建立连接,5+1>5,将超过最大连接数5。
既然A可以与B建立连接,A也可以与C建立连接,B也可以同C建立连接,那么A,B,C是否可以组成一个组呢?
不可以,因为,C只剩下1条空闲连接,只能和B、C中的一个建立连接,无法同时和B、C同时建立。
所以根据上述举例,租赁设备之相互匹配在连接数目因素需要满足以下条件:
a、当前设备的建立的连接数小于通讯模块的最大连接数;
b、一个组的设备数小于单个设备所能连接其它设备的最大值(最大连接数)。因为当一个组内的设备数大于单个设备所能连接其它设备的最大值时,就会出现举例中A、B、C不能同时建立连接的情况,所以为了避免出现该情况就直接给组内设备数的大小进行限制,由于此时还没有建立分组,所以该约束是对建立分组时的约束。
本实施例中,综合考虑上述因素后,可以得到与每个被监控物联网设备相对应的设备集合。例如,网络通讯模块能够建立的最大连接数为3,共5个被控物联网设备A1-E1,A1能与B1,C1,D1建立连接;B1能与C1,D1,E1建立连接;C1能与A1,E1,D1建立连接;D1能与A1,B1,E1建立连接,E1能与A1,C1,D1建立连接。那么,本实施例得到 的对于A1、B1、C1、D1、E1的S i的集合(集合包含设备本身)如下:
S A1={A1,B1,C1,D1};S B1={B1,C1,D1,E1};S C1={C1,A1,D1,E1};S D1={D1,A1,B1,E1};S E1={E1,A1,C1,D1}。
步骤2,根据预设的分组规则,对与每个被监控物联网设备对应的设备集合进行处理,将所有被监控物联网设备划分为一个或多个物联网设备组。
具体地,可以根据预设的每个物联网设备组中的最大设备数目M,依次选取包含M个设备的集合,得到与包含M个设备的集合相对应的交集,直到遍历所有集合;选取满足分组条件的交集后,并根据不重复分组原则,得到一个或多个物联网设备组;其中,满足分组条件为:与包含M个设备的集合相对应的交集包括M个设备的集合所对应的被监控物联网设备。M为大于等于2的整数。
例如,一个物联网设备组内最多分配两个物联网设备,可以获得如下结果:
S A1∩S B1={B1,C1,D1}不包含A1,所以不满足分组条件。
S A1∩S C1={A1,C1,D1}同时包含A1、C1,所以满足分组条件。
S A1∩S D1={A1,D1,B1}同时包含A1、D1,所以满足分组条件。
S A1∩S E1={A1,C1,D1}不包含E1,所以不满足分组条件。
S B1∩S C1={C1,D1,E1}不包含B1,所以不满足分组条件。
S B1∩S D1={B1,D1,E1}同时包含B1、D1,所以满足分组条件。
S B1∩S E1={C1,D1,E1}不包含B1,所以不满足分组条件。
S C1∩S D1={A1,D1,E1}不包含C1,所以不满足分组条件。
S C1∩S E1={A1,C1,D1,E1}同时包含C1、E1,所以满足分组条件。
S D1∩S E1={A1,D1,E1}同时包含D1、E1,所以满足分组条件。
由此可知,本实施例可以选择S A1∩S C1={A1,C1,D1},S A1∩S D1={A1,D1,B1},S B1∩S D1={B1,D1,E1},S C1∩S E1={A1,C1,D1,E1},S D1∩S E1={A1,D1,E1}。并构建的分组为A1C1、B1D1、E1,或者A1D1、C1E1、B1等,在此不再一一举例说明。本实施例中,具体如何分组可以由相关人员设定分组规则,从而得到N个物联网设备组。
在一个具体实现过程中,在将所有被监控物联网设备进行分组后,若每个任意物联网设备组中存在多个在线物联网设备,可以获取每个在线物联网设备的设备信息,如在线物联网设备的标号(设备1,设备2……)和/或在线物联网设备的入网时间(8:00am、9:am……)。
需要说明的是,本实施例中,若构建的任意物联网设备组中存在一个在线物联网设备,则按照相关技术的方式检测在线物联网设备是否异常离线即可。
101、根据每个在线物联网设备的设备信息,生成组环信息。
本实施例中,可以按照在线物联网设备的标号和/或在线物联网设备的入网时间进行排序,将排序结果作为组环信息。
102、将所述组环信息发送给多个在线物联网设备,以使多个在线物联网设备根据所述组环信息生成在线物联网设备环。
在得到组环信息后,可以将所述组环信息发送给多个在线物联网设备,以使多个在线物联网设备根据所述组环信息生成在线物联网设备环。
具体地,每个在线物联网设备分别接收服务器发送的组环信息后,即可知道其上游在线物联网设备的设备信息和下游在线物联网设备的设备信息,并实现将排好序的在线物联网设备环首尾相连组成的循环连接。例如,包括在线物联网设备A2、B2和C2,则可以组成这样一个在线物联网设备环:B2只向A2发送消息;A2只向C2发送消息,C2只向B2发送消息。如果只有A2、B2,则A2向B2发送消息,B2向A2发送消息,形成一个循环。
103、若接收到所述在线物联网设备环中任意在线物联网设备发送的存在离线设备的通知,向所述在线物联网设备环中每个在线物联网设备发送离线检测数据。
在每个在线物联网设备根据接收的组环信息生成在线物联网设备环后,在线物联网设备环中的在线物联网设备不停地循环发送数据包,以在环内监测在线物联网设备的状态。例如,若其中一个在线物联网设备在达到设定时长时,未接收到上游在线物联网设备发送的数据包,则认为上游在线物联网设备离线。此时,可以生成存在离线设备的通知,并发送给服务器,服务器若接收到所述在线物联网设备环中任意在线物联网设备发送的存在离线设备的通知,为了准确分析哪个在线物联网设备因为异常出现离线现象,可以向所述在线物联网设备环中每个在线物联网设备发送离线检测数据。
104、根据与所述离线检测数据相对应的响应数据,确定所述在线物联网设备环中的实际离线物联网设备。
本实施例中,在向所述在线物联网设备环中每个在线物联网设备发送离线检测数据后,实际在线物联网设备可以返回与所述离线检测数据相对应的响应数据,而实际离线物联网设备则无法返回与所述离线检测数据相对应的响应数据,进而可以确定所述在线物联网设备环中的实际离线物联网设备。
本实施例的物联网设备的监控方法,对构建的任意物联网设备组中存在的多个在线物联网设备,获取每个在线物联网设备的设备信息;根据每个在线物联网设备的设备信息,生成组环信息;将所述组环信息发送给所述多个在线物联网设备,以使所述多个在线物联网设备根据所述组环信息生成在线物联网设备环;若接收到所述在线物联网设备环中任意在线物联网设备发送的存在离线设备的通知,向所述在线物联网设备环中每个在线物联网设备发送离线检测数据;根据与所述离线检测数据相对应的响应数据,确定所述在线物联 网设备环中的实际离线物联网设备,实现了在线物联网设备环的中断状态下,对实际离线物联网设备的检测。无需每个在线物联网设备一直发送心跳包来检测物联网设备是否异常离线,有效防止服务器因收到大量信息造成网络拥堵、服务器占用资源大等造成不良状况,采用本申请的技术方案,能够提高检验效率。
进一步地,上述实施例中,还可以根据每个在线物联网设备针对所述离线检测数据的响应数据,确定所述在线物联网设备环中的实际在线物联网设备;若所述实际在线物联网设备的数目至少为两个,根据所述实际在线物联网设备的设备信息,生成离线重新组环信息;将所述离线重新组环信息和所述实际离线物联网设备的设备信息发送给所述实际在线物联网设备,以便所述实际在线物联网设备根据所述实际离线物联网设备的设备信息剔除所述实际离线物联网设备后,根据所述离线重新组环信息重新组环。其中,离线重新组环信息是因为存在异常离线的物联网设备而生成的重新组环信息。
在一个具体实施过程中,在线物联网设备环中任意在线物联网设备可能会因为操作人员的操作,正常离线,此时,在线物联网设备环中待离线物联网设备会发送离线请求,这样,若接收到所述在线物联网设备环中待离线物联网设备发送的离线请求,根据所述离线请求对应的待离线物联网设备的设备信息,确定所述在线物联网设备环中的实际在线物联网设备,即此时因为是正常离线,离线请求携带相关待离线物联网设备的设备信息,则可以直接确定哪个在线物联网设备发送的离线请求,从而可以确定所述在线物联网设备环中的实际在线物联网设备。本实施例中,若所述实际在线物联网设备的数目至少为两个,根据所述实际在线物联网设备的设备信息,生成离线重新组环信息;将所述离线重新组环信息和所述离线请求对应的待离线物联网设备的设备信息发送给所述实际在线物联网设备,以便所述实际在线物联网设备根据所述离线请求对应的待离线物联网设备的设备信息,剔除所述离线请求对应的待离线物联网设备后,根据所述离线重新组环信息重新组环。
在实际应用中,服务器可能接收到任意被监控物联网设备发送的上线请求,这样,可以根据待上线被监控物联网设备的设备信息,确定待上线被监控物联网设备所属的物联网设备组,并将待上线被监控物联网设备转化为在线物联网设备;若待上线被监控物联网设备所属的物联网设备组存在多个在线物联网设备,根据多个在线物联网设备的设备信息,生成扩增重新组环信息,以便多个在线物联网设备,根据所述扩增重新组环信息重新组环。其中,扩增重新组环信息表示其他被监控物联网设备需要上线生成的重组信息。具体地,因为其他被监控物联网设备需要上线,此时,可以将需要上线的其他被监控物联网设备加入原有的在线物联网设备环,此时可以生成扩增重新组环信息,并完成在线物联网设备环的重新组环。
在实际应用中,若因为大规模停电等因素,可能会导致在线物联网设备环中所有在线 物联网设备异常离线,此时,没有在线物联网设备向服务器告知有物联网设备异常离线了,服务器不知道有物联网设备发生了离线,因此,本实施例中,在生成在线物联网设备环后,从中随机选取一个在线物联网设备作为起始在线物联网设备,并由起始在线物联网设备周期性地向服务器发送状态上报数据。例如,在线物联网设备环未发生中断,且完成环内数据循环的次数达到3次后,由起始在线物联网设备向服务器发送状态上报数据,若服务器未接收到所述在线物联网设备环中起始在线物联网设备发送的状态上报数据,且未接收到所述存在离线设备的通知,确定所述在线物联网设备环中所有在线物联网设备转化为离线物联网设备。
例如,可以根据在线物联网设备环未发生中断,且完成环内数据循环的次数达到3次所需的时间,设定服务器接收起始在线物联网设备发送的状态上报数据的检测周期,若检测周期超过检测周期对应的阈值,仍未接收到所述在线物联网设备环中起始在线物联网设备发送的状态上报数据,且未接收到所述存在离线设备的通知,则可以确定所述在线物联网设备环中所有在线物联网设备转化为离线物联网设备。
本实施例中,构建了N个物联网设备组,在相关技术中每个物联网设备组未形成物联网设备环的情况下,由单个的物联网设备向服务器发送状态上报数据,在本申请的实施例的形成物联网设备环的情况下,由起始在线物联网设备发送的状态上报数据,相对相关技术的监控方法中,所有在线物联网设备发送的状态上报数据而言,数据量会小很多,服务器接收的信息量相对较少,从而不易造成网络拥堵、服务器占用资源较小,提高检验效率。
例如,有100个物联网设备,80个物联网设备在线,传统发包,单位时间内需要发送80个心跳包,而本申请假设100个物联网设备分为10个组,那么假设80个物联网设备在线,在线物联网设备分布在其中9个组,每个组单位时间内就发1个包,那么这80个物联网设备发包也就单位时间内发送了9个包,远远小于传统的80个包。
需要说明的是,本申请实施例的方法可以由单个设备执行,例如一台计算机或服务器等。本实施例的方法也可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本申请实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成的方法。
实施例二
为解决现有技术中存在的上述技术问题,本申请实施例提供了一种物联网设备的监控方法。
图2为本申请的物联网设备的监控方法另一实施例的流程图,如图2所示,本实施例的物联网设备的监控方法具体可以包括如下步骤:
200、构建的任意物联网设备组中的每个在线物联网设备分别接收服务器发送的组环信息;
201、每个在线物联网设备根据所述组环信息生成在线物联网设备环;
202、在线物联网设备环中任意在线物联网设备检测与其相邻的在线物联网设备之间断开连接时,生成存在离线设备的通知;
203、任意在线物联网设备将所述存在离线设备的通知发送给所述服务器。
本实施例中,服务器若接收到所述在线物联网设备环中任意在线物联网设备发送的存在离线设备的通知,向所述在线物联网设备环中每个在线物联网设备发送离线检测数据;根据与所述离线检测数据相对应的响应数据,确定所述在线物联网设备环中的实际离线物联网设备。
本实施例的物联网设备的监控方法在物联网设备侧进行说明,其实施过程可以参考上述实施例一的相关记载,在此不再赘述。
下面以租赁设备和租赁服务器为例对本申请的技术方案进行详细说明。
图3为租赁设备的分组方法的流程图,其具体可以包括如下步骤:
300、租赁设备打开网络通讯模块,网络通讯模块搜索能够与之相互匹配的所有设备集合S;
301、租赁设备将设备集合S上报给租赁服务器;
302、租赁服务器根据收集到的所有数据和管理员设置的分组规则将设备进行分组;
303、租赁服务器将分组结果发送给与之对应的租赁设备。
图4为租赁设备上线的流程图,其具体可以包括如下步骤:
400、租赁设备Z上线;
401、租赁设备Z给租赁服务器发送上线信息;
402、租赁服务器收到上线信息,并检索租赁设备Z在哪一个组中,并获取该组中所有的在线节点;
403、将租赁设备Z加入在线节点中;
404、获取的组内在线节点数是否大于1;若是,执行步骤405,若否,执行步骤408;
405、将组内在线节点按照次序规则进行排序,并将排序结果首尾相连组成一个设备环序列;
406、租赁服务器向所有组内在线设备发送租赁设备Z上线通知和设备环序列信息;
407、组内在线设备获得设备环序列信息后,根据设备环序列信息进行重新组网;
408、租赁服务器向租赁设备Z发送上线成功通知。
图5为租赁设备正常离线的流程图,其具体可以包括如下步骤:
500、租赁设备Z给租赁服务器发送离线信息;
501、服务器收到离线信息,并检索租赁设备Z在哪一个组中,并获取该组中所有的在线节点;
502、剔除租赁设备Z的在线节点;
503、获取的组内在线节点数是否大于1;若是,执行步骤504,若否,执行步骤508;
504、将组内在线节点按照次序规则进行排序,并将排序结果首尾相连组成一个设备环序列;
505、租赁服务器向组内所有在线设备发送租赁设备Z离线通知和设备环序列信息;
506、组内在线设备获得设备环序列信息后,根据设备环序列信息进行重新组网;
507、租赁设备Z离线;
508、服务器向租赁设备Z发送离线成功通知。
图6为租赁设备异常离线的流程图,其具体可以包括如下步骤:
600、设备是否收到前置节点设备发送的包;若是,执行步骤601,若否,执行步骤603;
601、是否能连接上后置节点;若是,执行步骤602,若否,执行步骤604;
602、设备向后置节点设备发送包;结束流程。603、设备未收到包的时长是否超时,若是,执行步骤604,若否,返回步骤600;
604、向租赁服务器发送有设备离线通知;
605、租赁服务器检查该组内记录的所有在线设备实际上的在线状况;结束流程。
实施例三
为解决现有技术中存在的上述技术问题,本申请实施例提供了一种服务器。
该服务器包括存储器件和控制器件。所述存储器件上存储有计算机程序,所述计算机程序被控制器件执行时实现上述实施例一所述物联网设备的监控方法的步骤。
实施例四
为解决现有技术中存在的上述技术问题,本申请实施例提供了一种物联网设备,该物联网设备包括存储器和控制器;
所述存储器上存储有计算机程序,所述计算机程序被控制器执行时实现上述实施例二所述物联网设备的监控方法的步骤。
实施例五
为解决现有技术中存在的上述技术问题,本申请实施例提供了一种存储介质。
本实施例的存储介质,上存储有计算机程序,计算机程序被控制器执行时实现上述实施例一或实施例二的物联网设备的监控方法的步骤。
可以理解的是,上述各实施例中相同或相似部分可以相互参考,在一些实施例中未详细说明的内容可以参见其他实施例中相同或相似的内容。
需要说明的是,在本申请的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本申请的描述中,除非另有说明,“多个”的含义是指至少两个。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意 性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
虽然本申请所公开的实施方式如上,但所述的内容只是为了便于理解本申请而采用的实施方式,并非用以限定本申请。任何本申请所属技术领域内的技术人员,在不脱离本申请所公开的精神和范围的前提下,可以在实施的形式上及细节上作任何的修改与变化,但本申请的保护范围,仍须以所附的权利要求书所界定的范围为准。

Claims (12)

  1. 一种物联网设备的监控方法,其特征在于,包括:
    获取构建的任意物联网设备组中存在的多个在线物联网设备中的每个在线物联网设备的设备信息;
    根据所述每个在线物联网设备的设备信息,生成组环信息;
    将所述组环信息发送给所述多个在线物联网设备,以使所述多个在线物联网设备根据所述组环信息生成在线物联网设备环;
    若接收到所述在线物联网设备环中任意在线物联网设备发送的存在离线设备的通知,向所述在线物联网设备环中的所述每个在线物联网设备发送离线检测数据;
    根据与所述离线检测数据相对应的响应数据,确定所述在线物联网设备环中的实际离线物联网设备。
  2. 根据权利要求1所述的物联网设备的监控方法,其特征在于,还包括:
    根据所述每个在线物联网设备针对所述离线检测数据的响应数据,确定所述在线物联网设备环中的实际在线物联网设备;
    若所述实际在线物联网设备的数目至少为两个,根据多个所述实际在线物联网设备的设备信息,生成离线重新组环信息;
    将所述离线重新组环信息和所述实际离线物联网设备的设备信息发送给所述实际在线物联网设备,以便所述实际在线物联网设备根据所述实际离线物联网设备的设备信息剔除所述实际离线物联网设备,并根据所述离线重新组环信息重新组环。
  3. 根据权利要求1所述的物联网设备的监控方法,其特征在于,还包括:
    接收所述在线物联网设备环中任意在线物联网设备发送的离线请求,根据所述离线请求对应的所述在线物联网设备的所述设备信息,确定所述在线物联网设备环中的实际在线物联网设备;
    根据多个所述实际在线物联网设备的设备信息,生成离线重新组环信息;
    将所述离线重新组环信息和所述离线请求对应的所述在线物联网设备的所述设备信息发送给所述实际在线物联网设备,以便所述实际在线物联网设备根据所述离线请求对应的所述在线物联网设备的所述设备信息剔除所述离线请求对应的所述在线物联网设备,并根据所述离线重新组环信息重新组环。
  4. 根据权利要求1所述的物联网设备的监控方法,其特征在于,还包括:
    监测任意被监控物联网设备发送的上线请求,根据所述任意被监控物联网设备的设备信息,确定所述任意被监控物联网设备所属的物联网设备组,并将所述任意被监控物联网设备转化为在线物联网设备;
    根据所述任意被监控物联网设备所属的物联网设备组中的多个在线物联网设备的设备信息,生成扩增重新组环信息,以便所述多个在线物联网设备,根据所述扩增重新组环信息重新组环。
  5. 根据权利要求1所述的物联网设备的监控方法,其特征在于,所述存在离线设备的通知为所述在线物联网设备环中的任意在线物联网设备在检测到与所述任意在线物联网设备相邻的在线物联网设备断开时生成。
  6. 根据权利要求1所述的物联网设备的监控方法,其特征在于,所述物联网设备组的构建过程包括:
    接收每个被监控物联网设备发送的设备集合;所述设备集合包括与所述设备集合对应的被监控物联网设备和与所述每个被监控物联网设备能够相互匹配的其他被监控物联网设备;
    根据预设的分组规则,对与所述每个被监控物联网设备对应的所述设备集合进行处理,将所有被监控物联网设备划分为一个或多个物联网设备组。
  7. 根据权利要求1所述的物联网设备的监控方法,其特征在于,根据预设的分组规则,对与所述每个被监控物联网设备对应的所述设备集合进行处理,将所有被监控物联网设备划分为一个或多个物联网设备组,包括:
    根据预设的所述每个物联网设备组中的最大设备数目M,依次选取包含M个设备的集合,得到与所述包含M个设备的集合相对应的交集,直到遍历所有集合;
    选取满足分组条件的交集后,并根据不重复分组原则,得到一个或多个物联网设备组;
    其中,满足分组条件为:与所述包含M个设备的集合相对应的交集包括所述包含M个设备的集合对应的被监控物联网设备;M为大于等于2的整数。
  8. 根据权利要求1所述的物联网设备的监控方法,其特征在于,所述每个在线物联网设备的所述设备信息包括所述每个在线物联网设备的标号和/或所述每个在线物联网设备的入网时间。
  9. 根据权利要求1所述的物联网设备的监控方法,其特征在于,在所述多个在线物联网设备根据所述组环信息生成生成所述在线物联网设备环之后,所述的物联网设备的监控方法还包括:
    从中随机选取一个所述在线物联网设备作为起始在线物联网设备,并由所述起始在线物联网设备周期性地发送状态上报数据;
    若未接收到所述起始在线物联网设备发送的所述状态上报数据,且未接收到所述存在离线设备的通知,确定所述在线物联网设备环中所有在线物联网设备转化为离线物联网设备。
  10. 一种物联网设备的监控方法,其特征在于,包括:
    构建的任意物联网设备组中存在的多个在线物联网设备中的每个在线物联网设备分别接收服务器发送的组环信息;
    所述每个在线物联网设备根据所述组环信息生成在线物联网设备环;
    判断所述线物联网设备环中任意在线物联网设备检测与所述任意在线物联网设备相邻的在线物联网设备是断开还是连接,若断开,生成存在离线设备的通知;
    所述任意在线物联网设备将所述存在离线设备的通知发送给所述服务器,以使所述服务器向所述在线物联网设备环中的所述每个在线物联网设备发送离线检测数据,并根据与所述离线检测数据相对应的响应数据,确定所述在线物联网设备环中的实际离线物联网设备。
  11. 一种服务器,其特征在于,包括存储器件和控制器;
    所述存储器件上存储有计算机程序,所述计算机程序被所述控制器执行时实现如权利要求1至9中任一项所述物联网设备的监控方法的步骤。
  12. 一种物联网设备,其特征在于,包括存储器和控制器;
    所述存储器上存储有计算机程序,所述计算机程序被所述控制器执行时实现如权利要求10所述物联网设备的监控方法的步骤。
PCT/CN2021/128067 2020-12-04 2021-11-02 物联网设备的监控方法、服务器和物联网设备 WO2022116760A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/039,912 US20240022493A1 (en) 2020-12-04 2021-11-02 Internet of Things Device Monitoring Method, Server, and Internet of Things Device
EP21899794.8A EP4243354A4 (en) 2020-12-04 2021-11-02 INTERNET OF THINGS DEVICE MONITORING METHOD, INTERNET OF THINGS SERVER AND DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011408027.6 2020-12-04
CN202011408027.6A CN112637000B (zh) 2020-12-04 2020-12-04 物联网设备的监控方法、服务器和物联网设备

Publications (1)

Publication Number Publication Date
WO2022116760A1 true WO2022116760A1 (zh) 2022-06-09

Family

ID=75308049

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128067 WO2022116760A1 (zh) 2020-12-04 2021-11-02 物联网设备的监控方法、服务器和物联网设备

Country Status (4)

Country Link
US (1) US20240022493A1 (zh)
EP (1) EP4243354A4 (zh)
CN (1) CN112637000B (zh)
WO (1) WO2022116760A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637000B (zh) * 2020-12-04 2022-08-16 珠海格力电器股份有限公司 物联网设备的监控方法、服务器和物联网设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080261521A1 (en) * 2004-09-16 2008-10-23 Stefan Berndt Monitoring Condition of Network with Distributed Components
US8745245B1 (en) * 2011-09-15 2014-06-03 Google Inc. System and method for offline detection
CN106385410A (zh) * 2016-09-08 2017-02-08 四川长虹电器股份有限公司 基于mqtt的智能家电设备控制系统
CN106817428A (zh) * 2017-02-13 2017-06-09 浙江风向标科技有限公司 一种离线检测的方法和装置
CN111464402A (zh) * 2019-01-21 2020-07-28 杰哈思文化创意(杭州)有限公司 一种智能家居设备的控制方法、终端设备及介质
CN111769978A (zh) * 2020-06-19 2020-10-13 青岛海尔科技有限公司 用于物联设备离线信息上报的方法、装置、终端及系统
CN112637000A (zh) * 2020-12-04 2021-04-09 珠海格力电器股份有限公司 物联网设备的监控方法、服务器和物联网设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761454A (zh) * 2011-04-28 2012-10-31 中兴通讯股份有限公司 一种物联网监控方法及系统
US9071453B2 (en) * 2012-06-11 2015-06-30 Apple Inc. Location-based device automation
KR102303984B1 (ko) * 2015-06-22 2021-09-23 삼성전자 주식회사 이동 통신 시스템에서 전자 기기의 가입 방법 및 장치
CN110024422B (zh) * 2016-12-30 2023-07-18 英特尔公司 物联网的命名和区块链记录
CN109150560B (zh) * 2017-06-15 2022-03-25 中兴通讯股份有限公司 物联网组监控的设置方法、系统及计算机可读存储介质
US10862911B2 (en) * 2017-06-27 2020-12-08 Allot Ltd. System, device, and method of adaptive network protection for managed internet-of-things services
US10419274B2 (en) * 2017-12-08 2019-09-17 At&T Intellectual Property I, L.P. System facilitating prediction, detection and mitigation of network or device issues in communication systems
US11115193B2 (en) * 2017-12-29 2021-09-07 Intel Corporation Technologies for internet of things key management
CN113411832A (zh) * 2020-03-17 2021-09-17 中国电信股份有限公司 负载均衡方法、负载均衡器和物联网系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080261521A1 (en) * 2004-09-16 2008-10-23 Stefan Berndt Monitoring Condition of Network with Distributed Components
US8745245B1 (en) * 2011-09-15 2014-06-03 Google Inc. System and method for offline detection
CN106385410A (zh) * 2016-09-08 2017-02-08 四川长虹电器股份有限公司 基于mqtt的智能家电设备控制系统
CN106817428A (zh) * 2017-02-13 2017-06-09 浙江风向标科技有限公司 一种离线检测的方法和装置
CN111464402A (zh) * 2019-01-21 2020-07-28 杰哈思文化创意(杭州)有限公司 一种智能家居设备的控制方法、终端设备及介质
CN111769978A (zh) * 2020-06-19 2020-10-13 青岛海尔科技有限公司 用于物联设备离线信息上报的方法、装置、终端及系统
CN112637000A (zh) * 2020-12-04 2021-04-09 珠海格力电器股份有限公司 物联网设备的监控方法、服务器和物联网设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4243354A4 *

Also Published As

Publication number Publication date
US20240022493A1 (en) 2024-01-18
CN112637000B (zh) 2022-08-16
EP4243354A4 (en) 2024-03-27
EP4243354A1 (en) 2023-09-13
CN112637000A (zh) 2021-04-09

Similar Documents

Publication Publication Date Title
US10862786B2 (en) Method and device for fingerprint based status detection in a distributed processing system
US9473348B2 (en) Method and system for detecting changes in a network using simple network management protocol polling
CN105897507B (zh) 节点设备的状态检测方法和装置
CN102412979A (zh) 降低链路聚合端口报文丢失的方法及通信设备
WO2015090098A1 (zh) 一种实现故障定位的方法及装置
CN101378333B (zh) 实现连续性检查消息报文收发的系统、装置及方法
WO2021190087A1 (zh) 任务执行方法、装置、系统和服务器
JP2011091464A (ja) ネットワーク構成の想定のための装置、システム
WO2022116760A1 (zh) 物联网设备的监控方法、服务器和物联网设备
WO2017084618A1 (zh) 共享存储式集群文件系统节点通信的监控方法及监控节点
TWI745607B (zh) 監視裝置、網路系統、拓樸管理方法及監視程式產品
CN108055151B (zh) 网络节点的端口管理方法、装置、网络节点及存储介质
JP2010239593A (ja) パケット処理装置およびインタフェースユニット
CN100550812C (zh) 提高快速环网可靠性的方法、系统和节点设备
CN108965006A (zh) 一种通信可靠性提高方法及装置
US11914495B1 (en) Evaluating machine and process performance in distributed system
CN102752144B (zh) 一种软重启不中断业务升级过程中拓扑变化的处理方法及装置
CN111953555A (zh) 一种链路检测方法、cpe及存储介质
WO2024082471A1 (zh) 节点间链路状态监测方法和装置
WO2015032203A1 (zh) 网元和环网保护的方法
JP2004086522A (ja) 通信ネットワーク監視システム
US20150350935A1 (en) Monitoring device and monitoring system
Rodrigues et al. Bundling messages to reduce the cost of tree-based broadcast algorithms
US20110271147A1 (en) Logical entity fault isolation in network systems management
US20190207805A1 (en) Node fault isolation

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18039912

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2021899794

Country of ref document: EP

Effective date: 20230605

NENP Non-entry into the national phase

Ref country code: DE