WO2019015047A1 - Method and device for handling internet of things access point exception in wireless sensor network - Google Patents

Method and device for handling internet of things access point exception in wireless sensor network Download PDF

Info

Publication number
WO2019015047A1
WO2019015047A1 PCT/CN2017/100875 CN2017100875W WO2019015047A1 WO 2019015047 A1 WO2019015047 A1 WO 2019015047A1 CN 2017100875 W CN2017100875 W CN 2017100875W WO 2019015047 A1 WO2019015047 A1 WO 2019015047A1
Authority
WO
WIPO (PCT)
Prior art keywords
internet
access point
wireless access
things
iot
Prior art date
Application number
PCT/CN2017/100875
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 WO2019015047A1 publication Critical patent/WO2019015047A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Abstract

Disclosed are a method and device for handling an Internet of Things wireless access point exception in a wireless sensor network, comprising: when an exception in the state of an Internet of Things wireless access point is detected by an Internet of Things gateway, acquiring the uplink bandwidth of a second Internet of Things wireless access point and the uplink bandwidth of a third Internet of Things wireless access point; when the uplink bandwidth of the second Internet of Things wireless access point is detected to be greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, transmitting a first cached data migration instruction to the first Internet of Things wireless access point, the first cached data migration instruction being used for instructing the first Internet of Things wireless access point to migrate cached data to the second Internet of Things wireless access point; and receiving the cached data of the first Internet of Things wireless access point transmitted by the second Internet of Things wireless access point. Embodiments of the present invention favor increased stability of data transmission and anti-interference capability of the wireless sensor network.

Description

无线传感网络物联网无线接入点异常处理方法及设备Wireless sensor network IoT wireless access point exception processing method and device 技术领域Technical field
本申请涉及通信领域,尤其涉及一种无线传感网络物联网无线接入点异常处理方法及设备。The present application relates to the field of communications, and in particular, to a wireless sensor network Internet of Things wireless access point exception processing method and device.
背景技术Background technique
物联网应用中的无线传感网络由物联网网关、物联网无线接入点和物联网终端以及中继器(部分电源供电的且内置路由算法的物联网终端可以充当中继器)共同组成,经由物联网终端进行数据采集、通过物联网无线接入点、物联网网关进行数据的传输。物联网有两层意思:其一,物联网的核心和基础仍然是互联网,是在互联网基础上的延伸和扩展的网络;其二,其用户端延伸和扩展到了任何物品与物品之间,进行信息交换和通信,也就是物物相息。物联网通过智能感知、识别技术与普适计算等通信感知技术,广泛应用于网络的融合中,也因此被称为继计算机、互联网之后世界信息产业发展的第三次浪潮。物联网是互联网的应用拓展,与其说物联网是网络,不如说物联网是业务和应用。The wireless sensor network in IoT applications consists of IoT gateways, IoT wireless access points and IoT terminals, and repeaters (partially powered and IoT terminals with built-in routing algorithms can act as repeaters). Data is collected through the Internet of Things terminal, and data is transmitted through the Internet of Things wireless access point and the Internet of Things gateway. The Internet of Things has two meanings: First, the core and foundation of the Internet of Things is still the Internet, which is an extended and expanded network based on the Internet. Second, its client extends and extends between any item and item. Information exchange and communication, that is, things and interests. The Internet of Things is widely used in the convergence of networks through communication-aware technologies such as intelligent sensing, identification technology and pervasive computing. It is also called the third wave of the development of the world information industry after computers and the Internet. The Internet of Things is the application expansion of the Internet. It is not so much that the Internet of Things is a network, but the Internet of Things is a business and application.
目前,物联网无线传感网络中,当物联网无线接入点发生故障无法进行有效的上行数据传输时,物联网无线接入点中缓存数据会丢失。At present, in the Internet of Things wireless sensor network, when the IoT wireless access point fails to perform effective uplink data transmission, the cached data in the Internet of Things wireless access point will be lost.
发明内容Summary of the invention
本申请提供一种无线传感网络物联网无线接入点异常处理方法,可以提升无线传感网络物联网无线接入点异常时数据传输的完整性和实时性。The present invention provides a wireless sensor network IoT wireless access point exception processing method, which can improve the integrity and real-time performance of data transmission when the wireless sensor network IoT wireless access point is abnormal.
第一方面,本发明实施例提供一种无线传感网络物联网无线接入点异常处理方法,应用于无线传感网络,所述无线传感网络包括物联网网关、与所述物联网网关通信连接的物联网无线接入点,所述物联网无线接入点包括第一物联网无线接入点、第二物联网无线接入点和第三物联网无线接入点,所述方法包括如下步骤: In a first aspect, an embodiment of the present invention provides a wireless sensor network IoT wireless access point exception processing method, which is applied to a wireless sensor network, where the wireless sensor network includes an Internet of Things gateway and communicates with the Internet of Things gateway. The connected Internet of Things wireless access point includes a first Internet of Things wireless access point, a second Internet of Things wireless access point, and a third Internet of Things wireless access point, and the method includes the following Steps:
所述物联网网关当检测到所述第一中继器状态异常时,获取所述第二物联网无线接入点的上行带宽和所述第三物联网无线接入点的上行带宽;And obtaining, by the IoT gateway, an uplink bandwidth of the second Internet of Things wireless access point and an uplink bandwidth of the third Internet of Things wireless access point when detecting that the first relay state is abnormal;
当检测到所述第二物联网无线接入点的上行带宽大于或等于所述第三物联网无线接入点的上行带宽,所述物联网网关向所述第一物联网无线接入点发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第二物联网无线接入点;When it is detected that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the Internet of Things gateway sends the first Internet of Things wireless access point a first cache data migration instruction, where the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the second Internet of Things wireless access point;
所述物联网网关接收所述第二物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。The IoT gateway receives the cache data of the first Internet of Things wireless access point sent by the second Internet of Things wireless access point.
由上可见,本发明实施例中,物联网网关当检测到第一物联网无线接入点的状态异常时,获取第二物联网无线接入点的上行带宽和第三物联网无线接入点的上行带宽,当检测到第二物联网无线接入点的上行带宽大于或等于第三物联网无线接入点的上行带宽,物联网网关向第一物联网无线接入点发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一物联网无线接入点将缓存数据发送至第二物联网无线接入点,最后,接收第二物联网无线接入点发送的缓存数据。由于上行带宽越大的物联网无线接入点的上行数据传输速率越高,故而,物联网网关通过指示状态异常的第一物联网无线接入点将缓存数据发送给第二物联网无线接入点,从而可以使得缓存数据可以以最低延时损耗由第二物联网无线接入点上报给自己,尽可能降低因第一物联网无线接入点的状态异常而引起的延时,且避免第一物联网无线接入点的缓存数据被丢弃,有利于提升无线传感网络物联网无线接入点异常时数据传输的完整性和实时性。It can be seen that, in the embodiment of the present invention, when the state network gateway detects that the state of the first Internet of Things wireless access point is abnormal, the uplink bandwidth of the second Internet of Things wireless access point and the third Internet of Things wireless access point are obtained. Uplink bandwidth, when detecting that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway sends the first cached data to the first Internet of Things wireless access point The migration instruction, the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send the cached data to the second Internet of Things wireless access point, and finally, to receive the cached data sent by the second Internet of Things wireless access point. The higher the uplink bandwidth, the higher the uplink data transmission rate of the Internet of Things wireless access point, so the IoT gateway sends the cached data to the second Internet of Things wireless access by the first IoT wireless access point indicating the abnormal state. Point, so that the cached data can be reported to the second IoT wireless access point to the user with the lowest delay loss, thereby minimizing the delay caused by the abnormal state of the first IoT wireless access point, and avoiding the The cached data of an IoT wireless access point is discarded, which is beneficial to improve the integrity and real-time performance of the data transmission when the wireless sensor network IoT wireless access point is abnormal.
在一个可能的设计中,所述方法还包括:In one possible design, the method further includes:
当检测到所述第二物联网无线接入点的上行带宽小于所述第三物联网无线接入点的上行带宽,所述物联网网关向所述第一物联网无线接入点发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第三物联网无线接入点。When detecting that the uplink bandwidth of the second Internet of Things wireless access point is smaller than the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway sends a second to the first Internet of Things wireless access point And buffering the data migration instruction, the second cache data migration instruction is used to instruct the first Internet of Things wireless access point to send the cached data to the third Internet of Things wireless access point.
在一个可能的设计中,所述方法还包括:In one possible design, the method further includes:
所述物联网网关向所述第一物联网无线接入点发送解除挂载指令,所述解除挂载指令用于指示所述第一物联网无线接入点解除挂载的物联网终端。 The IoT gateway sends an unmount command to the first Internet of Things wireless access point, where the unmount command is used to instruct the first Internet of Things (IoT) wireless access point to unmount the IoT terminal.
可见,本可能的设计中,物联网网关接收到异常状态的第一物联网无线接入点的缓存数据后,向第一物联网无线接入点发送解除挂载指令,以指示第一物联网无线接入点解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一物联网无线接入点而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。It can be seen that, in the possible design, after receiving the cached data of the first Internet of Things wireless access point in an abnormal state, the IoT gateway sends a unmount command to the first Internet of Things wireless access point to indicate the first Internet of Things. The wireless access point unmounts the IoT terminal to prevent the uplink data of the IoT terminal from continuing to be transmitted to the first Internet of Things wireless access point, causing data accumulation, affecting the stability of the wireless sensor network, and facilitating the improvement of the wireless sensor. The stability of the network repeater when an exception occurs.
在一个可能的设计中,所述物联网网关向所述第一物联网无线接入点发送解除挂载指令之后,所述方法还包括:In a possible design, after the IoT gateway sends an unmount command to the first IoT wireless access point, the method further includes:
所述物联网网关向所述第三物联网无线接入点发送第一设备挂载指令,所述第一设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第三物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。Transmitting, by the IoT gateway, a first device mounting instruction to the third IoT wireless access point, where the first device mounting instruction includes an IoT terminal that is unmounted by the first Internet of Things wireless access point The device identifier is used by the third IoT wireless access point to mount the IoT terminal that is unmounted by the first Internet of Things wireless access point.
可见,本可能的设计中,物联网网关还可以指示第三物联网无线接入点挂载第一物联网无线接入点解除挂载的物联网终端,从而及时将第一物联网无线接入点解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。It can be seen that in the possible design, the IoT gateway can also instruct the third IoT wireless access point to mount the IoT terminal of the first IoT wireless access point to be unmounted, thereby timely accessing the first Internet of Things wireless access. The point-unloaded IoT terminal rejoins the wireless sensor network to reduce the data loss of the IoT terminal, which is beneficial to improving the stability of the data transmission of the wireless sensor network.
在一个可能的设计中,所述物联网网关向所述第一物联网无线接入点发送解除挂载指令之后,所述方法还包括:In a possible design, after the IoT gateway sends an unmount command to the first IoT wireless access point, the method further includes:
所述物联网网关向所述第二物联网无线接入点发送第二设备挂载指令,所述第二设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第二物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。The IoT gateway sends a second device mount command to the second Internet of Things wireless access point, where the second device mount command includes the first Internet of Things wireless access point unmounting the Internet of Things terminal The device identifier is used by the second Internet of Things wireless access point to mount the IoT terminal that is unmounted by the first Internet of Things wireless access point.
可见,本可能的设计中,物联网网关还可以指示第二物联网无线接入点挂载第一物联网无线接入点解除挂载的物联网终端,从而及时将第一物联网无线接入点解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。It can be seen that in the possible design, the IoT gateway can also instruct the second IoT wireless access point to mount the IoT terminal of the first IoT wireless access point to be unmounted, thereby timely accessing the first Internet of Things wireless access. The point-unloaded IoT terminal rejoins the wireless sensor network to reduce the data loss of the IoT terminal, which is beneficial to improving the stability of the data transmission of the wireless sensor network.
本发明实施例的第二方面,提供一种物联网网关,该物联网网关具有实现上述第一方面的方法设计中物联网网关的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述 功能相对应的模块。A second aspect of the embodiments of the present invention provides an Internet of Things gateway, which has the function of implementing the Internet of Things gateway in the method design of the above first aspect. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more of the above The function corresponds to the module.
具体来说,该物联网网关包括处理单元和通信单元,所述处理单元用于当检测到所述第一中继器状态异常时,通过所述通信单元获取所述第二物联网无线接入点的上行带宽和所述第三物联网无线接入点的上行带宽;以及用于当检测到所述第二物联网无线接入点的上行带宽大于或等于所述第三物联网无线接入点的上行带宽,通过所述通信单元向所述第一物联网无线接入点发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第二物联网无线接入点,以及用于通过所述通信单元接收所述第二物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。Specifically, the IoT gateway includes a processing unit and a communication unit, and the processing unit is configured to acquire the second Internet of Things wireless access by using the communication unit when detecting that the first repeater status is abnormal An uplink bandwidth of the point and an uplink bandwidth of the third Internet of Things wireless access point; and for detecting that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the third Internet of Things wireless access Sending, by the communication unit, a first cache data migration instruction to the first Internet of Things wireless access point, where the first cache data migration instruction is used to indicate the first Internet of Things wireless access point Transmitting cached data to the second IoT wireless access point, and receiving, by the communication unit, cached data of the first Internet of Things wireless access point sent by the second Internet of Things wireless access point .
在一个可能的设计中,所述处理单元还用于当检测到所述第二物联网无线接入点的上行带宽小于所述第三物联网无线接入点的上行带宽,通过所述通信单元向所述第一物联网无线接入点发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第三物联网无线接入点,以及用于通过所述通信单元接收所述第三物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。In a possible design, the processing unit is further configured to: when detecting that an uplink bandwidth of the second IoT wireless access point is smaller than an uplink bandwidth of the third IoT wireless access point, by using the communication unit Sending a second cache data migration instruction to the first Internet of Things wireless access point, where the second cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the third object a networked wireless access point, and buffer data for receiving, by the communication unit, the first Internet of Things wireless access point transmitted by the third Internet of Things wireless access point.
在一个可能的设计中,所述处理单元还用于通过所述通信单元向所述第一物联网无线接入点发送解除挂载指令,所述解除挂载指令用于指示所述第一物联网无线接入点解除挂载的物联网终端。In a possible design, the processing unit is further configured to send, by using the communication unit, an unmount command to the first Internet of Things wireless access point, where the unmount command is used to indicate the first object The connected wireless access point unmounts the IoT terminal.
在一个可能的设计中,所述处理单元通过所述通信单元向所述第一物联网无线接入点发送解除挂载指令之后,还用于通过所述通信单元向所述第三物联网无线接入点发送第一设备挂载指令,所述第一设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第三物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。In a possible design, after the sending, by the communication unit, the unmounting instruction to the first IoT wireless access point, the processing unit is further configured to send the third Internet of Things wireless through the communication unit. The access point sends a first device mount command, where the first device mount command includes a device identifier of the IoT terminal that is unmounted by the first Internet of Things wireless access point, and the device identifier is used by the The three Internet of Things wireless access points mount the IoT terminal that is unmounted by the first Internet of Things wireless access point.
在一个可能的设计中,所述处理单元通过所述通信单元向所述第一物联网无线接入点发送解除挂载指令之后,还用于通过所述通信单元向所述第二物联网无线接入点发送第二设备挂载指令,所述第二设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第 二物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。In a possible design, after the sending, by the communication unit, the unmounting instruction to the first Internet of Things wireless access point, the processing unit is further configured to send the second Internet of Things wireless through the communication unit. The access point sends a second device mount command, where the second device mount command includes a device identifier of the IoT terminal that is unmounted by the first IoT wireless access point, where the device identifier is used by the The second Internet of Things wireless access point mounts the IoT terminal that is unmounted by the first Internet of Things wireless access point.
本发明实施例的第三方面,提供一种物联网网关,该物联网网关包括处理器,所述处理器被配置为支持物联网网关执行上述第一方面的方法中相应的功能。进一步的,物联网网关还可以包括收发器,所述收发器用于支持物联网网关与物联网终端之间的通信。进一步的,物联网网关还可以包括存储器,所述存储器用于与处理器耦合,其保存物联网网关必要的程序指令和数据。A third aspect of the embodiments of the present invention provides an Internet of Things gateway, the IoT gateway including a processor configured to support an IoT gateway to perform a corresponding function in the method of the above first aspect. Further, the Internet of Things gateway may further include a transceiver for supporting communication between the Internet of Things gateway and the Internet of Things terminal. Further, the IoT gateway may further include a memory for coupling with the processor, which stores necessary program instructions and data of the IoT gateway.
本发明实施例的第四方面,提供一种物联网网关,该物联网网关包括一个或多个处理器、存储器、一个或多个程序,其中所述一个或多个程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,所述程序包括用于执行上述第一方面的方法中任意一个步骤的指令。According to a fourth aspect of the embodiments of the present invention, there is provided an Internet of Things gateway, the IoT gateway comprising one or more processors, a memory, one or more programs, wherein the one or more programs are stored in the memory And configured to be executed by the one or more processors, the program comprising instructions for performing any one of the methods of the first aspect above.
本发明实施例的第五方面,提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。A fifth aspect of embodiments of the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to perform the implementation of the present invention Some or all of the steps described in any of the methods of the first aspect.
本发明实施例的第六方面,提供一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。According to a sixth aspect of the embodiments of the present invention, a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Some or all of the steps described in any of the methods of the first aspect of the invention. The computer program product can be a software installation package.
可以看出,本发明实施例中,物联网网关当检测到第一物联网无线接入点的状态异常时,获取第二物联网无线接入点的上行带宽和第三物联网无线接入点的上行带宽,当检测到第二物联网无线接入点的上行带宽大于或等于第三物联网无线接入点的上行带宽,物联网网关向第一物联网无线接入点发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一物联网无线接入点将缓存数据发送至第二物联网无线接入点,最后,接收第二物联网无线接入点发送的缓存数据。由于上行带宽越大的物联网无线接入点的上行数据传输速率越高,故而,物联网网关通过指示状态异常的第一物联网无线接入点将缓存数据发送给第二物联网无线接入点,从而可以使得缓存数据可以以最低延时损耗由第二物联网无线接入点上报给自己,尽可能降低因第一物联网无线接入点的状 态异常而引起的延时,且避免第一物联网无线接入点的缓存数据被丢弃,有利于提升无线传感网络物联网无线接入点异常时数据传输的完整性和实时性。It can be seen that, in the embodiment of the present invention, when the state network gateway detects that the state of the first Internet of Things wireless access point is abnormal, the uplink bandwidth of the second Internet of Things wireless access point and the third Internet of Things wireless access point are obtained. Uplink bandwidth, when detecting that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway sends the first cached data to the first Internet of Things wireless access point The migration instruction, the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send the cached data to the second Internet of Things wireless access point, and finally, to receive the cached data sent by the second Internet of Things wireless access point. The higher the uplink bandwidth, the higher the uplink data transmission rate of the Internet of Things wireless access point, so the IoT gateway sends the cached data to the second Internet of Things wireless access by the first IoT wireless access point indicating the abnormal state. Point, so that the cached data can be reported to the second IoT wireless access point to the user with the lowest delay loss, as much as possible due to the first IoT wireless access point The delay caused by the abnormal state, and avoiding the cached data of the first Internet of Things wireless access point being discarded, is beneficial to improving the integrity and real-time performance of the data transmission when the wireless sensor network IoT wireless access point is abnormal.
附图说明DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present application, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例提供的一种示例无线传感网络的网络架构图;1 is a network architecture diagram of an exemplary wireless sensor network according to an embodiment of the present invention;
图2是本发明实施例提供的一种无线传感网络物联网无线接入点异常处理方法的流程示意图;FIG. 2 is a schematic flowchart diagram of an abnormality processing method for an Internet of Things wireless access point in a wireless sensor network according to an embodiment of the present invention; FIG.
图3是本发明实施例提供的另一种无线传感网络物联网无线接入点异常处理方法的流程示意图;FIG. 3 is a schematic flowchart of another method for processing an Internet of Things wireless access point exception in a wireless sensor network according to an embodiment of the present invention; FIG.
图4是本发明实施例提供的另一种无线传感网络物联网无线接入点异常处理方法的流程示意图FIG. 4 is a schematic flowchart of another method for processing an Internet of Things wireless access point abnormality in a wireless sensor network according to an embodiment of the present invention.
图5A是本发明实施例提供的一种物联网网关的功能单元框图;FIG. 5A is a functional block diagram of an Internet of Things gateway according to an embodiment of the present invention; FIG.
图5B是本发明实施例提供的一种物联网网关的结构示意图。FIG. 5B is a schematic structural diagram of an Internet of Things gateway 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 a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地 还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but rather Also included are steps or units not listed, or alternatively other steps or units inherent to such processes, methods, products, or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
下面结合具体实施例进行详细说明。The details will be described below in conjunction with specific embodiments.
请参阅图1,图1是本发明实施例提供的一种示例无线传感网络的网络架构图,该无线传感网络包括物联网网关、与所述物联网网关通信连接的物联网无线接入点、与所述物联网无线接入点通信连接的物联网终端,其中,物联网网关通过光纤等媒介连接互联网,物联网网关通过无线方式连接物联网无线接入点,物联网无线接入点和物联网终端采用星形拓扑结构进行连接,每个物联网无线接入点的频点不同,未入网的物联网终端通过跳频的方式搜索加入对自身最有利的物联网无线接入点,每个由不同频段的物联网无线接入点组建的通讯网络互不干扰。物联网终端包括用电池供电的物联网终端和用电源供电的物联网终端。其中,用电源供电的物联网终端内嵌有路由算法,当需要某个电源供电的物联网终端担当中继器功能使用时,启用内嵌的路由算法,则此时该物联网终端既充当物联网终端同时也作为中继器。具体地,物联网无线接入点能够通过物联网终端中在注册的时候已经预设好的状态标识,识别出该物联网终端为电池供电的物联网终端还是为电源供电的物联网终端,方便物联网无线接入点能够正确地选择中继器。当物联网终端检测到自身与物联网无线接入点之间的距离超过预设的最大传输距离时,需要通过中继器完成接力传输。本发明实施例所适用的示例无线传感网络中可以包括多个中继器。Referring to FIG. 1 , FIG. 1 is a network architecture diagram of an exemplary wireless sensor network according to an embodiment of the present invention, where the wireless sensor network includes an Internet of Things gateway and an Internet of Things wireless connection that is in communication with the Internet of Things gateway. Point, an IoT terminal communicatively connected with the Internet of Things wireless access point, wherein the Internet of Things gateway connects to the Internet through a medium such as an optical fiber, and the Internet of Things gateway wirelessly connects the Internet of Things wireless access point, the Internet of Things wireless access point The IoT terminal is connected by a star topology, and the frequency of each IoT wireless access point is different. The IoT terminal that is not in the network searches for the most advantageous IoT wireless access point by means of frequency hopping. Each communication network formed by IoT wireless access points in different frequency bands does not interfere with each other. IoT terminals include battery-powered IoT terminals and IoT terminals powered by power supplies. Among them, the IoT terminal powered by the power supply has a routing algorithm embedded therein. When an IoT terminal that needs to be powered by a power source is used as a repeater function, the embedded routing algorithm is enabled, and then the IoT terminal acts as both objects. The networked terminal also acts as a repeater. Specifically, the Internet of Things wireless access point can identify the IoT terminal that is powered by the IoT terminal or the IoT terminal that is powered by the power supply through the status indicator that has been preset at the time of registration in the Internet of Things terminal. IoT wireless access points are able to properly select repeaters. When the IoT terminal detects that the distance between itself and the IoT wireless access point exceeds the preset maximum transmission distance, the relay transmission needs to be completed through the repeater. A plurality of repeaters may be included in an exemplary wireless sensor network to which embodiments of the present invention are applicable.
参阅图2A,图2A为本发明实施例提供的一种无线传感网络物联网无线接入点异常处理方法的流程示意图,应用于无线传感网络,所述无线传感网络包括物联网网关、与所述物联网网关通信连接的物联网无线接入点,所述物联网无线接入点包括第一物联网无线接入点、第二物联网无线接入点和第三物联 网无线接入点,如图2A所示,该方法包括:Referring to FIG. 2A, FIG. 2A is a schematic flowchart of a method for processing an abnormality of an Internet of Things wireless access point in a wireless sensor network according to an embodiment of the present invention, which is applied to a wireless sensor network, where the wireless sensor network includes an Internet of Things gateway, An IoT wireless access point communicatively coupled to the IoT gateway, the IoT wireless access point comprising a first IoT wireless access point, a second IoT wireless access point, and a third object connection The network wireless access point, as shown in FIG. 2A, includes:
S201,物联网网关当检测到所述第一中继器状态异常时,获取所述第二物联网无线接入点的上行带宽和所述第三物联网无线接入点的上行带宽;S201. The IoT gateway acquires an uplink bandwidth of the second Internet of Things (ICI) wireless access point and an uplink bandwidth of the third Internet of Things (ICI) wireless access point when detecting that the first repeater is abnormal.
可以理解的是,物联网无线接入点当检测到所述第一中继器状态异常的具体实现方式可以是多种多样的,本发明实施例不做唯一限定。It can be understood that the specific implementation manner of the IoT wireless access point when detecting the abnormal state of the first repeater may be various, which is not limited by the embodiment of the present invention.
举例来说,物联网无线接入点检测到在当前信标周期内未接收到第一中继器的上行数据,则可以确定第一中继器状态异常。For example, if the Internet of Things wireless access point detects that the uplink data of the first repeater is not received within the current beacon period, it may determine that the first repeater status is abnormal.
又举例来说,物联网无线接入点接收到第一中继器主动上报的状态异常消息,则可以确定第一中继器状态异常。For example, if the IoT wireless access point receives the status abnormality message reported by the first repeater, the first repeater status may be abnormal.
其中,第一物联网无线接入点、第二物联网无线接入点和第三物联网无线接入点均内置路由算法,且第一、第二以及第三物联网无线接入点三者之间的相互通信,路由算法包括跳频和频分复用算法,以及时分复用算法。Among them, the first Internet of Things wireless access point, the second Internet of Things wireless access point and the third IoT wireless access point have built-in routing algorithms, and the first, second and third IoT wireless access points Inter-communication, routing algorithms include frequency hopping and frequency division multiplexing algorithms, as well as time division multiplexing algorithms.
S202,当检测到所述第二物联网无线接入点的上行带宽大于或等于所述第三物联网无线接入点的上行带宽,所述物联网网关向所述第一物联网无线接入点发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第二物联网无线接入点;S202. When it is detected that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway accesses the first Internet of Things wireless access Sending a first cache data migration instruction, where the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the second Internet of Things wireless access point;
其中,所述缓存数据可以是指当前信标周期的前一个信标周期,第一物联网无线接入点接收到的第一物联网无线接入点挂载的物联网终端的上行数据,该部分上行数据由于第一物联网无线接入点的状态异常未能在前一个信标周期同步上传至物联网无线接入点,故而缓存在第一物联网无线接入点中。The cached data may refer to the uplink data of the IoT terminal mounted by the first Internet of Things wireless access point received by the first IoT wireless access point in the previous beacon period of the current beacon period. Part of the uplink data is not uploaded to the IoT wireless access point synchronously in the previous beacon period due to the abnormal state of the first IoT wireless access point, so it is cached in the first Internet of Things wireless access point.
S203,所述物联网网关接收所述第二物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。S203. The IoT gateway receives the cache data of the first Internet of Things wireless access point sent by the second Internet of Things wireless access point.
具体实现中,所述第二物联网无线接入点可以在第k个网络信标的信标周期内接收第一物联网无线接入点发送的缓存数据,并在第k+1个网络信标的信标周期内向物联网网关发送所述缓存数据,对应的,物联网网关在第k+1个网络信标的信标周期内接收到所述缓存数据,k为正整数。In a specific implementation, the second IoT wireless access point may receive the cached data sent by the first Internet of Things wireless access point in the beacon period of the kth network beacon, and in the k+1th network beacon The cache data is sent to the IoT gateway in the beacon period. Correspondingly, the IoT gateway receives the cached data in the beacon period of the k+1th network beacon, where k is a positive integer.
可以看出,本发明实施例中,物联网网关当检测到第一物联网无线接入点的状态异常时,获取第二物联网无线接入点的上行带宽和第三物联网无线接入 点的上行带宽,当检测到第二物联网无线接入点的上行带宽大于或等于第三物联网无线接入点的上行带宽,物联网网关向第一物联网无线接入点发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一物联网无线接入点将缓存数据发送至第二物联网无线接入点,最后,接收第二物联网无线接入点发送的缓存数据。由于上行带宽越大的物联网无线接入点的上行数据传输速率越高,故而,物联网网关通过指示状态异常的第一物联网无线接入点将缓存数据发送给第二物联网无线接入点,从而可以使得缓存数据可以以最低延时损耗由第二物联网无线接入点上报给自己,尽可能降低因第一物联网无线接入点的状态异常而引起的延时,且避免第一物联网无线接入点的缓存数据被丢弃,有利于提升无线传感网络物联网无线接入点异常时数据传输的完整性和实时性。It can be seen that, in the embodiment of the present invention, when the state network gateway detects that the state of the first Internet of Things wireless access point is abnormal, the uplink bandwidth of the second Internet of Things wireless access point and the third Internet of Things wireless access are obtained. The uplink bandwidth of the point, when detecting that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway sends the first cache to the first Internet of Things wireless access point a data migration instruction, where the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send the cached data to the second Internet of Things wireless access point, and finally, to receive the cached data sent by the second Internet of Things wireless access point . The higher the uplink bandwidth, the higher the uplink data transmission rate of the Internet of Things wireless access point, so the IoT gateway sends the cached data to the second Internet of Things wireless access by the first IoT wireless access point indicating the abnormal state. Point, so that the cached data can be reported to the second IoT wireless access point to the user with the lowest delay loss, thereby minimizing the delay caused by the abnormal state of the first IoT wireless access point, and avoiding the The cached data of an IoT wireless access point is discarded, which is beneficial to improve the integrity and real-time performance of the data transmission when the wireless sensor network IoT wireless access point is abnormal.
在一个示例中,所述方法还包括:In one example, the method further includes:
当检测到所述第二物联网无线接入点的上行带宽小于所述第三物联网无线接入点的上行带宽,所述物联网网关向所述第一物联网无线接入点发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第三物联网无线接入点;When detecting that the uplink bandwidth of the second Internet of Things wireless access point is smaller than the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway sends a second to the first Internet of Things wireless access point Cache a data migration instruction, where the second cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the third Internet of Things wireless access point;
所述物联网网关接收所述第三物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。The IoT gateway receives the cache data of the first Internet of Things wireless access point sent by the third Internet of Things wireless access point.
在一个示例中,所述方法还包括:In one example, the method further includes:
所述物联网网关向所述第一物联网无线接入点发送解除挂载指令,所述解除挂载指令用于指示所述第一物联网无线接入点解除挂载的物联网终端。The IoT gateway sends an unmount command to the first Internet of Things wireless access point, where the unmount command is used to instruct the first Internet of Things (IoT) wireless access point to unmount the IoT terminal.
可见,本示例中,物联网网关接收到异常状态的第一物联网无线接入点的缓存数据后,向第一物联网无线接入点发送解除挂载指令,以指示第一物联网无线接入点解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一物联网无线接入点而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络物联网无线接入点发生异常时的稳定性。It can be seen that, in this example, after receiving the cached data of the first IoT wireless access point in an abnormal state, the IoT gateway sends an unmount command to the first Internet of Things wireless access point to indicate the first Internet of Things wireless connection. The IoT terminal is unmounted to prevent the uplink data of the IoT terminal from being transmitted to the first IoT wireless access point, causing data accumulation, affecting the stability of the wireless sensor network, and facilitating the improvement of the wireless sensor network. Stability when an Internet wireless access point is abnormal.
在一个示例中,所述物联网网关向所述第一物联网无线接入点发送解除挂载指令之后,所述方法还包括:In an example, after the IoT gateway sends the unmount command to the first IoT wireless access point, the method further includes:
所述物联网网关向所述第三物联网无线接入点发送第一设备挂载指令,所 述第一设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第三物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。The IoT gateway sends a first device mount command to the third IoT wireless access point, where The first device mount command includes a device identifier of the IoT terminal that is unmounted by the first Internet of Things wireless access point, and the device identifier is used to mount the third Internet of Things wireless access point An IoT terminal that is unmounted by an IoT wireless access point.
本示例中,第一物联网无线接入点挂载的物联网终端被解除挂载后,处于未入网状态,物联网终端将在接收到网络信标后,确定该网络信标的空闲网络时隙,并在空闲网络时隙向发送该网络信标的第三物联网无线接入点发送入网帧,第三物联网无线接入点获取该入网帧,根据入网帧确定物联网终端的设备标识,并通过查阅第一设备挂载指令中携带的设备标识集合,确定设备标识集合包括该设备标识时,则为该物联网终端分配网络标号,并向预设网络时隙向物联网终端发送该网络编号,已完成入网操作,后续物联网终端在接收到网络信标完成时间同步后,可以根据自身的网络编号确定用于自身发送上行数据的网络时隙。In this example, after the IoT terminal mounted on the first IoT wireless access point is unmounted, the IoT terminal will determine the idle network time slot of the network beacon after receiving the network beacon. And sending an incoming network frame to the third IoT wireless access point that sends the network beacon in the idle network time slot, and the third Internet of Things wireless access point acquires the incoming network frame, and determines the device identifier of the Internet of Things terminal according to the incoming network frame, and When the device identifier set carried in the first device mount command is consulted, and the device identifier set includes the device identifier, the network identifier is assigned to the Internet of Things terminal, and the network number is sent to the Internet of Things terminal to the preset network time slot. After the network access operation is completed, the subsequent IoT terminal can determine the network time slot for transmitting the uplink data according to its own network number after receiving the network beacon completion time synchronization.
可见,本示例中,物联网网关还可以指示第三物联网无线接入点挂载第一物联网无线接入点解除挂载的物联网终端,从而及时将第一物联网无线接入点解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。It can be seen that, in this example, the IoT gateway can also instruct the third IoT wireless access point to mount the IoT terminal of the first IoT wireless access point to be unmounted, thereby releasing the first Internet of Things wireless access point in time. The mounted IoT terminal rejoins the wireless sensor network to reduce the data loss of the IoT terminal, which is beneficial to improving the stability of the data transmission of the wireless sensor network.
在一个示例中,所述物联网网关向所述第一物联网无线接入点发送解除挂载指令之后,所述方法还包括:In an example, after the IoT gateway sends the unmount command to the first IoT wireless access point, the method further includes:
所述物联网网关向所述第二物联网无线接入点发送第二设备挂载指令,所述第二设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第二物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。The IoT gateway sends a second device mount command to the second Internet of Things wireless access point, where the second device mount command includes the first Internet of Things wireless access point unmounting the Internet of Things terminal The device identifier is used by the second Internet of Things wireless access point to mount the IoT terminal that is unmounted by the first Internet of Things wireless access point.
可见,本示例中,物联网网关还可以指示第二物联网无线接入点挂载第一物联网无线接入点解除挂载的物联网终端,从而及时将第一物联网无线接入点解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。It can be seen that, in this example, the Internet of Things gateway can also instruct the second IoT wireless access point to mount the IoT terminal of the first IoT wireless access point to be unmounted, thereby releasing the first Internet of Things wireless access point in time. The mounted IoT terminal rejoins the wireless sensor network to reduce the data loss of the IoT terminal, which is beneficial to improving the stability of the data transmission of the wireless sensor network.
与上述图2A所示的实施例一致的,请参阅图3,图3是本发明实施例提供的另一种无线传感网络物联网无线接入点异常处理方法的流程示意图,应用 于无线传感网络,所述无线传感网络包括物联网网关、与所述物联网网关通信连接的物联网无线接入点,所述物联网无线接入点包括第一物联网无线接入点、第二物联网无线接入点和第三物联网无线接入点,如图所示,本无线传感网络物联网无线接入点异常处理方法包括:For the same as the embodiment shown in FIG. 2A, please refer to FIG. 3. FIG. 3 is a schematic flowchart of another method for processing an Internet of Things wireless access point abnormality in a wireless sensor network according to an embodiment of the present invention. In the wireless sensor network, the wireless sensor network includes an Internet of Things gateway, an Internet of Things wireless access point communicatively coupled to the IoT gateway, and the Internet of Things wireless access point includes a first Internet of Things wireless access point The second Internet of Things wireless access point and the third Internet of Things wireless access point, as shown in the figure, the wireless sensor network Internet of things wireless access point exception processing method includes:
S301,物联网网关当检测到所述第一中继器状态异常时,获取所述第二物联网无线接入点的上行带宽和所述第三物联网无线接入点的上行带宽;S301. The IoT gateway acquires an uplink bandwidth of the second Internet of Things (ICI) wireless access point and an uplink bandwidth of the third Internet of Things (ICI) wireless access point when detecting that the first relay device is abnormal.
S302,当检测到所述第二物联网无线接入点的上行带宽大于或等于所述第三物联网无线接入点的上行带宽,所述物联网网关向所述第一物联网无线接入点发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第二物联网无线接入点;S302. When it is detected that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway accesses the first Internet of things wireless access Sending a first cache data migration instruction, where the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the second Internet of Things wireless access point;
S303,所述物联网网关接收所述第二物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。S303. The IoT gateway receives the cache data of the first Internet of Things wireless access point sent by the second Internet of Things wireless access point.
S304,所述物联网网关向所述第一物联网无线接入点发送解除挂载指令,所述解除挂载指令用于指示所述第一物联网无线接入点解除挂载的物联网终端。S304, the IoT gateway sends an unmount command to the first Internet of Things wireless access point, where the unmounting instruction is used to instruct the first Internet of Things wireless access point to unmount the IoT terminal. .
S305,所述物联网网关向所述第三物联网无线接入点发送第一设备挂载指令,所述第一设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第三物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。S305, the IoT gateway sends a first device mount command to the third IoT wireless access point, where the first device mount command includes the first IoT wireless access point unmounting A device identifier of the networked terminal, where the device identifier is used by the third Internet of Things wireless access point to mount the IoT terminal that is unmounted by the first Internet of Things wireless access point.
可以看出,本发明实施例中,物联网网关当检测到第一物联网无线接入点的状态异常时,获取第二物联网无线接入点的上行带宽和第三物联网无线接入点的上行带宽,当检测到第二物联网无线接入点的上行带宽大于或等于第三物联网无线接入点的上行带宽,物联网网关向第一物联网无线接入点发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一物联网无线接入点将缓存数据发送至第二物联网无线接入点,最后,接收第二物联网无线接入点发送的缓存数据。由于上行带宽越大的物联网无线接入点的上行数据传输速率越高,故而,物联网网关通过指示状态异常的第一物联网无线接入点将缓存数据发送给第二物联网无线接入点,从而可以使得缓存数据可以以最低延时损耗由 第二物联网无线接入点上报给自己,尽可能降低因第一物联网无线接入点的状态异常而引起的延时,且避免第一物联网无线接入点的缓存数据被丢弃,有利于提升无线传感网络物联网无线接入点异常时数据传输的完整性和实时性。It can be seen that, in the embodiment of the present invention, when the state network gateway detects that the state of the first Internet of Things wireless access point is abnormal, the uplink bandwidth of the second Internet of Things wireless access point and the third Internet of Things wireless access point are obtained. Uplink bandwidth, when detecting that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway sends the first cached data to the first Internet of Things wireless access point The migration instruction, the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send the cached data to the second Internet of Things wireless access point, and finally, to receive the cached data sent by the second Internet of Things wireless access point. The higher the uplink bandwidth, the higher the uplink data transmission rate of the Internet of Things wireless access point, so the IoT gateway sends the cached data to the second Internet of Things wireless access by the first IoT wireless access point indicating the abnormal state. Point so that the cached data can be depleted with the lowest latency The second Internet of Things wireless access point reports to itself to minimize the delay caused by the abnormal state of the first Internet of Things wireless access point, and to prevent the cached data of the first Internet of Things wireless access point from being discarded. It is beneficial to improve the integrity and real-time performance of data transmission when the wireless sensor network IoT wireless access point is abnormal.
此外,物联网网关接收到异常状态的第一物联网无线接入点的缓存数据后,向第一物联网无线接入点发送解除挂载指令,以指示第一物联网无线接入点解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一物联网无线接入点而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。In addition, after receiving the cached data of the first Internet of Things wireless access point in an abnormal state, the IoT gateway sends an unmount command to the first Internet of Things wireless access point to indicate that the first Internet of Things wireless access point is unmounted. The IoT terminal is installed to prevent the uplink data of the IoT terminal from being transmitted to the first IoT wireless access point, causing data accumulation, affecting the stability of the wireless sensor network, and improving the abnormality of the wireless sensor network repeater. Time stability.
此外,物联网网关还可以指示第三物联网无线接入点挂载第一物联网无线接入点解除挂载的物联网终端,从而及时将第一物联网无线接入点解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。In addition, the IoT gateway can also instruct the third IoT wireless access point to mount the IoT terminal that the first IoT wireless access point unmounts, thereby unloading the first IoT wireless access point in time. The networked terminal rejoins the wireless sensor network to reduce the data loss of the IoT terminal, which is beneficial to improving the stability of the data transmission of the wireless sensor network.
与上述图2A和图3所示的实施例一致的,请参阅图4,图4是本发明实施例提供的另一种无线传感网络物联网无线接入点异常处理方法的流程示意图,应用于无线传感网络,所述无线传感网络包括物联网网关、与所述物联网网关通信连接的物联网无线接入点,所述物联网无线接入点包括第一物联网无线接入点、第二物联网无线接入点和第三物联网无线接入点,如图所示,本无线传感网络物联网无线接入点异常处理方法包括:FIG. 4 is a schematic flowchart of another method for processing an Internet of Things wireless access point exception in a wireless sensor network according to an embodiment of the present invention. In the wireless sensor network, the wireless sensor network includes an Internet of Things gateway, an Internet of Things wireless access point communicatively coupled to the IoT gateway, and the Internet of Things wireless access point includes a first Internet of Things wireless access point The second Internet of Things wireless access point and the third Internet of Things wireless access point, as shown in the figure, the wireless sensor network Internet of things wireless access point exception processing method includes:
S401,物联网网关当检测到所述第一中继器状态异常时,获取所述第二物联网无线接入点的上行带宽和所述第三物联网无线接入点的上行带宽;S401. The IoT gateway acquires an uplink bandwidth of the second Internet of Things (ICI) wireless access point and an uplink bandwidth of the third Internet of Things (ICI) wireless access point when detecting that the first repeater is abnormal.
S402,当检测到所述第二物联网无线接入点的上行带宽大于或等于所述第三物联网无线接入点的上行带宽,所述物联网网关向所述第一物联网无线接入点发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第二物联网无线接入点;S402. When detecting that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway accesses the first Internet of things wireless access Sending a first cache data migration instruction, where the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the second Internet of Things wireless access point;
S403,所述物联网网关接收所述第二物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。S403. The IoT gateway receives the cache data of the first Internet of Things wireless access point sent by the second Internet of Things wireless access point.
S404,所述物联网网关向所述第一物联网无线接入点发送解除挂载指令,所述解除挂载指令用于指示所述第一物联网无线接入点解除挂载的物联网终 端。S404. The IoT gateway sends an unmount command to the first IoT wireless access point, where the unmount command is used to indicate that the first Internet of Things wireless access point is unmounted. end.
S405,所述物联网网关向所述第二物联网无线接入点发送第二设备挂载指令,所述第二设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第二物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。S405. The IoT gateway sends a second device mount command to the second IoT wireless access point, where the second device mount command includes the first IoT wireless access point unmounting a device identifier of the networked terminal, where the device identifier is used by the second Internet of Things wireless access point to mount the IoT terminal that is unmounted by the first Internet of Things wireless access point.
可以看出,本发明实施例中,物联网网关当检测到第一物联网无线接入点的状态异常时,获取第二物联网无线接入点的上行带宽和第三物联网无线接入点的上行带宽,当检测到第二物联网无线接入点的上行带宽大于或等于第三物联网无线接入点的上行带宽,物联网网关向第一物联网无线接入点发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一物联网无线接入点将缓存数据发送至第二物联网无线接入点,最后,接收第二物联网无线接入点发送的缓存数据。由于上行带宽越大的物联网无线接入点的上行数据传输速率越高,故而,物联网网关通过指示状态异常的第一物联网无线接入点将缓存数据发送给第二物联网无线接入点,从而可以使得缓存数据可以以最低延时损耗由第二物联网无线接入点上报给自己,尽可能降低因第一物联网无线接入点的状态异常而引起的延时,且避免第一物联网无线接入点的缓存数据被丢弃,有利于提升无线传感网络物联网无线接入点异常时数据传输的完整性和实时性。It can be seen that, in the embodiment of the present invention, when the state network gateway detects that the state of the first Internet of Things wireless access point is abnormal, the uplink bandwidth of the second Internet of Things wireless access point and the third Internet of Things wireless access point are obtained. Uplink bandwidth, when detecting that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway sends the first cached data to the first Internet of Things wireless access point The migration instruction, the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send the cached data to the second Internet of Things wireless access point, and finally, to receive the cached data sent by the second Internet of Things wireless access point. The higher the uplink bandwidth, the higher the uplink data transmission rate of the Internet of Things wireless access point, so the IoT gateway sends the cached data to the second Internet of Things wireless access by the first IoT wireless access point indicating the abnormal state. Point, so that the cached data can be reported to the second IoT wireless access point to the user with the lowest delay loss, thereby minimizing the delay caused by the abnormal state of the first IoT wireless access point, and avoiding the The cached data of an IoT wireless access point is discarded, which is beneficial to improve the integrity and real-time performance of the data transmission when the wireless sensor network IoT wireless access point is abnormal.
此外,物联网网关接收到异常状态的第一物联网无线接入点的缓存数据后,向第一物联网无线接入点发送解除挂载指令,以指示第一物联网无线接入点解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一物联网无线接入点而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。In addition, after receiving the cached data of the first Internet of Things wireless access point in an abnormal state, the IoT gateway sends an unmount command to the first Internet of Things wireless access point to indicate that the first Internet of Things wireless access point is unmounted. The IoT terminal is installed to prevent the uplink data of the IoT terminal from being transmitted to the first IoT wireless access point, causing data accumulation, affecting the stability of the wireless sensor network, and improving the abnormality of the wireless sensor network repeater. Time stability.
此外,物联网网关还可以指示第二物联网无线接入点挂载第一物联网无线接入点解除挂载的物联网终端,从而及时将第一物联网无线接入点解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。In addition, the IoT gateway can also instruct the second IoT wireless access point to mount the IoT terminal of the first IoT wireless access point to unmount, thereby unloading the first IoT wireless access point in time. The networked terminal rejoins the wireless sensor network to reduce the data loss of the IoT terminal, which is beneficial to improving the stability of the data transmission of the wireless sensor network.
上述主要从方法侧执行过程的角度对本发明实施例的方案进行了介绍。可以理解的是,物联网网关为了实现上述功能,其包含了执行各个功能相应的硬 件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The above description mainly introduces the solution of the embodiment of the present invention from the perspective of the method side execution process. Understandably, in order to achieve the above functions, the IoT gateway includes a corresponding hard function for performing various functions. Component structure and / or software module. Those skilled in the art will readily appreciate that the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
本发明实施例可以根据上述方法示例对物联网网关进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present invention may divide the functional units of the Internet of Things gateway according to the foregoing method. For example, each functional unit may be divided according to each function, or two or more functions may be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
在采用集成的单元的情况下,图5A示出了上述实施例中所涉及的物联网网关的一种可能的结构示意图。物联网网关500包括:处理单元502和通信单元503。处理单元502用于对物联网网关的动作进行控制管理,例如,处理单元502用于支持物联网网关执行图2A中的步骤S201至S203、图3中的步骤S301至S305以及图4中的步骤S401至S405和/或用于本文所描述的技术的其它过程。通信单元503用于支持物联网网关与其他设备的通信,例如与物联网无线接入点之间的通信。物联网网关还可以包括存储单元501,用于存储物联网网关的程序代码和数据。In the case of employing an integrated unit, FIG. 5A shows a possible structural diagram of the Internet of Things gateway involved in the above embodiment. The Internet of Things gateway 500 includes a processing unit 502 and a communication unit 503. The processing unit 502 is configured to perform control management on the action of the Internet of Things gateway. For example, the processing unit 502 is configured to support the Internet of Things gateway to perform steps S201 to S203 in FIG. 2A, steps S301 to S305 in FIG. 3, and steps in FIG. S401 to S405 and/or other processes for the techniques described herein. The communication unit 503 is used to support communication between the IoT gateway and other devices, such as communication with an IoT wireless access point. The Internet of Things gateway may further include a storage unit 501 for storing program codes and data of the Internet of Things gateway.
其中,处理单元502可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元503可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口。存储单元501可以是存储器。 The processing unit 502 can be a processor or a controller, and can be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication unit 503 can be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name and can include one or more interfaces. The storage unit 501 can be a memory.
其中,所述处理单元502,用于当检测到第一中继器状态异常时,通过所述通信单元503获取第二物联网无线接入点的上行带宽和第三物联网无线接入点的上行带宽;以及用于当检测到所述第二物联网无线接入点的上行带宽大于或等于所述第三物联网无线接入点的上行带宽,通过所述通信单元503向所述第一物联网无线接入点发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第二物联网无线接入点,以及用于通过所述通信单元503接收所述第二物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。The processing unit 502 is configured to acquire, by the communication unit 503, an uplink bandwidth of the second Internet of Things wireless access point and a third Internet of Things wireless access point when the first repeater state is abnormal. An uplink bandwidth; and for detecting, when the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to an uplink bandwidth of the third Internet of Things wireless access point, to the first through the communication unit 503 The IoT wireless access point sends a first cache data migration instruction, where the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the second Internet of Things wireless access point And receiving, by the communication unit 503, cache data of the first Internet of Things wireless access point sent by the second Internet of Things wireless access point.
在一个可能的示例中,所述处理单元502还用于当检测到所述第二物联网无线接入点的上行带宽小于所述第三物联网无线接入点的上行带宽,通过所述通信单元503向所述第一物联网无线接入点发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第三物联网无线接入点,以及用于通过所述通信单元503接收所述第三物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。In one possible example, the processing unit 502 is further configured to: when detecting that an uplink bandwidth of the second Internet of Things wireless access point is smaller than an uplink bandwidth of the third Internet of Things wireless access point, by using the communication The unit 503 sends a second cache data migration instruction to the first Internet of Things wireless access point, where the second cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the first And a third Internet of Things wireless access point, and configured to receive, by the communication unit 503, cache data of the first Internet of Things wireless access point sent by the third Internet of Things wireless access point.
在一个可能的示例中,所述处理单元502还用于通过所述通信单元503向所述第一物联网无线接入点发送解除挂载指令,所述解除挂载指令用于指示所述第一物联网无线接入点解除挂载的物联网终端。In one possible example, the processing unit 502 is further configured to send, by using the communication unit 503, an unmount command to the first IoT wireless access point, where the unmount command is used to indicate the An IoT terminal that is unmounted by an IoT wireless access point.
在一个可能的示例中,所述处理单元502通过所述通信单元503向所述第一物联网无线接入点发送解除挂载指令之后,还用于通过所述通信单元503向所述第三物联网无线接入点发送第一设备挂载指令,所述第一设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第三物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。In one possible example, the processing unit 502 is further configured to send the third through the communication unit 503 after the unloading instruction is sent to the first IoT wireless access point by the communication unit 503. The IoT wireless access point sends a first device mount command, where the first device mount command includes a device identifier of the IoT terminal that is unmounted by the first Internet of Things wireless access point, and the device identifier is used for The third Internet of Things wireless access point mounts the IoT terminal that is unmounted by the first Internet of Things wireless access point.
在一个可能的示例中,所述处理单元502通过所述通信单元503向所述第一物联网无线接入点发送解除挂载指令之后,还用于通过所述通信单元503向所述第二物联网无线接入点发送第二设备挂载指令,所述第二设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第二物联网无线接入点挂载所述第一物联网无线接入点解除挂 载的物联网终端。In one possible example, the processing unit 502 is further configured to send the second through the communication unit 503 after the unloading instruction is sent to the first IoT wireless access point by the communication unit 503. The second device mounting command is sent by the IoT wireless access point, and the second device mounting instruction includes a device identifier of the IoT terminal that is unmounted by the first Internet of Things wireless access point, and the device identifier is used for The second Internet of Things wireless access point mounts the first Internet of Things wireless access point to hang IoT terminal.
当处理单元502为处理器,通信单元503为通信接口,存储单元501为存储器时,本发明实施例所涉及的物联网网关可以为图5B所示的物联网网关。When the processing unit 502 is a processor, the communication unit 503 is a communication interface, and the storage unit 501 is a memory, the Internet of Things gateway according to the embodiment of the present invention may be the Internet of Things gateway shown in FIG. 5B.
参阅图5B所示,该物联网网关510包括:处理器512、收发器513、存储器511。可选的,物联网网关510还可以包括总线515。其中,收发器513、处理器512以及存储器511可以通过总线515相互连接;总线515可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。所述总线515可以分为地址总线、数据总线、控制总线等。为便于表示,图5B中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 5B, the Internet of Things gateway 510 includes a processor 512, a transceiver 513, and a memory 511. Optionally, the Internet of Things gateway 510 may further include a bus 515. The transceiver 513, the processor 512, and the memory 511 may be connected to each other through a bus 515. The bus 515 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (abbreviated). EISA) bus and so on. The bus 515 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 5B, but it does not mean that there is only one bus or one type of bus.
上述图5A或图5B所示的物联网网关也可以理解为一种用于物联网网关的装置,本发明实施例不限定。The device of the present invention shown in FIG. 5A or FIG. 5B can also be understood as a device for the Internet of Things gateway, which is not limited in the embodiment of the present invention.
本发明实施例还提供一种物联网网关,该物联网网关包括一个或多个处理器、存储器、一个或多个程序,其中所述一个或多个程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,所述程序包括用于执行上述方法实施例中任意一个步骤的指令。Embodiments of the present invention also provide an Internet of Things gateway, the IoT gateway including one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are Configured to be executed by the one or more processors, the program comprising instructions for performing any of the steps of the above method embodiments.
本发明实施例还提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如上述方法实施例中所描述的部分或全部步骤。The embodiment of the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute as in the method embodiment described above Some or all of the steps described.
本发明实施例还提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。The embodiment of the invention further provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the method embodiment as described above Some or all of the steps described in this. The computer program product can be a software installation package.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。 It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。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, and the program can be stored in a computer readable In the memory, the memory may include: a flash disk, a read-only memory (English: Read-Only Memory, ROM for short), a random access memory (English: Random Access Memory, RAM for short), a magnetic disk or an optical disk.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The embodiments of the present invention have been described in detail above, and the principles and implementations of the present invention are described in detail herein. The description of the above embodiments is only for helping to understand the method of the present invention and its core ideas; It should be understood by those skilled in the art that the present invention is not limited by the scope of the present invention.

Claims (10)

  1. 一种无线传感网络物联网无线接入点异常处理方法,其特征在于,所述方法包括:A wireless sensor network IoT wireless access point exception processing method, characterized in that the method comprises:
    物联网网关当检测到第一中继器状态异常时,获取第二物联网无线接入点的上行带宽和第三物联网无线接入点的上行带宽;The IoT gateway acquires the uplink bandwidth of the second Internet of Things wireless access point and the uplink bandwidth of the third Internet of Things wireless access point when detecting that the first repeater state is abnormal;
    当检测到所述第二物联网无线接入点的上行带宽大于或等于所述第三物联网无线接入点的上行带宽,所述物联网网关向所述第一物联网无线接入点发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第二物联网无线接入点;When it is detected that the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, the Internet of Things gateway sends the first Internet of Things wireless access point a first cache data migration instruction, where the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the second Internet of Things wireless access point;
    所述物联网网关接收所述第二物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。The IoT gateway receives the cache data of the first Internet of Things wireless access point sent by the second Internet of Things wireless access point.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    当检测到所述第二物联网无线接入点的上行带宽小于所述第三物联网无线接入点的上行带宽,所述物联网网关向所述第一物联网无线接入点发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第三物联网无线接入点;When detecting that the uplink bandwidth of the second Internet of Things wireless access point is smaller than the uplink bandwidth of the third Internet of Things wireless access point, the IoT gateway sends a second to the first Internet of Things wireless access point Cache a data migration instruction, where the second cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the third Internet of Things wireless access point;
    所述物联网网关接收所述第三物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。The IoT gateway receives the cache data of the first Internet of Things wireless access point sent by the third Internet of Things wireless access point.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    所述物联网网关向所述第一物联网无线接入点发送解除挂载指令,所述解除挂载指令用于指示所述第一物联网无线接入点解除挂载的物联网终端。The IoT gateway sends an unmount command to the first Internet of Things wireless access point, where the unmount command is used to instruct the first Internet of Things (IoT) wireless access point to unmount the IoT terminal.
  4. 根据权利要求3所述的方法,其特征在于,所述物联网网关向所述第一物联网无线接入点发送解除挂载指令之后,所述方法还包括:The method according to claim 3, wherein after the IoT gateway sends the unmount command to the first Internet of Things wireless access point, the method further includes:
    所述物联网网关向所述第三物联网无线接入点发送第一设备挂载指令,所述第一设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端 的设备标识,所述设备标识用于所述第三物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。Transmitting, by the IoT gateway, a first device mounting instruction to the third IoT wireless access point, where the first device mounting instruction includes an IoT terminal that is unmounted by the first Internet of Things wireless access point The device identifier is used by the third IoT wireless access point to mount the IoT terminal that is unmounted by the first Internet of Things wireless access point.
  5. 根据权利要求3所述的方法,其特征在于,所述物联网网关向所述第一物联网无线接入点发送解除挂载指令之后,所述方法还包括:The method according to claim 3, wherein after the IoT gateway sends the unmount command to the first Internet of Things wireless access point, the method further includes:
    所述物联网网关向所述第二物联网无线接入点发送第二设备挂载指令,所述第二设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第二物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。The IoT gateway sends a second device mount command to the second Internet of Things wireless access point, where the second device mount command includes the first Internet of Things wireless access point unmounting the Internet of Things terminal The device identifier is used by the second Internet of Things wireless access point to mount the IoT terminal that is unmounted by the first Internet of Things wireless access point.
  6. 一种物联网网关,其特征在于,应用于无线传感网络,所述物联网网关包括处理单元和通信单元,An Internet of Things gateway is characterized in that it is applied to a wireless sensor network, and the Internet of Things gateway comprises a processing unit and a communication unit.
    所述处理单元用于当检测到第一中继器状态异常时,通过所述通信单元获取第二物联网无线接入点的上行带宽和第三物联网无线接入点的上行带宽;以及用于当检测到所述第二物联网无线接入点的上行带宽大于或等于所述第三物联网无线接入点的上行带宽,通过所述通信单元向所述第一物联网无线接入点发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第二物联网无线接入点,以及用于通过所述通信单元接收所述第二物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。The processing unit is configured to acquire, by the communication unit, an uplink bandwidth of the second Internet of Things wireless access point and an uplink bandwidth of the third Internet of Things wireless access point when detecting that the first repeater state is abnormal; When the uplink bandwidth of the second Internet of Things wireless access point is greater than or equal to the uplink bandwidth of the third Internet of Things wireless access point, to the first Internet of Things wireless access point by using the communication unit Sending a first cache data migration instruction, the first cache data migration instruction is used to instruct the first Internet of Things wireless access point to send cached data to the second Internet of Things wireless access point, and The communication unit receives the cache data of the first Internet of Things wireless access point sent by the second Internet of Things wireless access point.
  7. 根据权利要求6所述的物联网网关,其特征在于,所述处理单元还用于当检测到所述第二物联网无线接入点的上行带宽小于所述第三物联网无线接入点的上行带宽,通过所述通信单元向所述第一物联网无线接入点发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一物联网无线接入点将缓存数据发送至所述第三物联网无线接入点,以及用于通过所述通信单元接收所述第三物联网无线接入点发送的所述第一物联网无线接入点的缓存数据。 The IoT gateway according to claim 6, wherein the processing unit is further configured to: when detecting that an uplink bandwidth of the second Internet of Things wireless access point is smaller than that of the third Internet of Things wireless access point Upstream bandwidth, sending, by the communication unit, a second cache data migration instruction to the first IoT wireless access point, where the second cache data migration instruction is used to indicate that the first Internet of Things wireless access point is to be cached And transmitting data to the third IoT wireless access point, and for receiving, by the communication unit, cache data of the first Internet of Things wireless access point sent by the third Internet of Things wireless access point.
  8. 根据权利要求6或7所述的物联网网关,其特征在于,所述处理单元还用于通过所述通信单元向所述第一物联网无线接入点发送解除挂载指令,所述解除挂载指令用于指示所述第一物联网无线接入点解除挂载的物联网终端。The IoT gateway according to claim 6 or 7, wherein the processing unit is further configured to send, by the communication unit, a unmount command to the first Internet of Things wireless access point, the unmounting The load instruction is used to instruct the first Internet of Things (IoT) wireless access point to unmount the IoT terminal.
  9. 根据权利要求8所述的物联网网关,其特征在于,所述处理单元通过所述通信单元向所述第一物联网无线接入点发送解除挂载指令之后,还用于通过所述通信单元向所述第三物联网无线接入点发送第一设备挂载指令,所述第一设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第三物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。The Internet of Things gateway according to claim 8, wherein the processing unit is further configured to pass the communication unit after sending the unmount command to the first Internet of Things wireless access point by the communication unit. Sending, to the third Internet of Things wireless access point, a first device mount command, where the first device mount command includes a device identifier of the IoT terminal that is unmounted by the first Internet of Things wireless access point, The device identifier is used by the third IoT wireless access point to mount the IoT terminal of the first Internet of Things wireless access point to be unmounted.
  10. 根据权利要求6-9任一项所述的物联网网关,其特征在于,所述处理单元通过所述通信单元向所述第一物联网无线接入点发送解除挂载指令之后,还用于通过所述通信单元向所述第二物联网无线接入点发送第二设备挂载指令,所述第二设备挂载指令包括所述第一物联网无线接入点解除挂载的物联网终端的设备标识,所述设备标识用于所述第二物联网无线接入点挂载所述第一物联网无线接入点解除挂载的物联网终端。 The Internet of Things gateway according to any one of claims 6 to 9, wherein the processing unit is further used after the unloading command is sent to the first Internet of Things (IoT) wireless access point by the communication unit. Transmitting, by the communication unit, a second device mounting instruction to the second Internet of Things wireless access point, where the second device mounting instruction includes the first Internet of Things (IoT wireless access point) to be unmounted The device identifier is used by the second Internet of Things wireless access point to mount the IoT terminal that is unmounted by the first Internet of Things wireless access point.
PCT/CN2017/100875 2017-07-19 2017-09-07 Method and device for handling internet of things access point exception in wireless sensor network WO2019015047A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710588646.X 2017-07-19
CN201710588646.XA CN107548018B (en) 2017-07-19 2017-07-19 Method and equipment for processing abnormity of wireless access point of wireless sensor network Internet of things

Publications (1)

Publication Number Publication Date
WO2019015047A1 true WO2019015047A1 (en) 2019-01-24

Family

ID=60970201

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100875 WO2019015047A1 (en) 2017-07-19 2017-09-07 Method and device for handling internet of things access point exception in wireless sensor network

Country Status (2)

Country Link
CN (1) CN107548018B (en)
WO (1) WO2019015047A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798822B (en) * 2018-08-02 2023-07-04 广东亿迅科技有限公司 Monitoring method based on telecommunication network Internet of things equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019375A (en) * 2004-09-22 2007-08-15 国际商业机器公司 Method and systems for copying data components between nodes of a network
CN103052115A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Data transmission method, mobile terminal, relay aggregator and related system
US20150117414A1 (en) * 2013-10-30 2015-04-30 International Business Machines Corporation Handing off a terminal among wireless access points
CN106658576A (en) * 2016-10-19 2017-05-10 北京三快在线科技有限公司 Data processing method, data processing device and network system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100970093B1 (en) * 2008-08-29 2010-07-16 성균관대학교산학협력단 Sensor network control method for data path setup and recovery by using the routing table and sensor network system using thereof
US9176832B2 (en) * 2013-03-15 2015-11-03 Cisco Technology, Inc. Providing a backup network topology without service disruption
KR20180009395A (en) * 2013-07-12 2018-01-26 콘비다 와이어리스, 엘엘씨 Neighbor discovery to support sleepy nodes
CN106572189B (en) * 2016-11-14 2019-08-09 广州大学 A kind of Multi-sensor intelligent monitoring system based on Internet of Things

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019375A (en) * 2004-09-22 2007-08-15 国际商业机器公司 Method and systems for copying data components between nodes of a network
CN103052115A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Data transmission method, mobile terminal, relay aggregator and related system
US20150117414A1 (en) * 2013-10-30 2015-04-30 International Business Machines Corporation Handing off a terminal among wireless access points
CN106658576A (en) * 2016-10-19 2017-05-10 北京三快在线科技有限公司 Data processing method, data processing device and network system

Also Published As

Publication number Publication date
CN107548018B (en) 2020-04-14
CN107548018A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
US10980001B2 (en) Communication method for implementing dual card dual standby dual pass and terminal
US10856350B2 (en) Communication method for implementing dual sim dual active, and terminal
CN104583993B (en) For optimizing the apparatus and method for partly enlivening live load
US10225356B2 (en) Method and terminal for receiving push information, storage medium
CN107395572B (en) Data processing method and Internet of things gateway
CN110661725A (en) Techniques for reordering network packets on egress
CN109729059B (en) Data processing method and device and computer
WO2019015040A1 (en) Signal strength based frequency point selection method and internet of things terminal
US9843527B2 (en) Method for processing data and an electronic device thereof
WO2019015047A1 (en) Method and device for handling internet of things access point exception in wireless sensor network
EP3796615A1 (en) Fault tolerance processing method, device, and server
CN110913505A (en) Downlink data caching method, network equipment and UPF entity
WO2023173876A1 (en) Data communication method and apparatus, device and medium
CN110169023A (en) A kind of data transmission method, data receiver and data transmitting equipment
WO2019015050A1 (en) Exception handling method and device for repeater in wireless sensor network
WO2019015049A1 (en) Method and device for exception handling in wireless sensor network
US11809358B2 (en) USB device removal and ping intervention in an extension environment
US8842547B2 (en) Communication control apparatus and control method
EP2798881B1 (en) Shaping data packet traffic
CN106060164B (en) Telescopic cloud server system and communication method thereof
WO2019019281A1 (en) Internet of things terminal control method and internet of things access point
WO2019015048A1 (en) Method and device for exception processing of repeater in wireless sensor network
WO2019019283A1 (en) Abnormality processing method and device for internet of things wireless access point
TWI678937B (en) Method for uplink timing adjustment and terminal
CN113141385A (en) Data receiving and processing method and device, electronic equipment and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17918472

Country of ref document: EP

Kind code of ref document: A1