CN107404401B - Wireless sensor network repeater exception handling method and device - Google Patents
Wireless sensor network repeater exception handling method and device Download PDFInfo
- Publication number
- CN107404401B CN107404401B CN201710598493.7A CN201710598493A CN107404401B CN 107404401 B CN107404401 B CN 107404401B CN 201710598493 A CN201710598493 A CN 201710598493A CN 107404401 B CN107404401 B CN 107404401B
- Authority
- CN
- China
- Prior art keywords
- repeater
- internet
- things
- terminal
- cache data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000002159 abnormal effect Effects 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 36
- 230000005012 migration Effects 0.000 claims abstract description 24
- 238000013508 migration Methods 0.000 claims abstract description 24
- 230000006854 communication Effects 0.000 claims description 54
- 238000004891 communication Methods 0.000 claims description 53
- 230000005540 biological transmission Effects 0.000 abstract description 19
- 230000009286 beneficial effect Effects 0.000 abstract description 4
- 230000015654 memory Effects 0.000 description 17
- 230000006870 function Effects 0.000 description 14
- 238000004590 computer program Methods 0.000 description 13
- 238000013461 design Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000005856 abnormality Effects 0.000 description 5
- 238000009825 accumulation Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 3
- 230000006855 networking Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention discloses a method and equipment for processing the abnormity of a wireless sensor network repeater, which comprises the following steps: when the state of the first repeater is detected to be abnormal, acquiring the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater; determining a first part of cache data and a second part of cache data in the cache data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater; sending a cache data migration instruction to the first repeater; and receiving the first part of the cache data sent by the second repeater and the second part of the cache data sent by the third repeater. The embodiment of the invention is beneficial to improving the integrity and the real-time performance of data transmission when the wireless sensor network repeater is abnormal.
Description
Technical Field
The invention relates to the field of communication, in particular to a method and equipment for processing an exception of a wireless sensor network repeater.
Background
The wireless sensing network in the application of the Internet of things is composed of an Internet of things gateway, an Internet of things wireless access point, an Internet of things terminal and a repeater (the Internet of things terminal which is powered by a part of power supply and is internally provided with a routing algorithm can serve as the repeater), data acquisition is carried out through the Internet of things terminal, and data transmission is carried out through the Internet of things wireless access point and the Internet of things gateway. The internet of things has two meanings: firstly, the core and the foundation of the internet of things are still the internet, and the internet is an extended and expanded network on the basis of the internet; and secondly, the user side extends and expands to any article to perform information exchange and communication, namely, the article information. The internet of things is widely applied to network fusion through communication perception technologies such as intelligent perception, identification technology and pervasive computing, and is also called as the third wave of development of the world information industry after computers and the internet. The internet of things is an application expansion of the internet, and is not a network, but a business and an application.
At present, in a wireless sensor network of the internet of things, when a repeater fails and cannot perform effective uplink data transmission, cache data in the repeater is lost.
Disclosure of Invention
The embodiment of the invention provides an exception handling method for a wireless sensor network repeater, which can improve the integrity and the 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 handling an exception of a relay in a wireless sensor network, which is applied to the wireless sensor network, the wireless sensor network comprises an Internet of things wireless access point and an Internet of things terminal, the Internet of things terminal comprises an Internet of things terminal powered by a battery and an Internet of things terminal powered by a power supply, a first one of the power-supplied internet-of-things terminals serves as a first repeater of the wireless sensor network, a second networking terminal in the power-supply-used terminals of the Internet of things is used as a second repeater of the wireless sensor network, a third internet of things terminal in the internet of things terminals powered by the power supply is used as a third repeater of the wireless sensor network, the first repeater, the second repeater, and the third repeater are communicatively coupled to each other, the method comprising the steps of:
when the wireless access point of the Internet of things detects that the state of the first repeater is abnormal, the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater are obtained;
the wireless access point of the internet of things determines a first part of cache data and a second part of cache data in the cache data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, wherein the first part of cache data is used for migrating to the second repeater, and the second part of cache data is used for migrating to the third repeater;
the wireless access point of the internet of things sends a cache data migration instruction to the first repeater, wherein the cache data migration instruction is used for instructing the first repeater to send the first part of cache data to the second repeater and sending the second part of cache data to the third repeater;
and the wireless access point of the internet of things receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater.
As can be seen from the above, in the embodiment of the present invention, when detecting that the state of the first repeater is abnormal, the wireless access point of the internet of things first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, then determines the first part of cache data and the second part of cache data in the cache data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, and then sends the cache data migration instruction to the first repeater, and finally receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater. The wireless access point of the internet of things backups the cache data of the first repeater through the second repeater and the third repeater, so that the cache data can be prevented from being directly discarded due to the abnormal state of the first repeater, and meanwhile, the cache data can be subjected to uplink transmission with the lowest delay loss through the backup of the second repeater and the third repeater, the delay caused by the abnormal state of the first repeater is reduced as much as possible, and the completeness and the real-time performance of data transmission when the wireless sensor network repeater is abnormal are favorably improved.
In one possible design, after the internet of things wireless access point receives the first part of the buffered data sent by the second repeater and the second part of the buffered data sent by the third repeater, the method further includes:
the Internet of things wireless access point sends a mount removal instruction to the first repeater, and the mount removal instruction is used for indicating the first repeater to remove the mounted Internet of things terminal.
Therefore, in the possible design, after receiving the cache data of the first repeater in the abnormal state, the wireless access point of the internet of things sends a mount removal instruction to the first repeater so as to instruct the first repeater to remove the mounted terminal of the internet of things, so that the situation that the uplink data of the terminal of the internet of things is continuously transmitted to the first repeater to cause data accumulation and influence the stability of the wireless sensor network is avoided, and the stability of the wireless sensor network repeater in the abnormal state is favorably improved.
In one possible design, after the internet of things wireless access point sends the unmount instruction to the first repeater, the method further includes:
the wireless access point of the Internet of things determines a first device set and a second device set, wherein the first device set is a set of terminals of the Internet of things which are unloaded by the first repeater and used for being migrated to the second repeater for being loaded, and the second device set is a set of terminals of the Internet of things which are unloaded by the first repeater and used for being migrated to the third repeater for being loaded;
the Internet of things wireless access point sends a first device mounting instruction to the second repeater, the first device mounting instruction comprises a device identification of the Internet of things terminal in the first device set, and the device identification of the Internet of things terminal in the first device set is used for the second repeater to mount the Internet of things terminal in the first device set;
the wireless access point of the internet of things sends a second equipment mounting instruction to the third repeater, the second equipment mounting instruction comprises equipment identification of the terminal of the internet of things in the second equipment set, and the equipment identification of the terminal of the internet of things in the second equipment set is used for the third repeater to mount the terminal of the internet of things in the second equipment set.
Therefore, in the possible design, the internet of things wireless access point respectively mounts the internet of things terminal with the first repeater removed from the mounting onto the second repeater and the third repeater, so that the internet of things terminal with the first repeater removed from the mounting is timely added into the wireless sensor network again, data loss of the internet of things terminal is reduced, and the data transmission stability of the wireless sensor network is favorably improved.
In one possible design, the internet of things wireless access point determines a first set of devices and a second set of devices, including:
the Internet of things wireless access point acquires the Internet of things terminal mounted by the second repeater and the Internet of things terminal mounted by the third repeater;
and the wireless access point of the Internet of things determines a first device set and a second device set according to the terminal of the Internet of things mounted by the second repeater and the terminal of the Internet of things mounted by the third repeater.
In one possible design, the internet of things wireless access point determines a first set of devices and a second set of devices, including:
and the wireless access point of the Internet of things determines a first device set and a second device set according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater.
Further, in one possible design, the receiving, by the internet of things wireless access point, the first part of the cache data sent by the second repeater and the second part of the cache data sent by the third repeater includes:
the wireless access point of the Internet of things broadcasts a frame of network beacon;
the wireless access point of the internet of things receives the first part of cache data sent by the second repeater in a first time slot of the network beacon, wherein the first time slot is determined by the second repeater according to the network number of the second repeater after receiving the network beacon and carrying out time synchronization;
and the wireless access point of the internet of things receives the second part of cache data sent by the third repeater at a second time slot of the network beacon, wherein the second time slot is determined by the third repeater according to the network number of the third repeater after receiving the network beacon and carrying out time synchronization.
In a second aspect of the embodiments of the present invention, an internet of things wireless access point is provided, where the internet of things wireless access point has a function of implementing the internet of things wireless access point in the method design of the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
Specifically, the wireless access point of the internet of things comprises a processing unit and a communication unit, wherein the processing unit is used for acquiring the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater through the communication unit when the state abnormality of the first repeater is detected; the first part of cache data and the second part of cache data in the cache data of the first relay are determined according to the uplink bandwidth of the second relay and the uplink bandwidth of the third relay, wherein the first part of cache data is used for migrating to the second relay, and the second part of cache data is used for migrating to the third relay; and for sending, by the communication unit, a cache data migration instruction to the first relay, the cache data migration instruction being for instructing the first relay to send the first portion of cache data to the second relay and to send the second portion of cache data to the third relay; and a communication unit configured to receive the first part of the buffered data sent by the second repeater and the second part of the buffered data sent by the third repeater.
In a possible design, after receiving, by the communication unit, the first part of the cache data sent by the second relay and the second part of the cache data sent by the third relay, the processing unit is further configured to send, by the communication unit, a mount release instruction to the first relay, where the mount release instruction is used to instruct the first relay to release the mounted internet of things terminal.
In one possible design, after the processing unit sends the unmount instruction to the first repeater through the communication unit, the processing unit is further configured to determine a first device set and a second device set, where the first device set is a set of internet-of-things terminals, of the internet-of-things terminals unmounted by the first repeater, for migrating to the second repeater for mounting, and the second device set is a set of internet-of-things terminals, of the internet-of-things terminals unmounted by the first repeater, for migrating to the third repeater for mounting; the communication unit is used for sending a first device mounting instruction to the second repeater, the first device mounting instruction comprises a device identifier of the internet of things terminal in the first device set, and the device identifier of the internet of things terminal in the first device set is used for the second repeater to mount the internet of things terminal in the first device set; and the communication unit is used for sending a second device mounting instruction to the third repeater, the second device mounting instruction comprises the 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 repeater to mount the internet of things terminal in the second device set.
In one possible design, the processing unit determines the first device set and the second device set, and is specifically configured to: acquiring the Internet of things terminal mounted by the second repeater and the Internet of things terminal mounted by the third repeater through the communication unit; and the first equipment set and the second equipment set are determined according to the Internet of things terminal mounted by the second repeater and the Internet of things terminal mounted by the third repeater.
In one possible design, the processing unit determines the first device set and the second device set, and is specifically configured to: and determining a first device set and a second device set according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater.
In a third aspect of the embodiments of the present invention, an internet of things wireless access point is provided, which includes a processor configured to support the internet of things wireless access point to perform corresponding functions in the method of the first aspect. 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 wireless access point of the internet of things may further include a memory for coupling with the processor that retains program instructions and data necessary for the wireless access point of the internet of things.
In a fourth aspect of embodiments of the present invention, there is provided an internet of things wireless access point comprising one or more processors, memory, one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the program comprising instructions for performing any one of the steps of the method of the first aspect.
In a fifth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present invention.
A sixth aspect of embodiments of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of embodiments of the present invention. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present invention, when detecting that the state of the first repeater is abnormal, the wireless access point of the internet of things first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, then determines, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first part of cache data and the second part of cache data in the cache data of the first repeater, and then sends the cache data migration instruction to the first repeater, and finally receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater. The wireless access point of the internet of things backups the cache data of the first repeater through the second repeater and the third repeater, so that the cache data can be prevented from being directly discarded due to the abnormal state of the first repeater, and meanwhile, the cache data can be subjected to uplink transmission with the lowest delay loss through the backup of the second repeater and the third repeater, the delay caused by the abnormal state of the first repeater is reduced as much as possible, and the completeness and the real-time performance of data transmission when the wireless sensor network repeater is abnormal are favorably improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a network architecture diagram of an exemplary wireless sensor network provided by an embodiment of the present invention;
fig. 2A is a schematic flowchart of an exception handling method for a wireless sensor network repeater according to an embodiment of the present invention;
fig. 2B is a time slot structure diagram of an exemplary network beacon according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another method for handling an exception of a relay in a wireless sensor network according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another method for handling an exception of a relay in a wireless sensor network according to an embodiment of the present invention
Fig. 5A is a functional unit 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.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The following is a detailed description of specific embodiments.
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, an internet of things wireless access point in communication connection with the internet of things gateway, and an internet of things terminal in communication connection with the internet of things wireless access point, where the internet of things gateway is connected to the internet through media such as optical fibers, the internet of things gateway is connected to the internet of things wireless access point in a wireless manner, the internet of things wireless access point and the internet of things terminal are connected by using a star topology structure, frequency points of each internet of things wireless access point are different, the internet of things terminal that is not networked searches for an internet of things wireless access point that is most beneficial to itself in a frequency hopping manner, and communication networks constructed by the internet. The internet of things terminal comprises a battery-powered internet of things terminal and a power-powered internet of things terminal. The internet of things terminal powered by the power supply is embedded with a routing algorithm, when the internet of things terminal powered by a certain power supply is used as a repeater function, the embedded routing algorithm is started, and the internet of things terminal serves as the internet of things terminal and also serves as the repeater at the same time. Specifically, the wireless access point of the internet of things can identify whether the terminal of the internet of things is a battery-powered terminal of the internet of things or a power-powered terminal of the internet of things through a preset state identifier in the terminal of the internet of things during registration, so that the wireless access point of the internet of things can correctly select the repeater. When the terminal of the internet of things detects that the distance between the terminal of the internet of things and the wireless access point of the internet of things exceeds the preset maximum transmission distance, relay transmission needs to be completed through the repeater. An example wireless sensor network to which embodiments of the present invention are applicable may include a plurality of repeaters.
Referring to fig. 2A, fig. 2A is a schematic flowchart of an exception handling method for 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 internet of things terminal includes an internet of things terminal powered by a battery and an internet of things terminal powered by a power supply, a first internet of things terminal of the internet of things terminals powered by the power supply is used as a first repeater of the wireless sensor network, a second internet of things terminal of the internet of things terminal powered by the power supply is used as a second repeater of the wireless sensor network, a third internet of things terminal of the internet of things terminal powered by the power supply is used as a third repeater of the wireless sensor network, and the first repeater, the second repeater and the third repeater are communicatively connected to each other, as shown in fig. 2A, the method includes:
s201, when the wireless access point of the Internet of things detects that the state of the first repeater is abnormal, acquiring the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater;
it can be understood that the specific implementation manner of the wireless access point of the internet of things when detecting the state abnormality of the first repeater may be various, and the embodiment of the present invention is not limited uniquely.
For example, if the wireless access point of the internet of things detects that the uplink data of the first repeater is not received in the current beacon period, it may be determined that the state of the first repeater is abnormal.
For another example, if the wireless access point of the internet of things receives the state exception message actively reported by the first repeater, it may be determined that the state of the first repeater is abnormal.
In the internet of things terminal connected to the wireless access point of the internet of things, the reporting mechanism of the internet of things terminal uses a technology combining an ordered competition mechanism (such as a time division multiple access technology) and an unordered competition mechanism, as shown in fig. 2B, the specific process is as follows: the wireless access point of the internet of things sends a frame of network beacon (with a period of T) in a broadcast mode outwards at regular time, the beacon period T is equally divided into n network time slots according to time division multiple access, each network time slot is delta T, at least one network time slot delta T is reserved for network access interaction of terminals of the internet of things which are not accessed to the network, n1 delta T in the rest delta T are allocated to terminals of the internet of things which are added to the network and are allocated with network numbers to carry out data interaction according to the network numbers of the terminals of the internet of things (the network numbers are allocated by the wireless access points of the internet of things when the terminals of the internet of things are added to the wireless access point network of the internet of things), and n2 delta T in the rest delta T are allocated to all terminals of.
The first repeater, the second repeater and the third repeater are all internet of things terminals with built-in routing algorithms, the internet of things terminals are communicated with one another, and the routing algorithms comprise frequency hopping and frequency division multiplexing algorithms and time division multiplexing algorithms. Controlling the repeater to transmit wireless signals through a frequency hopping and frequency division multiplexing algorithm, or controlling the repeater to transmit wireless signals through a time division multiplexing algorithm; it should be noted that, because the frequency resources of the whole network are limited, the repeater may determine whether to enable the frequency hopping and frequency division multiplexing algorithm or the time division multiplexing algorithm to complete the relay task according to the current available frequency resources. The following will describe in detail the case where the repeater transmits wireless signals by frequency hopping and frequency division multiplexing algorithms or transmits wireless signals by time division multiplexing algorithms, for example, when the repeater performs a repeating task, when the frequency resources are more and when the frequency resources are less:
specifically, if the frequency resources of the current whole network are more, that is, the frequency resources are not in shortage, each repeater of the wireless access point of the internet of things starts an embedded preset routing algorithm to select to transmit wireless signals through a frequency hopping algorithm and a frequency division multiplexing algorithm, and a relay task is completed. For example, one repeater and all internet of things terminals connected with the repeater jump to 436.1 frequency points to be used as relay frequency points for wireless communication, and the other repeater with all internet of things terminals connected with the repeater jump to 321 frequency points to be used as relay frequency points for communication; the repeater can communicate with the connected wireless access point of the Internet of things through a preset working frequency point; and in the same way, the relays communicate with each other through different relay frequency points. It can be understood that the allocation of the frequency points may be set according to actual needs, and is not further limited herein. At the moment, working frequency points are adopted for communication between the repeater and the wireless access point of the Internet of things, and relay frequency points are adopted for communication between the repeater and the remote terminal of the Internet of things.
If the frequency resources of the current whole network are less, namely the frequency resources are insufficient, the wireless access point of the Internet of things controls the repeater to start an embedded preset routing algorithm to select to complete a relay task through a time division multiplexing algorithm; for example, the time slots are weighted and allocated evenly by time resources of the whole network, the time slot of the first 100 seconds is allocated to one repeater, the time slot of the next 100 seconds is allocated to another repeater, and so on, and wireless communication is performed among the repeaters at different time points on the same frequency point. It is understood that the allocation of the time slots can be set according to actual needs, and is not further limited herein. It should be noted that in the process of time slot allocation, the time slot amount can be allocated according to the requirement of each repeater on the time slot; the preferred allocation control may be performed according to the priority of the repeater application. In the working process, each repeater sends the number of the relayed remote Internet of things terminals, the service quality and other information in the communication process to the Internet of things wireless access point in time, and the Internet of things wireless access point distributes time slots uniformly according to conditions.
S202, the wireless access point of the Internet of things determines a first part of cache data and a second part of cache data in the cache data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, wherein the first part of cache data is used for migrating to the second repeater, and the second part of cache data is used for migrating to the third repeater;
the cache data may be uplink data of the internet of things terminal, which is received by the first repeater in a beacon period before the current beacon period, and the uplink data is cached in the first repeater because the uplink data of the internet of things terminal is not uploaded to the wireless access point of the internet of things synchronously in the previous beacon period due to abnormal state of the first repeater.
S203, the wireless access point of the Internet of things sends a cache data migration instruction to the first repeater, wherein the cache data migration instruction is used for instructing the first repeater to send the first part of cache data to the second repeater and send the second part of cache data to the third repeater;
s204, the wireless access point of the Internet of things receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater.
In a specific implementation, a specific implementation manner of the internet of things wireless access point receiving the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater may be: the wireless access point of the Internet of things broadcasts a frame of network beacon; the wireless access point of the internet of things receives the first part of cache data sent by the second repeater in a first time slot of the network beacon, wherein the first time slot is determined by the second repeater according to the network number of the second repeater after receiving the network beacon and carrying out time synchronization; and the wireless access point of the internet of things receives the second part of cache data sent by the third repeater at a second time slot of the network beacon, wherein the second time slot is determined by the third repeater according to the network number of the third repeater after receiving the network beacon and carrying out time synchronization.
It can be seen that, in the embodiment of the present invention, when detecting that the state of the first repeater is abnormal, the wireless access point of the internet of things first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, then determines, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first part of cache data and the second part of cache data in the cache data of the first repeater, and then sends the cache data migration instruction to the first repeater, and finally receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater. The wireless access point of the internet of things backups the cache data of the first repeater through the second repeater and the third repeater, so that the cache data can be prevented from being directly discarded due to the abnormal state of the first repeater, and meanwhile, the cache data can be subjected to uplink transmission with the lowest delay loss through the backup of the second repeater and the third repeater, the delay caused by the abnormal state of the first repeater is reduced as much as possible, and the completeness and the real-time performance of data transmission when the wireless sensor network repeater is abnormal are favorably improved.
In one example, after the internet of things wireless access point receives the first part of the buffered data sent by the second repeater and the second part of the buffered data sent by the third repeater, the method further includes:
the Internet of things wireless access point sends a mount removal instruction to the first repeater, and the mount removal instruction is used for indicating the first repeater to remove the mounted Internet of things terminal.
Therefore, in this possible example, after receiving the cache data of the first repeater in the abnormal state, the wireless access point of the internet of things sends a mount removal instruction to the first repeater to instruct the first repeater to remove the mounted terminal of the internet of things, so that the situation that the uplink data of the terminal of the internet of things is continuously transmitted to the first repeater to cause data accumulation and influence the stability of the wireless sensor network is avoided, and the stability of the wireless sensor network repeater in the abnormal state is favorably improved.
In one example, after the internet of things wireless access point sends a mount release instruction to the first relay, the method further comprises:
the wireless access point of the Internet of things determines a first device set and a second device set, wherein the first device set is a set of terminals of the Internet of things which are unloaded by the first repeater and used for being migrated to the second repeater for being loaded, and the second device set is a set of terminals of the Internet of things which are unloaded by the first repeater and used for being migrated to the third repeater for being loaded;
the Internet of things wireless access point sends a first device mounting instruction to the second repeater, the first device mounting instruction comprises a device identification of the Internet of things terminal in the first device set, and the device identification of the Internet of things terminal in the first device set is used for the second repeater to mount the Internet of things terminal in the first device set;
the wireless access point of the internet of things sends a second equipment mounting instruction to the third repeater, the second equipment mounting instruction comprises equipment identification of the terminal of the internet of things in the second equipment set, and the equipment identification of the terminal of the internet of things in the second equipment set is used for the third repeater to mount the terminal of the internet of things in the second equipment set.
Therefore, in this possible example, the internet of things wireless access point respectively mounts the internet of things terminal, which is detached from the first repeater, onto the second repeater and the third repeater, so that the internet of things terminal, which is detached from the first repeater, is added to the wireless sensor network again in time, data loss of the internet of things terminal is reduced, and the stability of data transmission of the wireless sensor network is improved.
In one example, the internet of things wireless access point determining a first set of devices and a second set of devices includes:
the Internet of things wireless access point acquires the Internet of things terminal mounted by the second repeater and the Internet of things terminal mounted by the third repeater;
and the wireless access point of the Internet of things determines a first device set and a second device set according to the terminal of the Internet of things mounted by the second repeater and the terminal of the Internet of things mounted by the third repeater.
It can be seen that, in the present possible example,
in one example, the internet of things wireless access point determining a first set of devices and a second set of devices includes:
and the wireless access point of the Internet of things determines a first device set and a second device set according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater.
Referring to fig. 3, in accordance with the embodiment shown in fig. 2A, fig. 3 is a schematic flowchart of another method for handling an exception of a relay in a wireless sensor network according to an embodiment of the present invention, which is applied to a wireless sensor network, the wireless sensor network comprises an Internet of things wireless access point and an Internet of things terminal, the Internet of things terminal comprises an Internet of things terminal powered by a battery and an Internet of things terminal powered by a power supply, a first one of the power-supplied internet-of-things terminals serves as a first repeater of the wireless sensor network, a second networking terminal in the power-supply-used terminals of the Internet of things is used as a second repeater of the wireless sensor network, a third internet of things terminal in the internet of things terminals powered by the power supply is used as a third repeater of the wireless sensor network, the first repeater, the second repeater, and the third repeater are communicatively coupled to each other. As shown in the figure, the method for processing the abnormality of the repeater in the wireless sensor network comprises the following steps:
s301, when the wireless access point of the Internet of things detects that the state of the first repeater is abnormal, acquiring the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater;
s302, the wireless access point of the Internet of things determines a first part of cache data and a second part of cache data in the cache data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, wherein the first part of cache data is used for migrating to the second repeater, and the second part of cache data is used for migrating to the third repeater;
s303, the wireless access point of the Internet of things sends a cache data migration instruction to the first repeater, wherein the cache data migration instruction is used for instructing the first repeater to send the first part of cache data to the second repeater and send the second part of cache data to the third repeater;
s304, the wireless access point of the Internet of things receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater.
S305, the wireless access point of the Internet of things sends a mount removal instruction to the first repeater, and the mount removal instruction is used for indicating the Internet of things terminal which is mounted on the first repeater to be removed.
It can be seen that, in the embodiment of the present invention, when detecting that the state of the first repeater is abnormal, the wireless access point of the internet of things first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, then determines, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first part of cache data and the second part of cache data in the cache data of the first repeater, and then sends the cache data migration instruction to the first repeater, and finally receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater. The wireless access point of the internet of things backups the cache data of the first repeater through the second repeater and the third repeater, so that the cache data can be prevented from being directly discarded due to the abnormal state of the first repeater, and meanwhile, the cache data can be subjected to uplink transmission with the lowest delay loss through the backup of the second repeater and the third repeater, the delay caused by the abnormal state of the first repeater is reduced as much as possible, and the completeness and the real-time performance of data transmission when the wireless sensor network repeater is abnormal are favorably improved.
In addition, after receiving the cache data of the first repeater in the abnormal state, the wireless access point of the internet of things sends a mount removal instruction to the first repeater so as to instruct the first repeater to remove the mounted terminal of the internet of things, thereby avoiding the situation that the uplink data of the terminal of the internet of things is continuously transmitted to the first repeater to cause data accumulation, influencing the stability of the wireless sensor network and being beneficial to improving the stability of the wireless sensor network repeater in the abnormal state.
Referring to fig. 4, in accordance with the embodiment shown in fig. 2A and fig. 3, fig. 4 is a flowchart illustrating another method for handling an exception of a repeater in a wireless sensor network according to an embodiment of the present invention, which is applied to a wireless sensor network, the wireless sensor network comprises an Internet of things wireless access point and an Internet of things terminal, the Internet of things terminal comprises an Internet of things terminal powered by a battery and an Internet of things terminal powered by a power supply, a first one of the power-supplied internet-of-things terminals serves as a first repeater of the wireless sensor network, a second networking terminal in the power-supply-used terminals of the Internet of things is used as a second repeater of the wireless sensor network, a third internet of things terminal in the internet of things terminals powered by the power supply is used as a third repeater of the wireless sensor network, the first repeater, the second repeater, and the third repeater are communicatively coupled to each other. As shown in the figure, the method for processing the abnormality of the repeater in the wireless sensor network comprises the following steps:
s401, when the wireless access point of the Internet of things detects that the state of the first repeater is abnormal, acquiring the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater;
s402, the wireless access point of the Internet of things determines a first part of cache data and a second part of cache data in the cache data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, wherein the first part of cache data is used for migrating to the second repeater, and the second part of cache data is used for migrating to the third repeater;
s403, the wireless access point of the Internet of things sends a cache data migration instruction to the first repeater, wherein the cache data migration instruction is used for instructing the first repeater to send the first part of cache data to the second repeater and send the second part of cache data to the third repeater;
s404, the wireless access point of the Internet of things receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater.
S405, the Internet of things wireless access point sends a mount removal instruction to the first repeater, and the mount removal instruction is used for indicating the Internet of things terminal on which the first repeater is mounted to be removed.
S406, the Internet of things wireless access point determines a first device set and a second device set, wherein the first device set is a set of Internet of things terminals which are removed from the Internet of things terminal mounted by the first repeater and used for being transferred to the second repeater for mounting, and the second device set is a set of Internet of things terminals which are removed from the Internet of things terminal mounted by the first repeater and used for being transferred to the third repeater for mounting;
s407, the Internet of things wireless access point sends a first device mounting instruction to the second repeater, the first device mounting instruction comprises a device identifier of an Internet of things terminal in the first device set, and the device identifier of the Internet of things terminal in the first device set is used for the second repeater to mount the Internet of things terminal in the first device set;
s408, the Internet of things wireless access point sends a second device mounting instruction to the third repeater, the second device mounting instruction comprises the device identification of the Internet of things terminal in the second device set, and the device identification of the Internet of things terminal in the second device set is used for the third repeater to mount the Internet of things terminal in the second device set.
It can be seen that, in the embodiment of the present invention, when detecting that the state of the first repeater is abnormal, the wireless access point of the internet of things first acquires the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, then determines, according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, the first part of cache data and the second part of cache data in the cache data of the first repeater, and then sends the cache data migration instruction to the first repeater, and finally receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater. The wireless access point of the internet of things backups the cache data of the first repeater through the second repeater and the third repeater, so that the cache data can be prevented from being directly discarded due to the abnormal state of the first repeater, and meanwhile, the cache data can be subjected to uplink transmission with the lowest delay loss through the backup of the second repeater and the third repeater, the delay caused by the abnormal state of the first repeater is reduced as much as possible, and the completeness and the real-time performance of data transmission when the wireless sensor network repeater is abnormal are favorably improved.
In addition, after receiving the cache data of the first repeater in the abnormal state, the wireless access point of the internet of things sends a mount removal instruction to the first repeater so as to instruct the first repeater to remove the mounted terminal of the internet of things, thereby avoiding the situation that the uplink data of the terminal of the internet of things is continuously transmitted to the first repeater to cause data accumulation, influencing the stability of the wireless sensor network and being beneficial to improving the stability of the wireless sensor network repeater in the abnormal state.
In addition, the internet of things wireless access point respectively mounts the internet of things terminal with the first repeater removed from the mounting onto the second repeater and the third repeater, so that the internet of things terminal with the first repeater removed from the mounting is added into the wireless sensor network in time, data loss of the internet of things terminal is reduced, and the data transmission stability of the wireless sensor network is favorably improved.
The above description has introduced the solution of the embodiment of the present invention mainly from the perspective of the method-side implementation process. It is understood that, in order to implement the above functions, the wireless access point of the internet of things includes a corresponding hardware structure and/or software module for performing each function. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
According to the method, the functional units of the wireless access point of the internet of things can be divided, for example, the functional units can be divided corresponding to the functions, or two or more functions can be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a 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 logic function division, and there may be another division manner in actual implementation.
Fig. 5A shows a possible structure diagram of the wireless access point of the internet of things involved in the above embodiments, in the case of an integrated unit. The internet of things wireless access point 500 includes: a processing unit 502 and a communication unit 503. Processing unit 502 is configured to control and manage actions of the internet of things wireless access point, for example, processing unit 502 is configured to support the internet of things wireless access point to perform steps S201 to 204 in fig. 2A, steps S301 to S305 in fig. 3, and steps S401 to S408 in fig. 4, and/or other processes for the techniques described herein. The communication unit 503 is used for supporting communication between the internet-of-things wireless access point and other devices, for example, communication between the internet-of-things wireless access point in a mobile communication network. The internet of things wireless access point may also include a storage unit 501 for storing program codes and data for the internet of things wireless access point.
The Processing Unit 502 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 503 may be a communication interface, a transceiver circuit, etc., wherein the communication interface is a generic term and may include one or more interfaces. The storage unit 501 may be a memory.
The processing unit 502 is configured to, when it is detected that the state of the first relay is abnormal, obtain, through the communication unit 503, an uplink bandwidth of the second relay and an uplink bandwidth of the third relay; the first part of cache data and the second part of cache data in the cache data of the first relay are determined according to the uplink bandwidth of the second relay and the uplink bandwidth of the third relay, wherein the first part of cache data is used for migrating to the second relay, and the second part of cache data is used for migrating to the third relay; and for sending, by the communication unit 503, a cache data migration instruction to a first relay, the cache data migration instruction being configured to instruct the first relay to send a first portion of cache data to the second relay and a second portion of cache data to a third relay; and is configured to receive, through the communication unit 503, the first part of the buffered data sent by the second repeater and the second part of the buffered data sent by the third repeater.
In a possible example, after receiving, by the communication unit 503, the first part of the buffered data sent by the second relay and the second part of the buffered data sent by the third relay, the processing unit 502 is further configured to send, by the communication unit 503, a mount release instruction to the first relay, where the mount release instruction is used to instruct the first relay to release the mounted internet of things terminal.
In a possible example, after the processing unit 502 sends the unmount instruction to the first relay through the communication unit 503, the processing unit is further configured to determine a first device set and a second device set, where the first device set is a set of internet-of-things terminals, of the internet-of-things terminals unmounted by the first relay, for migrating to the second relay for mounting, and the second device set is a set of internet-of-things terminals, of the internet-of-things terminals unmounted by the first relay, for migrating to the third relay for mounting; and configured to send a first device mount instruction to the second relay through the communication unit 503, where the first device mount instruction includes a device identifier of the internet of things terminal in the first device set, and the device identifier of the internet of things terminal in the first device set is used for the second relay to mount the internet of things terminal in the first device set; and is configured to send a second device mount instruction to the third repeater through the communication unit 503, where the second device mount 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 repeater to mount the internet of things terminal in the second device set.
In one possible example, in terms of determining the first device set and the second device set, the processing unit 502 is specifically configured to: acquiring the internet of things terminal mounted on the second repeater and the internet of things terminal mounted on the third repeater through the communication unit 503; and the first equipment set and the second equipment set are determined according to the Internet of things terminal mounted by the second repeater and the Internet of things terminal mounted by the third repeater.
In one possible example, in terms of determining the first device set and the second device set, the processing unit 502 is specifically configured to: and determining a first device set and a second device set according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater.
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 wireless access point of the internet of things according to the embodiment of the present invention may be the wireless access point of the internet of things shown in fig. 5B.
Referring to fig. 5B, the internet of things wireless access point 510 includes: a processor 512, a transceiver 513, a memory 511. Optionally, the internet of things wireless access point 510 may further include a bus 515. Wherein the transceiver 513, the processor 512 and the memory 511 may be connected to each other by a bus 515; the bus 515 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 515 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5B, but this is not intended to represent only one bus or type of bus.
The internet of things wireless access point shown in fig. 5A or fig. 5B may also be understood as a device for the internet of things wireless access point, which is not limited in the embodiment of the present invention.
Embodiments of the present invention also provide an internet of things wireless access point, including one or more processors, a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the program includes instructions for performing any one of the above-mentioned wireless sensor network repeater exception handling methods.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods for processing an abnormality of a wireless sensor network repeater described in the above method embodiments.
Embodiments of the present invention also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to execute some or all of the steps of any one of the above-mentioned method embodiments of the method for processing an exception of a wireless sensor network repeater. The computer program product may be a software installation package.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus can be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a 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 stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (8)
1. A method for processing an exception of a repeater in a wireless sensor network is characterized by comprising the following steps:
the method comprises the steps that an Internet of things wireless access point sends a cache data migration instruction to a first repeater, wherein the cache data migration instruction is used for indicating the first repeater to send a first part of cache data to a second repeater and sending a second part of cache data to a third repeater; the cache data refers to uplink data of the internet of things terminal mounted by the first repeater, which is received by the first repeater in a beacon period before the current beacon period;
the wireless access point of the internet of things receives the first part of cache data sent by the second repeater and the second part of cache data sent by the third repeater;
the Internet of things wireless access point sends a mount removal instruction to the first repeater, and the mount removal instruction is used for indicating the first repeater to remove the mounted Internet of things terminal;
the receiving, by the internet of things wireless access point, the first part of the cache data sent by the second repeater and the second part of the cache data sent by the third repeater includes:
the wireless access point of the Internet of things broadcasts a frame of network beacon; the wireless access point of the internet of things receives the first part of cache data sent by the second repeater in a first time slot of the network beacon, wherein the first time slot is determined by the second repeater according to the network number of the second repeater after receiving the network beacon and carrying out time synchronization; the wireless access point of the internet of things receives the second part of cache data sent by the third repeater at a second time slot of the network beacon, wherein the second time slot is determined by the third repeater according to the network number of the third repeater after receiving the network beacon and carrying out time synchronization;
the Internet of things terminal comprises an Internet of things terminal powered by a battery and an Internet of things terminal powered by a power supply; the terminal of the Internet of things powered by a power supply is embedded with a routing algorithm, when the terminal of the Internet of things needing to be powered by a certain power supply is used as a repeater function, the embedded routing algorithm is started, and at the moment, the terminal of the Internet of things serves as both the terminal of the Internet of things and the repeater; and all the wireless access points of the Internet of things recognize whether the terminal of the Internet of things is a terminal of the Internet of things powered by a battery or a terminal of the Internet of things powered by a power supply through the preset state identification in the terminal of the Internet of things.
2. The method of claim 1, wherein before the IOT wireless access point sends the cache data migration instruction to the first repeater, the method further comprises:
when the wireless access point of the Internet of things detects that the state of the first repeater is abnormal, the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater are obtained;
and the wireless access point of the internet of things determines a first part of cache data and a second part of cache data in the cache data of the first repeater according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater, wherein the first part of cache data is used for migrating to the second repeater, and the second part of cache data is used for migrating to the third repeater.
3. The method of claim 1, wherein after the IOT wireless access point sends a detach instruction to the first repeater, the method further comprises:
the wireless access point of the Internet of things determines a first device set and a second device set, wherein the first device set is a set of terminals of the Internet of things which are unloaded by the first repeater and used for being migrated to the second repeater for being loaded, and the second device set is a set of terminals of the Internet of things which are unloaded by the first repeater and used for being migrated to the third repeater for being loaded;
the Internet of things wireless access point sends a first device mounting instruction to the second repeater, the first device mounting instruction comprises a device identification of the Internet of things terminal in the first device set, and the device identification of the Internet of things terminal in the first device set is used for the second repeater to mount the Internet of things terminal in the first device set;
the wireless access point of the internet of things sends a second equipment mounting instruction to the third repeater, the second equipment mounting instruction comprises equipment identification of the terminal of the internet of things in the second equipment set, and the equipment identification of the terminal of the internet of things in the second equipment set is used for the third repeater to mount the terminal of the internet of things in the second equipment set.
4. The method of claim 3, wherein determining, by the IOT wireless access point, the first set of devices and the second set of devices comprises:
the Internet of things wireless access point acquires the Internet of things terminal mounted by the second repeater and the Internet of things terminal mounted by the third repeater, and determines a first device set and a second device set according to the Internet of things terminal mounted by the second repeater and the Internet of things terminal mounted by the third repeater; or,
and the wireless access point of the Internet of things determines a first device set and a second device set according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater.
5. An Internet of things wireless access point is characterized by comprising a processing unit and a communication unit,
the processing unit is used for sending a cache data migration instruction to a first repeater through the communication unit, wherein the cache data migration instruction is used for instructing the first repeater to send a first part of cache data to a second repeater and sending a second part of cache data to a third repeater; and for receiving, by the communication unit, the first part of the buffered data sent by the second repeater and the second part of the buffered data sent by the third repeater; the cache data refers to uplink data of the internet of things terminal mounted by the first repeater, which is received by the first repeater in a beacon period before the current beacon period;
in terms of receiving, by the communication unit, the first part of the buffered data sent by the second repeater and the second part of the buffered data sent by the third repeater, the processing unit is specifically configured to:
broadcasting a frame of network beacon; receiving the first part of cache data sent by the second repeater at a first time slot of the network beacon, wherein the first time slot is determined by the second repeater according to the network number of the second repeater after receiving the network beacon and carrying out time synchronization; receiving the second part of cache data sent by the third repeater at a second time slot of the network beacon, wherein the second time slot is determined by the third repeater according to the network number of the third repeater after receiving the network beacon and carrying out time synchronization;
the processing unit is further configured to send a mount release instruction to the first relay through the communication unit, where the mount release instruction is used to instruct the first relay to release the mounted internet of things terminal; the Internet of things terminal comprises an Internet of things terminal powered by a battery and an Internet of things terminal powered by a power supply; the terminal of the Internet of things powered by a power supply is embedded with a routing algorithm, when the terminal of the Internet of things needing to be powered by a certain power supply is used as a repeater function, the embedded routing algorithm is started, and at the moment, the terminal of the Internet of things serves as both the terminal of the Internet of things and the repeater; and all the wireless access points of the Internet of things recognize whether the terminal of the Internet of things is a terminal of the Internet of things powered by a battery or a terminal of the Internet of things powered by a power supply through the preset state identification in the terminal of the Internet of things.
6. The internet of things wireless access point of claim 5, wherein the processing unit, before sending the cache data migration instruction to the first relay through the communication unit, is further configured to, when detecting that the state of the first relay is abnormal, obtain, through the communication unit, an uplink bandwidth of the second relay and an uplink bandwidth of the third relay; and determining a first part of cache data and a second part of cache data in the cache data of the first relay according to the uplink bandwidth of the second relay and the uplink bandwidth of the third relay, wherein the first part of cache data is used for migrating to the second relay, and the second part of cache data is used for migrating to the third relay.
7. The internet of things wireless access point according to claim 5, wherein after the processing unit sends a mount release instruction to the first relay through the communication unit, the processing unit is further configured to determine a first device set and a second device set, the first device set is a set of internet of things terminals of the internet of things terminals that are removed from the mount by the first relay and used for migrating to the second relay for mounting, and the second device set is a set of internet of things terminals of the internet of things terminals that are removed from the mount by the first relay and used for migrating to the third relay for mounting; the communication unit is used for sending a first device mounting instruction to the second repeater, the first device mounting instruction comprises a device identifier of the internet of things terminal in the first device set, and the device identifier of the internet of things terminal in the first device set is used for the second repeater to mount the internet of things terminal in the first device set; and the communication unit is used for sending a second device mounting instruction to the third repeater, the second device mounting instruction comprises the 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 repeater to mount the internet of things terminal in the second device set.
8. The internet of things wireless access point of claim 7, wherein in determining the first set of devices and the second set of devices, the processing unit is specifically configured to: acquiring the Internet of things terminal mounted by the second repeater and the Internet of things terminal mounted by the third repeater through the communication unit; the first equipment set and the second equipment set are determined according to the Internet of things terminal mounted by the second repeater and the Internet of things terminal mounted by the third repeater; or determining a first device set and a second device set according to the uplink bandwidth of the second repeater and the uplink bandwidth of the third repeater.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710598493.7A CN107404401B (en) | 2017-07-21 | 2017-07-21 | Wireless sensor network repeater exception handling method and device |
PCT/CN2017/100877 WO2019015048A1 (en) | 2017-07-21 | 2017-09-07 | Method and device for exception processing of repeater in wireless sensor network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710598493.7A CN107404401B (en) | 2017-07-21 | 2017-07-21 | Wireless sensor network repeater exception handling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107404401A CN107404401A (en) | 2017-11-28 |
CN107404401B true CN107404401B (en) | 2021-03-19 |
Family
ID=60401119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710598493.7A Active CN107404401B (en) | 2017-07-21 | 2017-07-21 | Wireless sensor network repeater exception handling method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107404401B (en) |
WO (1) | WO2019015048A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113301671A (en) * | 2020-02-21 | 2021-08-24 | 大唐移动通信设备有限公司 | Method and equipment for data transmission |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102869047A (en) * | 2012-06-27 | 2013-01-09 | 中兴通讯股份有限公司 | Method and device for realizing load balance |
WO2016137377A1 (en) * | 2015-02-26 | 2016-09-01 | Telefonaktiebolaget Lm Ericsson (Publ) | Energy efficient ble mesh initialisation and operation |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7769848B2 (en) * | 2004-09-22 | 2010-08-03 | International Business Machines Corporation | Method and systems for copying data components between nodes of a wireless sensor network |
KR100677754B1 (en) * | 2005-03-11 | 2007-02-02 | 삼성전자주식회사 | Method for generating and registering identification in wireless sensor network |
CN101656624B (en) * | 2008-08-18 | 2011-12-07 | 中兴通讯股份有限公司 | Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method |
CN103052115B (en) * | 2011-10-17 | 2016-09-07 | 中国移动通信集团公司 | Data transmission method, mobile terminal, relay aggregator and related system |
CN104796793B (en) * | 2015-04-23 | 2017-08-29 | 常熟理工学院 | Opportunistic Multimedia Dynamic cloud platform and the transmission method of many relaying classification cooperations |
AU2016203497B2 (en) * | 2015-06-22 | 2017-05-11 | Accenture Global Services Limited | Wi-fi access point performance management |
CN105227645A (en) * | 2015-09-15 | 2016-01-06 | 齐鲁工业大学 | A kind of cloud data migration method |
CN106358242A (en) * | 2016-09-27 | 2017-01-25 | 上海斐讯数据通信技术有限公司 | Access load balance method and system |
CN106792914B (en) * | 2017-02-17 | 2020-01-03 | 深圳云盈网络科技有限公司 | Wireless load balancing method and system |
-
2017
- 2017-07-21 CN CN201710598493.7A patent/CN107404401B/en active Active
- 2017-09-07 WO PCT/CN2017/100877 patent/WO2019015048A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102869047A (en) * | 2012-06-27 | 2013-01-09 | 中兴通讯股份有限公司 | Method and device for realizing load balance |
WO2016137377A1 (en) * | 2015-02-26 | 2016-09-01 | Telefonaktiebolaget Lm Ericsson (Publ) | Energy efficient ble mesh initialisation and operation |
Also Published As
Publication number | Publication date |
---|---|
CN107404401A (en) | 2017-11-28 |
WO2019015048A1 (en) | 2019-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3425974B1 (en) | Method for configuring uplink semi-persistent scheduling, terminal, and network side device | |
EP3142442B1 (en) | Method, device and system for controlling air interface resources | |
EP3876621B1 (en) | Data transmission methods and apparatuses | |
CN108012294B (en) | Network switching method and device | |
CN107404401B (en) | Wireless sensor network repeater exception handling method and device | |
CN107483542B (en) | Exception handling method and device for wireless sensor network | |
CN107743313B (en) | Method, base station and system for realizing time division duplex configuration of auxiliary cell | |
CN114125052A (en) | Target operation execution method and device, storage medium and electronic device | |
CN107454619B (en) | Wireless sensor network repeater exception handling method and device | |
CN107517493A (en) | Connection method, device and the terminal of radio resource control RRC | |
CN107548018B (en) | Method and equipment for processing abnormity of wireless access point of wireless sensor network Internet of things | |
CN105246160A (en) | Data uploading method, apparatus, system and communication device in private network communication | |
CN107404403B (en) | Internet of things exception handling method and equipment | |
CN113068183A (en) | Updating method and device of security key | |
CN108307410B (en) | Internet of things wireless access point exception handling method and equipment | |
JP6221488B2 (en) | Management device, control device, communication system, and communication method | |
CN112888063B (en) | Remote terminal network access method, system, electronic device and storage medium | |
CN111836385A (en) | Method and device for processing network beacon in wireless sensor network | |
CN107005991B (en) | Transmission method, terminal device, base station and the communication system of upstream data packet | |
CN109391911B (en) | Short message sending method and base station of broadband cluster | |
CN107690194B (en) | Method and equipment for configuring network beacon in wireless sensor network | |
CN107438257B (en) | IR frame format conversion method and device for BBU interface board of baseband processing unit | |
CN104539442B (en) | For improving method, the network equipment and the system of reliability | |
CN112104506B (en) | Networking method, networking device, server and readable storage medium | |
CN109391908B (en) | User plane data sending method of broadband cluster and base station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |