WO2019015050A1 - Exception handling method and device for repeater in wireless sensor network - Google Patents

Exception handling method and device for repeater in wireless sensor network Download PDF

Info

Publication number
WO2019015050A1
WO2019015050A1 PCT/CN2017/100879 CN2017100879W WO2019015050A1 WO 2019015050 A1 WO2019015050 A1 WO 2019015050A1 CN 2017100879 W CN2017100879 W CN 2017100879W WO 2019015050 A1 WO2019015050 A1 WO 2019015050A1
Authority
WO
WIPO (PCT)
Prior art keywords
repeater
iot
terminal
internet
access point
Prior art date
Application number
PCT/CN2017/100879
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 WO2019015050A1 publication Critical patent/WO2019015050A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • 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
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

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 invention provides a wireless sensor network repeater abnormality processing method, which can improve the integrity and real-time performance of data transmission when the wireless sensor network repeater is abnormal.
  • an embodiment of the present invention provides 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 includes the following steps:
  • the IoT wireless access point detects that the status of the first repeater is abnormal in the first network time slot of the current beacon period, and sends an uplink data reporting instruction to the first repeater;
  • the uplink data sent by the first repeater in response to the uplink data reporting instruction in a second network time slot of the current beacon period, where the uplink data is the The data reported by the IoT terminal mounted by the repeater during the current beacon period.
  • the IoT wireless access point detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater. After the first repeater receives the uplink data reporting command, the first repeater reports the uplink data in the second network time slot of the current beacon period, and the uplink data is the IoT terminal that is mounted by the first repeater at the current.
  • the data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
  • the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal.
  • the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
  • 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 uplink data of the first repeater, the Internet of Things wireless access point sends an unmount command to the first repeater to instruct the first repeater to unmount the object.
  • the networked terminal prevents the uplink data of the IoT terminal from continuing to be transmitted to the first repeater, causing data accumulation, affecting the stability of the wireless sensor network, and improving the stability of the wireless sensor network repeater when an abnormality occurs.
  • the second IoT terminal in the IoT terminal powered by the power source As a second repeater of the wireless sensor network, a third IoT terminal in the power-networked IoT terminal is used as a third repeater of the wireless sensor network, and the Internet of Things is connected.
  • 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 the first device set and the 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 the first device set and the second device set, including:
  • the IoT wireless access point is based on an uplink bandwidth of the second repeater and the third relay
  • the upstream bandwidth of the device determines the first device set and the second device set.
  • 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 detect a status abnormality of the first repeater in a first network time slot of a current beacon period, Receiving, by the communication unit, an uplink data reporting instruction to the first repeater; and receiving, by the communication unit, the first repeater response in the second network time slot of the current beacon period
  • the uplink data is sent by the uplink data, and the uplink data is data reported by the Internet of Things terminal that is mounted by the first repeater in the current beacon period.
  • the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal.
  • the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
  • the processing unit after the second network time slot of the current beacon period receives the uplink data sent by the first relay in response to the uplink data reporting instruction, by using the communication unit 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 second IoT terminal in the power-operated IoT terminal is used as the second repeater of the wireless sensor network, and the third in the IoT terminal powered by the power source
  • the IoT terminal is used as the third repeater of the wireless sensor network
  • the processing unit is further configured to determine the first device set and after sending the unmount command to the first repeater by using the communication unit.
  • the first device set is a set of IoT terminals for migrating to the second repeater for mounting in the IoT terminal that is unmounted by the first repeater
  • the second device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the third repeater for hanging a set of IoT terminals loaded; and for transmitting, by the communication unit, a first device mount instruction to the second repeater, the first device mount command including a content in the first device set a device identifier of the networked 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; and
  • the unit 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, and the second device set The device identifier of the networked terminal is used by the third relay to mount the Internet of Things terminal in 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 detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater.
  • the first repeater reports uplink data in a second network time slot of the current beacon period, and the uplink data is an IoT terminal mounted by the first repeater at the current.
  • the data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
  • 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, 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
  • the first repeater includes:
  • the IoT wireless access point detects that the status of the first repeater is abnormal in a first network time slot of the current beacon period, and sends an uplink data reporting instruction to the first repeater.
  • the reporting mechanism of the Internet of Things terminal uses a combination of an orderly competition mechanism (such as time division multiple access technology) and an unordered competition mechanism, as shown in FIG. 2B.
  • the specific process is as follows: the Internet of Things 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.
  • At least one network time slot ⁇ t is reserved for the Internet access terminal of the unconnected network to interact with the network, and n1 ⁇ t of the remaining ⁇ t are allocated to the IoT terminal that has joined the network and assigned the network number according to its own network number (network The number is assigned by the IoT wireless access point when the IoT terminal joins the IoT wireless access point network, and the other two ⁇ t of ⁇ t are assigned to all the Internet of Things that have joined the wireless sensor network.
  • the terminal is used for unordered contention channel resources.
  • 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 IoT wireless access point receives, in a second network time slot of the current beacon period, uplink data sent by the first repeater in response to the uplink data reporting instruction, where the uplink data is The data reported by the IoT terminal mounted by the first repeater in the current beacon period.
  • the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal.
  • the first channel resource includes a time domain resource, a frequency domain resource, or a video resource, and specifically The developer is pre-configured in the IoT wireless access point and the first repeater.
  • the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
  • the preset time slot difference value may be, for example, two network time slots, three network time slots, four network time slots, and the like, which are not limited by the embodiment of the present invention.
  • the IoT wireless access point detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater. After the first repeater receives the uplink data reporting command, the first repeater reports the uplink data in the second network time slot of the current beacon period, and the uplink data is the IoT terminal that is mounted by the first repeater at the current.
  • the data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
  • 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 uplink data of the first repeater, the Internet of Things wireless access point sends an unmount command to the first repeater to instruct the first repeater to unmount the object.
  • the networked terminal prevents the uplink data of the IoT terminal from continuing to be transmitted to the first repeater, causing data accumulation, affecting the stability of the wireless sensor network, and improving the stability of the wireless sensor network repeater when an abnormality occurs.
  • the 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 repeater, where the a device mount command includes a device identifier of the Internet of Things terminal in the first device set, and a device identifier of the Internet of Things terminal in the first device set is used by the second repeater to mount the first IoT terminal in the device 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
  • the first IoT terminal acts as the first repeater of the wireless sensor network.
  • the wireless sensor network repeater exception handling method includes:
  • the IoT wireless access point detects that the status of the first repeater is abnormal in a first network time slot of the current beacon period, and sends an uplink data reporting instruction to the first repeater.
  • the IoT wireless access point receives uplink data sent by the first repeater in response to the uplink data reporting instruction in a second network time slot of the current beacon period, where the uplink data is The data reported by the IoT terminal mounted by the first repeater in the current beacon period.
  • the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal.
  • the first channel resource includes a time domain resource, a frequency domain resource, or a video resource, and may be preset by the developer in the Internet of Things wireless access point and the first repeater.
  • the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
  • the preset time slot difference value may be, for example, two network time slots, three network time slots, four network time slots, and the like, which are not limited by the embodiment of the present invention.
  • 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 detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater. After the first repeater receives the uplink data reporting command, the first repeater reports the uplink data in the second network time slot of the current beacon period, and the uplink data is the IoT terminal that is mounted by the first repeater at the current.
  • the data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
  • the Internet of Things wireless access point after receiving the uplink data of the first repeater, 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 to avoid the Internet of Things.
  • the uplink data of the terminal continues 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 A flow diagram of another wireless sensor network repeater exception processing method provided by the embodiment 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, and the Internet of Things
  • the 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 a first repeater of the wireless sensor network, a second IoT terminal in the IoT terminal powered by the power source 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 sensor The third repeater of the network.
  • the wireless sensor network repeater exception processing method includes:
  • the IoT wireless access point detects that the status of the first repeater is abnormal in the first network time slot of the current beacon period, and sends an uplink data reporting instruction to the first repeater.
  • the IoT wireless access point receives uplink data sent by the first repeater in response to the uplink data reporting instruction in a second network time slot of the current beacon period, where the uplink data is The data reported by the IoT terminal mounted by the first repeater in the current beacon period.
  • the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal.
  • the first channel resource includes a time domain resource, a frequency domain resource, or a video resource, and may be preset by the developer in the Internet of Things wireless access point and the first repeater.
  • the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
  • the preset time slot difference value may be, for example, two network time slots, three network time slots, four network time slots, and the like, which are not limited by the embodiment of the present invention.
  • 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 first repeater, the second repeater, and the third repeater are all Internet of Things with built-in routing algorithms.
  • the terminal, and the mutual communication between the three, the routing algorithm includes a frequency hopping and frequency division multiplexing algorithm, and a time division multiplexing algorithm.
  • 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 an IoT terminal in the first device set;
  • the IoT wireless access point 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, 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 detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater. After the first repeater receives the uplink data reporting command, the first repeater reports the uplink data in the second network time slot of the current beacon period, and the uplink data is the IoT terminal that is mounted by the first repeater at the current.
  • the data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
  • the Internet of Things wireless access point after receiving the uplink data of the first repeater, 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 to avoid the Internet of Things.
  • the uplink data of the terminal continues 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 performing various functions.
  • the hardware structure and/or software modules should be.
  • 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 steps S201 to 202 in FIG. 2A and steps S301 to S303 in FIG. 3 . And steps S401 through S404 in Figure 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 comprising one or more microprocessor combinations, DSP and micro Combination of processors and more.
  • 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 detect a status abnormality of the first repeater in a first network time slot of a current beacon period, and receive, by the communication unit 503, send to the first repeater. And an uplink data reporting instruction; and receiving, by the communication unit 503, the uplink data sent by the first relay in response to the uplink data reporting instruction by using the second network time slot of the current beacon period,
  • the uplink data is data reported by the IoT terminal mounted by the first repeater in the current beacon period.
  • the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first relay is normal.
  • the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
  • the processing unit 502 receives, by using the communication unit 503, the uplink sent by the first repeater in response to the uplink data reporting instruction in the second network time slot of the current beacon period. 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 second IoT terminal in the power-operated IoT terminal is the second repeater of the wireless sensor network, and the third of the power-operated IoT terminals
  • the IoT terminal is used as the third repeater of the wireless sensor network
  • the processing unit 502 is further configured to determine the first device after the unloading command is sent to the first repeater by the communication unit 503.
  • the unit 503 sends a first device mount command to the second relay, where the first device mount command includes a device identifier of the Internet of Things terminal in the first device set, where the first device set Device ID of the Internet of Things terminal Used for the second repeater to mount an IoT terminal in the first device set; and for transmitting, by the communication unit 503, a second device mount command to the third repeater,
  • the second device mount command includes a device identifier of the Internet of Things terminal in the second device set, and the device identifier of the Internet of Things terminal in the second device set is used by the third relay device to mount the first The Internet of Things terminal in the collection
  • the Internet of Things wireless access point may be the Internet of Things wireless access point shown in FIG. 5B.
  • the Internet of Things wireless access point 510 includes a processor 512, a transceiver 513, and a memory 511.
  • the Internet of Things wireless access point 510 can also include a bus 515.
  • the transceiver 513, the processor 512, and the memory 511 may be connected to each other through a bus 515.
  • the bus 515 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (abbreviated). EISA) bus and so on.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 515 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 5B, but it does not mean that there is only one bus or one type of bus.
  • the device for the Internet of Things (IoT) access point shown in FIG. 5A or FIG. 5B can also be understood as a device for the IoT wireless access point, which is not limited in the embodiment of the present invention.
  • IoT Internet of Things
  • Embodiments of the present invention also provide an Internet of Things wireless access point, the IoT wireless access point including one or more processors, a memory, one or more programs, wherein the one or more programs are stored in the In the memory, and configured to be executed by the one or more processors, the program includes instructions for performing any one of the above method embodiments.
  • the embodiment of the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute as described in the above method embodiment Part or all of the steps.
  • Embodiments of the present invention also provide 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 as in the method embodiment described above Some or all of the steps described.
  • the computer program product can be a software installation package.
  • the disclosed apparatus may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the aforementioned storage The device includes: U disk, read-only memory (ROM), random access memory (RAM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program code.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed in the present invention are an exception handling method and device for a repeater in a wireless sensor network, comprising: during a first network timeslot of a current beacon period, an Internet of Things wireless access point detecting a state exception of a first repeater, and sending an uplink data reporting instruction to the first repeater; during a second network timeslot of the current beacon period, receiving uplink data that is sent by the first repeater in response to the uplink data reporting instruction, the uplink data being data that is reported during the current beacon period by an Internet of Things terminal to which the first repeater is mounted. An embodiment of the present invention is beneficial in improving the integrity and immediateness of data transmission when a repeater in a wireless sensor network is abnormal.

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 invention provides a wireless sensor network repeater abnormality processing method, which can improve the integrity and real-time performance of 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. The method includes the following steps:
所述物联网无线接入点在当前信标周期的第一网络时隙检测到所述第一中继器的状态异常,向所述第一中继器发送上行数据上报指令;The IoT wireless access point detects that the status of the first repeater is abnormal in the first network time slot of the current beacon period, and sends an uplink data reporting instruction to the first repeater;
所述物联网无线接入点在所述当前信标周期的第二网络时隙接收所述第一中继器响应所述上行数据上报指令而发送的上行数据,所述上行数据是所述第一中继器挂载的物联网终端在所述当前信标周期上报的数据。Receiving, by the IoT wireless access point, the uplink data sent by the first repeater in response to the uplink data reporting instruction in a second network time slot of the current beacon period, where the uplink data is the The data reported by the IoT terminal mounted by the repeater during the current beacon period.
由上可见,本发明实施例中,物联网无线接入点在当前信标周期的第一网络时隙检测到所述第一中继器的状态异常,首先向第一中继器发送上行数据上报指令,第一中继器接收到该上行数据上报指令之后,在当前信标周期的第二网络时隙上报上行数据,且该上行数据是第一中继器挂载的物联网终端在当前信标周期上报的数据,可见,第一中继器在当前信标周期发生异常时并未直接丢弃上行数据,而是响应物联网无线接入点发送的上行数据上报指令,及时将上行数据上报,有利于提升无线传感网络数据传输的稳定性和实时性。It can be seen that, in the embodiment of the present invention, the IoT wireless access point detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater. After the first repeater receives the uplink data reporting command, the first repeater reports the uplink data in the second network time slot of the current beacon period, and the uplink data is the IoT terminal that is mounted by the first repeater at the current The data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
在一个可能的设计中,所述上行数据上报指令和所述上行数据占用的第一信道资源不同于所述第一中继器的状态正常时进行数据上报时所占用的第二信道资源。In a possible design, the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal.
在一个可能的设计中,所述第一网络时隙和所述第二网络时隙之间的时隙差值小于或等于预设时隙差值。In a possible design, the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
在一个可能的设计中,所述物联网无线接入点在所述当前信标周期的第二网络时隙接收所述第一中继器响应所述上行数据上报指令而发送的上行数据之后,所述方法还包括:In a possible design, after the second network time slot of the current beacon period receives the uplink data sent by the first relay in response to the uplink data reporting instruction, 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 uplink data of the first repeater, the Internet of Things wireless access point sends an unmount command to the first repeater to instruct the first repeater to unmount the object. The networked terminal prevents the uplink data of the IoT terminal from continuing to be transmitted to the first repeater, causing data accumulation, affecting the stability of the wireless sensor network, and improving the stability of the wireless sensor network repeater when an abnormality occurs.
在一个可能的设计中,所述用电源供电的物联网终端中的第二物联网终端 作为所述无线传感网络的第二中继器,所述用电源供电的物联网终端中的第三物联网终端作为所述无线传感网络的第三中继器,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括:In a possible design, the second IoT terminal in the IoT terminal powered by the power source As a second repeater of the wireless sensor network, a third IoT terminal in the power-networked IoT terminal is used as a third repeater of the wireless sensor network, and the Internet of Things is connected. After the inbound 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 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.
进一步地,在一些可能的设计中,所述物联网无线接入点确定第一设备集合和第二设备集合,包括:Further, in some possible designs, the IoT wireless access point determines the first device set and the 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.
进一步地,在一些可能的设计中,所述物联网无线接入点确定第一设备集合和第二设备集合,包括:Further, in some possible designs, the IoT wireless access point determines the first device set and the second device set, including:
所述物联网无线接入点根据所述第二中继器的上行带宽和所述第三中继 器的上行带宽,确定第一设备集合和第二设备集合。The IoT wireless access point is based on an uplink bandwidth of the second repeater and the third relay The upstream bandwidth of the device determines the first device set and the second device set.
本发明实施例的第二方面,提供一种物联网无线接入点,该物联网无线接入点具有实现上述第一方面的方法设计中物联网无线接入点的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。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 detect a status abnormality of the first repeater in a first network time slot of a current beacon period, Receiving, by the communication unit, an uplink data reporting instruction to the first repeater; and receiving, by the communication unit, the first repeater response in the second network time slot of the current beacon period The uplink data is sent by the uplink data, and the uplink data is data reported by the Internet of Things terminal that is mounted by the first repeater in the current beacon period.
在一个可能的设计中,所述上行数据上报指令和所述上行数据占用的第一信道资源不同于所述第一中继器的状态正常时进行数据上报时所占用的第二信道资源。In a possible design, the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal.
在一个可能的设计中,所述第一网络时隙和所述第二网络时隙之间的时隙差值小于或等于预设时隙差值。In a possible design, the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
在一个可能的设计中,所述处理单元在所述当前信标周期的第二网络时隙通过所述通信单元接收所述第一中继器响应所述上行数据上报指令而发送的上行数据之后,还用于通过所述通信单元向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。In a possible design, the processing unit, after the second network time slot of the current beacon period receives the uplink data sent by the first relay in response to the uplink data reporting instruction, by using the communication unit 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, the second IoT terminal in the power-operated IoT terminal is used as the second repeater of the wireless sensor network, and the third in the IoT terminal powered by the power source The IoT terminal is used as the third repeater of the wireless sensor network, and the processing unit is further configured to determine the first device set and after sending the unmount command to the first repeater by using the communication unit. a second device set, where the first device set is a set of IoT terminals for migrating to the second repeater for mounting in the IoT terminal that is unmounted by the first repeater, The second device set is used in the IoT terminal that is unmounted by the first repeater for migrating to the third repeater for hanging a set of IoT terminals loaded; and for transmitting, by the communication unit, a first device mount instruction to the second repeater, the first device mount command including a content in the first device set a device identifier of the networked 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; and The unit 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, and the second device set The device identifier of the networked terminal is used by the third relay to mount the Internet of Things terminal in 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, the IoT wireless access point detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater. On Reporting, after receiving the uplink data reporting instruction, the first repeater reports uplink data in a second network time slot of the current beacon period, and the uplink data is an IoT terminal mounted by the first repeater at the current The data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
附图说明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, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or, optionally, Other steps or units inherent to these processes, methods, products, or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。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 The first repeater, as shown in FIG. 2A, includes:
S201,所述物联网无线接入点在当前信标周期的第一网络时隙检测到所述第一中继器的状态异常,向所述第一中继器发送上行数据上报指令;S201, the IoT wireless access point detects that the status of the first repeater is abnormal in a first network time slot of the current beacon period, and sends an uplink data reporting instruction to the first repeater.
其中,物联网无线接入点所连接的物联网终端中,物联网终端的上报机制使用有序竞争机制(如时分多址技术)和无序竞争机制相结合的技术,如图2B所示,其具体过程是:物联网无线接入点定时向外广播发送一帧网络信标(周期为T),根据时分多址将信标周期T等分为n个网络时隙,每个网络时隙为Δt,将至少一个网络时隙Δt预留下来给未入网的物联网终端入网交互,其余的Δt中的n1个Δt分配给已加入网络分配有网络编号的物联网终端根据自身网络编号(网络编号是在物联网终端加入物联网无线接入点网络时,物联网无线接入点所分配的)进行数据交互,其余的Δt中的n2个Δt分配给所有已加入无线传感网络的物联网终端用于无序竞争信道资源。Among them, in the IoT terminal connected to the Internet of Things wireless access point, the reporting mechanism of the Internet of Things terminal uses a combination of an orderly competition mechanism (such as time division multiple access technology) and an unordered competition mechanism, as shown in FIG. 2B. The specific process is as follows: the Internet of Things 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. For Δ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 n1 Δt of the remaining Δt are allocated to the IoT terminal that has joined the network and assigned the network number according to its own network number (network The number is assigned by the IoT wireless access point when the IoT terminal joins the IoT wireless access point network, and the other two Δt of Δt are assigned to all the Internet of Things that have joined the wireless sensor network. The terminal is used for unordered contention channel resources.
可以理解的是,物联网无线接入点当检测到所述第一中继器状态异常的具体实现方式可以是多种多样的,本发明实施例不做唯一限定。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.
S202,所述物联网无线接入点在所述当前信标周期的第二网络时隙接收所述第一中继器响应所述上行数据上报指令而发送的上行数据,所述上行数据是所述第一中继器挂载的物联网终端在所述当前信标周期上报的数据。S202, the IoT wireless access point receives, in a second network time slot of the current beacon period, uplink data sent by the first repeater in response to the uplink data reporting instruction, where the uplink data is The data reported by the IoT terminal mounted by the first repeater in the current beacon period.
在一个示例中,所述上行数据上报指令和所述上行数据占用的第一信道资源不同于所述第一中继器的状态正常时进行数据上报时所占用的第二信道资源。其中,该第一信道资源包括时域资源、频域资源或视频资源,具体可以由 开发人员预先设置在物联网无线接入点和第一中继器中。In an example, the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal. The first channel resource includes a time domain resource, a frequency domain resource, or a video resource, and specifically The developer is pre-configured in the IoT wireless access point and the first repeater.
在一个示例中,所述第一网络时隙和所述第二网络时隙之间的时隙差值小于或等于预设时隙差值。其中,所述预设时隙差值例如可以是2个网络时隙、3个网络时隙、4个网络时隙等等,本发明实施例不做唯一限定。In one example, the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value. The preset time slot difference value may be, for example, two network time slots, three network time slots, four network time slots, and the like, which are not limited by the embodiment of the present invention.
可以看出,本发明实施例中,物联网无线接入点在当前信标周期的第一网络时隙检测到所述第一中继器的状态异常,首先向第一中继器发送上行数据上报指令,第一中继器接收到该上行数据上报指令之后,在当前信标周期的第二网络时隙上报上行数据,且该上行数据是第一中继器挂载的物联网终端在当前信标周期上报的数据,可见,第一中继器在当前信标周期发生异常时并未直接丢弃上行数据,而是响应物联网无线接入点发送的上行数据上报指令,及时将上行数据上报,有利于提升无线传感网络数据传输的稳定性和实时性。It can be seen that, in the embodiment of the present invention, the IoT wireless access point detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater. After the first repeater receives the uplink data reporting command, the first repeater reports the uplink data in the second network time slot of the current beacon period, and the uplink data is the IoT terminal that is mounted by the first repeater at the current The data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
在一个示例中,所述物联网无线接入点接收所述第二中继器发送的所述第一部分缓存数据和所述第三中继器发送的所述第二部分缓存数据之后,所述方法还包括: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 uplink data of the first repeater, the Internet of Things wireless access point sends an unmount command to the first repeater to instruct the first repeater to unmount the object. The networked terminal prevents the uplink data of the IoT terminal from continuing to be transmitted to the first repeater, causing data accumulation, affecting the stability of the wireless sensor network, and improving the stability of the wireless sensor network repeater when an abnormality occurs.
在一个示例中,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括: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 repeater, where the a device mount command includes a device identifier of the Internet of Things terminal in the first device set, and a device identifier of the Internet of Things terminal in the first device set is used by the second repeater to mount the first IoT terminal in the device 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 The first IoT terminal acts as the first repeater of the wireless sensor network. As shown As shown, the wireless sensor network repeater exception handling method includes:
S301,所述物联网无线接入点在当前信标周期的第一网络时隙检测到所述第一中继器的状态异常,向所述第一中继器发送上行数据上报指令;S301, the IoT wireless access point detects that the status of the first repeater is abnormal in a first network time slot of the current beacon period, and sends an uplink data reporting instruction to the first repeater.
S302,所述物联网无线接入点在所述当前信标周期的第二网络时隙接收所述第一中继器响应所述上行数据上报指令而发送的上行数据,所述上行数据是所述第一中继器挂载的物联网终端在所述当前信标周期上报的数据。S302, the IoT wireless access point receives uplink data sent by the first repeater in response to the uplink data reporting instruction in a second network time slot of the current beacon period, where the uplink data is The data reported by the IoT terminal mounted by the first repeater in the current beacon period.
在一个示例中,所述上行数据上报指令和所述上行数据占用的第一信道资源不同于所述第一中继器的状态正常时进行数据上报时所占用的第二信道资源。其中,该第一信道资源包括时域资源、频域资源或视频资源,具体可以由开发人员预先设置在物联网无线接入点和第一中继器中。In an example, the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal. The first channel resource includes a time domain resource, a frequency domain resource, or a video resource, and may be preset by the developer in the Internet of Things wireless access point and the first repeater.
在一个示例中,所述第一网络时隙和所述第二网络时隙之间的时隙差值小于或等于预设时隙差值。其中,所述预设时隙差值例如可以是2个网络时隙、3个网络时隙、4个网络时隙等等,本发明实施例不做唯一限定。In one example, the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value. The preset time slot difference value may be, for example, two network time slots, three network time slots, four network time slots, and the like, which are not limited by the embodiment of the present invention.
S303,所述物联网无线接入点向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。S303. 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, the IoT wireless access point detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater. After the first repeater receives the uplink data reporting command, the first repeater reports the uplink data in the second network time slot of the current beacon period, and the uplink data is the IoT terminal that is mounted by the first repeater at the current The data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
此外,物联网无线接入点接收到第一中继器的上行数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。In addition, after receiving the uplink data of the first repeater, 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 to avoid the Internet of Things. The uplink data of the terminal continues 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是本发明实 施例提供的另一种无线传感网络中继器异常处理方法的流程示意图,应用于无线传感网络,所述无线传感网络包括物联网无线接入点和物联网终端,所述物联网终端包括用电池供电的物联网终端和用电源供电的物联网终端,所述用电源供电的物联网终端中的第一物联网终端作为所述无线传感网络的第一中继器,所述用电源供电的物联网终端中的第二物联网终端作为所述无线传感网络的第二中继器,所述用电源供电的物联网终端中的第三物联网终端作为所述无线传感网络的第三中继器。如图所示,本无线传感网络中继器异常处理方法包括:Referring to the embodiment shown in FIG. 2A and FIG. 3 above, please refer to FIG. 4, which is a A flow diagram of another wireless sensor network repeater exception processing method provided by the embodiment 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, and the Internet of Things The 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 a first repeater of the wireless sensor network, a second IoT terminal in the IoT terminal powered by the power source 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 sensor The third repeater of the network. As shown in the figure, the wireless sensor network repeater exception processing method includes:
S401,所述物联网无线接入点在当前信标周期的第一网络时隙检测到所述第一中继器的状态异常,向所述第一中继器发送上行数据上报指令;S401, the IoT wireless access point detects that the status of the first repeater is abnormal in the first network time slot of the current beacon period, and sends an uplink data reporting instruction to the first repeater.
S402,所述物联网无线接入点在所述当前信标周期的第二网络时隙接收所述第一中继器响应所述上行数据上报指令而发送的上行数据,所述上行数据是所述第一中继器挂载的物联网终端在所述当前信标周期上报的数据。S402, the IoT wireless access point receives uplink data sent by the first repeater in response to the uplink data reporting instruction in a second network time slot of the current beacon period, where the uplink data is The data reported by the IoT terminal mounted by the first repeater in the current beacon period.
在一个示例中,所述上行数据上报指令和所述上行数据占用的第一信道资源不同于所述第一中继器的状态正常时进行数据上报时所占用的第二信道资源。其中,该第一信道资源包括时域资源、频域资源或视频资源,具体可以由开发人员预先设置在物联网无线接入点和第一中继器中。In an example, the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first repeater is normal. The first channel resource includes a time domain resource, a frequency domain resource, or a video resource, and may be preset by the developer in the Internet of Things wireless access point and the first repeater.
在一个示例中,所述第一网络时隙和所述第二网络时隙之间的时隙差值小于或等于预设时隙差值。其中,所述预设时隙差值例如可以是2个网络时隙、3个网络时隙、4个网络时隙等等,本发明实施例不做唯一限定。In one example, the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value. The preset time slot difference value may be, for example, two network time slots, three network time slots, four network time slots, and the like, which are not limited by the embodiment of the present invention.
S403,所述物联网无线接入点向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。S403. 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.
S404,所述物联网无线接入点确定第一设备集合和第二设备集合,所述第一设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第二中继器进行挂载的物联网终端的集合,所述第二设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第三中继器进行挂载的物联网终端的集合;S404, 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 first repeater, the second repeater, and the third repeater are all Internet of Things with built-in routing algorithms. The terminal, and the mutual communication between the three, the routing algorithm includes a frequency hopping and frequency division multiplexing algorithm, and a time division multiplexing algorithm.
S405,所述物联网无线接入点向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备集合中的物联网终端;S405. 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 an IoT terminal in the first device set;
S406,所述物联网无线接入点向所述第三中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第二设备集合中的物联网终端的设备标识,所述第二设备集合中的物联网终端的设备标识用于所述第三中继器挂载所述第二设备集合中的物联网终端。S406, the IoT wireless access point 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, 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, the IoT wireless access point detects that the state of the first repeater is abnormal in the first network time slot of the current beacon period, and first sends uplink data to the first repeater. After the first repeater receives the uplink data reporting command, the first repeater reports the uplink data in the second network time slot of the current beacon period, and the uplink data is the IoT terminal that is mounted by the first repeater at the current The data reported by the beacon period shows that the first repeater does not directly discard the uplink data when the current beacon period is abnormal, but responds to the uplink data reporting command sent by the IoT wireless access point, and reports the uplink data in time. It is beneficial to improve the stability and real-time performance of data transmission in wireless sensor networks.
此外,物联网无线接入点接收到第一中继器的上行数据后,向第一中继器发送解除挂载指令,以指示第一中继器解除挂载的物联网终端,避免物联网终端的上行数据继续传输至第一中继器而引起数据堆积,影响无线传感网络的稳定性,有利于提升无线传感网络中继器发生异常时的稳定性。In addition, after receiving the uplink data of the first repeater, 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 to avoid the Internet of Things. The uplink data of the terminal continues 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 achieve the above functions, the Internet of Things wireless access point includes performing various functions. The hardware structure and/or software modules should be. 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至202、图3中的步骤S301至S303以及图4中的步骤S401至S404和/或用于本文所描述的技术的其它过程。通信单元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 steps S201 to 202 in FIG. 2A and steps S301 to S303 in FIG. 3 . And steps S401 through S404 in Figure 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 comprising one or more microprocessor combinations, DSP and micro Combination of processors and more. 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接收所述第一中继器响应所述上行数据上报指令而发送的上行数据,所述上行数据是所述第一中继器挂载的物联网终端在所述当前信标周期上报的数据。The processing unit 502 is configured to detect a status abnormality of the first repeater in a first network time slot of a current beacon period, and receive, by the communication unit 503, send to the first repeater. And an uplink data reporting instruction; and receiving, by the communication unit 503, the uplink data sent by the first relay in response to the uplink data reporting instruction by using the second network time slot of the current beacon period, The uplink data is data reported by the IoT terminal mounted by the first repeater in the current beacon period.
在一个可能的示例中,所述上行数据上报指令和所述上行数据占用的第一信道资源不同于所述第一中继器的状态正常时进行数据上报时所占用的第二信道资源。In a possible example, the first channel resource occupied by the uplink data reporting instruction and the uplink data is different from the second channel resource occupied by the data reporting when the state of the first relay is normal.
在一个可能的示例中,所述第一网络时隙和所述第二网络时隙之间的时隙差值小于或等于预设时隙差值。In one possible example, the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
在一个可能的示例中,所述处理单元502在所述当前信标周期的第二网络时隙通过所述通信单元503接收所述第一中继器响应所述上行数据上报指令而发送的上行数据之后,还用于通过所述通信单元503向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。In one possible example, the processing unit 502 receives, by using the communication unit 503, the uplink sent by the first repeater in response to the uplink data reporting instruction in the second network time slot of the current beacon period. 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 one possible example, the second IoT terminal in the power-operated IoT terminal is the second repeater of the wireless sensor network, and the third of the power-operated IoT terminals The IoT terminal is used as the third repeater of the wireless sensor network, and the processing unit 502 is further configured to determine the first device after the unloading command is sent to the first repeater by the communication unit 503. a set and a second device set, where the first device set is a set of IoT terminals for migrating to the second repeater 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 using the communication The unit 503 sends a first device mount command to the second relay, where the first device mount command includes a device identifier of the Internet of Things terminal in the first device set, where the first device set Device ID of the Internet of Things terminal Used for the second repeater to mount an IoT terminal in the first device set; and for transmitting, by the communication unit 503, a second device mount command to the third repeater, The second device mount command includes a device identifier of the Internet of Things terminal in the second device set, and the device identifier of the Internet of Things terminal in the second device set is used by the third relay device to mount the first The Internet of Things terminal in the collection of two devices.
当处理单元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, the IoT wireless access point including one or more processors, a memory, one or more programs, wherein the one or more programs are stored in the In the memory, and configured to be executed by the one or more processors, the program includes instructions for performing any one of the above method embodiments.
本发明实施例还提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如上述方法实施例中所描述的部分或全部步骤。The embodiment of the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute as described in the above method embodiment Part or all of the steps.
本发明实施例还提供一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。 Embodiments of the present invention also provide 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 as in the method embodiment described above Some or all of the steps described. 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, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage The device includes: U disk, read-only memory (ROM), random access memory (RAM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program code.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文: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 detects that the status of the first repeater is abnormal in the first network time slot of the current beacon period, and sends an uplink data reporting instruction to the first repeater;
    所述物联网无线接入点在所述当前信标周期的第二网络时隙接收所述第一中继器响应所述上行数据上报指令而发送的上行数据,所述上行数据是所述第一中继器挂载的物联网终端在所述当前信标周期上报的数据。Receiving, by the IoT wireless access point, the uplink data sent by the first repeater in response to the uplink data reporting instruction in a second network time slot of the current beacon period, where the uplink data is the The data reported by the IoT terminal mounted by the repeater during the current beacon period.
  2. 根据权利要求1所述的方法,其特征在于,所述上行数据上报指令和所述上行数据占用的第一信道资源不同于所述第一中继器的状态正常时进行数据上报时所占用的第二信道资源。The method according to claim 1, wherein the uplink data reporting instruction and the first channel resource occupied by the uplink data are different from those occupied when the data of the first repeater is normal. Second channel resource.
  3. 根据权利要求1或2任一项所述的方法,其特征在于,所述第一网络时隙和所述第二网络时隙之间的时隙差值小于或等于预设时隙差值。The method according to any one of claims 1 or 2, wherein the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述物联网无线接入点在所述当前信标周期的第二网络时隙接收所述第一中继器响应所述上行数据上报指令而发送的上行数据之后,所述方法还包括:The method according to any one of claims 1 to 3, wherein the IoT wireless access point receives the first repeater response in the second network time slot of the current beacon period After the uplink data is sent by the uplink 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.
  5. 根据权利4所述的方法,其特征在于,所述用电源供电的物联网终端中的第二物联网终端作为所述无线传感网络的第二中继器,所述用电源供电的物联网终端中的第三物联网终端作为所述无线传感网络的第三中继器,所述物联网无线接入点向所述第一中继器发送解除挂载指令之后,所述方法还包括:The method according to claim 4, wherein the second IoT terminal in the IoT terminal powered by the power source serves as a second repeater of the wireless sensor network, and the IoT powered by the power source a third IoT terminal in the terminal is used as a third repeater of the wireless sensor network, and 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 that are mounted by the relay, the second device set is that the first repeater is unmounted a set of IoT terminals for migrating to the third repeater for mounting in an IoT terminal;
    所述物联网无线接入点向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备集合中的物联网终端;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.
  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 detect a status abnormality of the first repeater in a first network time slot of the current beacon period, receive an uplink data reporting instruction to the first repeater by using the communication unit, and use Receiving uplink data sent by the first repeater in response to the uplink data reporting instruction by using the communication unit in a second network time slot of the current beacon period, where the uplink data is the first medium The data reported by the IoT terminal mounted by the relay in the current beacon period.
  7. 根据权利要求6所述的物联网无线接入点,其特征在于,所述上行数据上报指令和所述上行数据占用的第一信道资源不同于所述第一中继器的状态正常时进行数据上报时所占用的第二信道资源。The IoT wireless access point according to claim 6, wherein the uplink data reporting instruction and the first channel resource occupied by the uplink data are different from when the state of the first repeater is normal. The second channel resource occupied by the report.
  8. 根据权利6或7所述的物联网无线接入点,其特征在于,所述第一网络时隙和所述第二网络时隙之间的时隙差值小于或等于预设时隙差值。The Internet of Things wireless access point according to claim 6 or 7, wherein the time slot difference between the first network time slot and the second network time slot is less than or equal to a preset time slot difference value. .
  9. 根据权利6-8任一项所述的物联网无线接入点,其特征在于,所述处理单元在所述当前信标周期的第二网络时隙通过所述通信单元接收所述第一中继器响应所述上行数据上报指令而发送的上行数据之后,还用于通过所述通 信单元向所述第一中继器发送解除挂载指令,所述解除挂载指令用于指示所述第一中继器解除挂载的物联网终端。The Internet of Things wireless access point according to any one of claims 6-8, wherein the processing unit receives the first medium through the communication unit in a second network time slot of the current beacon period After the uplink data sent by the relay in response to the uplink data reporting instruction, the relay is further used to pass the The letter unit sends an unmount command to the first repeater, and the unmount command is used to instruct the first repeater to unmount the IoT terminal.
  10. 根据权利9所述的物联网无线接入点,其特征在于,所述用电源供电的物联网终端中的第二物联网终端作为所述无线传感网络的第二中继器,所述用电源供电的物联网终端中的第三物联网终端作为所述无线传感网络的第三中继器,所述处理单元通过所述通信单元向所述第一中继器发送解除挂载指令之后,还用于确定第一设备集合和第二设备集合,所述第一设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第二中继器进行挂载的物联网终端的集合,所述第二设备集合是所述第一中继器解除挂载的物联网终端中用于迁移到所述第三中继器进行挂载的物联网终端的集合;以及用于通过所述通信单元向所述第二中继器发送第一设备挂载指令,所述第一设备挂载指令包括所述第一设备集合中的物联网终端的设备标识,所述第一设备集合中的物联网终端的设备标识用于所述第二中继器挂载所述第一设备集合中的物联网终端;以及用于通过所述通信单元向所述第三中继器发送第二设备挂载指令,所述第二设备挂载指令包括所述第二设备集合中的物联网终端的设备标识,所述第二设备集合中的物联网终端的设备标识用于所述第三中继器挂载所述第二设备集合中的物联网终端。 The IoT wireless access point according to claim 9, wherein the second Internet of Things terminal in the IoT terminal powered by the power source serves as a second repeater of the wireless sensor network, a third IoT terminal in the power-supplying IoT terminal as a third repeater of the wireless sensor network, after the processing unit sends the unmounting command to the first repeater through the communication unit And being used to determine 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 repeater for hanging a set of IoT terminals, the second set of devices being a set of IoT terminals for migrating to the third repeater for loading in the IoT terminal unmounted by the first repeater And transmitting, by the communication unit, 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 object in the first device set a device identifier of the networked terminal for the second repeater to mount the IoT terminal in the first device set; and for transmitting, by the communication unit, the second device to the third repeater The second device mounting instruction includes a device identifier of the Internet of Things terminal in the second device set, and the device identifier of the Internet of Things terminal in the second device set is used for the third relay device And loading an IoT terminal in the second device set.
PCT/CN2017/100879 2017-07-18 2017-09-07 Exception handling method and device for repeater in wireless sensor network WO2019015050A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710583769.4A CN107454619B (en) 2017-07-18 2017-07-18 Wireless sensor network repeater exception handling method and device
CN201710583769.4 2017-07-18

Publications (1)

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

Family

ID=60487741

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100879 WO2019015050A1 (en) 2017-07-18 2017-09-07 Exception handling method and device for repeater in wireless sensor network

Country Status (2)

Country Link
CN (2) CN111601337B (en)
WO (1) WO2019015050A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210182A (en) * 2019-07-05 2019-09-06 哈尔滨工业大学 A kind of relay life predictive information acquisition system based on Internet of Things

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007015197A2 (en) * 2005-08-04 2007-02-08 Koninklijke Philips Electronics, N.V. A time-based coexistence method for wireless communication
CN103167517A (en) * 2011-12-14 2013-06-19 中国电信股份有限公司 Method and system for monitoring data recovery in internet of things
CN104202769A (en) * 2014-09-28 2014-12-10 中国联合网络通信集团有限公司 Method and terminal for realizing business data reporting
CN104965815A (en) * 2015-07-08 2015-10-07 北京恒华伟业科技股份有限公司 Data processing method and device
CN106060857A (en) * 2015-04-14 2016-10-26 富士通株式会社 Wireless communication system, wireless communication apparatus, and wireless communication method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110648B (en) * 2006-07-18 2010-11-24 华为技术有限公司 Method for detecting faulted ONU in PON
JP5212339B2 (en) * 2009-11-13 2013-06-19 トヨタ自動車株式会社 Data relay apparatus and data relay method
KR20140019377A (en) * 2011-03-31 2014-02-14 텔레폰악티에볼라겟엘엠에릭슨(펍) Technique for operating a network node
CN103166677B (en) * 2013-02-04 2015-07-15 重庆邮电大学 Relay method for banded topology low-voltage power line carrier communication
CN103887886B (en) * 2014-04-14 2016-06-15 杭州凯达电力建设有限公司 A kind of power network detection system based on sensor network and method
CN106850423B (en) * 2015-12-04 2019-12-03 北京东土军悦科技有限公司 A kind of fast replacing method and device of double network port devices
CN105791031B (en) * 2016-05-04 2019-03-19 重庆世纪之光科技实业有限公司 A kind of method data acquisition and sent
CN105873169B (en) * 2016-06-17 2019-12-13 成都天铂数字技术有限公司 Wireless ad hoc network communication method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007015197A2 (en) * 2005-08-04 2007-02-08 Koninklijke Philips Electronics, N.V. A time-based coexistence method for wireless communication
CN103167517A (en) * 2011-12-14 2013-06-19 中国电信股份有限公司 Method and system for monitoring data recovery in internet of things
CN104202769A (en) * 2014-09-28 2014-12-10 中国联合网络通信集团有限公司 Method and terminal for realizing business data reporting
CN106060857A (en) * 2015-04-14 2016-10-26 富士通株式会社 Wireless communication system, wireless communication apparatus, and wireless communication method
CN104965815A (en) * 2015-07-08 2015-10-07 北京恒华伟业科技股份有限公司 Data processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210182A (en) * 2019-07-05 2019-09-06 哈尔滨工业大学 A kind of relay life predictive information acquisition system based on Internet of Things

Also Published As

Publication number Publication date
CN111601337A (en) 2020-08-28
CN107454619B (en) 2020-06-16
CN111601337B (en) 2023-09-01
CN107454619A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
JP7273180B2 (en) Method for connecting to network access device, terminal and computer readable storage medium
EP3577952B1 (en) Method and system for selection of an access and mobility management function in an access network environment
US9832744B2 (en) Timing value adjustment method and apparatus
EP3490304B1 (en) Method for identifying access point and hotspot, and related products
RU2610250C2 (en) Transmission node and buffer status reporting method
WO2019033475A1 (en) Automatic relay switching method and related product
CN112152940B (en) Message processing method, device and system
EP2911441B1 (en) Testing apparatus for communication system and method therefor
CN112383472A (en) Network transmission method, device, storage medium and electronic equipment
WO2019015040A1 (en) Signal strength based frequency point selection method and internet of things terminal
WO2019015050A1 (en) Exception handling method and device for repeater in wireless sensor network
WO2019015036A1 (en) Repeater bridging method and gateway
WO2019010799A1 (en) Internet of things terminal migration method and gateway
WO2019015049A1 (en) Method and device for exception handling in wireless sensor network
WO2019019281A1 (en) Internet of things terminal control method and internet of things access point
US20230422098A1 (en) Providing burst end time in time sensitive communication assistance information
WO2019015047A1 (en) Method and device for handling internet of things access point exception in wireless sensor network
WO2019015048A1 (en) Method and device for exception processing of repeater in wireless sensor network
CN114697269A (en) Data communication method, apparatus, device and medium
CN111314272B (en) Task processing method and device
CN114338477A (en) Communication link monitoring method, device, equipment and storage medium
CN108307410B (en) Internet of things wireless access point exception handling method and equipment
CN109076594A (en) A kind of method and device of low-power consumption accessing terminal to network
CN114422614B (en) Method, device, equipment and storage medium for controlling multilink equipment to transmit data
WO2023185385A1 (en) Method for evaluating demand of service for wireless access network, and related device thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 17918251

Country of ref document: EP

Kind code of ref document: A1