WO2019015048A1 - Method and device for exception processing of repeater in wireless sensor network - Google Patents

Method and device for exception processing of repeater in wireless sensor network Download PDF

Info

Publication number
WO2019015048A1
WO2019015048A1 PCT/CN2017/100877 CN2017100877W WO2019015048A1 WO 2019015048 A1 WO2019015048 A1 WO 2019015048A1 CN 2017100877 W CN2017100877 W CN 2017100877W WO 2019015048 A1 WO2019015048 A1 WO 2019015048A1
Authority
WO
WIPO (PCT)
Prior art keywords
repeater
iot
access point
cache data
wireless access
Prior art date
Application number
PCT/CN2017/100877
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 WO2019015048A1 publication Critical patent/WO2019015048A1/en

Links

Images

Classifications

    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • 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/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Definitions

  • the present invention relates to the field of communications, and in particular, to a wireless sensor network repeater exception processing method and device.
  • 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 embodiment of the invention provides a wireless sensor network repeater abnormality processing method, which can improve the integrity and real-time performance of the data transmission when the wireless sensor network repeater is abnormal.
  • an embodiment of the present invention provides a method for processing an abnormality of a wireless sensor network repeater, which is applied to a wireless sensor network, where the wireless sensor network includes an Internet of Things wireless access point and an Internet of Things terminal.
  • the networked terminal includes a battery-powered IoT terminal and an IoT terminal powered by a power source, and the first IoT terminal in the power-supplying IoT terminal serves as the first repeater of the wireless sensor network.
  • the method comprising the steps of:
  • the IoT wireless access point acquires the first when detecting that the first repeater is abnormal
  • the IoT wireless access point Determining, by the IoT wireless access point, the first part of the cached data in the cached data of the first repeater according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater
  • Two-part cache data the first partial cache data is used for migrating to the second repeater, and the second partial cache data is used for migrating to the third repeater;
  • the IoT wireless access point sends a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the first a second repeater, and transmitting the second partial cache data to the third repeater;
  • the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
  • the IoT wireless access point when detecting that the state of the first repeater is abnormal, first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Sending a cache data migration instruction, and finally, receiving the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
  • the IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second
  • the backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network.
  • the integrity and real-time nature of data transmission when the relay is abnormal.
  • 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 method further includes:
  • the IoT wireless access point Determining, by the IoT wireless access point, a first device set and a second device set, where the first device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the second device a set of IoT terminals to be mounted by the relay, the second device set is a device for migrating to the third repeater for loading in the IoT terminal that is unmounted by the first repeater a collection of networked terminals;
  • the IoT wireless access point sends a first device mount command to the second relay device, where the first device mount command includes a device identifier of the Internet of Things terminal in the first device set, The device identifier of the Internet of Things terminal in the first device set is used by the second relay device to mount the IoT terminal in the first device set;
  • the IoT wireless access point sends a second device mount command to the third repeater, where the second device mount command includes a device identifier of the Internet of Things terminal in the second device set,
  • the device identifier of the Internet of Things terminal in the second device set is used by the third relay device to mount the Internet of Things terminal in the second device set.
  • the Internet of Things wireless access point mounts the IoT terminal unmounted by the first repeater to the second repeater and the third repeater respectively, so that the first medium is timely
  • the IoT terminal that is unmounted by the relay 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 IoT wireless access point determines a first device set and a second device set, including:
  • the IoT wireless access point acquires an Internet of Things terminal mounted by the second repeater and an Internet of Things terminal mounted by the third repeater;
  • the IoT wireless access point determines the first device set and the second device set according to the IoT terminal mounted by the second repeater and the IoT terminal mounted by the third repeater.
  • the IoT wireless access point determines a first device set and a second device set, including:
  • the IoT wireless access point determines a first device set and a second device set according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater.
  • the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache sent by the third repeater Data, including:
  • the IoT wireless access point broadcasts a frame of network beacons
  • the IoT wireless access point Receiving, by the IoT wireless access point, the first partial cache data sent by the second repeater in a first time slot of the network beacon, where the first time slot is that the second repeater is Received the said After the network beacon is time synchronized, it is determined according to its own network number;
  • 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 determining the first repeater according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater a first portion of cached data for migrating to the second repeater, and a second portion of cached data for migrating to the third And a buffer data migration instruction sent to the first relay by the communication unit, the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to The second repeater, and transmitting the second partial cache data to the third repeater; and for receiving, by the communication unit, the first partial cache sent by the second repeater Data and A third relay transmitting a second portion of the data cache.
  • the processing unit receives, by the communication unit, the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater. And is further configured to send, by the communication unit, an unmount command to the first repeater, where the unmount command is used to instruct the first repeater to unmount the IoT terminal.
  • the processing unit is further configured to determine a first device set and a second device set, where the first device is The set is a set of IoT terminals for migrating to the second repeater for loading in the IoT terminal that is unmounted by the first repeater, and the second device set is the first one.
  • a set of IoT terminals for migrating to the third repeater for mounting in the IoT terminal that is unmounted; and for transmitting the first to the second repeater by the communication unit a device mounting instruction, where the first device mounting instruction includes a device identifier of the Internet of Things terminal in the first device set, and the device identifier of the Internet of Things terminal in the first device set is used in the second device Suspending an IoT terminal in the first set of devices; and for transmitting to the third repeater through the communication unit a second device mounting instruction, where the second device mounting instruction includes a device identifier of the Internet of Things terminal in the second device set, and a device identifier of the Internet of Things terminal in the second device set is used for the The three repeaters mount the IoT terminals in the second set of devices.
  • the processing unit determines a first device set and a second device set, specifically, configured to: acquire, by the communication unit, the second relay device-mounted IoT terminal and the third And an IoT terminal mounted by the repeater; and determining, by the IoT terminal mounted by the second repeater and the IoT terminal mounted by the third repeater, determining the first device set and the second device Device collection.
  • the processing unit determines the first device set and the second device set, and is specifically configured to: determine, according to an uplink bandwidth of the second relay and an uplink bandwidth of the third repeater, The first device set and the second device set.
  • 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 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.
  • the IoT wireless access point when detecting that the state of the first repeater is abnormal, first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Send slow The data migration instruction is stored, and finally, the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater are received.
  • the IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second
  • the backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network.
  • the integrity and real-time nature of data transmission when the relay is abnormal.
  • FIG. 1 is a network architecture diagram of an exemplary wireless sensor network according to an embodiment of the present invention.
  • 2A is a schematic flowchart of a method for processing an exception of a wireless sensor network repeater 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 wireless sensor network repeater exception processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another wireless sensor network repeater abnormality processing method 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.
  • a plurality of repeaters may be included in an exemplary wireless sensor network to which embodiments of the present invention are applicable.
  • FIG. 2A is a schematic flowchart of a method for processing an abnormality of a wireless sensor network repeater according to an embodiment of the present invention, which is applied to a wireless sensor network
  • the wireless sensor network includes an Internet of Things wireless access point and An Internet of Things terminal
  • the IoT terminal comprising a battery-powered IoT terminal and an IoT terminal powered by a power source
  • the first IoT terminal in the IoT terminal powered by the power source serves as the wireless sensor network a first repeater
  • a second IoT terminal in the power-supplying IoT terminal as a second repeater of the wireless sensor network serves as the wireless sensor network a first repeater
  • a second IoT terminal in the power-supplying IoT terminal as a second repeater of the wireless sensor network
  • a third object in the IoT terminal powered by the power source a networked terminal as a third repeater of the wireless sensor network
  • the second repeater and the third repeater are in communication with each other, as
  • 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 when the relay task is performed by the repeater, when the frequency resource is relatively large and the frequency resource is relatively small, for example, the repeater transmits the wireless signal through the frequency hopping and frequency division multiplexing algorithm, or adopts time division multiplexing.
  • the algorithm transmits a wireless signal 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; Push, each repeater communicates through different relay frequency points.
  • 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 determines the first partial cached data in the cached data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater. And a second part of the cached data, the first partial cache data is used for migrating to the second repeater, and the second partial cached data is used for migrating to the third repeater;
  • 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 sends a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the Determining a second repeater, and transmitting the second partial cache data to the third repeater;
  • the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
  • the specific implementation manner that the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater may be implemented.
  • the IoT wireless access point broadcasts a frame of network beacon;
  • the IoT wireless access point receives the first partial cache sent by the second repeater in a first time slot of the network beacon Data, the first time slot is a root of the second repeater after receiving the network beacon for time synchronization Determining according to the network number of the network;
  • the IoT wireless access point receives the second partial cache data sent by the third repeater in the second time slot of the network beacon, the second time slot
  • the third repeater determines the network beacon according to its own network number after receiving the network beacon for time synchronization.
  • the IoT wireless access point when detecting that the state of the first repeater is abnormal, first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Sending a cache data migration instruction, and finally, receiving the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
  • the IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second
  • the backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network.
  • the integrity and real-time nature of data transmission when the relay is abnormal.
  • the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater, The method also 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 method further includes:
  • the IoT wireless access point Determining, by the IoT wireless access point, a first device set and a second device set, where the first device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the second device a set of IoT terminals to be mounted by the relay, the second device set is a device for migrating to the third repeater for loading in the IoT terminal that is unmounted by the first repeater a collection of networked terminals;
  • the IoT wireless access point sends a first device mount command to the second relay device, where the first device mount command includes a device identifier of the Internet of Things terminal in the first device set, The device identifier of the Internet of Things terminal in the first device set is used by the second relay device to mount the first device IoT terminals in the collection;
  • the IoT wireless access point sends a second device mount command to the third repeater, where the second device mount command includes a device identifier of the Internet of Things terminal in the second device set,
  • the device identifier of the Internet of Things terminal in the second device set is used by the third relay device to mount the Internet of Things terminal in the second device set.
  • the Internet of Things wireless access point mounts the IoT terminal unmounted by the first repeater to the second repeater and the third repeater respectively, so that the first medium is timely
  • the IoT terminal that is unmounted by the relay 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 IoT wireless access point determines a first device set and a second device set, including:
  • the IoT wireless access point acquires an Internet of Things terminal mounted by the second repeater and an Internet of Things terminal mounted by the third repeater;
  • the IoT wireless access point determines the first device set and the second device set according to the IoT terminal mounted by the second repeater and the IoT terminal mounted by the third repeater.
  • the IoT wireless access point determines a first device set and a second device set, including:
  • the IoT wireless access point determines a first device set and a second device set according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater.
  • FIG. 3 is a schematic flowchart of another method for processing an abnormality of a wireless sensor network repeater 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 an Internet of Things terminal, and the Internet of Things terminal includes a battery-powered IoT terminal and an IoT terminal powered by a power source, and the IoT terminal powered by the power source a first IoT terminal as the first repeater of the wireless sensor network, and a second IoT terminal in the power-networked IoT terminal as a second repeater of the wireless sensor network, a third IoT terminal in the IoT terminal powered by the power source as a third repeater of the wireless sensor network, the first repeater, the second repeater, and the third The repeaters are in communication with each other.
  • the wireless sensor network repeater exception processing 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 IoT wireless access point is according to an uplink bandwidth of the second repeater and the third And determining, by the uplink bandwidth of the repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, where the first partial cache data is used to migrate to the second repeater.
  • the second part of the cache data is used for migrating to the third repeater;
  • the IoT wireless access point sends a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the Determining a second repeater, and transmitting the second partial cache data to the third repeater;
  • the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third 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 when detecting that the state of the first repeater is abnormal, first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Sending a cache data migration instruction, and finally, receiving the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
  • the IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second
  • the backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network.
  • the integrity and real-time nature of data transmission when the relay 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.
  • FIG. 4 is a schematic flowchart of another method for processing an abnormality of a wireless sensor network repeater according to an embodiment of the present disclosure, which is applied to wireless transmission.
  • a wireless network comprising an Internet of Things wireless access point and an Internet of Things terminal, the Internet of Things terminal comprising a battery powered IoT terminal and an IoT terminal powered by a power source, the power supply a first IoT terminal in the networked terminal as a first repeater of the wireless sensor network, and a second IoT terminal in the power-networked IoT terminal as a second in the wireless sensor network a third IoT terminal in the IoT terminal powered by the power supply as the A third repeater of the line sensing network, the first repeater, the second repeater, and the third repeater are in communication with each other.
  • the wireless sensor network repeater exception processing 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 IoT wireless access point determines the first partial cached data in the cached data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater. And a second part of the cached data, the first partial cache data is used for migrating to the second repeater, and the second partial cached data is used for migrating to the third repeater;
  • the IoT wireless access point sends a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the Determining a second repeater, and transmitting the second partial cache data to the third repeater;
  • the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third 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 determines a first device set and a second device set, where the first device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the a set of IoT terminals that are mounted by the second repeater, the second set of devices is used in the IoT terminal that is unmounted by the first repeater for migrating to the third repeater for mounting a collection of IoT terminals;
  • the IoT wireless access point sends a first device mount instruction to the second repeater, where the first device mount command includes a device identifier of the Internet of Things terminal in the first device set, The device identifier of the Internet of Things terminal in the first device set is used by the second relay device to mount an IoT terminal in the first device set;
  • the IoT wireless access point sends a second device mount command to the third repeater, where the second device mount command includes a device identifier of the Internet of Things terminal in the second device set, The device identifier of the Internet of Things terminal in the second device set is used by the third relay device to mount an IoT terminal in the second device set.
  • the IoT wireless access point when detecting that the state of the first repeater is abnormal, first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Send slow The data migration instruction is stored, and finally, the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater are received.
  • the IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second
  • the backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network.
  • the integrity and real-time nature of data transmission when the relay 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 mounts the IoT terminal unmounted by the first repeater to the second repeater and the third repeater, thereby unmounting the first repeater in time.
  • the IoT terminal rejoins the wireless sensor network to reduce the data loss of the IoT terminal, which is beneficial to improve the stability of data transmission in the wireless sensor network.
  • 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 a 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 step S201 in FIG. 2A. Up to 204, steps S301 through S305 in FIG. 3, and steps S401 through S408 in FIG. 4 and/or other processes for the techniques described herein.
  • the communication unit 503 is configured to support communication between the IoT wireless access point and other devices, such as communication with an Internet of Things wireless access point in the mobile communication network.
  • 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 determine a first partial cache data and a second portion of the cache data of the first repeater according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater Cache data, the first partial cache data for migrating to the second repeater, the second partial cache data for migrating to the third repeater; and for forwarding to the third unit via the communication unit 503
  • the first repeater sends a cache data migration instruction, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the second repeater, and send the second partial cache data And to the third repeater; and configured to receive, by the communication unit 503, the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
  • the processing unit 502 receives, by the communication unit 503, the first partial cache data sent by the second repeater and the second partial cache sent by the third repeater. After the data is further used, the unloading instruction is sent to the first repeater by the communication unit 503, and the unmounting instruction is used to instruct the first repeater to unmount the IoT terminal.
  • the processing unit 502 is further configured to determine a first device set and a second device set, where the a device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the a set of IoT terminals that are mounted by the second repeater, where the second set of devices is used in the IoT terminal that is unmounted by the first repeater for migration to the third repeater.
  • the communication unit 503 sends a second device mount instruction to the third repeater, where the second device mount command includes a device identifier of the Internet of Things terminal in the second device set, and the second device set The device identifier of the IoT terminal is used by the third relay to mount the IoT terminal in the second device set.
  • the processing unit 502 is specifically configured to: acquire, by the communication unit 503, the IoT terminal mounted by the second repeater and The IoT terminal mounted by the third repeater; and determining the first device according to the IoT terminal mounted by the second repeater and the IoT terminal mounted by the third repeater Collection and second device collection.
  • the processing unit 502 is specifically configured to: according to the uplink bandwidth of the second repeater and the uplink of the third repeater Bandwidth, determining a first device set and a second device set.
  • 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, including one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured Executing by the one or more processors, the program comprising An instruction of any one of the wireless sensor network repeater exception processing methods described in the embodiment.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to execute any of the wireless sensor networks as described in the foregoing method embodiments. Part or all of the steps of the relay exception handling method.
  • Embodiments of the present invention also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the operations as recited in the above method embodiments Any or all of the steps of any wireless sensor network repeater exception handling method.
  • 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 is implemented in the form of a software functional unit and sold as a standalone product Or when used, it can be stored in a computer readable memory.
  • 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.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Abstract

Disclosed in the embodiments of the present invention are a method and device for exception processing of a repeater in a wireless sensor network, comprising: obtaining an uplink bandwidth of a second repeater and an uplink bandwidth of a third repeater when a status exception of a first repeater is detected; determining first partial cache data and second partial cache data among cache data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater; sending a cache data migration command to the first repeater; and receiving the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater. The embodiments of the present invention are useful for improving the integrity and the real-time performance of data transmission when a repeater in a wireless sensor network experiences an exception.

Description

无线传感网络中继器异常处理方法及设备Wireless sensor network repeater exception processing method and device 技术领域Technical field
本发明涉及通信领域,尤其涉及一种无线传感网络中继器异常处理方法及设备。The present invention relates to the field of communications, and in particular, to a wireless sensor network repeater 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 repeater fails and cannot perform effective uplink data transmission, the cached data in the repeater is lost.
发明内容Summary of the invention
本发明实施例提供一种无线传感网络中继器异常处理方法,可以提升无线传感网络中继器异常时数据传输的完整性和实时性。The embodiment of the invention provides a wireless sensor network repeater abnormality processing method, which can improve the integrity and real-time performance of the data transmission when the wireless sensor network repeater is abnormal.
第一方面,本发明实施例提供一种无线传感网络中继器异常处理方法,应用于无线传感网络,所述无线传感网络包括物联网无线接入点和物联网终端,所述物联网终端包括用电池供电的物联网终端和用电源供电的物联网终端,所述用电源供电的物联网终端中的第一物联网终端作为所述无线传感网络的第一中继器,所述用电源供电的物联网终端中的第二物联网终端作为所述无线传感网络的第二中继器,所述用电源供电的物联网终端中的第三物联网终端作为所述无线传感网络的第三中继器,所述第一中继器、所述第二中继器和所述第三中继器相互通信连接,所述方法包括如下步骤:In a first aspect, an embodiment of the present invention provides a method for processing an abnormality of a wireless sensor network repeater, which is applied to a wireless sensor network, where the wireless sensor network includes an Internet of Things wireless access point and an Internet of Things terminal. The networked terminal includes a battery-powered IoT terminal and an IoT terminal powered by a power source, and the first IoT terminal in the power-supplying IoT terminal serves as the first repeater of the wireless sensor network. a second IoT terminal in the IoT terminal powered by the power supply as a second repeater of the wireless sensor network, and a third IoT terminal in the IoT terminal powered by the power source as the wireless transmission a third repeater of the network, the first repeater, the second repeater and the third repeater are in communication with each other, the method comprising the steps of:
所述物联网无线接入点当检测到所述第一中继器状态异常时,获取所述第 二中继器的上行带宽和所述第三中继器的上行带宽;The IoT wireless access point acquires the first when detecting that the first repeater is abnormal The uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater;
所述物联网无线接入点根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定所述第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,所述第一部分缓存数据用于迁移到所述第二中继器,所述第二部分缓存数据用于迁移到所述第三中继器;Determining, by the IoT wireless access point, the first part of the cached data in the cached data of the first repeater according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater Two-part cache data, the first partial cache data is used for migrating to the second repeater, and the second partial cache data is used for migrating to the third repeater;
所述物联网无线接入点向所述第一中继器发送缓存数据迁移指令,所述缓存数据迁移指令用于指示所述第一中继器将所述第一部分缓存数据发送至所述第二中继器,以及将所述第二部分缓存数据发送至所述第三中继器;The IoT wireless access point sends a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the first a second repeater, and transmitting the second partial cache data to the third repeater;
所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据。The IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
由上可见,本发明实施例中,物联网无线接入点当检测到第一中继器的状态异常时,首先获取第二中继器的上行带宽和第三中继器的上行带宽,其次,根据第二中继器的上行带宽和第三中继器的上行带宽,确定第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,再次,向第一中继器发送缓存数据迁移指令,最后,接收第二中继器发送的第一部分缓存数据和第三中继器发送的第二部分缓存数据。物联网无线接入点通过第二中继器和第三中继器备份第一中继器的缓存数据,可以避免缓存数据因第一中继器状态异常而被直接丢弃,且同时通过第二中继器和第三中继器备份,可以使得缓存数据以最低延时损耗进行上行传输,尽可能降低因第一中继器的状态异常而引起的延时,有利于提升无线传感网络中继器异常时数据传输的完整性和实时性。It can be seen that, in the embodiment of the present invention, when detecting that the state of the first repeater is abnormal, the IoT wireless access point first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Sending a cache data migration instruction, and finally, receiving the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater. The IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second The backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network. The integrity and real-time nature of data transmission when the relay is abnormal.
在一个可能的设计中,所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据之后,所述方法还包括:In a possible design, after the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data 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.
可见,本可能的设计中,物联网无线接入点接收到异常状态的第一中继器的缓存数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。It can be seen that, in the possible design, 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.
在一个可能的设计中,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括: In a possible design, after the IoT wireless access point sends an unmount command to the first repeater, the method further includes:
所述物联网无线接入点确定第一设备集合和第二设备集合,所述第一设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第二中继器进行挂载的物联网终端的集合,所述第二设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第三中继器进行挂载的物联网终端的集合;Determining, by the IoT wireless access point, a first device set and a second device set, where the first device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the second device a set of IoT terminals to be mounted by the relay, the second device set is a device for migrating to the third repeater for loading in the IoT terminal that is unmounted by the first repeater a collection of networked terminals;
所述物联网无线接入点向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备集合中的物联网终端;The IoT wireless access point sends a first device mount command to the second relay device, where the first device mount command includes a device identifier of the Internet of Things terminal in the first device set, The device identifier of the Internet of Things terminal in the first device set is used by the second relay device to mount the IoT terminal in the first device set;
所述物联网无线接入点向所述第三中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第二设备集合中的物联网终端的设备标识,所述第二设备集合中的物联网终端的设备标识用于所述第三中继器挂载所述第二设备集合中的物联网终端。The IoT wireless access point sends a second device mount command to the third repeater, where the second device mount command includes a device identifier of the Internet of Things terminal in the second device set, The device identifier of the Internet of Things terminal in the second device set is used by the third relay device to mount the Internet of Things terminal in the second device set.
可见,本可能的设计中,物联网无线接入点将第一中继器解除挂载的物联网终端分别挂载到第二中继器和第三中继器上,从而及时将第一中继器解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。It can be seen that, in the possible design, the Internet of Things wireless access point mounts the IoT terminal unmounted by the first repeater to the second repeater and the third repeater respectively, so that the first medium is timely The IoT terminal that is unmounted by the relay 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 one possible design, the IoT wireless access point determines a first device set and a second device set, including:
所述物联网无线接入点获取所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端;The IoT wireless access point acquires an Internet of Things terminal mounted by the second repeater and an Internet of Things terminal mounted by the third repeater;
所述物联网无线接入点根据所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端,确定第一设备集合和第二设备集合。The IoT wireless access point determines the first device set and the second device set according to the IoT terminal mounted by the second repeater and the IoT terminal mounted by the third repeater.
在一个可能的设计中,所述物联网无线接入点确定第一设备集合和第二设备集合,包括:In one possible design, the IoT wireless access point determines a first device set and a second device set, including:
所述物联网无线接入点根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定第一设备集合和第二设备集合。The IoT wireless access point determines a first device set and a second device set according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater.
进一步地,在一个可能的设计中,所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据,包括:Further, in a possible design, the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache sent by the third repeater Data, including:
所述物联网无线接入点广播一帧网络信标;The IoT wireless access point broadcasts a frame of network beacons;
所述物联网无线接入点在所述网络信标的第一时隙接收所述第二中继器发送的所述第一部分缓存数据,所述第一时隙是所述第二中继器在接收到所述 网络信标进行时间同步后根据自身的网络编号而确定;Receiving, by the IoT wireless access point, the first partial cache data sent by the second repeater in a first time slot of the network beacon, where the first time slot is that the second repeater is Received the said After the network beacon is time synchronized, it is determined according to its own network number;
所述物联网无线接入点在所述网络信标的第二时隙接收所述第三中继器发送的所述第二部分缓存数据,所述第二时隙是所述第三中继器在接收到所述网络信标进行时间同步后根据自身的网络编号而确定。Receiving, by the IoT wireless access point, the second partial cache data sent by the third repeater in a second time slot of the network beacon, where the second time slot is the third repeater After receiving the network beacon for time synchronization, it is determined according to its own network number.
本发明实施例的第二方面,提供一种物联网无线接入点,该物联网无线接入点具有实现上述第一方面的方法设计中物联网无线接入点的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。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.
具体来说,该物联网无线接入点包括处理单元和通信单元,所述处理单元用于当检测到所述第一中继器状态异常时,通过所述通信单元获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;以及用于根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定所述第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,所述第一部分缓存数据用于迁移到所述第二中继器,所述第二部分缓存数据用于迁移到所述第三中继器;以及用于通过所述通信单元向所述第一中继器发送缓存数据迁移指令,所述缓存数据迁移指令用于指示所述第一中继器将所述第一部分缓存数据发送至所述第二中继器,以及将所述第二部分缓存数据发送至所述第三中继器;以及用于通过所述通信单元接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据。Specifically, 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 determining the first repeater according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater a first portion of cached data for migrating to the second repeater, and a second portion of cached data for migrating to the third And a buffer data migration instruction sent to the first relay by the communication unit, the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to The second repeater, and transmitting the second partial cache data to the third repeater; and for receiving, by the communication unit, the first partial cache sent by the second repeater Data and A third relay transmitting a second portion of the data cache.
在一个可能的设计中,所述处理单元通过所述通信单元接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据之后,还用于通过所述通信单元向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。In a possible design, the processing unit receives, by the communication unit, the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater. And is further configured to send, by the communication unit, an unmount command to the first repeater, where the unmount command is used to instruct the first repeater to unmount the IoT terminal.
在一个可能的设计中,所述处理单元通过所述通信单元向所述第一中继器发送解除挂载指令之后,还用于确定第一设备集合和第二设备集合,所述第一设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第二中继器进行挂载的物联网终端的集合,所述第二设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第三中继器进行挂载的物联网终端的集合;以及用于通过所述通信单元向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备集合中的物联网终端;以及用于通过所述通信单元向所述第三中继器发送 第二设备挂载指令,所述第二设备挂载指令包括所述第二设备集合中的物联网终端的设备标识,所述第二设备集合中的物联网终端的设备标识用于所述第三中继器挂载所述第二设备集合中的物联网终端。In a possible design, after the sending, by the communication unit, the unmounting instruction to the first repeater, the processing unit is further configured to determine a first device set and a second device set, where the first device is The set is a set of IoT terminals for migrating to the second repeater for loading in the IoT terminal that is unmounted by the first repeater, and the second device set is the first one. a set of IoT terminals for migrating to the third repeater for mounting in the IoT terminal that is unmounted; and for transmitting the first to the second repeater by the communication unit a device mounting instruction, where the first device mounting instruction includes a device identifier of the Internet of Things terminal in the first device set, and the device identifier of the Internet of Things terminal in the first device set is used in the second device Suspending an IoT terminal in the first set of devices; and for transmitting to the third repeater through the communication unit a second device mounting instruction, where the second device mounting instruction includes a device identifier of the Internet of Things terminal in the second device set, and a device identifier of the Internet of Things terminal in the second device set is used for the The three repeaters mount the IoT terminals in the second set of devices.
在一个可能的设计中,所述处理单元确定第一设备集合和第二设备集合,具体用于:通过所述通信单元获取所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端;以及用于根据所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端,确定第一设备集合和第二设备集合。In a possible design, the processing unit determines a first device set and a second device set, specifically, configured to: acquire, by the communication unit, the second relay device-mounted IoT terminal and the third And an IoT terminal mounted by the repeater; and determining, by the IoT terminal mounted by the second repeater and the IoT terminal mounted by the third repeater, determining the first device set and the second device Device collection.
在一个可能的设计中,所述处理单元确定第一设备集合和第二设备集合,具体用于:根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定第一设备集合和第二设备集合。In a possible design, the processing unit determines the first device set and the second device set, and is specifically configured to: determine, according to an uplink bandwidth of the second relay and an uplink bandwidth of the third repeater, The first device set and the second device set.
本发明实施例的第三方面,提供一种物联网无线接入点,该物联网无线接入点包括处理器,所述处理器被配置为支持物联网无线接入点执行上述第一方面的方法中相应的功能。进一步的,物联网无线接入点还可以包括收发器,所述收发器用于支持物联网无线接入点与物联网终端之间的通信。进一步的,物联网无线接入点还可以包括存储器,所述存储器用于与处理器耦合,其保存物联网无线接入点必要的程序指令和数据。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 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 detecting that the state of the first repeater is abnormal, the IoT wireless access point first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Send slow The data migration instruction is stored, and finally, the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater are received. The IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second The backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network. The integrity and real-time nature of data transmission when the relay is abnormal.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, 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 invention. 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;
图2A是本发明实施例提供的一种无线传感网络中继器异常处理方法的流程示意图;2A is a schematic flowchart of a method for processing an exception of a wireless sensor network repeater according to an embodiment of the present invention;
图2B是本发明实施例提供的一种示例网路信标的时隙结构图;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是本发明实施例提供的另一种无线传感网络中继器异常处理方法的流程示意图;3 is a schematic flowchart of another wireless sensor network repeater exception processing method according to an embodiment of the present invention;
图4是本发明实施例提供的另一种无线传感网络中继器异常处理方法的流程示意图4 is a schematic flowchart of another wireless sensor network repeater abnormality processing method according to an embodiment of the present invention.
图5A是本发明实施例提供的一种物联网无线接入点的功能单元框图;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是本发明实施例提供的一种物联网无线接入点的结构示意图。FIG. 5B is a schematic structural diagram of an Internet of Things wireless access point 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, it contains a series of steps or units The processes, methods, systems, products, or devices are not limited to the listed steps or units, but may alternatively include steps or units not listed, or, optionally, also include those processes, methods, products, or devices Other steps or units inherent.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。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 a wireless sensor network repeater 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 wireless access point and An Internet of Things terminal, the IoT terminal comprising a battery-powered IoT terminal and an IoT terminal powered by a power source, wherein the first IoT terminal in the IoT terminal powered by the power source serves as the wireless sensor network a first repeater, a second IoT terminal in the power-supplying IoT terminal as a second repeater of the wireless sensor network, and a third object in the IoT terminal powered by the power source a networked terminal as a third repeater of the wireless sensor network, the first repeater, The second repeater and the third repeater are in communication with each other, as shown in FIG. 2A, the method includes:
S201,所述物联网无线接入点当检测到所述第一中继器状态异常时,获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;S201. 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.
可以理解的是,物联网无线接入点当检测到所述第一中继器状态异常的具体实现方式可以是多种多样的,本发明实施例不做唯一限定。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.
物联网无线接入点所连接的物联网终端中,物联网终端的上报机制使用有序竞争机制(如时分多址技术)和无序竞争机制相结合的技术,如图2B所示,其具体过程是:物联网无线接入点定时向外广播发送一帧网络信标(周期为T),根据时分多址将信标周期T等分为n个网络时隙,每个网络时隙为Δt,将至少一个网络时隙Δt预留下来给未入网的物联网终端入网交互,其余的Δt中的n1个Δt分配给已加入网络分配有网络编号的物联网终端根据自身网络编号(网络编号是在物联网终端加入物联网无线接入点网络时,物联网无线接入点所分配的)进行数据交互,其余的Δt中的n2个Δt分配给所有已加入无线传感网络的物联网终端用于无序竞争信道资源。In the IoT terminal connected to the IoT wireless access point, 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. In the following, when the relay task is performed by the repeater, when the frequency resource is relatively large and the frequency resource is relatively small, for example, the repeater transmits the wireless signal through the frequency hopping and frequency division multiplexing algorithm, or adopts time division multiplexing. The algorithm transmits a wireless signal for detailed description:
具体地,如果当前全网的频率资源比较多时,即频率资源不紧张,则物联网无线接入点制各个中继器启用内嵌的预置的路由算法选择通过跳频算法和频分复用算法发射无线信号,完成中继任务。例如,一个中继器和其所连接的所有物联网终端跳到436.1频点作为中继频点进行无线通讯,另一个中继器带着其所连接的所有物联网终端跳到321频点作为中继频点进行通讯;其中,中继器可以通过预设的工作频点与所连接的物联网无线接入点进行通讯;依此类 推,各个中继器之间通过不同的中继频点进行通讯。可以理解的是,频点的分配可根据实际需要进行设置,在此不做进一步的限定。此时,中继器和物联网无线接入点的通讯采用工作频点,中继器和远程物联网终端的通讯采用中继频点。Specifically, if the frequency resources of the entire network are relatively large, that is, the frequency resources are not tight, 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; Push, each repeater communicates through different relay frequency points. It can be understood that the allocation of frequency points can be set according to actual needs, and is not further limited herein. At this time, the communication between the repeater and the Internet of Things wireless access point uses the working frequency point, and the communication between the repeater and the remote IoT terminal uses the relay frequency point.
如果当前全网的频率资源比较少时,即频率资源紧张,则物联网无线接入点控制中继器启用内嵌的预置的路由算法选择通过时分复用算法完成中继任务;例如,权衡全网的时间资源平均分配时隙,将前100秒的时隙分配给一个中继器,将下一个100秒的时隙分配给另一个中继器,依此类推,各个中继器之间通过在同一频点上的不同时间点进行无线通讯。可以理解的是,上述时隙的分配可根据实际需要进行设置,在此不做进一步的限定。应当说明的是,在时隙分配的过程中,可以根据各个中继器对时隙的需要,按需分配时隙量;也可以根据中继器申请的优先级进行优选分配控制。在工作过程中,各个中继器及时将被中继的远程物联网终端的个数以及通讯过程中的业务质量等信息发送至物联网无线接入点,由物联网无线接入点根据情况统一分配时隙。If the current frequency resource of the entire network is relatively small, that is, the frequency resource is tight, 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. It should be noted that, in the process of time slot allocation, 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. In the course of work, 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.
S202,所述物联网无线接入点根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定所述第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,所述第一部分缓存数据用于迁移到所述第二中继器,所述第二部分缓存数据用于迁移到所述第三中继器;S202. The IoT wireless access point determines the first partial cached data in the cached data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater. And a second part of the cached data, the first partial cache data is used for migrating to the second repeater, and the second partial cached data is used for migrating to the third repeater;
其中,所述缓存数据可以是指当前信标周期的前一个信标周期,第一中继器接收到的第一中继器挂载的物联网终端的上行数据,该部分上行数据由于第一中继器的状态异常未能在前一个信标周期同步上传至物联网无线接入点,故而缓存在第一中继器中。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.
S203,所述物联网无线接入点向所述第一中继器发送缓存数据迁移指令,所述缓存数据迁移指令用于指示所述第一中继器将所述第一部分缓存数据发送至所述第二中继器,以及将所述第二部分缓存数据发送至所述第三中继器;S203, the IoT wireless access point sends a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the Determining a second repeater, and transmitting the second partial cache data to the third repeater;
S204,所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据。S204. The IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
具体实现中,所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据的具体实现方式可以是:所述物联网无线接入点广播一帧网络信标;所述物联网无线接入点在所述网络信标的第一时隙接收所述第二中继器发送的所述第一部分缓存数据,所述第一时隙是所述第二中继器在接收到所述网络信标进行时间同步后根 据自身的网络编号而确定;所述物联网无线接入点在所述网络信标的第二时隙接收所述第三中继器发送的所述第二部分缓存数据,所述第二时隙是所述第三中继器在接收到所述网络信标进行时间同步后根据自身的网络编号而确定。In a specific implementation, the specific implementation manner that the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater may be implemented. Yes: the IoT wireless access point broadcasts a frame of network beacon; the IoT wireless access point receives the first partial cache sent by the second repeater in a first time slot of the network beacon Data, the first time slot is a root of the second repeater after receiving the network beacon for time synchronization Determining according to the network number of the network; the IoT wireless access point receives the second partial cache data sent by the third repeater in the second time slot of the network beacon, the second time slot The third repeater determines the network beacon according to its own network number after receiving the network beacon for time synchronization.
可以看出,本发明实施例中,物联网无线接入点当检测到第一中继器的状态异常时,首先获取第二中继器的上行带宽和第三中继器的上行带宽,其次,根据第二中继器的上行带宽和第三中继器的上行带宽,确定第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,再次,向第一中继器发送缓存数据迁移指令,最后,接收第二中继器发送的第一部分缓存数据和第三中继器发送的第二部分缓存数据。物联网无线接入点通过第二中继器和第三中继器备份第一中继器的缓存数据,可以避免缓存数据因第一中继器状态异常而被直接丢弃,且同时通过第二中继器和第三中继器备份,可以使得缓存数据以最低延时损耗进行上行传输,尽可能降低因第一中继器的状态异常而引起的延时,有利于提升无线传感网络中继器异常时数据传输的完整性和实时性。It can be seen that, in the embodiment of the present invention, when detecting that the state of the first repeater is abnormal, the IoT wireless access point first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Sending a cache data migration instruction, and finally, receiving the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater. The IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second The backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network. The integrity and real-time nature of data transmission when the relay is abnormal.
在一个示例中,所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据之后,所述方法还包括:In one example, after the IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater, The method also 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.
可见,本可能的示例中,物联网无线接入点接收到异常状态的第一中继器的缓存数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。It can be seen that, in the possible example, 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.
在一个示例中,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括:In an example, after the IoT wireless access point sends the unmount command to the first repeater, the method further includes:
所述物联网无线接入点确定第一设备集合和第二设备集合,所述第一设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第二中继器进行挂载的物联网终端的集合,所述第二设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第三中继器进行挂载的物联网终端的集合;Determining, by the IoT wireless access point, a first device set and a second device set, where the first device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the second device a set of IoT terminals to be mounted by the relay, the second device set is a device for migrating to the third repeater for loading in the IoT terminal that is unmounted by the first repeater a collection of networked terminals;
所述物联网无线接入点向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备 集合中的物联网终端;The IoT wireless access point sends a first device mount command to the second relay device, where the first device mount command includes a device identifier of the Internet of Things terminal in the first device set, The device identifier of the Internet of Things terminal in the first device set is used by the second relay device to mount the first device IoT terminals in the collection;
所述物联网无线接入点向所述第三中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第二设备集合中的物联网终端的设备标识,所述第二设备集合中的物联网终端的设备标识用于所述第三中继器挂载所述第二设备集合中的物联网终端。The IoT wireless access point sends a second device mount command to the third repeater, where the second device mount command includes a device identifier of the Internet of Things terminal in the second device set, The device identifier of the Internet of Things terminal in the second device set is used by the third relay device to mount the Internet of Things terminal in the second device set.
可见,本可能的示例中,物联网无线接入点将第一中继器解除挂载的物联网终端分别挂载到第二中继器和第三中继器上,从而及时将第一中继器解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。It can be seen that, in the possible example, the Internet of Things wireless access point mounts the IoT terminal unmounted by the first repeater to the second repeater and the third repeater respectively, so that the first medium is timely The IoT terminal that is unmounted by the relay 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 one example, the IoT wireless access point determines a first device set and a second device set, including:
所述物联网无线接入点获取所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端;The IoT wireless access point acquires an Internet of Things terminal mounted by the second repeater and an Internet of Things terminal mounted by the third repeater;
所述物联网无线接入点根据所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端,确定第一设备集合和第二设备集合。The IoT wireless access point determines the first device set and the second device set according to the IoT terminal mounted by the second repeater and the IoT terminal mounted by the third repeater.
可见,本可能的示例中,Visible, in this possible example,
在一个示例中,所述物联网无线接入点确定第一设备集合和第二设备集合,包括:In one example, the IoT wireless access point determines a first device set and a second device set, including:
所述物联网无线接入点根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定第一设备集合和第二设备集合。The IoT wireless access point determines a first device set and a second device set according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater.
与上述图2A所示的实施例一致的,请参阅图3,图3是本发明实施例提供的另一种无线传感网络中继器异常处理方法的流程示意图,应用于无线传感网络,所述无线传感网络包括物联网无线接入点和物联网终端,所述物联网终端包括用电池供电的物联网终端和用电源供电的物联网终端,所述用电源供电的物联网终端中的第一物联网终端作为所述无线传感网络的第一中继器,所述用电源供电的物联网终端中的第二物联网终端作为所述无线传感网络的第二中继器,所述用电源供电的物联网终端中的第三物联网终端作为所述无线传感网络的第三中继器,所述第一中继器、所述第二中继器和所述第三中继器相互通信连接。如图所示,本无线传感网络中继器异常处理方法包括:FIG. 3 is a schematic flowchart of another method for processing an abnormality of a wireless sensor network repeater 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 an Internet of Things terminal, and the Internet of Things terminal includes a battery-powered IoT terminal and an IoT terminal powered by a power source, and the IoT terminal powered by the power source a first IoT terminal as the first repeater of the wireless sensor network, and a second IoT terminal in the power-networked IoT terminal as a second repeater of the wireless sensor network, a third IoT terminal in the IoT terminal powered by the power source as a third repeater of the wireless sensor network, the first repeater, the second repeater, and the third The repeaters are in communication with each other. As shown in the figure, the wireless sensor network repeater exception processing method includes:
S301,所述物联网无线接入点当检测到所述第一中继器状态异常时,获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;S301. 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.
S302,所述物联网无线接入点根据所述第二中继器的上行带宽和所述第三 中继器的上行带宽,确定所述第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,所述第一部分缓存数据用于迁移到所述第二中继器,所述第二部分缓存数据用于迁移到所述第三中继器;S302. The IoT wireless access point is according to an uplink bandwidth of the second repeater and the third And determining, by the uplink bandwidth of the repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, where the first partial cache data is used to migrate to the second repeater. The second part of the cache data is used for migrating to the third repeater;
S303,所述物联网无线接入点向所述第一中继器发送缓存数据迁移指令,所述缓存数据迁移指令用于指示所述第一中继器将所述第一部分缓存数据发送至所述第二中继器,以及将所述第二部分缓存数据发送至所述第三中继器;S303, the IoT wireless access point sends a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the Determining a second repeater, and transmitting the second partial cache data to the third repeater;
S304,所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据。S304. The IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
S305,所述物联网无线接入点向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。S305. 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.
可以看出,本发明实施例中,物联网无线接入点当检测到第一中继器的状态异常时,首先获取第二中继器的上行带宽和第三中继器的上行带宽,其次,根据第二中继器的上行带宽和第三中继器的上行带宽,确定第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,再次,向第一中继器发送缓存数据迁移指令,最后,接收第二中继器发送的第一部分缓存数据和第三中继器发送的第二部分缓存数据。物联网无线接入点通过第二中继器和第三中继器备份第一中继器的缓存数据,可以避免缓存数据因第一中继器状态异常而被直接丢弃,且同时通过第二中继器和第三中继器备份,可以使得缓存数据以最低延时损耗进行上行传输,尽可能降低因第一中继器的状态异常而引起的延时,有利于提升无线传感网络中继器异常时数据传输的完整性和实时性。It can be seen that, in the embodiment of the present invention, when detecting that the state of the first repeater is abnormal, the IoT wireless access point first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Sending a cache data migration instruction, and finally, receiving the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater. The IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second The backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network. The integrity and real-time nature of data transmission when the relay is abnormal.
此外,物联网无线接入点接收到异常状态的第一中继器的缓存数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。In addition, 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.
与上述图2A和图3所示的实施例一致的,请参阅图4,图4是本发明实施例提供的另一种无线传感网络中继器异常处理方法的流程示意图,应用于无线传感网络,所述无线传感网络包括物联网无线接入点和物联网终端,所述物联网终端包括用电池供电的物联网终端和用电源供电的物联网终端,所述用电源供电的物联网终端中的第一物联网终端作为所述无线传感网络的第一中继器,所述用电源供电的物联网终端中的第二物联网终端作为所述无线传感网络的第二中继器,所述用电源供电的物联网终端中的第三物联网终端作为所述无 线传感网络的第三中继器,所述第一中继器、所述第二中继器和所述第三中继器相互通信连接。如图所示,本无线传感网络中继器异常处理方法包括:FIG. 4 is a schematic flowchart of another method for processing an abnormality of a wireless sensor network repeater according to an embodiment of the present disclosure, which is applied to wireless transmission. a wireless network comprising an Internet of Things wireless access point and an Internet of Things terminal, the Internet of Things terminal comprising a battery powered IoT terminal and an IoT terminal powered by a power source, the power supply a first IoT terminal in the networked terminal as a first repeater of the wireless sensor network, and a second IoT terminal in the power-networked IoT terminal as a second in the wireless sensor network a third IoT terminal in the IoT terminal powered by the power supply as the A third repeater of the line sensing network, the first repeater, the second repeater, and the third repeater are in communication with each other. As shown in the figure, the wireless sensor network repeater exception processing method includes:
S401,所述物联网无线接入点当检测到所述第一中继器状态异常时,获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;S401. 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.
S402,所述物联网无线接入点根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定所述第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,所述第一部分缓存数据用于迁移到所述第二中继器,所述第二部分缓存数据用于迁移到所述第三中继器;S402. The IoT wireless access point determines the first partial cached data in the cached data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater. And a second part of the cached data, the first partial cache data is used for migrating to the second repeater, and the second partial cached data is used for migrating to the third repeater;
S403,所述物联网无线接入点向所述第一中继器发送缓存数据迁移指令,所述缓存数据迁移指令用于指示所述第一中继器将所述第一部分缓存数据发送至所述第二中继器,以及将所述第二部分缓存数据发送至所述第三中继器;S403, the IoT wireless access point sends a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the Determining a second repeater, and transmitting the second partial cache data to the third repeater;
S404,所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据。S404. The IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
S405,所述物联网无线接入点向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。S405. 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.
S406,所述物联网无线接入点确定第一设备集合和第二设备集合,所述第一设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第二中继器进行挂载的物联网终端的集合,所述第二设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第三中继器进行挂载的物联网终端的集合;S406, the IoT wireless access point determines a first device set and a second device set, where the first device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the a set of IoT terminals that are mounted by the second repeater, the second set of devices is used in the IoT terminal that is unmounted by the first repeater for migrating to the third repeater for mounting a collection of IoT terminals;
S407,所述物联网无线接入点向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备集合中的物联网终端;S407, the IoT wireless access point sends a first device mount instruction to the second repeater, where the first device mount command includes a device identifier of the Internet of Things terminal in the first device set, The device identifier of the Internet of Things terminal in the first device set is used by the second relay device to mount an IoT terminal in the first device set;
S408,所述物联网无线接入点向所述第三中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第二设备集合中的物联网终端的设备标识,所述第二设备集合中的物联网终端的设备标识用于所述第三中继器挂载所述第二设备集合中的物联网终端。S408, the IoT wireless access point sends a second device mount command to the third repeater, where the second device mount command includes a device identifier of the Internet of Things terminal in the second device set, The device identifier of the Internet of Things terminal in the second device set is used by the third relay device to mount an IoT terminal in the second device set.
可以看出,本发明实施例中,物联网无线接入点当检测到第一中继器的状态异常时,首先获取第二中继器的上行带宽和第三中继器的上行带宽,其次,根据第二中继器的上行带宽和第三中继器的上行带宽,确定第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,再次,向第一中继器发送缓 存数据迁移指令,最后,接收第二中继器发送的第一部分缓存数据和第三中继器发送的第二部分缓存数据。物联网无线接入点通过第二中继器和第三中继器备份第一中继器的缓存数据,可以避免缓存数据因第一中继器状态异常而被直接丢弃,且同时通过第二中继器和第三中继器备份,可以使得缓存数据以最低延时损耗进行上行传输,尽可能降低因第一中继器的状态异常而引起的延时,有利于提升无线传感网络中继器异常时数据传输的完整性和实时性。It can be seen that, in the embodiment of the present invention, when detecting that the state of the first repeater is abnormal, the IoT wireless access point first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and secondly Determining, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, and again, to the first repeater Send slow The data migration instruction is stored, and finally, the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater are received. The IoT wireless access point backs up the cached data of the first repeater through the second repeater and the third repeater, so that the cached data is directly discarded due to the abnormal state of the first repeater, and simultaneously passes through the second The backup of the repeater and the third repeater can make the buffered data transmit uplink with the lowest delay loss, and minimize the delay caused by the abnormal state of the first repeater, which is beneficial to improve the wireless sensor network. The integrity and real-time nature of data transmission when the relay is abnormal.
此外,物联网无线接入点接收到异常状态的第一中继器的缓存数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。In addition, 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.
此外,物联网无线接入点将第一中继器解除挂载的物联网终端分别挂载到第二中继器和第三中继器上,从而及时将第一中继器解除挂载的物联网终端重新加入无线传感网络,减少物联网终端的数据丢失,有利于提升无线传感网络数据传输的稳定性。In addition, the Internet of Things wireless access point mounts the IoT terminal unmounted by the first repeater to the second repeater and the third repeater, thereby unmounting the first repeater in time. The IoT terminal rejoins the wireless sensor network to reduce the data loss of the IoT terminal, which is beneficial to improve the stability of data transmission in 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. It can be understood that, in order to implement the above functions, the Internet of Things wireless access point includes corresponding hardware structures and/or software modules for performing various functions. 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 embodiment of the present invention may divide the functional unit of the Internet of Things wireless access point according to the foregoing method example. 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 至204、图3中的步骤S301至S305以及图4中的步骤S401至S408和/或用于本文所描述的技术的其它过程。通信单元503用于支持物联网无线接入点与其他设备的通信,例如与移动通信网络中的物联网无线接入点之间的通信。物联网无线接入点还可以包括存储单元501,用于存储物联网无线接入点的程序代码和数据。In the case of employing an integrated unit, 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 a communication unit 503. The processing unit 502 is configured to perform control management on the action of the Internet of Things wireless access point. For example, the processing unit 502 is configured to support the Internet of Things wireless access point to perform step S201 in FIG. 2A. Up to 204, steps S301 through S305 in FIG. 3, and steps S401 through S408 in FIG. 4 and/or other processes for the techniques described herein. The communication unit 503 is configured to support communication between the IoT wireless access point and other devices, such as communication with an Internet of Things wireless access point in the mobile communication network. 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.
其中,处理单元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 repeater and the third repeater when detecting that the first repeater state is abnormal. An uplink bandwidth; and configured to determine a first partial cache data and a second portion of the cache data of the first repeater according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater Cache data, the first partial cache data for migrating to the second repeater, the second partial cache data for migrating to the third repeater; and for forwarding to the third unit via the communication unit 503 The first repeater sends a cache data migration instruction, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the second repeater, and send the second partial cache data And to the third repeater; and configured to receive, by the communication unit 503, the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
在一个可能的示例中,所述处理单元502通过所述通信单元503接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据之后,还用于通过所述通信单元503向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。In one possible example, the processing unit 502 receives, by the communication unit 503, the first partial cache data sent by the second repeater and the second partial cache sent by the third repeater. After the data is further used, the unloading instruction is sent to the first repeater by the communication unit 503, and the unmounting instruction is used to instruct the first repeater to unmount the IoT terminal.
在一个可能的示例中,所述处理单元502通过所述通信单元503向所述第一中继器发送解除挂载指令之后,还用于确定第一设备集合和第二设备集合,所述第一设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所 述第二中继器进行挂载的物联网终端的集合,所述第二设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第三中继器进行挂载的物联网终端的集合;以及用于通过所述通信单元503向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备集合中的物联网终端;以及用于通过所述通信单元503向所述第三中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第二设备集合中的物联网终端的设备标识,所述第二设备集合中的物联网终端的设备标识用于所述第三中继器挂载所述第二设备集合中的物联网终端。In a possible example, after the sending unit 503 sends the unmount command to the first repeater, the processing unit 502 is further configured to determine a first device set and a second device set, where the a device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the a set of IoT terminals that are mounted by the second repeater, where the second set of devices is used in the IoT terminal that is unmounted by the first repeater for migration to the third repeater. a set of mounted IoT terminals; and for transmitting, by the communication unit 503, a first device mount instruction to the second repeater, the first device mount command including the first device set Device identifier of the Internet of Things terminal, the device identifier of the Internet of Things terminal in the first device set is used by the second relay device to mount an IoT terminal in the first device set; The communication unit 503 sends a second device mount instruction to the third repeater, where the second device mount command includes a device identifier of the Internet of Things terminal in the second device set, and the second device set The device identifier of the IoT terminal is used by the third relay to mount the IoT terminal in the second device set.
在一个可能的示例中,在确定第一设备集合和第二设备集合方面,所述处理单元502具体用于:通过所述通信单元503获取所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端;以及用于根据所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端,确定第一设备集合和第二设备集合。In one possible example, the processing unit 502 is specifically configured to: acquire, by the communication unit 503, the IoT terminal mounted by the second repeater and The IoT terminal mounted by the third repeater; and determining the first device according to the IoT terminal mounted by the second repeater and the IoT terminal mounted by the third repeater Collection and second device collection.
在一个可能的示例中,在确定第一设备集合和第二设备集合方面,所述处理单元502具体用于:根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定第一设备集合和第二设备集合。In one possible example, in determining the first device set and the second device set, the processing unit 502 is specifically configured to: according to the uplink bandwidth of the second repeater and the uplink of the third repeater Bandwidth, determining a first device set and a second device set.
当处理单元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 wireless access point according to the embodiment of the present invention may be the Internet of Things wireless access point 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 wireless access point 510 includes a processor 512, a transceiver 513, and a memory 511. Alternatively, 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. 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 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.
本发明实施例还提供一种物联网无线接入点,包括一个或多个处理器、存储器、一个或多个程序,其中所述一个或多个程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,所述程序包括用于执行上述方法实 施例中记载的任何一种无线传感网络中继器异常处理方法中的任意一个步骤的指令。Embodiments of the present invention also provide an Internet of Things wireless access point, including one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured Executing by the one or more processors, the program comprising An instruction of any one of the wireless sensor network repeater exception processing methods described in the embodiment.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种无线传感网络中继器异常处理方法的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to execute any of the wireless sensor networks as described in the foregoing method embodiments. Part or all of the steps of the relay exception handling method.
本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种无线传感网络中继器异常处理方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包。Embodiments of the present invention also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the operations as recited in the above method embodiments Any or all of the steps of any wireless sensor network repeater exception handling method. 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 by the present invention, it should be understood that the disclosed apparatus may be implemented in other manners. 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 is implemented in the form of a software functional unit and sold as a standalone product Or when used, it can 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)、磁盘或光盘等。A person skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable memory, and the memory can include: a flash drive , read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or CD.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 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 repeater exception processing method, characterized in that the method comprises:
    物联网无线接入点向第一中继器发送缓存数据迁移指令,所述缓存数据迁移指令用于指示所述第一中继器将第一部分缓存数据发送至第二中继器,以及将第二部分缓存数据发送至第三中继器;The IoT wireless access point sends a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the second repeater, and The two-part cache data is sent to the third repeater;
    所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据。The IoT wireless access point receives the first partial cache data sent by the second repeater and the second partial cache data sent by the third repeater.
  2. 根据权利要求1所述的方法,其特征在于,所述物联网无线接入点向所述第一中继器发送缓存数据迁移指令之前,所述方法还包括:The method according to claim 1, wherein before the IoT wireless access point sends a cache data migration instruction to the first relay, the method further includes:
    所述物联网无线接入点当检测到所述第一中继器状态异常时,获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;Obtaining, by the IoT wireless access point, an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater when detecting that the first repeater state is abnormal;
    所述物联网无线接入点根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定所述第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,所述第一部分缓存数据用于迁移到所述第二中继器,所述第二部分缓存数据用于迁移到所述第三中继器。Determining, by the IoT wireless access point, the first part of the cached data in the cached data of the first repeater according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater The two parts cache data, the first partial cache data is used to migrate to the second repeater, and the second partial cache data is used to migrate to the third repeater.
  3. 根据权利要求1或2所述的方法,其特征在于,所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据之后,所述方法还包括:The method according to claim 1 or 2, wherein the IoT wireless access point receives the first partial cache data sent by the second repeater and the third repeater transmits After the second part caches the data, 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.
  4. 根据权利3所述的方法,其特征在于,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括:The method of claim 3, wherein after the IoT wireless access point sends the unmount command to the first repeater, the method further includes:
    所述物联网无线接入点确定第一设备集合和第二设备集合,所述第一设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第二中继器进行挂载的物联网终端的集合,所述第二设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第三中继器进行挂载的物联网终端的集合;Determining, by the IoT wireless access point, a first device set and a second device set, where the first device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the second device a set of IoT terminals to be mounted by the relay, the second device set is a device for migrating to the third repeater for loading in the IoT terminal that is unmounted by the first repeater a collection of networked terminals;
    所述物联网无线接入点向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备 集合中的物联网终端;The IoT wireless access point sends a first device mount command to the second relay device, where the first device mount command includes a device identifier of the Internet of Things terminal in the first device set, The device identifier of the Internet of Things terminal in the first device set is used by the second relay device to mount the first device IoT terminals in the collection;
    所述物联网无线接入点向所述第三中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第二设备集合中的物联网终端的设备标识,所述第二设备集合中的物联网终端的设备标识用于所述第三中继器挂载所述第二设备集合中的物联网终端。The IoT wireless access point sends a second device mount command to the third repeater, where the second device mount command includes a device identifier of the Internet of Things terminal in the second device set, The device identifier of the Internet of Things terminal in the second device set is used by the third relay device to mount the Internet of Things terminal in the second device set.
  5. 根据权利4所述的方法,其特征在于,所述物联网无线接入点确定第一设备集合和第二设备集合,包括:The method of claim 4, wherein the IoT wireless access point determines the first device set and the second device set, including:
    所述物联网无线接入点获取所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端,根据所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端,确定第一设备集合和第二设备集合;或者,The IoT wireless access point acquires an IoT terminal mounted by the second repeater and an IoT terminal mounted by the third repeater, and the Internet of Things is mounted according to the second repeater The terminal and the IoT terminal mounted by the third repeater determine the first device set and the second device set; or
    所述物联网无线接入点根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定第一设备集合和第二设备集合。The IoT wireless access point determines a first device set and a second device set according to an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater.
  6. 一种物联网无线接入点,其特征在于,所述物联网无线接入点包括处理单元和通信单元,An Internet of Things wireless access point, characterized in that the Internet of Things wireless access point comprises a processing unit and a communication unit,
    所述处理单元用于通过所述通信单元向第一中继器发送缓存数据迁移指令,所述缓存数据迁移指令用于指示所述第一中继器将第一部分缓存数据发送至所述第二中继器,以及将第二部分缓存数据发送至第三中继器;以及用于通过所述通信单元接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据。The processing unit is configured to send, by using the communication unit, a cache data migration instruction to the first repeater, where the cache data migration instruction is used to instruct the first repeater to send the first partial cache data to the second a repeater, and transmitting the second partial cache data to the third repeater; and receiving, by the communication unit, the first partial cache data and the third relay sent by the second repeater The second portion of the cached data sent by the device.
  7. 根据权利要求6所述的物联网无线接入点,其特征在于,所述处理单元在通过所述通信单元向第一中继器发送缓存数据迁移指令之前,还用于当检测到所述第一中继器状态异常时,通过所述通信单元获取所述第二中继器的上行带宽和所述第三中继器的上行带宽;以及用于根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定所述第一中继器的缓存数据中的第一部分缓存数据和第二部分缓存数据,所述第一部分缓存数据用于迁移到所述第二中继器,所述第二部分缓存数据用于迁移到所述第三中继器。The Internet of Things (ICI) access point according to claim 6, wherein the processing unit is further configured to: when the cache data migration instruction is sent to the first repeater by the communication unit, Acquiring an uplink bandwidth of the second repeater and an uplink bandwidth of the third repeater by the communication unit when a repeater state is abnormal; and for using an uplink bandwidth according to the second repeater And determining, by the uplink bandwidth of the third repeater, the first partial cache data and the second partial cache data in the cache data of the first repeater, where the first partial cache data is used to migrate to the second a repeater, the second partial cache data for migrating to the third repeater.
  8. 根据权利要求6或7所述的物联网无线接入点,其特征在于,所述处理单元通过所述通信单元接收所述第二中继器发送的所述第一部分缓存数据 和所述第三中继器发送的所述第二部分缓存数据之后,还用于通过所述通信单元向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。The Internet of Things wireless access point according to claim 6 or 7, wherein the processing unit receives the first partial cache data sent by the second repeater through the communication unit And after the second partial cache data sent by the third repeater, is further configured to send, by using the communication unit, an unmount command to the first repeater, where the unmount command is used to indicate The first repeater unmounts the IoT terminal that is mounted.
  9. 根据权利要求8所述的物联网无线接入点,其特征在于,所述处理单元通过所述通信单元向所述第一中继器发送解除挂载指令之后,还用于确定第一设备集合和第二设备集合,所述第一设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第二中继器进行挂载的物联网终端的集合,所述第二设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第三中继器进行挂载的物联网终端的集合;以及用于通过所述通信单元向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备集合中的物联网终端;以及用于通过所述通信单元向所述第三中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第二设备集合中的物联网终端的设备标识,所述第二设备集合中的物联网终端的设备标识用于所述第三中继器挂载所述第二设备集合中的物联网终端。The IoT wireless access point according to claim 8, wherein the processing unit is further configured to determine the first device set after the unloading command is sent to the first repeater by the communication unit. And a second device set, where the first device set is a set of IoT terminals for migrating to the second relay device for mounting in the IoT terminal that is unmounted by the first repeater, The second device set is a set of IoT terminals for migrating to the third repeater for mounting in the IoT terminal that is unmounted by the first repeater; and for passing the communication unit Sending, to the second relay device, a first device mount command, where the first device mount command includes a device identifier of an Internet of Things terminal in the first device set, and an Internet of Things in the first device set The device identifier of the terminal is used by the second relay to mount the IoT terminal in the first device set; and is configured to send, by the communication unit, a second device mount command to the third relay The second device is mounted Having the device identifier of the Internet of Things terminal in the second device set, the device identifier of the Internet of Things terminal in the second device set being used by the third relay device to mount the second device set Internet of Things terminal.
  10. 根据权利要求9所述的物联网无线接入点,其特征在于,在确定第一设备集合和第二设备集合方面,所述处理单元具体用于:通过所述通信单元获取所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端;以及用于根据所述第二中继器挂载的物联网终端和所述第三中继器挂载的物联网终端,确定第一设备集合和第二设备集合;或者,根据所述第二中继器的上行带宽和所述第三中继器的上行带宽,确定第一设备集合和第二设备集合。 The IoT wireless access point according to claim 9, wherein in the determining the first device set and the second device set, the processing unit is specifically configured to: acquire the second middle by using the communication unit a docking IoT terminal and an IoT terminal mounted by the third repeater; and mounting the IoT terminal and the third repeater mounted according to the second repeater And determining, by the IoT terminal, the first device set and the second device set; or determining the first device set and the second device according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater set.
PCT/CN2017/100877 2017-07-21 2017-09-07 Method and device for exception processing of repeater in wireless sensor network WO2019015048A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710598493.7A CN107404401B (en) 2017-07-21 2017-07-21 Wireless sensor network repeater exception handling method and device
CN201710598493.7 2017-07-21

Publications (1)

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

Family

ID=60401119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100877 WO2019015048A1 (en) 2017-07-21 2017-09-07 Method and device for exception processing of repeater in wireless sensor network

Country Status (2)

Country Link
CN (1) CN107404401B (en)
WO (1) WO2019015048A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301671A (en) * 2020-02-21 2021-08-24 大唐移动通信设备有限公司 Method and equipment for data transmission

Citations (5)

* 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
CN101656624A (en) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method
US20120275345A1 (en) * 2005-03-11 2012-11-01 Samsung Electronics Co., Ltd. Method for generating and registering identification in wireless sensor network
CN103052115A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Data transmission method, mobile terminal, relay aggregator and related system
CN104796793A (en) * 2015-04-23 2015-07-22 常熟理工学院 Opportunistic multimedia dynamic cloud platform and multi-relay hierarchical coordinated transmission method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869047A (en) * 2012-06-27 2013-01-09 中兴通讯股份有限公司 Method and device for realizing load balance
WO2016137377A1 (en) * 2015-02-26 2016-09-01 Telefonaktiebolaget Lm Ericsson (Publ) Energy efficient ble mesh initialisation and operation
AU2016203497B2 (en) * 2015-06-22 2017-05-11 Accenture Global Services Limited Wi-fi access point performance management
CN105227645A (en) * 2015-09-15 2016-01-06 齐鲁工业大学 A kind of cloud data migration method
CN106358242A (en) * 2016-09-27 2017-01-25 上海斐讯数据通信技术有限公司 Access load balance method and system
CN106792914B (en) * 2017-02-17 2020-01-03 深圳云盈网络科技有限公司 Wireless load balancing method and system

Patent Citations (5)

* 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
US20120275345A1 (en) * 2005-03-11 2012-11-01 Samsung Electronics Co., Ltd. Method for generating and registering identification in wireless sensor network
CN101656624A (en) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method
CN103052115A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Data transmission method, mobile terminal, relay aggregator and related system
CN104796793A (en) * 2015-04-23 2015-07-22 常熟理工学院 Opportunistic multimedia dynamic cloud platform and multi-relay hierarchical coordinated transmission method

Also Published As

Publication number Publication date
CN107404401A (en) 2017-11-28
CN107404401B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN107547589B (en) Data acquisition processing method and device
US11647415B2 (en) Handling delay budget in a wireless communication system
US9602406B2 (en) Data transfer control device and data transfer control method
EP3707945B1 (en) Methods and apparatus for synchronizing critical data transmission
WO2019033475A1 (en) Automatic relay switching method and related product
KR20210138767A (en) Logical Channel Prioritization for Preemption
US20220264675A1 (en) System and method for processing data
JP2022511655A (en) Organizer and interconnect fabric map maker for virtual radio base stations
CN106465041B (en) Techniques to allow activation and deactivation of nodes in a network
US9537735B2 (en) Data collection method, mobile terminal and data storage device
TWI785414B (en) Method and system using configurable starting position of search space window for uplink transmission on pre-configured resources
WO2019015048A1 (en) Method and device for exception processing of repeater in wireless sensor network
US8855693B2 (en) Method and apparatus for controlling wireless devices
WO2019015049A1 (en) Method and device for exception handling in wireless sensor network
CN114697334B (en) Method and device for executing scheduling task
US20230422098A1 (en) Providing burst end time in time sensitive communication assistance information
WO2019015050A1 (en) Exception handling method and device for repeater in wireless sensor network
WO2018014688A1 (en) Frame stream control method and device, and computer storage medium
WO2019015047A1 (en) Method and device for handling internet of things access point exception in wireless sensor network
CN108307410B (en) Internet of things wireless access point exception handling method and equipment
CN107404403B (en) Internet of things exception handling method and equipment
US20240063953A1 (en) Logical channel prioritization in unlicensed spectrum
CN108123887B (en) Message processing method and device
JP7215721B2 (en) Communication device and communication method
TW202228413A (en) Enhanced beam failure recovery detection

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 23/06/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17918203

Country of ref document: EP

Kind code of ref document: A1