WO2019015049A1 - 无线传感网络的异常处理方法及设备 - Google Patents

无线传感网络的异常处理方法及设备 Download PDF

Info

Publication number
WO2019015049A1
WO2019015049A1 PCT/CN2017/100878 CN2017100878W WO2019015049A1 WO 2019015049 A1 WO2019015049 A1 WO 2019015049A1 CN 2017100878 W CN2017100878 W CN 2017100878W WO 2019015049 A1 WO2019015049 A1 WO 2019015049A1
Authority
WO
WIPO (PCT)
Prior art keywords
repeater
access point
wireless access
iot
cache data
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2017/100878
Other languages
English (en)
French (fr)
Inventor
杜光东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology Co Ltd
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 Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Publication of WO2019015049A1 publication Critical patent/WO2019015049A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams

Definitions

  • the present invention relates to the field of communications, and in particular, to an abnormality processing method and device for a wireless sensor network.
  • 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.
  • the invention provides an abnormality processing method for a wireless sensor network, which can improve the integrity and real-time performance of data transmission when the wireless sensor network repeater is abnormal.
  • an embodiment of the present invention provides an abnormality processing method for a wireless sensor network, which is applied to a wireless sensor network, where the wireless sensor network includes an Internet of Things wireless access point and N Internet of Things terminals, and the N
  • the Internet of Things terminal includes N1 battery-powered IoT terminals and N2 IoT terminals powered by power supplies, and the plurality of IoT terminals in the N2 power-sourced IoT terminals serve as the wireless sensor network a repeater, the repeater comprising a first repeater, a second repeater and a third repeater, N, N1, N2 being an integer greater than 1, and the sum of N1 and N2 is N,
  • the method includes the following steps:
  • the IoT wireless access point acquires the first when detecting that the first repeater is abnormal
  • the IoT wireless access point When detecting that the uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, the IoT wireless access point sends a first cache data migration instruction to the first repeater.
  • the first cache data migration instruction is used to instruct the first repeater to send cache data to the second relay;
  • the IoT wireless access point receives the cache data of the first repeater sent by the second repeater.
  • the IoT wireless access point when detecting that the state of the first repeater is abnormal, acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, when detecting The uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, and the IoT wireless access point sends a first cache data migration instruction to the first repeater, where the first cache data migration instruction is used to indicate The first repeater sends the buffered data to the second repeater, and finally, receives the cached data sent by the second repeater.
  • the IoT wireless access point sends the cache data to the second repeater through the first repeater indicating the abnormal state, thereby enabling the cache to be cached.
  • the data can be reported to the second repeater with the lowest delay loss, and the delay caused by the abnormal state of the first repeater is minimized, and the cached data of the first repeater is prevented from being discarded, which is beneficial to the data. Improve the integrity and real-time performance of data transmission when the wireless sensor network repeater is abnormal.
  • the method further includes:
  • the IoT wireless access point When detecting that the uplink bandwidth of the second repeater is smaller than the uplink bandwidth of the third repeater, the IoT wireless access point sends a second cache data migration instruction to the first repeater.
  • the second cache data migration instruction is used to instruct the first repeater to send cached data to the third repeater.
  • the method further includes:
  • the IoT wireless access point sends an unmount command to the first repeater, where the unmount command is used to instruct the first repeater to unmount the IoT terminal.
  • the Internet of Things wireless access point after receiving the cached data of the first repeater in the abnormal state, the Internet of Things wireless access point sends an unmount command to the first repeater to indicate that the first repeater is unmounted.
  • the IoT terminal is installed to prevent the uplink data of the IoT terminal from continuing to be transmitted to the first repeater, causing data accumulation, affecting the stability of the wireless sensor network, and improving the stability of the wireless sensor network repeater when an abnormality occurs. Sex.
  • the IoT wireless access point sends a release to the first repeater After the command is mounted, the method further includes:
  • the IoT wireless access point sends a first device mount command to the third repeater, where the first device mount command includes a device identifier of the IoT terminal that is unmounted by the first repeater And the device identifier is used by the third repeater to mount the IoT terminal that is unmounted by the first repeater.
  • the Internet of Things wireless access point can also instruct the third repeater to mount the IoT terminal that the first repeater unmounts, thereby unloading the first repeater 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 method further includes:
  • the IoT wireless access point sends a second device mount command to the second repeater, where the second device mount command includes a device identifier of the IoT terminal that is unmounted by the first repeater And the device identifier is used by the second repeater to mount the IoT terminal that is unmounted by the first repeater.
  • the Internet of Things wireless access point can also instruct the second repeater to mount the first relay device to unmount the IoT terminal, thereby unloading the first repeater 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.
  • a second aspect of the embodiments of the present invention provides an Internet of Things wireless access point, which has the function of implementing the Internet of Things wireless access point 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 modules corresponding to the functions described above.
  • the IoT wireless access point includes a processing unit and a communication unit, and the processing unit is configured to acquire the second relay by using the communication unit when detecting that the first repeater status is abnormal Upstream bandwidth of the device and uplink bandwidth of the third repeater; and for detecting that the uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, by the communication
  • the unit sends a first cache data migration instruction to the first repeater, where the first cache data migration instruction is used to instruct the first repeater to send cached data to the second repeater, and And receiving, by the communication unit, cache data of the first repeater sent by the second repeater.
  • the processing unit is further configured to: when detecting that an uplink bandwidth of the second repeater is smaller than an uplink bandwidth of the third repeater, to the first medium by using the communication unit
  • the relay sends a second cache data migration instruction, where the second cache data migration instruction is used to indicate the first medium
  • the relay transmits the buffered data to the third repeater, and is configured to receive, by the communication unit, cache data of the first repeater sent by the third repeater.
  • the processing unit is further configured to send, by the communication unit, an unmount command to the first repeater, where the unmount command is used to indicate that the first repeater is released Mounted IoT terminal.
  • the processing unit is further configured to send the first to the third repeater by using the communication unit.
  • a device mounting command where the first device mount command includes a device identifier of the IoT terminal that is unmounted by the first repeater, and the device identifier is used by the third repeater to mount the first A repeater unmounts the IoT terminal.
  • the processing unit is further configured to send, by the communication unit, the second relay to the second repeater.
  • a device mounting command where the second device mounting command includes a device identifier of the IoT terminal that is unmounted by the first repeater, and the device identifier is used by the second relay device to mount the A repeater unmounts the IoT terminal.
  • a third aspect of the embodiments of the present invention provides an Internet of Things wireless access point, where the Internet of Things wireless access point includes a processor configured to support an Internet of Things wireless access point to perform the foregoing first aspect The corresponding function in the method. Further, the Internet of Things wireless access point may further include a transceiver for supporting communication between the Internet of Things wireless access point and the Internet of Things terminal. Further, the Internet of Things wireless access point may further include a memory for coupling with the processor, which stores necessary program instructions and data of the Internet of Things wireless access point.
  • a fourth aspect of the embodiments of the present invention provides an Internet of Things wireless access point, the IoT wireless access point comprising one or more processors, a memory, one or more programs, wherein the one or more programs Stored in the memory and configured to be executed by the one or more processors, the program comprising instructions for performing any of the steps of the first aspect described 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
  • a computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer The program is operative to cause a computer to perform some or all of the steps as described in any of the first aspects of the embodiments of the present invention.
  • the computer program product can be a software installation package.
  • the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater are acquired when detecting The uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, and the IoT wireless access point sends a first cache data migration instruction to the first repeater, where the first cache data migration instruction is used to indicate The first repeater sends the buffered data to the second repeater, and finally, receives the cached data sent by the second repeater.
  • the IoT wireless access point sends the cache data to the second repeater through the first repeater indicating the abnormal state, thereby enabling the cache to be cached.
  • the data can be reported to the second repeater with the lowest delay loss, and the delay caused by the abnormal state of the first repeater is minimized, and the cached data of the first repeater is prevented from being discarded, which is beneficial to the data. Improve the integrity and real-time performance of data transmission when the wireless sensor network repeater is abnormal.
  • FIG. 1 is a network architecture diagram of an exemplary wireless sensor network according to an embodiment of the present invention.
  • FIG. 2A is a schematic flowchart of an abnormality processing method of a wireless sensor network according to an embodiment of the present invention
  • FIG. 2B is a schematic diagram of a time slot structure of an exemplary network beacon according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another abnormality processing method of a wireless sensor network according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another abnormality processing method of a wireless sensor network according to an embodiment of the present invention.
  • FIG. 5A is a functional block diagram of an Internet of Things wireless access point according to an embodiment of the present invention.
  • FIG. 5B is a schematic structural diagram of an Internet of Things wireless access point according to an embodiment of the present invention.
  • 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.
  • 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.
  • IoT terminals include battery-powered IoT terminals and IoT terminals powered by power supplies.
  • the IoT terminal powered by the power supply has a routing algorithm embedded therein.
  • 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.
  • 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.
  • Multiple repeaters may be included in an example wireless sensor network to which embodiments are applicable.
  • FIG. 2A is a schematic flowchart of an abnormality processing method of a wireless sensor network, which is applied to a wireless sensor network, where the wireless sensor network includes an Internet of Things wireless access point and N An Internet of Things terminal, the N Internet of Things terminals comprising N1 battery-powered IoT terminals and N2 IoT terminals powered by power supplies, and the plurality of IoT terminals in the N2 power-sourced IoT terminals
  • the repeater includes a first repeater, a second repeater, and a third repeater, N, N1, and N2 are integers greater than 1, and N1 and The sum of N2 is N, as shown in FIG. 2A, the method includes:
  • the IoT wireless access point acquires an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater when detecting that the first repeater is abnormal.
  • 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.
  • 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.
  • the IoT wireless access point receives the status abnormality message reported by the first repeater, the first repeater status may be abnormal.
  • the reporting mechanism of the IoT terminal uses a combination of an orderly competition mechanism (such as time division multiple access technology) and an out-of-order competition mechanism, as shown in Figure 2B.
  • the process is: the IoT wireless access point periodically broadcasts a frame of network beacon (period T), and divides the beacon period T into n network time slots according to time division multiple access, each network time slot is ⁇ t
  • At least one network time slot ⁇ t is reserved for the Internet access terminal of the unconnected network to interact with the network, and the remaining ⁇ t of the remaining ⁇ t are allocated to the IoT terminal that has joined the network and assigned the network number according to the network number (the network number is When the IoT terminal joins the IoT wireless access point network, the data exchange is performed by the IoT wireless access point, and the remaining ⁇ t of the remaining ⁇ t are allocated to all IoT terminals that have joined the wireless sensor network. Compete channel resources in disorder.
  • the first repeater, the second repeater and the third repeater are all IoT terminals with built-in routing algorithms, and the three communicate with each other, and the routing algorithm includes a frequency hopping and frequency division multiplexing algorithm. And time division multiplexing algorithm.
  • the control repeater transmits the wireless signal through the frequency hopping and frequency division multiplexing algorithm, or controls the repeater to transmit the wireless signal through the time division multiplexing algorithm; it should be noted that since the frequency resources of the whole network are limited, the repeater will Whether to enable the frequency hopping and frequency division multiplexing algorithm or the time division multiplexing algorithm to complete the relay task is determined according to the current available frequency resources.
  • the repeater transmits a wireless signal through a frequency hopping and frequency division multiplexing algorithm, or transmits a wireless signal through a time division multiplexing algorithm for detailed description:
  • the IRS wireless access point system enables each embedded preset routing algorithm to select a frequency hopping algorithm and frequency division multiplexing.
  • the algorithm transmits a wireless signal to complete the relay task. For example, one repeater and all IoT terminals connected to it jump to the 436.1 frequency point as the relay frequency point for wireless communication, and the other repeater jumps to the 321 frequency point with all the IoT terminals connected to it.
  • Relay frequency communication wherein the repeater can communicate with the connected Internet of Things wireless access point through a preset working frequency point; and so on, each repeater passes different relay frequency points Communicate.
  • the allocation of frequency points can be set according to actual needs, and is not further limited herein.
  • the communication between the repeater and the Internet of Things wireless access point uses the working frequency point
  • the communication between the repeater and the remote IoT terminal uses the relay frequency point.
  • the IoT wireless access point control repeater enables the embedded preset routing algorithm to select the relay task through the time division multiplexing algorithm; for example, the trade-off is complete
  • the time resource of the network allocates time slots evenly, assigns the first 100 seconds of time slots to one repeater, assigns the next 100 seconds of time slots to another repeater, and so on, and each repeater passes between Wireless communication is performed at different points in time at the same frequency point. It can be understood that the foregoing time slot allocation can be set according to actual needs, and is not further limited herein.
  • the amount of time slots may be allocated as needed according to the needs of each repeater for the time slot; or the preferred allocation control may be performed according to the priority of the repeater application.
  • each repeater sends information such as the number of remote IoT terminals being relayed and the quality of service in the communication process to the IoT wireless access point in time, and the IoT wireless access point is unified according to the situation. Allocate time slots.
  • the IoT wireless access point When detecting that the uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, the IoT wireless access point sends the first cache data to the first repeater. a migration instruction, where the first cache data migration instruction is used to instruct the first relay to send cache data to the second relay;
  • the cached data may refer to the previous beacon period of the current beacon period, the uplink data of the Internet of Things terminal that is connected by the first repeater received by the first repeater, and the uplink data of the part is due to the first
  • the status of the repeater has not been synchronously uploaded to the IoT wireless access point in the previous beacon period, so it is cached in the first repeater.
  • the IoT wireless access point receives the first repeater sent by the second repeater. Cache data.
  • the second repeater may receive the cached data sent by the first repeater in the beacon period of the kth network beacon, and send the cached data to the Internet of Things within the beacon period of the k+1th network beacon.
  • the wireless access point sends the cached data, and correspondingly, the Internet of Things wireless access point receives the cached data in a beacon period of the k+1th network beacon, where k is a positive integer.
  • the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater are acquired when detecting The uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, and the IoT wireless access point sends a first cache data migration instruction to the first repeater, where the first cache data migration instruction is used to indicate The first repeater sends the buffered data to the second repeater, and finally, receives the cached data sent by the second repeater.
  • the IoT wireless access point sends the cache data to the second repeater through the first repeater indicating the abnormal state, thereby enabling the cache to be cached.
  • the data can be reported to the second repeater with the lowest delay loss, and the delay caused by the abnormal state of the first repeater is minimized, and the cached data of the first repeater is prevented from being discarded, which is beneficial to the data. Improve the integrity and real-time performance of data transmission when the wireless sensor network repeater is abnormal.
  • the method further includes:
  • the IoT wireless access point When detecting that the uplink bandwidth of the second repeater is smaller than the uplink bandwidth of the third repeater, the IoT wireless access point sends a second cache data migration instruction to the first repeater.
  • the second cache data migration instruction is used to instruct the first repeater to send cache data to the third repeater;
  • the IoT wireless access point receives the cache data of the first repeater sent by the third repeater.
  • the method further includes:
  • the IoT wireless access point sends an unmount command to the first repeater, where the unmount command is used to instruct the first repeater to unmount the IoT terminal.
  • the Internet of Things wireless access point after receiving the cached data of the first repeater in the abnormal state, the Internet of Things wireless access point sends an unmount command to the first repeater to indicate that the first repeater is unmounted.
  • the IoT terminal prevents the uplink data of the IoT terminal from continuing to be transmitted to the first repeater, causing data accumulation, affecting the stability of the wireless sensor network, and improving the stability of the wireless sensor network repeater when an abnormality occurs.
  • the IoT wireless access point sends an unmount finger to the first repeater After the order, the method further includes:
  • the IoT wireless access point sends a first device mount command to the third repeater, where the first device mount command includes a device identifier of the IoT terminal that is unmounted by the first repeater And the device identifier is used by the third repeater to mount the IoT terminal that is unmounted by the first repeater.
  • the IoT terminal after the IoT terminal mounted by the first repeater is unmounted, the IoT terminal will determine the idle network time slot of the network beacon after receiving the network beacon, and The idle network time slot sends an incoming network frame to the third repeater that sends the network beacon, and the third repeater acquires the incoming network frame, determines the device identifier of the Internet of Things terminal according to the incoming network frame, and refers to the first device mounting instruction.
  • the terminal may determine a network time slot for transmitting uplink data according to its own network number.
  • the Internet of Things wireless access point can also instruct the third repeater to mount the IoT terminal that is unmounted by the first repeater, thereby unmounting the IoT terminal of the first repeater in time. Re-joining the wireless sensor network reduces the data loss of the IoT terminal, which is beneficial to improve the stability of data transmission in the wireless sensor network.
  • the method further includes:
  • the IoT wireless access point sends a second device mount command to the second repeater, where the second device mount command includes a device identifier of the IoT terminal that is unmounted by the first repeater And the device identifier is used by the second repeater to mount the IoT terminal that is unmounted by the first repeater.
  • the Internet of Things wireless access point can also instruct the second repeater to mount the IoT terminal that is unmounted by the first repeater, thereby unmounting the IoT terminal of the first repeater in time. Re-joining the wireless sensor network reduces the data loss of the IoT terminal, which is beneficial to improve the stability of data transmission in the wireless sensor network.
  • FIG. 3 is a schematic flowchart diagram of another method for processing an abnormality of a wireless sensor network according to an embodiment of the present disclosure, which is applied to a wireless sensor network, where the method is consistent with the embodiment shown in FIG. 2A.
  • the wireless sensor network includes an Internet of Things wireless access point and N Internet of Things terminals, and the N Internet of Things terminals include N1 battery-powered IoT terminals and N2 IoT terminals powered by power supplies, and the N2 Multiple IoT terminals in an IoT terminal powered by a power supply as the wireless a repeater of the sensing network, the repeater comprising a first repeater, a second repeater and a third repeater, N, N1, N2 being integers greater than 1, and the sum of N1 and N2 is N.
  • the abnormal processing method of the wireless sensor network includes:
  • the IoT wireless access point acquires an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater when detecting that the first repeater is abnormal.
  • the IoT wireless access point When detecting that the uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, the IoT wireless access point sends the first cached data to the first repeater. a migration instruction, where the first cache data migration instruction is used to instruct the first relay to send cache data to the second relay;
  • the IoT wireless access point receives the cache data of the first repeater sent by the second repeater.
  • the IoT wireless access point sends an unmount command to the first repeater, where the unmount command is used to instruct the first repeater to unmount the IoT terminal.
  • the IoT wireless access point sends a first device mount command to the third repeater, where the first device mount command includes an IoT terminal that is unmounted by the first repeater. And a device identifier, where the device identifier is used by the third relay device to mount the IoT terminal that is unmounted by the first repeater.
  • the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater are acquired when detecting The uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, and the IoT wireless access point sends a first cache data migration instruction to the first repeater, where the first cache data migration instruction is used to indicate The first repeater sends the buffered data to the second repeater, and finally, receives the cached data sent by the second repeater.
  • the IoT wireless access point sends the cache data to the second repeater through the first repeater indicating the abnormal state, thereby enabling the cache to be cached.
  • the data can be reported to the second repeater with the lowest delay loss, and the delay caused by the abnormal state of the first repeater is minimized, and the cached data of the first repeater is prevented from being discarded, which is beneficial to the data. Improve the integrity and real-time performance of data transmission when the wireless sensor network repeater is abnormal.
  • the Internet of Things wireless access point after receiving the cached data of the first repeater in the abnormal state, the Internet of Things wireless access point sends an unmount command to the first repeater to instruct the first repeater to unmount the IoT terminal.
  • the uplink data of the IoT terminal is prevented from continuing to be transmitted to the first repeater, causing data accumulation, affecting the stability of the wireless sensor network, and improving the stability of the wireless sensor network repeater when an abnormality occurs.
  • the Internet of Things wireless access point can also instruct the third repeater to mount the IoT terminal that is unmounted by the first repeater, so as to re-join the IoT terminal that is unmounted by the first repeater to the wireless transmission in time.
  • Sense network reduce data loss of IoT terminals, and help to improve the stability of data transmission in wireless sensor networks.
  • FIG. 4 is a schematic flowchart of another abnormality processing method of a wireless sensor network according to an embodiment of the present disclosure, which is applied to a wireless sensor network.
  • the wireless sensor network includes an Internet of Things wireless access point and N Internet of Things terminals, and the N Internet of Things terminals include N1 battery-powered IoT terminals and N2 IoT terminals powered by power supplies. a plurality of IoT terminals in the N2 power-operated IoT terminals as repeaters of the wireless sensor network, the repeaters including a first repeater, a second repeater, and a third
  • the relay, N, N1, N2 is an integer greater than 1, and the sum of N1 and N2 is N.
  • the abnormal processing method of the wireless sensor network includes:
  • the IoT wireless access point acquires an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater when detecting that the first repeater is abnormal.
  • the IoT wireless access point When detecting that the uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, the IoT wireless access point sends the first cached data to the first repeater. a migration instruction, where the first cache data migration instruction is used to instruct the first relay to send cache data to the second relay;
  • the IoT wireless access point receives the cache data of the first repeater sent by the second repeater.
  • the IoT wireless access point sends an unmount command to the first repeater, where the unmount command is used to instruct the first repeater to unmount the IoT terminal.
  • the IoT wireless access point sends a second device mount command to the second repeater, where the second device mount command includes an IoT terminal that is unmounted by the first repeater. And a device identifier, where the device identifier is used by the second relay device to mount the IoT terminal that is unmounted by the first repeater.
  • the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater are acquired when detecting The uplink bandwidth of the second repeater is greater than or equal to the uplink bandwidth of the third repeater, and the IoT wireless access point sends a first cache data migration instruction to the first repeater, where the first cache data migration instruction is used to indicate the first
  • the repeater sends the buffered data to the second repeater, and finally, receives the cached data sent by the second repeater.
  • the IoT wireless access point sends the cache data to the second repeater through the first repeater indicating the abnormal state, thereby enabling the cache to be cached.
  • the data can be reported to the second repeater with the lowest delay loss, and the delay caused by the abnormal state of the first repeater is minimized, and the cached data of the first repeater is prevented from being discarded, which is beneficial to the data. Improve the integrity and real-time performance of data transmission when the wireless sensor network repeater is abnormal.
  • the Internet of Things wireless access point after receiving the cached data of the first repeater in the abnormal state, the Internet of Things wireless access point sends an unmount command to the first repeater to instruct the first repeater to unmount the IoT terminal.
  • the uplink data of the IoT terminal is prevented from continuing to be transmitted to the first repeater, causing data accumulation, affecting the stability of the wireless sensor network, and improving the stability of the wireless sensor network repeater when an abnormality occurs.
  • the Internet of Things wireless access point can also instruct the second repeater to mount the IoT terminal that is unmounted by the first repeater, so as to re-join the IoT terminal that is unmounted by the first repeater to the wireless transmission in time.
  • Sense network reduce data loss of IoT terminals, and help to improve the stability of data transmission in wireless sensor networks.
  • the Internet of Things wireless access point includes corresponding hardware structures and/or software modules for performing various functions.
  • 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 embodiment of the present invention may divide the functional unit of the Internet of Things wireless access point according to the foregoing method 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.
  • FIG. 5A shows a possible structural diagram of the Internet of Things wireless access point involved in the above embodiment.
  • the Internet of Things wireless access point 500 includes: a processing unit 502 and communication unit 503.
  • the processing unit 502 is configured to perform control management on the action of the Internet of Things wireless access point.
  • the processing unit 502 is configured to support the Internet of Things wireless access point to perform steps S201 to S203 in FIG. 2A and steps S301 to S305 in FIG. 3 . And steps S401 through S405 in Figure 4 and/or other processes for the techniques described herein.
  • the communication unit 503 is used to support communication between the Internet of Things wireless access point and other devices, such as communication with the Internet of Things terminal and the Internet of Things gateway.
  • the Internet of Things wireless access point may further include a storage unit 501 for storing program codes and data of the Internet of Things wireless access point.
  • 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.
  • the processing unit 502 is configured to acquire, by the communication unit 503, an uplink bandwidth of the second repeater and the third repeater when detecting that the first repeater state is abnormal.
  • An uplink bandwidth ; and configured to send, by the communication unit 503, the first uplink to the first repeater when detecting that an uplink bandwidth of the second repeater is greater than or equal to an uplink bandwidth of the third repeater Cache a data migration instruction, the first cache data migration instruction is used to instruct the first repeater to send cached data to the second repeater, and to receive the second through the communication unit 503 The cache data of the first repeater sent by the repeater.
  • the processing unit 502 is further configured to: when detecting that an uplink bandwidth of the second repeater is smaller than an uplink bandwidth of the third repeater, by using the communication unit 503 a repeater sends a second cache data migration instruction, the second cache data migration instruction is used to instruct the first repeater to send cached data to the third repeater, and to use the communication
  • the unit 503 receives the cache data of the first repeater sent by the third repeater.
  • the processing unit 502 is further configured to send, by using the communication unit 503, an unmount command to the first repeater, where the unmount command is used to indicate the first relay Unmount the IoT terminal.
  • the processing unit 502 is further configured to send the third repeater through the communication unit 503 after the unloading instruction is sent to the first repeater by the communication unit 503.
  • Sending 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 repeater, and the device identifier is used for the third relay device to mount The first repeater unmounts the IoT terminal that is mounted.
  • the processing unit 502 is further configured to send the second repeater through the communication unit 503 after the unloading instruction is sent to the first repeater by the communication unit 503.
  • Sending 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 repeater, and the device identifier is used for the second relay device to mount The first repeater unmounts the IoT terminal that is mounted.
  • the Internet of Things wireless access point may be the Internet of Things wireless access point shown in FIG. 5B.
  • the Internet of Things wireless access point 510 includes a processor 512, a transceiver 513, and a memory 511.
  • the Internet of Things wireless access point 510 can also 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.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • 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.
  • the device for the Internet of Things (IoT) access point shown in FIG. 5A or FIG. 5B can also be understood as a device for the IoT wireless access point, which is not limited in the embodiment of the present invention.
  • IoT Internet of Things
  • Embodiments of the present invention also provide an Internet of Things wireless access point, the IoT wireless access point including one or more processors, a memory, one or more programs, wherein the one or more programs are stored in the In the memory, and configured to be executed by the one or more processors, the program includes instructions for performing any one 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 described in the above method embodiment Part or all of the steps.
  • 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 operable
  • the computer is caused to perform some or all of the steps as described in the above method embodiments.
  • the computer program product can be a software installation package.
  • the disclosed apparatus may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • 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.
  • 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.
  • 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.
  • 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), and a random access memory (RAM, Random Access Memory), removable hard disk, disk or optical disk, and other media that can store program code.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明公开了一种无线传感网络的异常处理方法及设备,包括:物联网无线接入点当检测到第一中继器的状态异常时,获取第二中继器的上行带宽和第三中继器的上行带宽;当检测到第二中继器的上行带宽大于或等于第三中继器的上行带宽,向第一中继器发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一中继器将缓存数据发送至第二中继器;接收第二中继器发送的第一中继器的缓存数据。本发明实施例有利于提升无线传感网络数据传输的稳定性和抗干扰能力。

Description

无线传感网络的异常处理方法及设备 技术领域
本发明涉及通信领域,尤其涉及一种无线传感网络的异常处理方法及设备。
背景技术
物联网应用中的无线传感网络由物联网网关、物联网无线接入点和物联网终端以及中继器(部分电源供电的且内置路由算法的物联网终端可以充当中继器)共同组成,经由物联网终端进行数据采集、通过物联网无线接入点、物联网网关进行数据的传输。物联网有两层意思:其一,物联网的核心和基础仍然是互联网,是在互联网基础上的延伸和扩展的网络;其二,其用户端延伸和扩展到了任何物品与物品之间,进行信息交换和通信,也就是物物相息。物联网通过智能感知、识别技术与普适计算等通信感知技术,广泛应用于网络的融合中,也因此被称为继计算机、互联网之后世界信息产业发展的第三次浪潮。物联网是互联网的应用拓展,与其说物联网是网络,不如说物联网是业务和应用。
目前,物联网无线传感网络中,当中继器发生故障无法进行有效的上行数据传输时,中继器中缓存数据会丢失。
发明内容
本发明提供一种无线传感网络的异常处理方法,可以提升无线传感网络中继器异常时数据传输的完整性和实时性。
第一方面,本发明实施例提供一种无线传感网络的异常处理方法,应用于无线传感网络,所述无线传感网络包括物联网无线接入点和N个物联网终端,所述N个物联网终端包括N1个用电池供电的物联网终端和N2个用电源供电的物联网终端,所述N2个用电源供电的物联网终端中的多个物联网终端作为所述无线传感网络的中继器,所述中继器包括第一中继器、第二中继器和第三中继器,N、N1、N2为大于1的整数,且N1和N2的和为N,所述方法包括如下步骤:
所述物联网无线接入点当检测到所述第一中继器状态异常时,获取所述第 二中继器的上行带宽和所述第三中继器的上行带宽;
当检测到所述第二中继器的上行带宽大于或等于所述第三中继器的上行带宽,所述物联网无线接入点向所述第一中继器发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第二中继器;
所述物联网无线接入点接收所述第二中继器发送的所述第一中继器的缓存数据。
由上可见,本发明实施例中,物联网无线接入点当检测到第一中继器的状态异常时,获取第二中继器的上行带宽和第三中继器的上行带宽,当检测到第二中继器的上行带宽大于或等于第三中继器的上行带宽,物联网无线接入点向第一中继器发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一中继器将缓存数据发送至第二中继器,最后,接收第二中继器发送的缓存数据。由于上行带宽越大的中继器的上行数据传输速率越高,故而,物联网无线接入点通过指示状态异常的第一中继器将缓存数据发送给第二中继器,从而可以使得缓存数据可以以最低延时损耗由第二中继器上报给自己,尽可能降低因第一中继器的状态异常而引起的延时,且避免第一中继器的缓存数据被丢弃,有利于提升无线传感网络中继器异常时数据传输的完整性和实时性。
在一个可能的设计中,所述方法还包括:
当检测到所述第二中继器的上行带宽小于所述第三中继器的上行带宽,所述物联网无线接入点向所述第一中继器发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第三中继器。
在一个可能的设计中,所述方法还包括:
所述物联网无线接入点向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。
可见,本可能的设计中,物联网无线接入点接收到异常状态的第一中继器的缓存数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。
在一个可能的设计中,所述物联网无线接入点向所述第一中继器发送解除 挂载指令之后,所述方法还包括:
所述物联网无线接入点向所述第三中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第三中继器挂载所述第一中继器解除挂载的物联网终端。
可见,本可能的设计中,物联网无线接入点还可以指示第三中继器挂载第一中继器解除挂载的物联网终端,从而及时将第一中继器解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。
在一个可能的设计中,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括:
所述物联网无线接入点向所述第二中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第二中继器挂载所述第一中继器解除挂载的物联网终端。
可见,本可能的设计中,物联网无线接入点还可以指示第二中继器挂载第一中继器解除挂载的物联网终端,从而及时将第一中继器解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。
本发明实施例的第二方面,提供一种物联网无线接入点,该物联网无线接入点具有实现上述第一方面的方法设计中物联网无线接入点的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
具体来说,该物联网无线接入点包括处理单元和通信单元,所述处理单元用于当检测到所述第一中继器状态异常时,通过所述通信单元获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;以及用于当检测到所述第二中继器的上行带宽大于或等于所述第三中继器的上行带宽,通过所述通信单元向所述第一中继器发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第二中继器,以及用于通过所述通信单元接收所述第二中继器发送的所述第一中继器的缓存数据。
在一个可能的设计中,所述处理单元还用于当检测到所述第二中继器的上行带宽小于所述第三中继器的上行带宽,通过所述通信单元向所述第一中继器发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一中 继器将缓存数据发送至所述第三中继器,以及用于通过所述通信单元接收所述第三中继器发送的所述第一中继器的缓存数据。
在一个可能的设计中,所述处理单元还用于通过所述通信单元向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。
在一个可能的设计中,所述处理单元通过所述通信单元向所述第一中继器发送解除挂载指令之后,还用于通过所述通信单元向所述第三中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第三中继器挂载所述第一中继器解除挂载的物联网终端。
在一个可能的设计中,所述处理单元通过所述通信单元向所述第一中继器发送解除挂载指令之后,还用于通过所述通信单元向所述第二中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第二中继器挂载所述第一中继器解除挂载的物联网终端。
本发明实施例的第三方面,提供一种物联网无线接入点,该物联网无线接入点包括处理器,所述处理器被配置为支持物联网无线接入点执行上述第一方面的方法中相应的功能。进一步的,物联网无线接入点还可以包括收发器,所述收发器用于支持物联网无线接入点与物联网终端之间的通信。进一步的,物联网无线接入点还可以包括存储器,所述存储器用于与处理器耦合,其保存物联网无线接入点必要的程序指令和数据。
本发明实施例的第四方面,提供一种物联网无线接入点,该物联网无线接入点包括一个或多个处理器、存储器、一个或多个程序,其中所述一个或多个程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,所述程序包括用于执行上述第一方面的方法中任意一个步骤的指令。
本发明实施例的第五方面,提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。
本发明实施例的第六方面,提供一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机 程序可操作来使计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
可以看出,本发明实施例中,物联网无线接入点当检测到第一中继器的状态异常时,获取第二中继器的上行带宽和第三中继器的上行带宽,当检测到第二中继器的上行带宽大于或等于第三中继器的上行带宽,物联网无线接入点向第一中继器发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一中继器将缓存数据发送至第二中继器,最后,接收第二中继器发送的缓存数据。由于上行带宽越大的中继器的上行数据传输速率越高,故而,物联网无线接入点通过指示状态异常的第一中继器将缓存数据发送给第二中继器,从而可以使得缓存数据可以以最低延时损耗由第二中继器上报给自己,尽可能降低因第一中继器的状态异常而引起的延时,且避免第一中继器的缓存数据被丢弃,有利于提升无线传感网络中继器异常时数据传输的完整性和实时性。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种示例无线传感网络的网络架构图;
图2A是本发明实施例提供的一种无线传感网络的异常处理方法的流程示意图;
图2B是本发明实施例提供的一种示例网络信标的时隙结构图;
图3是本发明实施例提供的另一种无线传感网络的异常处理方法的流程示意图;
图4是本发明实施例提供的另一种无线传感网络的异常处理方法的流程示意图
图5A是本发明实施例提供的一种物联网无线接入点的功能单元框图;
图5B是本发明实施例提供的一种物联网无线接入点的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施 例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
下面结合具体实施例进行详细说明。
请参阅图1,图1是本发明实施例提供的一种示例无线传感网络的网络架构图,该无线传感网络包括物联网网关、与所述物联网网关通信连接的物联网无线接入点、与所述物联网无线接入点通信连接的物联网终端,其中,物联网网关通过光纤等媒介连接互联网,物联网网关通过无线方式连接物联网无线接入点,物联网无线接入点和物联网终端采用星形拓扑结构进行连接,每个物联网无线接入点的频点不同,未入网的物联网终端通过跳频的方式搜索加入对自身最有利的物联网无线接入点,每个由不同频段的物联网无线接入点组建的通讯网络互不干扰。物联网终端包括用电池供电的物联网终端和用电源供电的物联网终端。其中,用电源供电的物联网终端内嵌有路由算法,当需要某个电源供电的物联网终端担当中继器功能使用时,启用内嵌的路由算法,则此时该物联网终端既充当物联网终端同时也作为中继器。具体地,物联网无线接入点能够通过物联网终端中在注册的时候已经预设好的状态标识,识别出该物联网终端为电池供电的物联网终端还是为电源供电的物联网终端,方便物联网无线接入点能够正确地选择中继器。当物联网终端检测到自身与物联网无线接入点之间的距离超过预设的最大传输距离时,需要通过中继器完成接力传输。本发明 实施例所适用的示例无线传感网络中可以包括多个中继器。
参阅图2A,图2A为本发明实施例提供的一种无线传感网络的异常处理方法的流程示意图,应用于无线传感网络,所述无线传感网络包括物联网无线接入点和N个物联网终端,所述N个物联网终端包括N1个用电池供电的物联网终端和N2个用电源供电的物联网终端,所述N2个用电源供电的物联网终端中的多个物联网终端作为所述无线传感网络的中继器,所述中继器包括第一中继器、第二中继器和第三中继器,N、N1、N2为大于1的整数,且N1和N2的和为N,如图2A所示,该方法包括:
S201,物联网无线接入点当检测到所述第一中继器状态异常时,获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;
可以理解的是,物联网无线接入点当检测到所述第一中继器状态异常的具体实现方式可以是多种多样的,本发明实施例不做唯一限定。
举例来说,物联网无线接入点检测到在当前信标周期内未接收到第一中继器的上行数据,则可以确定第一中继器状态异常。
又举例来说,物联网无线接入点接收到第一中继器主动上报的状态异常消息,则可以确定第一中继器状态异常。
物联网无线接入点所连接的物联网终端中,物联网终端的上报机制使用有序竞争机制(如时分多址技术)和无序竞争机制相结合的技术,如图2B所示,其具体过程是:物联网无线接入点定时向外广播发送一帧网络信标(周期为T),根据时分多址将信标周期T等分为n个网络时隙,每个网络时隙为Δt,将至少一个网络时隙Δt预留下来给未入网的物联网终端入网交互,其余的Δt中的n1个Δt分配给已加入网络分配有网络编号的物联网终端根据自身网络编号(网络编号是在物联网终端加入物联网无线接入点网络时,物联网无线接入点所分配的)进行数据交互,其余的Δt中的n2个Δt分配给所有已加入无线传感网络的物联网终端用于无序竞争信道资源。
其中,第一中继器、第二中继器和第三中继器均是内置路由算法的物联网终端,且三者之间的相互通信,路由算法包括跳频和频分复用算法,以及时分复用算法。控制中继器通过跳频和频分复用算法发射无线信号,或者控制中继器通过时分复用算法发射无线信号;应当说明的是,由于全网的频率资源是有限的,中继器会根据当前可用频率资源的多少来决定启用跳频和频分复用算法还是启用时分复用算法完成中继任务。以下将以中继器执行中继任务时,频率 资源比较多时和频率资源比较少时的两种情况为例,对中继器通过跳频和频分复用算法发射无线信号,或者通过时分复用算法发射无线信号作详细说明:
具体地,如果当前全网的频率资源比较多时,即频率资源不紧张,则物联网无线接入点制各个中继器启用内嵌的预置的路由算法选择通过跳频算法和频分复用算法发射无线信号,完成中继任务。例如,一个中继器和其所连接的所有物联网终端跳到436.1频点作为中继频点进行无线通讯,另一个中继器带着其所连接的所有物联网终端跳到321频点作为中继频点进行通讯;其中,中继器可以通过预设的工作频点与所连接的物联网无线接入点进行通讯;依此类推,各个中继器之间通过不同的中继频点进行通讯。可以理解的是,频点的分配可根据实际需要进行设置,在此不做进一步的限定。此时,中继器和物联网无线接入点的通讯采用工作频点,中继器和远程物联网终端的通讯采用中继频点。
如果当前全网的频率资源比较少时,即频率资源紧张,则物联网无线接入点控制中继器启用内嵌的预置的路由算法选择通过时分复用算法完成中继任务;例如,权衡全网的时间资源平均分配时隙,将前100秒的时隙分配给一个中继器,将下一个100秒的时隙分配给另一个中继器,依此类推,各个中继器之间通过在同一频点上的不同时间点进行无线通讯。可以理解的是,上述时隙的分配可根据实际需要进行设置,在此不做进一步的限定。应当说明的是,在时隙分配的过程中,可以根据各个中继器对时隙的需要,按需分配时隙量;也可以根据中继器申请的优先级进行优选分配控制。在工作过程中,各个中继器及时将被中继的远程物联网终端的个数以及通讯过程中的业务质量等信息发送至物联网无线接入点,由物联网无线接入点根据情况统一分配时隙。
S202,当检测到所述第二中继器的上行带宽大于或等于所述第三中继器的上行带宽,所述物联网无线接入点向所述第一中继器发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第二中继器;
其中,所述缓存数据可以是指当前信标周期的前一个信标周期,第一中继器接收到的第一中继器挂载的物联网终端的上行数据,该部分上行数据由于第一中继器的状态异常未能在前一个信标周期同步上传至物联网无线接入点,故而缓存在第一中继器中。
S203,所述物联网无线接入点接收所述第二中继器发送的所述第一中继器 的缓存数据。
具体实现中,所述第二中继器可以在第k个网络信标的信标周期内接收第一中继器发送的缓存数据,并在第k+1个网络信标的信标周期内向物联网无线接入点发送所述缓存数据,对应的,物联网无线接入点在第k+1个网络信标的信标周期内接收到所述缓存数据,k为正整数。
可以看出,本发明实施例中,物联网无线接入点当检测到第一中继器的状态异常时,获取第二中继器的上行带宽和第三中继器的上行带宽,当检测到第二中继器的上行带宽大于或等于第三中继器的上行带宽,物联网无线接入点向第一中继器发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一中继器将缓存数据发送至第二中继器,最后,接收第二中继器发送的缓存数据。由于上行带宽越大的中继器的上行数据传输速率越高,故而,物联网无线接入点通过指示状态异常的第一中继器将缓存数据发送给第二中继器,从而可以使得缓存数据可以以最低延时损耗由第二中继器上报给自己,尽可能降低因第一中继器的状态异常而引起的延时,且避免第一中继器的缓存数据被丢弃,有利于提升无线传感网络中继器异常时数据传输的完整性和实时性。
在一个示例中,所述方法还包括:
当检测到所述第二中继器的上行带宽小于所述第三中继器的上行带宽,所述物联网无线接入点向所述第一中继器发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第三中继器;
所述物联网无线接入点接收所述第三中继器发送的所述第一中继器的缓存数据。
在一个示例中,所述方法还包括:
所述物联网无线接入点向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。
可见,本示例中,物联网无线接入点接收到异常状态的第一中继器的缓存数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。
在一个示例中,所述物联网无线接入点向所述第一中继器发送解除挂载指 令之后,所述方法还包括:
所述物联网无线接入点向所述第三中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第三中继器挂载所述第一中继器解除挂载的物联网终端。
本示例中,第一中继器挂载的物联网终端被解除挂载后,处于未入网状态,物联网终端将在接收到网络信标后,确定该网络信标的空闲网络时隙,并在空闲网络时隙向发送该网络信标的第三中继器发送入网帧,第三中继器获取该入网帧,根据入网帧确定物联网终端的设备标识,并通过查阅第一设备挂载指令中携带的设备标识集合,确定设备标识集合包括该设备标识时,则为该物联网终端分配网络标号,并向预设网络时隙向物联网终端发送该网络编号,已完成入网操作,后续物联网终端在接收到网络信标完成时间同步后,可以根据自身的网络编号确定用于自身发送上行数据的网络时隙。
可见,本示例中,物联网无线接入点还可以指示第三中继器挂载第一中继器解除挂载的物联网终端,从而及时将第一中继器解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。
在一个示例中,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括:
所述物联网无线接入点向所述第二中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第二中继器挂载所述第一中继器解除挂载的物联网终端。
可见,本示例中,物联网无线接入点还可以指示第二中继器挂载第一中继器解除挂载的物联网终端,从而及时将第一中继器解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。
与上述图2A所示的实施例一致的,请参阅图3,图3是本发明实施例提供的另一种无线传感网络的异常处理方法的流程示意图,应用于无线传感网络,所述无线传感网络包括物联网无线接入点和N个物联网终端,所述N个物联网终端包括N1个用电池供电的物联网终端和N2个用电源供电的物联网终端,所述N2个用电源供电的物联网终端中的多个物联网终端作为所述无线 传感网络的中继器,所述中继器包括第一中继器、第二中继器和第三中继器,N、N1、N2为大于1的整数,且N1和N2的和为N。如图所示,本无线传感网络的异常处理方法包括:
S301,物联网无线接入点当检测到所述第一中继器状态异常时,获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;
S302,当检测到所述第二中继器的上行带宽大于或等于所述第三中继器的上行带宽,所述物联网无线接入点向所述第一中继器发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第二中继器;
S303,所述物联网无线接入点接收所述第二中继器发送的所述第一中继器的缓存数据。
S304,所述物联网无线接入点向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。
S305,所述物联网无线接入点向所述第三中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第三中继器挂载所述第一中继器解除挂载的物联网终端。
可以看出,本发明实施例中,物联网无线接入点当检测到第一中继器的状态异常时,获取第二中继器的上行带宽和第三中继器的上行带宽,当检测到第二中继器的上行带宽大于或等于第三中继器的上行带宽,物联网无线接入点向第一中继器发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一中继器将缓存数据发送至第二中继器,最后,接收第二中继器发送的缓存数据。由于上行带宽越大的中继器的上行数据传输速率越高,故而,物联网无线接入点通过指示状态异常的第一中继器将缓存数据发送给第二中继器,从而可以使得缓存数据可以以最低延时损耗由第二中继器上报给自己,尽可能降低因第一中继器的状态异常而引起的延时,且避免第一中继器的缓存数据被丢弃,有利于提升无线传感网络中继器异常时数据传输的完整性和实时性。
此外,物联网无线接入点接收到异常状态的第一中继器的缓存数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。
此外,物联网无线接入点还可以指示第三中继器挂载第一中继器解除挂载的物联网终端,从而及时将第一中继器解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。
与上述图2A和图3所示的实施例一致的,请参阅图4,图4是本发明实施例提供的另一种无线传感网络的异常处理方法的流程示意图,应用于无线传感网络,所述无线传感网络包括物联网无线接入点和N个物联网终端,所述N个物联网终端包括N1个用电池供电的物联网终端和N2个用电源供电的物联网终端,所述N2个用电源供电的物联网终端中的多个物联网终端作为所述无线传感网络的中继器,所述中继器包括第一中继器、第二中继器和第三中继器,N、N1、N2为大于1的整数,且N1和N2的和为N。如图所示,本无线传感网络的异常处理方法包括:
S401,物联网无线接入点当检测到所述第一中继器状态异常时,获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;
S402,当检测到所述第二中继器的上行带宽大于或等于所述第三中继器的上行带宽,所述物联网无线接入点向所述第一中继器发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第二中继器;
S403,所述物联网无线接入点接收所述第二中继器发送的所述第一中继器的缓存数据。
S404,所述物联网无线接入点向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。
S405,所述物联网无线接入点向所述第二中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第二中继器挂载所述第一中继器解除挂载的物联网终端。
可以看出,本发明实施例中,物联网无线接入点当检测到第一中继器的状态异常时,获取第二中继器的上行带宽和第三中继器的上行带宽,当检测到第二中继器的上行带宽大于或等于第三中继器的上行带宽,物联网无线接入点向第一中继器发送第一缓存数据迁移指令,第一缓存数据迁移指令用于指示第一 中继器将缓存数据发送至第二中继器,最后,接收第二中继器发送的缓存数据。由于上行带宽越大的中继器的上行数据传输速率越高,故而,物联网无线接入点通过指示状态异常的第一中继器将缓存数据发送给第二中继器,从而可以使得缓存数据可以以最低延时损耗由第二中继器上报给自己,尽可能降低因第一中继器的状态异常而引起的延时,且避免第一中继器的缓存数据被丢弃,有利于提升无线传感网络中继器异常时数据传输的完整性和实时性。
此外,物联网无线接入点接收到异常状态的第一中继器的缓存数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。
此外,物联网无线接入点还可以指示第二中继器挂载第一中继器解除挂载的物联网终端,从而及时将第一中继器解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。
上述主要从方法侧执行过程的角度对本发明实施例的方案进行了介绍。可以理解的是,物联网无线接入点为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本发明实施例可以根据上述方法示例对物联网无线接入点进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用集成的单元的情况下,图5A示出了上述实施例中所涉及的物联网无线接入点的一种可能的结构示意图。物联网无线接入点500包括:处理单元 502和通信单元503。处理单元502用于对物联网无线接入点的动作进行控制管理,例如,处理单元502用于支持物联网无线接入点执行图2A中的步骤S201至S203、图3中的步骤S301至S305以及图4中的步骤S401至S405和/或用于本文所描述的技术的其它过程。通信单元503用于支持物联网无线接入点与其他设备的通信,例如与物联网终端、物联网网关之间的通信。物联网无线接入点还可以包括存储单元501,用于存储物联网无线接入点的程序代码和数据。
其中,处理单元502可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元503可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口。存储单元501可以是存储器。
其中,所述处理单元502,用于当检测到所述第一中继器状态异常时,通过所述通信单元503获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;以及用于当检测到所述第二中继器的上行带宽大于或等于所述第三中继器的上行带宽,通过所述通信单元503向所述第一中继器发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第二中继器,以及用于通过所述通信单元503接收所述第二中继器发送的所述第一中继器的缓存数据。
在一个可能的示例中,所述处理单元502还用于当检测到所述第二中继器的上行带宽小于所述第三中继器的上行带宽,通过所述通信单元503向所述第一中继器发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第三中继器,以及用于通过所述通信单元503接收所述第三中继器发送的所述第一中继器的缓存数据。
在一个可能的示例中,所述处理单元502还用于通过所述通信单元503向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。
在一个可能的示例中,所述处理单元502通过所述通信单元503向所述第一中继器发送解除挂载指令之后,还用于通过所述通信单元503向所述第三中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第三中继器挂载所述第一中继器解除挂载的物联网终端。
在一个可能的示例中,所述处理单元502通过所述通信单元503向所述第一中继器发送解除挂载指令之后,还用于通过所述通信单元503向所述第二中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第二中继器挂载所述第一中继器解除挂载的物联网终端。
当处理单元502为处理器,通信单元503为通信接口,存储单元501为存储器时,本发明实施例所涉及的物联网无线接入点可以为图5B所示的物联网无线接入点。
参阅图5B所示,该物联网无线接入点510包括:处理器512、收发器513、存储器511。可选的,物联网无线接入点510还可以包括总线515。其中,收发器513、处理器512以及存储器511可以通过总线515相互连接;总线515可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。所述总线515可以分为地址总线、数据总线、控制总线等。为便于表示,图5B中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
上述图5A或图5B所示的物联网无线接入点也可以理解为一种用于物联网无线接入点的装置,本发明实施例不限定。
本发明实施例还提供一种物联网无线接入点,该物联网无线接入点包括一个或多个处理器、存储器、一个或多个程序,其中所述一个或多个程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,所述程序包括用于执行上述方法实施例中任意一个步骤的指令。
本发明实施例还提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如上述方法实施例中所描述的部分或全部步骤。
本发明实施例还提供一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作 来使计算机执行如上述方法实施例中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本发明所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM, Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (10)

  1. 一种无线传感网络的异常处理方法,其特征在于,所述方法包括:
    物联网无线接入点当检测到第一中继器状态异常时,获取第二中继器的上行带宽和第三中继器的上行带宽;
    当检测到所述第二中继器的上行带宽大于或等于所述第三中继器的上行带宽,所述物联网无线接入点向所述第一中继器发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第二中继器;
    所述物联网无线接入点接收所述第二中继器发送的所述第一中继器的缓存数据。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当检测到所述第二中继器的上行带宽小于所述第三中继器的上行带宽,所述物联网无线接入点向所述第一中继器发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第三中继器;
    所述物联网无线接入点接收所述第三中继器发送的所述第一中继器的缓存数据。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    所述物联网无线接入点向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。
  4. 根据权利要求3所述的方法,其特征在于,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括:
    所述物联网无线接入点向所述第三中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第三中继器挂载所述第一中继器解除挂载的物联网终端。
  5. 根据权利要求3所述的方法,其特征在于,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括:
    所述物联网无线接入点向所述第二中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第二中继器挂载所述第一中继器解除挂载的物联网终端。
  6. 一种物联网无线接入点,其特征在于,所述物联网无线接入点包括处理单元和通信单元,
    所述处理单元用于当检测到第一中继器状态异常时,通过所述通信单元获取第二中继器的上行带宽和第三中继器的上行带宽;以及用于当检测到所述第二中继器的上行带宽大于或等于所述第三中继器的上行带宽,通过所述通信单元向所述第一中继器发送第一缓存数据迁移指令,所述第一缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第二中继器,以及用于通过所述通信单元接收所述第二中继器发送的所述第一中继器的缓存数据。
  7. 根据权利要求6所述的物联网无线接入点,其特征在于,所述处理单元还用于当检测到所述第二中继器的上行带宽小于所述第三中继器的上行带宽,通过所述通信单元向所述第一中继器发送第二缓存数据迁移指令,所述第二缓存数据迁移指令用于指示所述第一中继器将缓存数据发送至所述第三中继器,以及用于通过所述通信单元接收所述第三中继器发送的所述第一中继器的缓存数据。
  8. 根据权利要求6或7所述的物联网无线接入点,其特征在于,所述处理单元还用于通过所述通信单元向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。
  9. 根据权利要求8所述的物联网无线接入点,其特征在于,所述处理单元通过所述通信单元向所述第一中继器发送解除挂载指令之后,还用于通过所述通信单元向所述第三中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第三中继器挂载所述第一中继器解除挂载的物联网终端。
  10. 根据权利要求8所述的物联网无线接入点,其特征在于,所述处理单 元通过所述通信单元向所述第一中继器发送解除挂载指令之后,还用于通过所述通信单元向所述第二中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第一中继器解除挂载的物联网终端的设备标识,所述设备标识用于所述第二中继器挂载所述第一中继器解除挂载的物联网终端。
PCT/CN2017/100878 2017-07-18 2017-09-07 无线传感网络的异常处理方法及设备 Ceased WO2019015049A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710583816.5A CN107483542B (zh) 2017-07-18 2017-07-18 无线传感网络的异常处理方法及设备
CN201710583816.5 2017-07-18

Publications (1)

Publication Number Publication Date
WO2019015049A1 true WO2019015049A1 (zh) 2019-01-24

Family

ID=60595012

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100878 Ceased WO2019015049A1 (zh) 2017-07-18 2017-09-07 无线传感网络的异常处理方法及设备

Country Status (2)

Country Link
CN (1) CN107483542B (zh)
WO (1) WO2019015049A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023143420A1 (zh) * 2022-01-27 2023-08-03 维沃移动通信有限公司 设备管理方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019375A (zh) * 2004-09-22 2007-08-15 国际商业机器公司 用于在网络的节点之间复制数据分量的方法和系统
CN101656624A (zh) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 一种多节点应用级容灾系统及容灾方法
US20120275345A1 (en) * 2005-03-11 2012-11-01 Samsung Electronics Co., Ltd. Method for generating and registering identification in wireless sensor network
CN103052115A (zh) * 2011-10-17 2013-04-17 中国移动通信集团公司 数据传输方法、移动终端、中继汇聚器及相关系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888994B (zh) * 2012-12-21 2017-11-21 中国科学院计算技术研究所 一种具有热灾备能力的多网关处理方法及系统
US9176832B2 (en) * 2013-03-15 2015-11-03 Cisco Technology, Inc. Providing a backup network topology without service disruption
US20140351832A1 (en) * 2013-05-21 2014-11-27 Samsung Electronics Co., Ltd. Electronic device using framework interface for communication
CN106470128A (zh) * 2015-08-18 2017-03-01 富士通株式会社 故障检测装置和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019375A (zh) * 2004-09-22 2007-08-15 国际商业机器公司 用于在网络的节点之间复制数据分量的方法和系统
US20120275345A1 (en) * 2005-03-11 2012-11-01 Samsung Electronics Co., Ltd. Method for generating and registering identification in wireless sensor network
CN101656624A (zh) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 一种多节点应用级容灾系统及容灾方法
CN103052115A (zh) * 2011-10-17 2013-04-17 中国移动通信集团公司 数据传输方法、移动终端、中继汇聚器及相关系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023143420A1 (zh) * 2022-01-27 2023-08-03 维沃移动通信有限公司 设备管理方法及装置

Also Published As

Publication number Publication date
CN107483542A (zh) 2017-12-15
CN107483542B (zh) 2020-09-04

Similar Documents

Publication Publication Date Title
US10411971B2 (en) Method for unified communication of server, baseboard management controller, and server
US9832744B2 (en) Timing value adjustment method and apparatus
RU2610250C2 (ru) Узел передачи и способ отчетности о статусе буфера
US10560929B2 (en) Resource request method and system, device, and network side node
EP4027587A1 (en) Oam method and apparatus for network
CN107949014B (zh) 数据传输方法、装置、系统及移动终端
CN110945943B (zh) 数据处理系统、方法、装置、设备及可读存储介质
CN113950863A (zh) 无线通信方法和终端设备
CN103188054A (zh) 反馈时延的获取方法、装置及系统
KR20210138767A (ko) 선점을 위한 논리적 채널 우선순위화
US9537735B2 (en) Data collection method, mobile terminal and data storage device
CN114338477A (zh) 一种通信链路监控方法、装置、设备及存储介质
WO2019015048A1 (zh) 无线传感网络中继器异常处理方法及设备
CN101981908B (zh) 监视系统和终端装置
WO2017070254A1 (en) System for media distribution and rendering on spatially extended wireless networks
WO2022078317A1 (zh) 上行数据发送方法及相关产品
WO2014198138A1 (zh) 数据包传输方法、接入点及无线通信系统
WO2019015050A1 (zh) 无线传感网络中继器异常处理方法及设备
CN107483542B (zh) 无线传感网络的异常处理方法及设备
KR20160049919A (ko) 센서 데이터 유실을 최소화하기 위한 무선 센서 네트워크에서의 코디네이터 관리 방법
WO2019015047A1 (zh) 无线传感网络物联网无线接入点异常处理方法及设备
CN104281558B (zh) 一种在线升级的方法和芯片
WO2019019283A1 (zh) 物联网无线接入点异常处理方法及设备
US12592794B2 (en) Logical channel prioritization in unlicensed spectrum
CN112437458A (zh) 数据传输方法、装置、通信设备和介质

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: 1205A 17.07.2020

122 Ep: pct application non-entry in european phase

Ref document number: 17918644

Country of ref document: EP

Kind code of ref document: A1