CN107517477B - Method for random backup of wireless access point and gateway - Google Patents

Method for random backup of wireless access point and gateway Download PDF

Info

Publication number
CN107517477B
CN107517477B CN201710760725.4A CN201710760725A CN107517477B CN 107517477 B CN107517477 B CN 107517477B CN 201710760725 A CN201710760725 A CN 201710760725A CN 107517477 B CN107517477 B CN 107517477B
Authority
CN
China
Prior art keywords
access point
backup
gateway
data
terminal
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
Application number
CN201710760725.4A
Other languages
Chinese (zh)
Other versions
CN107517477A (en
Inventor
杜光东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN201710760725.4A priority Critical patent/CN107517477B/en
Publication of CN107517477A publication Critical patent/CN107517477A/en
Application granted granted Critical
Publication of CN107517477B publication Critical patent/CN107517477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Abstract

The invention discloses a method for random backup of a wireless access point and a gateway. The method comprises the following steps: the gateway judges whether the data transmission rate of the target access point is smaller than a preset threshold value or not; if the access point is smaller than the preset threshold value, the gateway randomly selects a data backup access point and a terminal backup access point from the access points to be selected; the gateway receives backup data sent by a target access point and sends the backup data to a data backup access point for backup; the gateway sends switching information to the target access point, wherein the switching information is used for indicating that the Internet of things terminal governed by the target access point is switched to a terminal backup access point; the gateway is used for managing the target access point, the data backup access point and the terminal backup access point, and the data backup access point and the terminal backup access point are different access points. The method can improve the fault resistance of the wireless access point.

Description

Method for random backup of wireless access point and gateway
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for randomly backing up a wireless access point and a gateway.
Background
In recent years, with the development of wireless communication technology, the internet of things is gradually emerging, and great changes are brought to the lives of people. In the internet of things, the wireless communication technology is used for replacing a traditional physical line to interconnect the terminal devices through a network.
The wireless Access Points (APs) are common devices in wireless communication technology, and in the internet of things, are bridges for accessing terminals of the internet of things to a wired local area network, and form a continuous wireless network coverage area by configuring a plurality of wireless Access points, so that the terminals of the internet of things in the wireless network coverage area can be connected and network services can be provided.
With the development of the internet of things, the number of the wireless access points is gradually increased, and when the wireless access points are in failure, the internet of things terminal under the jurisdiction of the failed wireless access points cannot normally access the internet of things, and the data cached on the wireless access points can be lost, so that poor user experience is caused.
Disclosure of Invention
The embodiment of the invention provides a method and a gateway for randomly backing up a wireless access point, which can randomly back up data cached by the wireless access point into a data backup access point when a target access point has a fault sign, and switch an internet of things terminal accessed on the target access point into a terminal backup access point different from the data backup access point.
In a first aspect, the present invention provides a method for random backup of a wireless access point, where the method includes:
the gateway judges whether the data transmission rate of the target access point is smaller than a preset threshold value or not; if the access point is smaller than the preset threshold value, the gateway randomly selects a data backup access point and a terminal backup access point from the access points to be selected; if the data is smaller than the preset threshold value, the gateway receives backup data sent by the target access point and sends the backup data to a data backup access point for backup, wherein the backup data is data reported to the target access point by an Internet of things terminal under the jurisdiction of the target access point;
the gateway sends switching information to the target access point, wherein the switching information is used for indicating that the Internet of things terminal governed by the target access point is switched to a terminal backup access point;
the gateway is used for managing the target access point, the data backup access point and the terminal backup access point, and the data backup access point and the terminal backup access point are different access points.
In an optional embodiment, the preset threshold may be set according to a data transmission rate of the target access point during normal operation, for example, the data transmission rate of the wireless access point during normal operation may reach 10Mbps, and the preset threshold may be set to 10%, that is, 1Mbps, of the data transmission rate of the wireless access point during normal operation, that is, when the gateway detects that the data transmission rate of the wireless access point is less than the preset threshold 1Mbps, it may be determined that the wireless access point has a fault sign.
In alternative embodiments, the data backup access point may include the following two cases: (1) the data backup access point can not bear any access service at ordinary times and only serves as a standby node of the target access point, and when the target access point fails, the backup data is hot backed up to the data backup access point, namely, the data backup access point is only used for backing up the backup data of the target access point, so that the efficiency and the speed of the cache data backup of the target access point can be improved. . (2) The data backup access point also processes access services of other terminals at ordinary times, and when the target access point fails, the backup data is hot backed up to the data backup access point, namely, the data backup access point simultaneously undertakes backup of the backup data of the target access point and processes the access services of other terminals, so that the functions of the data backup access point can be fully used, and resource waste is avoided.
In alternative embodiments, the terminal backup access point may include the following two cases: (1) the terminal backup access point can not bear any access service at ordinary times and only serves as a standby node of the target access point, and when the target access point fails, the terminal under the control of the target access point is switched to the terminal backup access point, namely, the terminal backup access point is only used for processing the access service of the terminal switched from the target access point, so that the efficiency and the speed of transferring the forwarding service of the target access point can be improved. (2) The terminal backup access point also processes the access services of other terminals at ordinary times, and when the target access point fails, the terminal backup access point processes the access services of the terminal switched from the target access point, namely, the data backup access point simultaneously processes the access services of the terminal switched from the target access point and processes the access services of other terminals, so that the functions of the terminal backup access point can be fully used, and resource waste is avoided.
It is understood that the number of the data backup access points may be one or more; likewise, the number of terminal backup access points may be one or more. The efficiency and the success rate of the cache data backup of the target access point can be improved by using a plurality of data backup access points; the use of a plurality of terminal backup access points can improve the efficiency and the success rate of switching the Internet of things terminal under the control of the target access point to the terminal backup access point.
If the number of the data backup access points and/or the number of the terminal backup access points are multiple, the switching information further comprises the identification of the data backup access points and/or the terminal backup access points.
In the embodiment of the present invention, the identifiers of the data backup access point and the terminal backup access point may be Radio Network Temporary Identifiers (RNTI), MAC addresses, or other identifier information that enables the data backup access point and the terminal backup access point to be identified, which is not limited herein.
In a first possible implementation manner of the first aspect of the embodiment of the present invention, before the determining, by the gateway, whether the data transmission rate of the target access point is smaller than a preset threshold, the method further includes:
the gateway respectively detects the uplink network transmission rate and the downlink network transmission rate of the target access point;
and the gateway determines the data transmission rate between the gateway and the target access point according to the uplink network transmission rate and the downlink network transmission rate.
The data transmission rate of the target access point is the data transmission rate between the gateway and the target access point, and/or the data transmission rate between the target access point and the internet of things terminal under the control of the target access point. The data transmission rate of the target access point can be accurately obtained through the uplink network transmission rate and the downlink network transmission rate of the target access point, so that whether the data of the target access point needs to be backed up or not is judged, or the internet of things terminal under the jurisdiction of the target access point is switched to a terminal backup access point.
In an optional embodiment, the gateway detects a data transmission rate when the target access point sends information to the gateway and a data transmission rate when the gateway sends information to the target access point, determines the data transmission rate between the gateway and the target access point, and determines whether the data transmission rate between the gateway and the target access point is smaller than a preset threshold.
In an optional embodiment, the gateway may further receive uplink and downlink network transmission rates between the target access point and the internet of things terminal governed by the target access point, which are periodically sent by the target access point, determine a data transmission rate between the target access point and the internet of things terminal governed by the target access point, and determine whether the data transmission rate between the target access point and the internet of things terminal governed by the target access point is less than a preset threshold.
With reference to the first aspect of the embodiment of the present invention, in a second possible implementation manner of the embodiment of the present invention, the method further includes:
the gateway acquires performance indexes of n access points to be selected, wherein the n access points to be selected belong to the administration of the gateway;
and the gateway selects a data backup access point and/or a terminal backup access point from the n access points to be selected according to the performance indexes of the n access points to be selected. The gateway directly selects the data backup access point and/or the terminal backup access point, so that the selection operation of the Internet of things terminal under the jurisdiction of the target access point is avoided, the resources of the Internet of things terminal can be saved, and the Internet of things terminal can work better.
With reference to the first aspect of the embodiment of the present invention or the second possible implementation manner of the first aspect, in a third possible implementation manner of the embodiment of the present invention, the performance index includes one or more combinations of the number of terminals accessed, a memory, a channel bandwidth, a channel operating time, and a channel noise power density.
In an optional embodiment, the performance index of the candidate access point may further include: the signal strength between the candidate access point and the terminal, the load capacity (such as data buffering capacity, residual capacity and the like) of the candidate access point, the current load capacity of the candidate access point, the information security processing (encryption and decryption) capacity and the like. In practical application, the gateway can select the optimal or better data backup access point or terminal backup access point for the internet of things terminal according to the performance index.
With reference to the first aspect of the embodiment of the present invention, in a fourth possible implementation manner of the embodiment of the present invention, the method further includes:
the gateway acquires performance indexes of n access points to be selected, wherein the n access points to be selected belong to the administration of the gateway;
and the gateway sends the performance indexes of the n access points to be selected to a target access point, wherein the performance indexes of the n access points to be selected are used for indicating an Internet of things terminal under the control of the target access point to determine a data backup access point and/or a terminal backup access point. The data backup access point and/or the terminal backup access point are determined through the Internet of things terminal, the selected data backup access point and/or the selected terminal backup access point are suitable for the Internet of things terminal, and the Internet of things terminal can select to backup own data to the designated data backup access point and can also be switched to be connected to the designated terminal backup access point.
In an optional embodiment, the gateway sends the performance indexes of the n access points to be selected to a target access point, the target access point sends the performance indexes of the n access points to be selected to an internet of things terminal under the control of the target access point, the internet of things terminal can arbitrarily select m access points to be selected from the multiple access points to be selected as data backup access points according to the performance indexes, and select y access points to be selected as terminal backup access points. Of course, the terminal of the internet of things may also select an optimal or better one from the multiple candidate access points as a data backup access point or a terminal backup access point according to the performance index of the candidate access point.
In an optional embodiment, the performance index of the candidate access point may include: the number of terminals accessed by the candidate access point, the memory (including used memory amount and available memory amount), the channel bandwidth, the channel operating time, the noise power density of the channel, the signal strength between the candidate access point and the terminal, the load capacity (such as data buffering capacity and residual power) of the candidate access point, the current load capacity of the candidate access point, the information security processing (encryption and decryption) capacity, and the like. In practical application, the gateway can select the optimal or better data backup access point or terminal backup access point for the internet of things terminal according to the measurement result.
In a second aspect, the present invention provides a gateway for random backup of a wireless access point, where the gateway includes:
the judging module is used for judging whether the data transmission rate of the target access point is smaller than a preset threshold value or not;
the selection module is used for randomly selecting a data backup access point and a terminal backup access point from the access points to be selected;
the receiving module is used for receiving the backup data sent by the target access point;
the first sending module is used for sending the backup data to a data backup access point for backup;
and the second sending module is used for sending the switching information to the target access point.
Wherein, the device applying the gateway manages the target access point, the data backup access point and the terminal backup access point, and the data backup access point and the terminal backup access point are different access points.
In an optional embodiment, the preset threshold may be set according to a data transmission rate of the target access point during normal operation, for example, the data transmission rate of the wireless access point during normal operation may reach 10Mbps, and the preset threshold may be set to 10%, that is, 1Mbps, of the data transmission rate of the wireless access point during normal operation, that is, when the gateway detects that the data transmission rate of the wireless access point is less than the preset threshold 1Mbps, it may be determined that the wireless access point has a fault sign.
In alternative embodiments, the data backup access point may include the following two cases: (1) the data backup access point can not bear any access service at ordinary times and only serves as a standby node of the target access point, and when the target access point fails, the backup data is hot backed up to the data backup access point, namely, the data backup access point is only used for backing up the backup data of the target access point, so that the efficiency and the speed of the cache data backup of the target access point can be improved. . (2) The data backup access point also processes access services of other terminals at ordinary times, and when the target access point fails, the backup data is hot backed up to the data backup access point, namely, the data backup access point simultaneously undertakes backup of the backup data of the target access point and processes the access services of other terminals, so that the functions of the data backup access point can be fully used, and resource waste is avoided.
In alternative embodiments, the terminal backup access point may include the following two cases: (1) the terminal backup access point can not bear any access service at ordinary times and only serves as a standby node of the target access point, and when the target access point fails, the terminal under the control of the target access point is switched to the terminal backup access point, namely, the terminal backup access point is only used for processing the access service of the terminal switched from the target access point, so that the efficiency and the speed of transferring the forwarding service of the target access point can be improved. (2) The terminal backup access point also processes the access services of other terminals at ordinary times, and when the target access point fails, the terminal backup access point processes the access services of the terminal switched from the target access point, namely, the data backup access point simultaneously processes the access services of the terminal switched from the target access point and processes the access services of other terminals, so that the functions of the terminal backup access point can be fully used, and resource waste is avoided.
It is understood that the number of the data backup access points may be one or more; likewise, the number of terminal backup access points may be one or more. The efficiency and the success rate of the cache data backup of the target access point can be improved by using a plurality of data backup access points; the use of a plurality of terminal backup access points can improve the efficiency and the success rate of switching the Internet of things terminal under the control of the target access point to the terminal backup access point.
With reference to the second aspect, in a first possible implementation manner of the second aspect of the present invention, the gateway further includes:
the detection module is used for detecting the uplink network transmission rate and the downlink network transmission rate of the target access point;
and the determining module is used for determining the data transmission rate between the gateway and the target access point according to the uplink network transmission rate and the downlink network transmission rate.
The data transmission rate of the target access point is the data transmission rate between the gateway and the target access point, and/or the data transmission rate between the target access point and the internet of things terminal under the control of the target access point.
With reference to the second aspect, in a second possible implementation manner of the second aspect of the present invention, the gateway further includes:
the first acquisition module is used for acquiring the performance indexes of the n access points to be selected;
and the selection module is used for selecting a data backup access point and/or a terminal backup access point from the n access points to be selected according to the performance indexes of the n access points to be selected.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect of the present invention, the performance index includes one or more combinations of the number of terminals accessed, a memory, a channel bandwidth, an operating time of a channel, and a noise power density of the channel.
With reference to the second aspect, in a fourth possible implementation manner of the second aspect of the present invention, the gateway further includes:
the second acquisition module is used for acquiring the performance indexes of the n access points to be selected;
and the third sending module is used for sending the performance indexes of the n access points to be selected to the target access point.
In a third aspect, the present invention provides a hardware entity terminal, including: a processor, a memory, a communication interface, and a bus; the processor, the memory and the communication interface are connected through the bus and complete mutual communication; the memory stores executable program code; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing a method of random backup of a wireless access point; wherein the method is the method of any one of the first aspect.
In a fourth aspect, the invention provides a computer readable storage medium having stored program code comprising instructions for performing the method of any of the first aspects.
By implementing the embodiment of the invention, the gateway receives the backup data sent by the target access point and sends the backup data to the data backup access point for backup by judging whether the data transmission rate of the target access point is less than a preset threshold value or not under the condition that the data transmission rate of the target access point is less than the preset threshold value, and sends the switching information to the target access point, so that the data cached on the target access point can be backed up to the data backup access point when the target access point has a fault sign, and the internet of things terminal accessed on the target access point is switched to the terminal backup access point different from the data backup access point, thereby preventing the cached data from being lost and the internet of things terminal from being unable to access the internet of things, and improving the user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a network architecture to which an embodiment of the present invention is applied.
Fig. 2 is a flowchart of a method for random backup of a wireless access point according to an embodiment of the present invention.
Fig. 3-a is a schematic structural diagram of a network structure in a specific application scenario in the embodiment of the present invention.
Fig. 3-b is a schematic structural diagram of a network structure in another specific application scenario in the embodiment of the present invention.
Fig. 4 is a flowchart of another method for random backup of a wireless access point according to an embodiment of the present invention.
Fig. 5 is a flowchart of a method for random backup of a wireless access point according to another embodiment of the present invention.
Fig. 6 is a flowchart of a method for random backup of a wireless access point according to another embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a gateway for random backup of a wireless access point according to an embodiment of the present invention.
Fig. 8 is a schematic structural diagram of another gateway for random backup of a wireless access point according to an embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a gateway for random backup of a wireless access point according to another embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a random backup hardware entity of a wireless access point according to an embodiment of the present invention.
Detailed Description
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.
It is to be understood that the terminology used in the embodiments of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
For the understanding of the scheme, the network architecture to which the scheme of the embodiments of the present application is applied will be first described below by way of example with reference to the accompanying drawings. Referring to fig. 1, fig. 1 is a schematic structural diagram of a network architecture according to an embodiment of the present invention. As shown in fig. 1, a network architecture to which the embodiment of the present application is applied includes a gateway 110, an Access Point (AP)120, and a plurality of stations (stations) 130. The network architecture of the invention is suitable for networking modes such as Wireless Local Area Networks (WLAN), Bluetooth (bluetooth) Wireless personal Area Networks, zigbee networking, Internet of things (IoT) and the like. The Internet of things may be any one of Internet of Vehicles (Internet of Vehicles), Body Area Network (BAN), and M2M (machine-to-machine) Network.
It should be noted that gateway 110 may communicate with access point 120 via a downlink and an uplink. The downlink (or forward link) refers to the communication link from gateway 110 to access point 120, and the uplink (or reverse link) refers to the communication link from access point 120 to gateway 110. The rate when gateway 110 transmits data to access point 120 is an uplink network transmission rate, and the rate when access point 120 transmits data to gateway 110 is a downlink network transmission rate.
An access point may also be referred to as a "hot spot," and the access point may be used to establish a wireless lan and provide access services to a plurality of stations, and is a bridge connecting a wireless network and a wired network. The access point may be an access device dedicated to providing access services, such as a wireless router, or may be a terminal device temporarily providing access services, such as a smart phone, a tablet computer, a notebook computer, or the like capable of providing access services, and the present invention is not limited in particular.
The gateway is connected with a line network which is an upper layer device of the wireless access point 120, the gateway is directly connected with the line network through broadband dialing, and one gateway governs a plurality of wireless access points.
The website may be various terminal devices, for example, a mobile terminal such as a smart phone, a tablet computer, and a notebook computer, a wearable device such as smart glasses, a smart watch, and a smart necklace, a smart home device such as a smart microwave oven, a smart air conditioner, and a smart refrigerator, or an internet of things device such as a smart water meter, a smart electricity meter, and a smart gas meter, which is not limited in the present invention.
It is understood that the actual product names of the access point and the station mentioned in the embodiments of the present application may be different from each other in different vendors, for example, in a bluetooth wireless personal area network, the access point may be referred to as a master device, the station may be referred to as a slave device, and so on, although the change of the product name does not affect the essence of the access point and the station.
It can be understood that, in the prior art, the terminal 130 under the control of the access point 120 can only access the network through the access point 120, and the data uploaded by the terminal 130 under the control of the access point 120 is cached in the access point 120, so that, once the access point 120 fails, the terminal 130 under the control of the access point 120 cannot access the network, and the data uploaded to the access point 120 by the terminal 130 under the control of the access point 120 is lost.
In order to solve the above problem, an embodiment of the present invention provides a method for randomly backing up a wireless access point, and as shown in fig. 2, fig. 2 is a flowchart of the method for randomly backing up a wireless access point, which is provided in the embodiment of the present invention, in which data of a target access point and an internet of things terminal accessing the target access point are respectively migrated to a data backup access point and a terminal backup access point, so that the fault resistance of the target access point is enhanced. The method is described from the perspective of a gateway, and comprises the following steps:
s201: the gateway judges whether the data transmission rate of the target access point is smaller than a preset threshold value.
Specifically, the target access point is any one of the wireless access points governed by the gateway, and the gateway may monitor the data transmission rate of all the wireless access points governed by the gateway regularly, or may monitor the data transmission rate of the wireless access point through the report information of the wireless access point.
In the embodiment of the invention, the data transmission rate is an important index for judging whether a target access point works normally, and when the data transmission rate is at a normal level, the target access point is in a normal working state; when the data transmission rate of the target access point is smaller than a preset threshold value, the target access point is likely to be about to fail. Specifically, for example, when the number of terminals of the internet of things accessed by the target access point is too many, the signal frequency channel used by the target access point is covered by the signal frequency channels of other access points, or the hardware of the target access point is overheated, the data transmission rate of the target access point is significantly reduced.
In the embodiment of the present invention, the preset threshold may be set according to a data transmission rate of the target access point during normal operation, for example, the data transmission rate of the wireless access point during normal operation may reach 10Mbps, and the preset threshold may be set to 10%, that is, 1Mbps, of the data transmission rate of the wireless access point during normal operation, that is, when the gateway detects that the data transmission rate of the wireless access point is less than the preset threshold 1Mbps, it may be determined that the wireless access point has a fault sign.
S202: and if the access point is smaller than the preset threshold value, the gateway randomly selects a data backup access point and a terminal backup access point from the access points to be selected.
S203: and the gateway receives the backup data sent by the target access point and sends the backup data to the data backup access point for backup.
In the embodiment of the present invention, the data backup access point may include the following two cases: (1) the data backup access point may not carry any access service at ordinary times, and only serves as a backup node of the target access point, and when the target access point fails, the backup data is hot backed up to the data backup access point, that is, the data backup access point is only used for backing up the backup data of the target access point. (2) The data backup access point also processes access services of other terminals at ordinary times, and when the target access point fails, the backup data is hot backed up to the data backup access point, namely, the data backup access point simultaneously undertakes backup of the backup data of the target access point and processes the access services of other terminals.
In the embodiment of the present invention, the backup data includes data reported to the target access point by the internet of things terminal under the control of the target access point, and the gateway issues configuration information to the target access point, related information of a channel used by the target access point, and the like. The data reported to the target access point by the internet of things terminal governed by the target access point may include collected external data sent to the target access point by the internet of things terminal, a network request sent to the target access point, and the like.
It is understood that the gateway performs step S203 when the target node is in a normal operating state, that is, the gateway performs a hot backup on the backup data.
S204: and the gateway sends switching information to the target access point, wherein the switching information is used for indicating that the Internet of things terminal governed by the target access point is switched to a terminal backup access point.
In the embodiment of the present invention, the terminal backing up the access point may include the following two cases: (1) the terminal backup access point can not bear any access service at ordinary times and only serves as a backup node of the target access point, and when the target access point fails, the terminal under the control of the target access point is switched to the terminal backup access point, namely, the terminal backup access point is only used for processing the access service of the terminal switched from the target access point. (2) The terminal backup access point also processes the access service of other terminals at ordinary times, and when the target access point fails, the terminal backup access point processes the access service of the terminal switched from the target access point, that is, the data backup access point simultaneously processes the access service of the terminal switched from the target access point and processes the access service of other terminals.
In the embodiment of the present invention, the switching information is used to instruct the terminal of the internet of things under the control of the target access point to switch to the terminal backup access point. In a possible implementation manner, the target access point receives the switching information, and then sends the switching information to the internet of things terminal under the jurisdiction of the target access point, the internet of things terminal passes through the switching information is automatically switched to the terminal backup access point, namely, the internet of things terminal sends the terminal backup access point application corresponding resource and sends self-related state information to the terminal backup access point, the terminal backup access point is that the internet of things terminal distributes resources and carries out authentication according to the state information, and then the internet of things terminal is switched to the terminal backup access point. In another embodiment, the gateway directly disconnects the internet of things terminal from the target access point, connects the internet of things terminal to the terminal backup access point, and switches the internet of things terminal to the terminal backup access point under the unknown condition, so that the operation of the internet of things terminal is avoided, and the power consumption of the internet of things terminal is reduced.
It is understood that the number of the data backup access points may be one or more; likewise, the number of terminal backup access points may be one or more. If the number of the data backup access points and/or the number of the terminal backup access points are multiple, the switching information further comprises the identification of the data backup access points and/or the terminal backup access points. In the embodiment of the present invention, the identifiers of the data backup access point and the terminal backup access point may be Radio Network Temporary Identifiers (RNTI), MAC addresses, or other identifier information that enables the data backup access point and the terminal backup access point to be identified, which is not limited herein.
It should be noted that the gateway is configured to govern the target access point, the data backup access point, and the terminal backup access point, and the data backup access point and the terminal backup access point are different access points. Generally, all wireless access points governed by a gateway form a wireless communication area, for example, an internet of things system of an intelligent parking lot, an intelligent agricultural greenhouse and an intelligent agricultural field respectively has their own wireless communication area, and the wireless communication area includes a plurality of wireless access points, so that management and communication are facilitated.
In order to better understand and implement the above-mentioned solution of the embodiment of the present invention, the following description is made in combination with a specific application scenario, assuming that a bluetooth connection technology is adopted in a wireless network part in the current internet of things, an optical fiber connection is adopted in a wired network part, a network structure diagram of the internet of things is shown in fig. 3-a, an upper management device of a wireless access point is a gateway, the wireless access point and a terminal of the internet of things are wirelessly connected, and the gateway and the wired network are directly connected in a wired manner. The gateway manages three wireless access points, wherein the three wireless access points comprise a target access point A, a data backup access point B and a terminal backup access point C, the target access point A manages the terminals 1, 2 and 3 of the Internet of things, the service data a is cached in the target access point A, the data backup access point B manages the terminals 4 and 5 of the Internet of things, the service data B is cached in the data backup access point B, the terminal backup access point C manages the terminal 6 of the Internet of things, and the service data C is cached in the terminal backup access point C.
Assuming that the data transmission rate of the wireless access point a is less than the preset threshold and a fault occurs, the devices in the internet of things interact by using the method shown in fig. 2, and after the steps in the method shown in fig. 2 are executed, the network structure diagram of the internet of things is shown in fig. 3-B, the service data (i.e., backup data) in the target access point a is backed up in the data backup access point B, and the terminals 1, 2, and 3 of the internet of things governed by the target access point a are connected to the terminal backup access point C.
Referring to fig. 4, fig. 4 is a flowchart of another method for random backup of a wireless access point according to an embodiment of the present invention, where the method is described from the perspective of a gateway. It can be understood that steps S201 to S204 in the method embodiment shown in fig. 2 may also be applied to steps S403 to S406 in this embodiment, which is not described herein again, and the method for randomly backing up a wireless access point in this embodiment includes:
s401: and the gateway detects the uplink network transmission rate and the downlink network transmission rate of the target access point respectively.
Specifically, the uplink network transmission rate is a data transmission rate when the target access point sends information to the gateway, and the downlink network transmission rate is a transmission rate when the gateway sends information to the target access point.
S402: and the gateway determines the data transmission rate between the gateway and the target access point according to the uplink network transmission rate and the downlink network transmission rate.
Specifically, in this embodiment, the uplink network transmission rate and the downlink network transmission rate directly reflect a data transmission rate between the gateway and the target access point, the data transmission rate between the gateway and the target access point can reflect whether the target access point is in a normal working state, and if the data transmission rate between the gateway and the target access point is lower than a preset threshold, the target access point may malfunction.
In other embodiments, the gateway may further determine the data transmission rate between the target access point and the terminal of the internet of things by detecting an uplink network transmission rate and a downlink network transmission rate between the target access point and the terminal of the internet of things under the control of the target access point, respectively. The target access point and the uplink network transmission rate between the internet of things terminals under the jurisdiction of the target access point are data transmission rates when the internet of things terminals send information to the target access point, the downlink network transmission rate between the target access point and the internet of things terminals under the jurisdiction of the target access point is data transmission rates when the target access point sends information to the internet of things terminals, the uplink network transmission rate and the downlink network transmission rate between the target access point and the internet of things terminals under the jurisdiction of the target access point directly reflect the data transmission rates between the target access point and the internet of things terminals under the jurisdiction of the target access point, and the target access point is likely to fail under the condition that the data transmission rate is smaller than a preset threshold value. Furthermore, the target access point manages a plurality of internet of things terminals, the gateway can determine the number of the internet of things terminals of which the data transmission rate is smaller than a preset threshold value by respectively detecting the uplink network transmission rate and the downlink network transmission rate between each internet of things terminal and the target access point, and when the number of the internet of things terminals reaches a certain ratio of the total number of the internet of things terminals managed by the target access point, the target access point may have a fault. For example, when the number of the terminals of the internet of things with the data transmission rate less than the preset threshold value between the terminals of the internet of things and the target access point accounts for 50% of the total terminals of the internet of things managed by the target access point, it may be determined that the target access point has a fault.
S403: and the gateway judges whether the data transmission rate of the target access point is less than a preset threshold value.
S404: and if the access point is smaller than the preset threshold value, the gateway randomly selects a data backup access point and a terminal backup access point from the access points to be selected.
S405: and the gateway receives the backup data sent by the target access point and sends the backup data to the data backup access point for backup.
S406: and the gateway sends switching information to the target access point, wherein the switching information is used for indicating that the Internet of things terminal governed by the target access point is switched to a terminal backup access point.
It can be understood that there are multiple internet of things terminals governed by the target access point, and each internet of things terminal can be switched to the same terminal backup access point or different terminal backup access points.
It should be noted that the gateway is configured to govern the target access point, the data backup access point, and the terminal backup access point, and the data backup access point and the terminal backup access point are different access points. Generally, all wireless access points governed by a gateway form a wireless communication area, for example, an internet of things system of an intelligent parking lot, an intelligent agricultural greenhouse and an intelligent agricultural field respectively has their own wireless communication area, and the wireless communication area includes a plurality of wireless access points, so that management and communication are facilitated.
Referring to fig. 5, fig. 5 is a flowchart of another method for random backup of a wireless access point according to an embodiment of the present invention, where the method is described from the perspective of a gateway. The method comprises the following steps:
s501: the gateway judges whether the data transmission rate of the target access point is smaller than a preset threshold value.
S502: and if the number of the access points is smaller than the preset threshold value, the gateway acquires the performance indexes of n access points to be selected, wherein the n access points to be selected belong to the administration of the gateway.
S503: and the gateway selects a data backup access point and/or a terminal backup access point from the n access points to be selected according to the performance indexes of the n access points to be selected.
It can be understood that, when the number of the candidate access points is multiple, the gateway may arbitrarily select m candidate access points from the multiple candidate access points as data backup access points, and select y candidate access points as terminal backup access points. Of course, the gateway may select an optimal or better one from the multiple candidate access points as the data backup access point or the terminal backup access point according to the performance index of the candidate access point.
In some possible implementations, the performance index of the candidate access point may include: the performance indexes of the candidate access points include the number of terminals accessed by each candidate access point, memory (including used memory amount and available memory amount), channel bandwidth, channel operating time, noise power density of a channel, signal strength between the candidate access point and the terminal, load capacity (such as data buffering capacity and residual capacity) of the candidate access point, current load capacity of the candidate access point, information security processing (encryption and decryption) capacity and the like. In practical application, the gateway can select the optimal or better data backup access point or terminal backup access point for the internet of things terminal according to the performance index.
S504: and the gateway receives the backup data sent by the target access point and sends the backup data to the data backup access point for backup.
S505: and the gateway sends switching information to the target access point, wherein the switching information is used for indicating that the Internet of things terminal governed by the target access point is switched to a terminal backup access point.
It is understood that step S201 in the method embodiment shown in fig. 2 may also be applied to step S501 in this embodiment, and steps S203 to S204 may also be applied to steps S504 to S505 in this embodiment, which are not described herein again.
Referring to fig. 6, fig. 6 is a flowchart of another method for random backup of a wireless access point according to an embodiment of the present invention, where the method is described from the perspective of a gateway. The method comprises the following steps:
s601: the gateway judges whether the data transmission rate of the target access point is smaller than a preset threshold value.
S602: and if the number of the access points is smaller than the preset threshold value, the gateway acquires the performance indexes of n access points to be selected, wherein the n access points to be selected belong to the administration of the gateway.
S603: and the gateway sends the performance indexes of the n access points to be selected to a target access point, wherein the performance indexes of the n access points to be selected are used for indicating an Internet of things terminal under the control of the target access point to determine a data backup access point and/or a terminal backup access point.
In this embodiment, the gateway sends the performance indexes of the n candidate access points to a target access point, the target access point sends the performance indexes of the n candidate access points to an internet of things terminal under the control of the target access point, the internet of things terminal can arbitrarily select m candidate access points from a plurality of candidate access points as data backup access points according to the performance indexes, and select y candidate access points as terminal backup access points. Of course, the terminal of the internet of things may also select an optimal or better one from the multiple candidate access points as a data backup access point or a terminal backup access point according to the performance index of the candidate access point.
In some possible implementations, the performance index of the candidate access point may include: the number of terminals accessed by the candidate access point, the memory (including used memory amount and available memory amount), the channel bandwidth, the channel operating time, the noise power density of the channel, the signal strength between the candidate access point and the terminal, the load capacity (such as data buffering capacity and residual power) of the candidate access point, the current load capacity of the candidate access point, the information security processing (encryption and decryption) capacity, and the like. In practical application, the gateway can select the optimal or better data backup access point or terminal backup access point for the internet of things terminal according to the measurement result.
S604: and the gateway receives the backup data sent by the target access point and sends the backup data to the data backup access point for backup.
S605: and the gateway sends switching information to the target access point, wherein the switching information is used for indicating that the Internet of things terminal governed by the target access point is switched to a terminal backup access point.
It is understood that steps S501 to S502 in the method embodiment shown in fig. 5 may also be applied to steps S601 to S602 in this embodiment, and steps S504 to S505 may also be applied to steps S604 to S605 in this embodiment, which are not described herein again.
As can be seen from the above, in the method for randomly backing up a wireless access point according to the embodiment of the present invention, by determining whether a data transmission rate of a target access point is less than a preset threshold, when the data transmission rate of the target access point is less than the preset threshold, a gateway randomly selects a data backup access point and a terminal backup access point from access points to be selected, receives backup data sent by the target access point, sends the backup data to the data backup access point for backup, and sends handover information to the target access point, where the handover information is used to indicate that an internet of things terminal governed by the target access point is handed over to the terminal backup access point. According to the method, when the target access point has a fault sign, the data cached on the target access point can be backed up to the data backup access point, the terminal of the Internet of things accessed on the target access point is switched to the terminal backup access point different from the data backup access point, the cache data is prevented from being lost, the terminal of the Internet of things cannot be accessed to the Internet of things, and the user experience is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a gateway for random backup of a wireless access point, where the gateway is applied to a gateway in the internet of things system shown in fig. 1, and the gateway at least includes:
the determining module 710 is configured to determine whether the data transmission rate of the target access point is less than a preset threshold.
Specifically, the target access point is any one of the wireless access points governed by the gateway, and the gateway may monitor the data transmission rate of all the wireless access points governed by the gateway regularly, or may monitor the data transmission rate of the wireless access point through the report information of the wireless access point.
In the embodiment of the invention, the data transmission rate is an important index for judging whether a target access point works normally, and when the data transmission rate is at a normal level, the target access point is in a normal working state; when the data transmission rate of the target access point is smaller than a preset threshold value, the target access point is likely to be about to fail. Specifically, for example, when the number of terminals of the internet of things accessed by the target access point is too many, the signal frequency channel used by the target access point is covered by the signal frequency channels of other access points, or the hardware of the target access point is overheated, the data transmission rate of the target access point is significantly reduced.
In the embodiment of the present invention, the preset threshold may be set according to a data transmission rate of the target access point during normal operation, for example, the data transmission rate of the wireless access point during normal operation may reach 10Mbps, and the preset threshold may be set to 10%, that is, 1Mbps, of the data transmission rate of the wireless access point during normal operation, that is, when the gateway detects that the data transmission rate of the wireless access point is less than the preset threshold 1Mbps, it may be determined that the wireless access point has a fault sign.
A selecting module 720, configured to randomly select a data backup access point and a terminal backup access point from the access points to be selected.
A receiving module 730, configured to receive the backup data sent by the target access point.
In this embodiment, if the data transmission rate of the target access point is less than a preset threshold, it indicates that the target access point has a fault sign, and it is necessary to backup the cache data in the target access point and migrate the terminal of the internet of things under the jurisdiction of the target access point to another wireless access point.
The receiving module 730 receives the backup data transmitted from the target access point. The backup data comprises data reported to the target access point by an internet of things terminal under the control of the target access point, configuration information sent to the target access point by the gateway, related information of a channel used by the target access point and the like. The data reported to the target access point by the internet of things terminal governed by the target access point may include collected external data sent to the target access point by the internet of things terminal, a network request sent to the target access point, and the like. It can be understood that the gateway executes the receiving module to receive the backup data sent by the target access point when the target node is in a normal operating state, that is, the gateway performs hot backup on the backup data.
A first sending module 740, configured to send the backup data to a data backup access point for backup.
In the embodiment of the present invention, the data backup access point may include the following two cases: (1) the data backup access point may not carry any access service at ordinary times, and only serves as a backup node of the target access point, and when the target access point fails, the backup data is hot backed up to the data backup access point, that is, the data backup access point is only used for backing up the backup data of the target access point. (2) The data backup access point also processes access services of other terminals at ordinary times, and when the target access point fails, the backup data is hot backed up to the data backup access point, namely, the data backup access point simultaneously undertakes backup of the backup data of the target access point and processes the access services of other terminals.
A second sending module 750, configured to send switching information to the target access point, where the switching information is used to instruct to switch the internet of things terminal governed by the target access point to a terminal backup access point.
In the embodiment of the present invention, the terminal backing up the access point may include the following two cases: (1) the terminal backup access point can not bear any access service at ordinary times and only serves as a backup node of the target access point, and when the target access point fails, the terminal under the control of the target access point is switched to the terminal backup access point, namely, the terminal backup access point is only used for processing the access service of the terminal switched from the target access point. (2) The terminal backup access point also processes the access service of other terminals at ordinary times, and when the target access point fails, the terminal backup access point processes the access service of the terminal switched from the target access point, that is, the data backup access point simultaneously processes the access service of the terminal switched from the target access point and processes the access service of other terminals.
In the embodiment of the present invention, the switching information is used to instruct the terminal of the internet of things under the control of the target access point to switch to the terminal backup access point. In a possible implementation manner, the target access point receives the switching information, and then sends the switching information to the internet of things terminal under the jurisdiction of the target access point, the internet of things terminal passes through the switching information is automatically switched to the terminal backup access point, namely, the internet of things terminal sends the terminal backup access point application corresponding resource and sends self-related state information to the terminal backup access point, the terminal backup access point is that the internet of things terminal distributes resources and carries out authentication according to the state information, and then the internet of things terminal is switched to the terminal backup access point.
In another embodiment, the gateway directly disconnects the internet of things terminal from the target access point, connects the internet of things terminal to the terminal backup access point, and switches the internet of things terminal to the terminal backup access point under the unknown condition, so that the operation of the internet of things terminal is avoided, and the power consumption of the internet of things terminal is reduced.
It is understood that the number of the data backup access points may be one or more; likewise, the number of terminal backup access points may be one or more. If the number of the data backup access points and/or the number of the terminal backup access points are multiple, the switching information further comprises the identification of the data backup access points and/or the terminal backup access points. In the embodiment of the present invention, the identifiers of the data backup access point and the terminal backup access point may be Radio Network Temporary Identifiers (RNTI), MAC addresses, or other identifier information that enables the data backup access point and the terminal backup access point to be identified, which is not limited herein.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another gateway for random backup of a wireless access point according to an embodiment of the present invention, where the difference between the gateway and the gateway shown in fig. 7 is that the gateway further includes:
a detecting module 810, configured to detect an uplink network transmission rate and a downlink network transmission rate of the target access point.
A determining module 820, configured to determine a data transmission rate between the gateway and a target access point according to the uplink network transmission rate and the downlink network transmission rate.
Specifically, the uplink network transmission rate is a data transmission rate when the target access point sends information to the gateway, and the downlink network transmission rate is a transmission rate when the gateway sends information to the target access point.
The determining module is specifically configured to determine whether a data transmission rate of the target access point is less than a preset threshold.
Specifically, in this embodiment, the uplink network transmission rate and the downlink network transmission rate directly reflect a data transmission rate between the gateway and the target access point, the data transmission rate between the gateway and the target access point can reflect whether the target access point is in a normal working state, and if the data transmission rate between the gateway and the target access point is lower than a preset threshold, the target access point may malfunction.
In other embodiments, the gateway may further determine the data transmission rate between the target access point and the terminal of the internet of things by detecting an uplink network transmission rate and a downlink network transmission rate between the target access point and the terminal of the internet of things under the control of the target access point, respectively. The target access point and the uplink network transmission rate between the internet of things terminals under the jurisdiction of the target access point are data transmission rates when the internet of things terminals send information to the target access point, the downlink network transmission rate between the target access point and the internet of things terminals under the jurisdiction of the target access point is data transmission rates when the target access point sends information to the internet of things terminals, the uplink network transmission rate and the downlink network transmission rate between the target access point and the internet of things terminals under the jurisdiction of the target access point directly reflect the data transmission rates between the target access point and the internet of things terminals under the jurisdiction of the target access point, and the target access point is likely to fail under the condition that the data transmission rate is smaller than a preset threshold value. Furthermore, the target access point manages a plurality of internet of things terminals, the gateway can determine the number of the internet of things terminals of which the data transmission rate is smaller than a preset threshold value by respectively detecting the uplink network transmission rate and the downlink network transmission rate between each internet of things terminal and the target access point, and when the number of the internet of things terminals reaches a certain ratio of the total number of the internet of things terminals managed by the target access point, the target access point may have a fault. For example, when the number of the terminals of the internet of things with the data transmission rate less than the preset threshold value between the terminals of the internet of things and the target access point accounts for 80% of the total terminals of the internet of things managed by the target access point, it may be determined that the target access point has a fault.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a gateway for random backup of a wireless access point according to another embodiment of the present invention, where the difference between the gateway and the gateway shown in fig. 7 is that the gateway further includes:
a first obtaining module 910, configured to obtain performance indicators of n access points to be selected;
the selection module is specifically configured to select a data backup access point and/or a terminal backup access point from the n access points to be selected according to the performance indexes of the n access points to be selected.
It can be understood that, when the number of the candidate access points is multiple, the selecting module 920 may arbitrarily select m candidate access points from the multiple candidate access points as data backup access points, and select y candidate access points as terminal backup access points. Of course, the selecting module 920 may select an optimal or better one from the multiple candidate access points as a data backup access point or a terminal backup access point according to the performance index of the candidate access point.
In some possible implementations, the performance index of the candidate access point may include: the performance indexes of the candidate access points include the number of terminals accessed by each candidate access point, memory (including used memory amount and available memory amount), channel bandwidth, channel operating time, noise power density of a channel, signal strength between the candidate access point and the terminal, load capacity (such as data buffering capacity and residual capacity) of the candidate access point, current load capacity of the candidate access point, information security processing (encryption and decryption) capacity and the like. In practical application, the gateway can select the optimal or better data backup access point or terminal backup access point for the internet of things terminal according to the performance index.
In another embodiment, the gateway may include a second obtaining module, configured to obtain performance indicators of n access points to be selected; and a third sending module, configured to send the performance indicators of the n candidate access points to a target access point. The third sending module sends the performance indexes of the n access points to be selected to a target access point, the target access point sends the performance indexes of the n access points to be selected to an internet of things terminal under the control of the target access point, the internet of things terminal can randomly select m access points to be selected from the multiple access points to be selected as data backup access points according to the performance indexes, and y access points to be selected are selected as terminal backup access points. Of course, the terminal of the internet of things may also select an optimal or better one from the multiple candidate access points as a data backup access point or a terminal backup access point according to the performance index of the candidate access point. In some possible implementations, the performance index of the candidate access point may include: the number of terminals accessed by the candidate access point, the memory (including used memory amount and available memory amount), the channel bandwidth, the channel operating time, the noise power density of the channel, the signal strength between the candidate access point and the terminal, the load capacity (such as data buffering capacity and residual power) of the candidate access point, the current load capacity of the candidate access point, the information security processing (encryption and decryption) capacity, and the like. In practical application, the terminal of the internet of things can select the optimal or better data backup access point or terminal backup access point for the terminal of the internet of things according to the measurement result.
As can be seen from the above, in the gateway for randomly backing up a wireless access point according to the embodiment of the present invention, by determining whether the data transmission rate of a target access point is less than a preset threshold, and under the condition that the data transmission rate of the target access point is less than the preset threshold, a data backup access point and a terminal backup access point are randomly selected from access points to be selected, backup data sent by the target access point is received, and the backup data is sent to the data backup access point for backup, and switching information is sent to the target access point, so that when a fault sign occurs at the target access point, data cached at the target access point can be backed up at the data backup access point, and an internet of things terminal accessed at the target access point is switched to a terminal backup access point different from the data backup access point, thereby preventing loss of cached data and incapability of accessing the, the user experience is improved.
Here, it should be noted that: the description of the gateway for random backup of the wireless access point related to fig. 7 to 9 is similar to the description of the foregoing method for random backup of the wireless access point, and the description of the beneficial effect of the method is omitted for brevity. For technical details not disclosed in the gateway embodiment of the random backup of the wireless access point, refer to the description of the method embodiment of the present invention.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a hardware entity applying the random backup gateway for a wireless access point. The gateway comprises a processor 101, a storage medium 102 and at least one external communication interface 103; the processor 101, the storage medium 102, and the communication interface 103 are all connected by a bus 104.
The processor 101 may call the operation instructions in the storage medium 102 to execute the following process:
judging whether the data transmission rate of the target access point is smaller than a preset threshold value or not;
if the access point is smaller than the preset threshold value, a data backup access point and a terminal backup access point are randomly selected from the access points to be selected;
receiving backup data sent by the target access point, and sending the backup data to a data backup access point for backup, wherein the backup data is data reported to the target access point by an internet of things terminal under the control of the target access point;
sending switching information to the target access point, wherein the switching information is used for indicating that the Internet of things terminal under the control of the target access point is switched to a terminal backup access point;
wherein the entity polices the target access point, the data backup access point, and the terminal backup access point, the data backup access point and the terminal backup access point being different access points.
Optionally, before determining whether the data transmission rate of the target access point is less than a preset threshold, the method further includes:
respectively detecting the uplink network transmission rate and the downlink network transmission rate of the target access point;
and determining the data transmission rate between the entity and the target access point according to the uplink network transmission rate and the downlink network transmission rate.
Optionally, acquiring performance indexes of n access points to be selected, wherein the n access points to be selected belong to the administration of the entity;
and selecting a data backup access point and/or a terminal backup access point from the n access points to be selected according to the performance indexes of the n access points to be selected.
Optionally, the performance index includes one or more of the number of terminals accessed, a memory, a channel bandwidth, an operating time of a channel, and a noise power density of the channel.
Optionally, acquiring performance indexes of n access points to be selected, wherein the n access points to be selected belong to the administration of the entity;
and sending the performance indexes of the n access points to be selected to a target access point, wherein the performance indexes of the n access points to be selected are used for indicating an internet of things terminal under the control of the target access point to determine a data backup access point and/or a terminal backup access point.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for random backup of a wireless access point, comprising:
the gateway judges whether the data transmission rate of the target access point is smaller than a preset threshold value or not;
if the access point is smaller than the preset threshold value, the gateway randomly selects a data backup access point and a terminal backup access point from the access points to be selected;
the gateway receives backup data sent by the target access point and sends the backup data to a data backup access point for backup, wherein the backup data is data reported to the target access point by an internet of things terminal under the control of the target access point, and the backup data comprises collected external data sent to the target access point by the internet of things terminal and a network request sent to the target access point by the internet of things terminal;
the gateway sends switching information to the target access point, wherein the switching information is used for indicating that the Internet of things terminal governed by the target access point is switched to a terminal backup access point;
the gateway is used for managing the target access point, the data backup access point and the terminal backup access point, and the data backup access point and the terminal backup access point are different access points.
2. The method of claim 1, wherein before the gateway determines whether the data transmission rate of the target access point is less than the preset threshold, the method further comprises:
the gateway respectively detects the uplink network transmission rate and the downlink network transmission rate of the target access point;
and the gateway determines the data transmission rate between the gateway and the target access point according to the uplink network transmission rate and the downlink network transmission rate.
3. The method according to claim 1 or 2, wherein before the gateway randomly selects the data backup access point and the terminal backup access point from the candidate access points, the method further comprises the following steps:
the gateway acquires performance indexes of n access points to be selected, wherein the n access points to be selected belong to the administration of the gateway;
the gateway randomly selects a data backup access point and a terminal backup access point from the access points to be selected, and the method specifically comprises the following steps: and the gateway randomly selects a data backup access point and/or a terminal backup access point from the n access points to be selected according to the performance indexes of the n access points to be selected.
4. The method of claim 3, wherein the performance indicator comprises a combination of one or more of a number of terminals accessed, a memory, a channel bandwidth, an operating time of a channel, and a noise power density of a channel.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
the gateway acquires performance indexes of n access points to be selected, wherein the n access points to be selected belong to the administration of the gateway;
and the gateway sends the performance indexes of the n access points to be selected to a target access point, wherein the performance indexes of the n access points to be selected are used for indicating an Internet of things terminal under the control of the target access point to determine a data backup access point and/or a terminal backup access point.
6. A gateway for random backup of wireless access points, comprising:
the judging module is used for judging whether the data transmission rate of the target access point is smaller than a preset threshold value or not;
the selection module is used for randomly selecting a data backup access point and a terminal backup access point from the access points to be selected;
the receiving module is used for receiving backup data sent by the target access point, wherein the backup data comprise collected external data sent to the target access point by an Internet of things terminal and a network request sent to the target access point by the Internet of things terminal;
the first sending module is used for sending the backup data to a data backup access point for backup;
and the second sending module is used for sending the switching information to the target access point.
7. The gateway of claim 6, further comprising:
the detection module is used for detecting the uplink network transmission rate and the downlink network transmission rate of the target access point;
and the determining module is used for determining the data transmission rate between the gateway and the target access point according to the uplink network transmission rate and the downlink network transmission rate.
8. The gateway according to claim 6 or 7, characterized in that it further comprises:
the first acquisition module is used for acquiring the performance indexes of the n access points to be selected;
the selection module is specifically configured to select a data backup access point and/or a terminal backup access point from the n access points to be selected according to the performance indexes of the n access points to be selected.
9. The gateway of claim 8, wherein the performance indicator comprises a combination of one or more of a number of terminals accessed, a memory, a channel bandwidth, an operating time of a channel, and a noise power density of a channel.
10. The gateway according to claim 6 or 7, characterized in that it further comprises:
the second acquisition module is used for acquiring the performance indexes of the n access points to be selected;
and the third sending module is used for sending the performance indexes of the n access points to be selected to the target access point.
CN201710760725.4A 2017-08-29 2017-08-29 Method for random backup of wireless access point and gateway Active CN107517477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710760725.4A CN107517477B (en) 2017-08-29 2017-08-29 Method for random backup of wireless access point and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710760725.4A CN107517477B (en) 2017-08-29 2017-08-29 Method for random backup of wireless access point and gateway

Publications (2)

Publication Number Publication Date
CN107517477A CN107517477A (en) 2017-12-26
CN107517477B true CN107517477B (en) 2021-01-26

Family

ID=60724574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710760725.4A Active CN107517477B (en) 2017-08-29 2017-08-29 Method for random backup of wireless access point and gateway

Country Status (1)

Country Link
CN (1) CN107517477B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274577A (en) * 2018-08-31 2019-01-25 李志诚 Timing information sending method and system
CN109168188B (en) * 2018-11-09 2021-06-22 四川欧莱德精密电子有限公司 Wireless gateway allocation method, wireless gateway, wireless access module and Internet of things equipment
CN109168187B (en) * 2018-11-09 2021-03-30 四川欧莱德精密电子有限公司 Wireless Internet of things gateway allocation method based on data throughput
US20230397050A1 (en) * 2022-06-07 2023-12-07 Comcast Cable Communications, Llc Gateway management

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998191A (en) * 2009-08-27 2011-03-30 华为技术有限公司 Sink node linkage switching method, sink node and system
CN101286781B (en) * 2007-04-13 2013-02-27 中兴通讯股份有限公司 Method for terminating connection relation of wireless relay station
CN104601682A (en) * 2014-12-31 2015-05-06 北京海尔广科数字技术有限公司 Method for switching gateway of internet of things as well as associated device and system
CN105594245A (en) * 2013-09-27 2016-05-18 汤姆逊许可公司 A method for testing a wireless link of a Wi-Fi node, and a circuit performing the method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9544120B2 (en) * 2014-06-13 2017-01-10 Unifythings, Inc. Virtual gateway for a connected device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286781B (en) * 2007-04-13 2013-02-27 中兴通讯股份有限公司 Method for terminating connection relation of wireless relay station
CN101998191A (en) * 2009-08-27 2011-03-30 华为技术有限公司 Sink node linkage switching method, sink node and system
CN105594245A (en) * 2013-09-27 2016-05-18 汤姆逊许可公司 A method for testing a wireless link of a Wi-Fi node, and a circuit performing the method
CN104601682A (en) * 2014-12-31 2015-05-06 北京海尔广科数字技术有限公司 Method for switching gateway of internet of things as well as associated device and system

Also Published As

Publication number Publication date
CN107517477A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
US10880936B2 (en) Cluster head selection in a communications network
CN107517477B (en) Method for random backup of wireless access point and gateway
US11190613B2 (en) Method, device, and computer storage medium for radio connection
CN102469543B (en) Acceptance controlling method, Apparatus and system
CN106162777B (en) Relay node switching method and system
CN104378793A (en) Switching method, master control base station and controlled base station
CN102870469A (en) Mobile communication terminal and method in mobile communication system
KR20140033657A (en) Appataus and method for proving cooperative communiation service between macro base station and small cell base station in mobile communication system
CN110636567B (en) Method, device and base station for evaluating and reporting switching
CN104301960A (en) Community switching method, system and base station
US20160198389A1 (en) Method for establishing backhaul link, base station, relay node, and system
US20180242211A1 (en) Method and Device for Dynamically Building a Virtual Cell
WO2013131234A1 (en) Methods, apparatuses, and computer-readable storage media for relaying traffic in d2d communications
CN103581945A (en) Measurement configuration processing method and device
CN102469552B (en) A kind of method and system of terminal access
CN110870348B (en) Method of communication between a radio terminal and a radio access node
CN103581998A (en) Method and equipment for reporting judgment and measurement of switchover or bearing separation
CN101841850A (en) Method, device and system for acquiring neighboring cell load information from LTE system
TWI390902B (en) Link network and wireless communication control method
CN103582035B (en) A kind of management method and system of radio-resource-configuration
CN106465228B (en) Cell outage compensation method and device
CN103024892B (en) Relay initial registration method
CN203206486U (en) Multimode base station system based on flattening network structure
CN108282844B (en) Network and method for controlling user terminal to select network system
WO2024011375A1 (en) METHODS FOR INTER-gNB HANDOVER WITH L2 U2N RELAY

Legal Events

Date Code Title Description
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