CN107612720B - Access point backup method and gateway - Google Patents
Access point backup method and gateway Download PDFInfo
- Publication number
- CN107612720B CN107612720B CN201710759834.4A CN201710759834A CN107612720B CN 107612720 B CN107612720 B CN 107612720B CN 201710759834 A CN201710759834 A CN 201710759834A CN 107612720 B CN107612720 B CN 107612720B
- Authority
- CN
- China
- Prior art keywords
- access point
- damaged
- backup
- gateway
- module
- 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 30
- 230000006735 deficit Effects 0.000 claims abstract description 15
- 230000001010 compromised effect Effects 0.000 claims abstract 4
- 230000001771 impaired effect Effects 0.000 claims description 24
- 230000010076 replication Effects 0.000 claims description 8
- 238000004891 communication Methods 0.000 description 23
- 230000005540 biological transmission Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 6
- 230000001413 cellular effect Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 230000006855 networking Effects 0.000 description 4
- 238000010408 sweeping Methods 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 239000000428 dust Substances 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012806 monitoring device Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an access point backup method and a gateway. The method comprises the following steps: the gateway receives the damaged feedback information of the damaged access point; the gateway sends a query command to n adjacent access points based on the impairment feedback information; the gateway receives the cache margin values of the n adjacent access points fed back by the n adjacent access points based on the query command, and selects a first backup access point and a second backup access point from the n adjacent access points according to the cache margin values of the n adjacent access points; the gateway sends a data copying instruction to the first backup access point, receives cache data sent by the damaged access point based on the data copying instruction, and sends the cache data to the first backup repeater; the gateway sends a handover instruction to the compromised access point, wherein the first backup access point is different from the second backup access point.
Description
Technical Field
The present invention relates to communications technologies, and in particular, to an access point backup method 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, an access point backup method is provided, which includes a gateway, a damaged access point, a first backup access point, and a second backup access point, wherein the gateway connects the damaged access point, the first backup access point, and the second backup access point respectively,
the gateway receives the damaged feedback information of the damaged access point;
the gateway sends a query command to n adjacent access points based on the impairment feedback information;
the gateway receives the cache margin values of the n adjacent access points fed back by the n adjacent access points based on the query command, and selects a first backup access point and a second backup access point from the n adjacent access points according to the cache margin values of the n adjacent access points;
the gateway sends a data copying instruction to the first backup access point, receives cache data sent by the damaged access point based on the data copying instruction, and sends the cache data to the first backup repeater;
the gateway sends a switching instruction to the damaged access point, wherein the switching instruction is used for instructing a terminal under the control of the damaged access point to switch from the damaged access point to the second backup access point;
wherein the first backup access point is different from the second backup access point.
In this embodiment, when the gateway acquires the damaged feedback information, the first backup access point and the second backup access point are selected according to the cache residual value of each neighboring access point acquired by the gateway and the cache residual value, so that an access point with a large cache residual value can be selected from the neighboring access points, sufficient resources can be available to receive cache data in the damaged access point and a terminal under jurisdiction, and the data is backed up to the first backup access point, and the terminal is switched to the second backup access point to form a dual backup effect, thereby improving the reliability of link communication.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the second backup access point is a movable access point, and after the gateway receives impairment feedback information sent by an impaired access point, the method further includes:
the gateway acquires the position information of the damaged access point;
and the gateway sends a moving instruction to the second backup access point based on the position information of the damaged access point, wherein the moving instruction is used for indicating that the second backup access point moves to a position within the distance threshold of the damaged access point.
It can be understood that the second backup access point is movable, and when the damaged access point fails, the second backup access point moves to the vicinity of the damaged access point, and replaces the damaged access point as an access point of the terminal under the control of the damaged access point, so that the terminal under the control of the damaged access point can be ensured to be accessed to the second backup access point, that is, the second backup access point will move to a suitable place, so that the terminal under the control of the damaged access point cannot be accessed to the second backup access point because the terminal is too far away from the second backup access point.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the impaired access point is in a mode of stopping sending a wakeup frame to a terminal under the jurisdiction of the impaired access point.
It can be understood that a damaged access point may fail at any time, and once the damaged access point fails, the cache data in the damaged access point will be lost, so it is imperative that the cache data in the damaged access point is safely transferred to the first backup access point, and therefore, sending of the wakeup frame to the terminal under the jurisdiction of the damaged access point may be stopped, so as to reduce the resource occupation of the damaged access point by the wakeup frame, and ensure that the damaged access point uses limited resources to transfer the cache data in the damaged access point to the first backup access point.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the impaired access point is in a maximum transmit power mode. It can be understood that the damaged access point may fail at any time, and once the damaged access point fails, the buffered data in the damaged access point will be lost, so that the damaged access point can be in the maximum transmission power mode to ensure that the buffered data in the damaged access point is lost with the lowest probability in the process of transmission to the first backup access point.
With reference to any one of the foregoing aspects of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:
after a gateway receives the damaged feedback information of a damaged access point, before receiving cache data sent by the damaged access point based on the data replication instruction, closing a filter in the gateway;
and after receiving the cache data sent by the damaged access point based on the data copying instruction, restarting a filter in the gateway. It can be understood that a damaged access point may fail at any time, and once the damaged access point fails, the cache data in the damaged access point will be lost, so it is urgent to safely transfer the cache data in the damaged access point to the first backup access point, and a filter in the gateway needs to consume a certain time to filter the data, so that the efficiency of cache data transfer can be improved by turning off the filter in the gateway.
In a second aspect, there is provided a gateway, comprising: a receiving module, a sending module and a selecting module,
the receiving module is used for receiving the damaged feedback information of the damaged access point;
the sending module is used for sending a query command to n adjacent access points based on the damaged feedback information;
the receiving module is used for receiving the buffer margin values of the n adjacent access points fed back by the n adjacent access points based on the query command;
the selection module is used for selecting a first backup access point and a second backup access point from the n adjacent access points according to the buffer margin values of the n adjacent access points;
the sending module is used for sending a data copying instruction to the first backup access point;
the receiving module is used for receiving cache data sent by the damaged access point based on the data copying instruction;
the sending module is used for sending the cache data to the first backup repeater;
the sending module is configured to send a switching instruction to the damaged access point, where the switching instruction is used to instruct a terminal governed by the damaged access point to switch from the damaged access point to the second backup access point;
wherein the first backup access point is different from the second backup access point.
In this embodiment, when the gateway acquires the damaged feedback information, the first backup access point and the second backup access point are selected according to the cache residual value of each neighboring access point acquired by the gateway and the cache residual value, so that an access point with a large cache residual value can be selected from the neighboring access points, sufficient resources can be available to receive cache data in the damaged access point and a terminal under jurisdiction, and the data is backed up to the first backup access point, and the terminal is switched to the second backup access point to form a dual backup effect, thereby improving the reliability of link communication.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the gateway further includes an obtaining module,
the acquisition module is used for acquiring the position information of the damaged access point;
the sending module is configured to send a moving instruction to the second backup access point based on the location information of the damaged access point, where the moving instruction is used to instruct the second backup access point to move to a location within a distance threshold of the damaged access point.
It can be understood that the second backup access point is movable, and when the damaged access point fails, the second backup access point moves to the vicinity of the damaged access point, and replaces the damaged access point as an access point of the terminal under the control of the damaged access point, so that the terminal under the control of the damaged access point can be ensured to be accessed to the second backup access point, that is, the second backup access point will move to a suitable place, so that the terminal under the control of the damaged access point cannot be accessed to the second backup access point because the terminal is too far away from the second backup access point.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the impaired access point is in a mode of stopping sending the wake-up frame to the terminal under the jurisdiction of the impaired access point.
It can be understood that a damaged access point may fail at any time, and once the damaged access point fails, the cache data in the damaged access point will be lost, so it is imperative that the cache data in the damaged access point is safely transferred to the first backup access point, and therefore, sending of the wakeup frame to the terminal under the jurisdiction of the damaged access point may be stopped, so as to reduce the resource occupation of the damaged access point by the wakeup frame, and ensure that the damaged access point uses limited resources to transfer the cache data in the damaged access point to the first backup access point.
With reference to the second aspect, a third possible implementation manner of the second aspect, the impaired access point is in a maximum transmit power mode.
With reference to any one of the foregoing manners of the second aspect, and in a fourth possible implementation manner of the second aspect, the gateway further includes a closing module and an opening module,
the closing module is used for closing a filter in the gateway after the gateway receives the damaged feedback information of the damaged access point and before the gateway receives the cache data sent by the damaged access point based on the data copying instruction;
the starting module is used for restarting the filter in the gateway after receiving the cache data sent by the damaged access point based on the data copying instruction.
It can be understood that a damaged access point may fail at any time, and once the damaged access point fails, the cache data in the damaged access point will be lost, so it is urgent to safely transfer the cache data in the damaged access point to the first backup access point, and a filter in the gateway needs to consume a certain time to filter the data, so that the efficiency of cache data transfer can be improved by turning off the filter in the gateway.
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 schematic flowchart of an access point backup method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another access point backup method provided in the implementation of the present invention;
fig. 4 is a schematic structural diagram of a gateway provided in the implementation of the present invention;
fig. 5 is a schematic structural diagram of another gateway provided in the implementation of the present invention;
fig. 6 is a schematic structural diagram of another gateway provided in the implementation 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 embodiments of the present application are applied includes a gateway 110, an Access Point (AP)120, and a plurality of terminals 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, the gateway is also called as upper-layer equipment of the wireless access points 120 such as a router, a switch, a wireless access controller and a distributed system, the network equipment is directly connected with the line network through broadband dialing, and one gateway manages a plurality of wireless access points.
The terminal may be 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 electric meter, and a smart gas meter, and the invention is not particularly limited.
It is understood that the actual product names of the access point and the terminal mentioned in the embodiments of the present application may be different from each other in different manufacturers, 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, as shown in fig. 2, an embodiment of the present invention provides an access point backup method. The access point backup method of the embodiment comprises the following steps:
210: the gateway receives impairment feedback information for the impaired access point.
In the embodiment of the present invention, a damaged access point refers to an access point that has a fault, for example, the damaged access point has a too high temperature, the damaged access point has a too low data transmission rate, and the like, but does not actually have a fault, and can also communicate with a gateway and a terminal. The access point can be a base station, a micro base station, a pico base station and the like of a 2G system, a 3G system, a 4G system and even a future 5G system.
In the embodiment of the present invention, the impairment feedback information may be recorded in a header portion of a data frame between the access point and the gateway, or may be recorded in a content portion of the data frame. The corrupted feedback information may be represented by one bit of data or may be represented by multiple bits of data. When the corrupted feedback information is represented by a data bit, the access point is indicated to be corrupted when the data bit is set to "1", and the repeater is indicated to be operating well when the data bit is set to "0", or the access point is indicated to be operating well when the data bit is set to "1", and the access point is indicated to be corrupted when the data bit is set to "0". When the corrupted feedback information is represented by a plurality of data bits, information constituted by any one or a combination of a plurality of characters, numbers, and symbols may be recorded in the several data bits.
220: the gateway sends a query command to n neighboring access points based on the impairment feedback information.
In the embodiment of the invention, the n adjacent access points and the damaged access point are all repeaters under the same gateway jurisdiction. The gateway selects n neighboring access points from the access points under the jurisdiction of the gateway. Specifically, it may be: selecting access points with the number of terminals smaller than a number threshold value from access points under the control of a gateway as n adjacent access points; or selecting the access points with the data transmission rate larger than the rate threshold value from the access points under the control of the gateway as n adjacent access points; or selecting n standby access points from the access points under the control of the gateway as n adjacent access points.
In the embodiment of the present invention, the access point whose number of terminals is less than the number threshold refers to an access point whose load is relatively small and which can receive terminals under the jurisdiction of a damaged access point with more resources. The number threshold may be set according to actual use, for example, the number threshold may be set to 50% of the number of the damaged access point when the damaged access point normally performs communication.
In the embodiment of the present invention, the access point whose data transmission rate is greater than the rate threshold refers to an access point which has a relatively strong processing capability and can receive the terminal under the jurisdiction of the damaged access point with a relatively high processing capability. The rate threshold may be set according to the actual use.
In the embodiment of the present invention, the standby access point includes two cases: (1) the standby access point does not bear any forwarding service at ordinary times, the standby access point is only used as a standby of the damaged access point, when the damaged access point fails, the forwarding service of the damaged access point is transferred to the standby access point, and the standby access point only bears the forwarding service transferred by the damaged access point. (2) The standby access point also bears other forwarding services at ordinary times, when the damaged access point fails, the forwarding services borne by the damaged access point are transferred to the standby access point, and the standby access point bears the forwarding services transferred by the damaged access point and other forwarding services at the same time.
230: and the gateway receives the buffer margin values of the n adjacent access points fed back by the n adjacent access points based on the inquiry command, and selects a first backup access point and a second backup access point from the n adjacent access points according to the buffer margin values of the n adjacent access points.
In the embodiment of the present invention, the buffer margin value is a remaining buffer available in a neighboring access point, where the buffer is a space used by the access point to store data uploaded by a terminal governed by the access point. The larger the buffer margin value is, the larger the available space of the access point is, and the smaller the buffer margin value is, the smaller the available space of the access point is. It is understood that, in addition to selecting the first backup access point and the second backup access point from the n neighboring access points according to the buffer margin value, the first backup access point and the second backup access point may be selected according to performance indexes of the n neighboring access points.
In a specific embodiment, the performance index includes 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 the channel, signal strength between the neighboring access point and the terminal, load capacity (e.g., data buffering capacity, remaining power, etc.) of the neighboring access point, current load capacity of the neighboring access point, information security processing (encryption/decryption) capacity, and the like. In practical application, the network device may select an optimal or better first backup access point or second backup access point for the internet of things terminal according to the performance index.
In an embodiment of the present invention, the first backup access point and the second backup access point are different access points.
240: and the gateway sends a data copying instruction to the first backup access point, receives cache data sent by the damaged access point based on the data copying instruction, and sends the cache data to the first backup repeater.
In this embodiment of the present invention, the number of the first backup access points may be one or multiple; likewise, the number of the first backup access points may be one or more.
250: and the gateway sends a switching instruction to the damaged access point, wherein the switching instruction is used for instructing a terminal under the control of the damaged access point to switch from the damaged access point to the second backup access point.
It is understood that the number of the second backup access points may be one or more; likewise, the number of the second backup access points may be one or more. If the number of the second backup access points is more than one, the switching information also comprises the identification of the second backup access points.
In this embodiment of the present invention, the identifier of the second backup access point may be any one or a combination of multiple kinds of bits, scrambling codes, or other time-frequency resource information.
In a specific embodiment, the bit may be a bit in a corresponding field of the data frame, and when the bit is set to "0" or "1", the bit is used to indicate that the switch is performed. For example, in a certain field of the header of the data frame, when the 1-bit information value of the field is 0, it indicates that the handover is not triggered; when the 1-bit information value of the field is 1, it indicates that handover is triggered.
In a specific embodiment, the scrambling code may be an SPS Radio Network Temporary Identifier (SPS C-RNTI), a Cell Radio Network Temporary Identifier (C-RNTI), or other scrambling codes.
In the embodiment of the present invention, the above-described terminal may have different expressions according to different situations, and the terminal (e.g., a cellular phone or a smart phone) may transmit and receive data for two-way communication using a wireless communication system. A terminal may include a transmitter for data transmission and a receiver for data reception. For data transmission, a transmitter may modulate a transmit Local Oscillator (LO) signal with data to obtain a modulated Radio Frequency (RF) signal, amplify the modulated RF signal to obtain an output RF signal having the proper transmit power level, and transmit the output RF signal to a base station via an antenna. For data reception, the receiver may obtain a received RF signal via an antenna, amplify and downconvert the received RF signal with a receive LO signal, and process the downconverted signal to recover data transmitted by the base station. A terminal may support communication with multiple wireless systems of different Radio Access Technologies (RATs) (e.g., LTE/TE-a and NR). Each wireless system may have certain characteristics and requirements to efficiently support simultaneous communication for wireless systems utilizing different RATs. A wireless user equipment may also be referred to as a User Equipment (UE), a mobile station, a terminal, an access terminal, a subscriber unit, a station, and so on. The wireless user device may be a cellular phone, a smart phone, a tablet computer, a wireless modem, a Personal Digital Assistant (PDA), a handheld device, a laptop computer, a smartbook, a netbook, a cordless phone, a Wireless Local Loop (WLL) site, a bluetooth device, and so forth. In the fast development of smart homes and wearable devices today, a terminal may also be a terminal that may also contain other devices with networking functions, such as a smart lamp, a smart television, a smart sweeping device, a smart sleeping device, a smart monitoring device, etc., which may be represented in various forms, for example, for the smart lamp, the smart lamp includes but is not limited to: intelligence desk lamp, intelligence ceiling lamp, equipment such as intelligence wall lamp, for example to intelligent television, it can be three stars brand intelligent television, of course it also can be sharp brand intelligent television, for example to intelligent cleaning equipment, it can be, intelligence robot of sweeping the floor, of course it can also include equipment such as intelligent dust catcher, intelligent garbage disposer, for example to intelligent sleep equipment, it can be: the present invention is not limited to the specific form, number or kind of the above-mentioned terminals.
Further, as shown in fig. 3, another access point backup method is provided in the embodiment of the present invention. The access point backup method of the embodiment comprises the following steps:
310: the gateway receives impairment feedback information for the impaired access point.
In the embodiment of the present invention, a damaged access point refers to an access point that has a fault, for example, the damaged access point has a too high temperature, the damaged access point has a too low data transmission rate, and the like, but does not actually have a fault, and can also communicate with a gateway and a terminal. The access point can be a base station, a micro base station, a pico base station and the like of a 2G system, a 3G system, a 4G system and even a future 5G system.
In the embodiment of the present invention, the impairment feedback information may be recorded in a header portion of a data frame between the access point and the gateway, or may be recorded in a content portion of the data frame. The corrupted feedback information may be represented by one bit of data or may be represented by multiple bits of data. When the corrupted feedback information is represented by a data bit, the access point is indicated to be corrupted when the data bit is set to "1", and the repeater is indicated to be operating well when the data bit is set to "0", or the access point is indicated to be operating well when the data bit is set to "1", and the access point is indicated to be corrupted when the data bit is set to "0". When the corrupted feedback information is represented by a plurality of data bits, information constituted by any one or a combination of a plurality of characters, numbers, and symbols may be recorded in the several data bits.
It can be understood that, in order to ensure that the corrupted feedback information can be fed back to the gateway, the corrupted access point sends the corrupted feedback information with maximum power, and, in order to ensure that resources of the corrupted access point are not wasted, the corrupted access point stops sending the wake-up frame to the terminal. The wakeup frame may be referred to as a beacon.
320: the gateway sends a query command to n neighboring access points based on the impairment feedback information.
In the embodiment of the invention, the n adjacent access points and the damaged access point are all repeaters under the same gateway jurisdiction. The gateway selects n neighboring access points from the access points under the jurisdiction of the gateway. Specifically, it may be: selecting access points with the number of terminals smaller than a number threshold value from access points under the control of a gateway as n adjacent access points; or selecting the access points with the data transmission rate larger than the rate threshold value from the access points under the control of the gateway as n adjacent access points; or selecting n standby access points from the access points under the control of the gateway as n adjacent access points.
In the embodiment of the present invention, the access point whose number of terminals is less than the number threshold refers to an access point whose load is relatively small and which can receive terminals under the jurisdiction of a damaged access point with more resources. The number threshold may be set according to actual use, for example, the number threshold may be set to 50% of the number of the damaged access point when the damaged access point normally performs communication.
In the embodiment of the present invention, the access point whose data transmission rate is greater than the rate threshold refers to an access point which has a relatively strong processing capability and can receive the terminal under the jurisdiction of the damaged access point with a relatively high processing capability. The rate threshold may be set according to the actual use.
In the embodiment of the present invention, the standby access point includes two cases: (1) the standby access point does not bear any forwarding service at ordinary times, the standby access point is only used as a standby of the damaged access point, when the damaged access point fails, the forwarding service of the damaged access point is transferred to the standby access point, and the standby access point only bears the forwarding service transferred by the damaged access point. (2) The standby access point also bears other forwarding services at ordinary times, when the damaged access point fails, the forwarding services borne by the damaged access point are transferred to the standby access point, and the standby access point bears the forwarding services transferred by the damaged access point and other forwarding services at the same time.
330: and the gateway receives the buffer margin values of the n adjacent access points fed back by the n adjacent access points based on the inquiry command, and selects a first backup access point and a second backup access point from the n adjacent access points according to the buffer margin values of the n adjacent access points.
In the embodiment of the present invention, the buffer margin value is a remaining buffer available in a neighboring access point, where the buffer is a space used by the access point to store data uploaded by a terminal governed by the access point. The larger the buffer margin value is, the larger the available space of the access point is, and the smaller the buffer margin value is, the smaller the available space of the access point is. It is understood that, in addition to selecting the first backup access point and the second backup access point from the n neighboring access points according to the buffer margin value, the first backup access point and the second backup access point may be selected according to performance indexes of the n neighboring access points.
In a specific embodiment, the performance index includes 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 the channel, signal strength between the neighboring access point and the terminal, load capacity (e.g., data buffering capacity, remaining power, etc.) of the neighboring access point, current load capacity of the neighboring access point, information security processing (encryption/decryption) capacity, and the like. In practical application, the network device may select an optimal or better first backup access point or second backup access point for the internet of things terminal according to the performance index.
In an embodiment of the present invention, the first backup access point and the second backup access point are different access points.
340: and the gateway acquires the position information of the damaged access point. The location information may be latitude and longitude information or street information, and is not limited herein.
350: and the gateway sends a moving instruction to the second backup access point based on the position information of the damaged access point, wherein the moving instruction is used for indicating that the second backup access point moves to a position within the distance threshold of the damaged access point.
In an embodiment of the invention, the second backup access point is a mobile access point. In a specific embodiment, the second backup access point is normally stored in a special location, and when the damaged access point feeds back the damaged feedback information to the gateway, the second backup access point receives the moving instruction sent by the gateway and moves to the vicinity of the damaged access point to cancel the damaged access point, so as to ensure that the terminal under the jurisdiction of the damaged access point can be smoothly switched to the second backup access point.
360: and the gateway sends a data copying instruction to the first backup access point, receives cache data sent by the damaged access point based on the data copying instruction, and sends the cache data to the first backup repeater.
In this embodiment of the present invention, the number of the first backup access points may be one or multiple; likewise, the number of the first backup access points may be one or more.
370: and the gateway sends a switching instruction to the damaged access point, wherein the switching instruction is used for instructing a terminal under the control of the damaged access point to switch from the damaged access point to the second backup access point.
It is understood that the number of the second backup access points may be one or more; likewise, the number of the second backup access points may be one or more. If the number of the second backup access points is more than one, the switching information also comprises the identification of the second backup access points.
In this embodiment of the present invention, the identifier of the second backup access point may be any one or a combination of multiple kinds of bits, scrambling codes, or other time-frequency resource information.
In a specific embodiment, the bit may be a bit in a corresponding field of the data frame, and when the bit is set to "0" or "1", the bit is used to indicate that the switch is performed. For example, in a certain field of the header of the data frame, when the 1-bit information value of the field is 0, it indicates that the handover is not triggered; when the 1-bit information value of the field is 1, it indicates that handover is triggered.
In a specific embodiment, the scrambling code may be an SPS Radio Network Temporary Identifier (SPS C-RNTI), a Cell Radio Network Temporary Identifier (C-RNTI), or other scrambling codes.
In the embodiment of the present invention, the above-described terminal may have different expressions according to different situations, and the terminal (e.g., a cellular phone or a smart phone) may transmit and receive data for two-way communication using a wireless communication system. A terminal may include a transmitter for data transmission and a receiver for data reception. For data transmission, a transmitter may modulate a transmit Local Oscillator (LO) signal with data to obtain a modulated Radio Frequency (RF) signal, amplify the modulated RF signal to obtain an output RF signal having the proper transmit power level, and transmit the output RF signal to a base station via an antenna. For data reception, the receiver may obtain a received RF signal via an antenna, amplify and downconvert the received RF signal with a receive LO signal, and process the downconverted signal to recover data transmitted by the base station. A terminal may support communication with multiple wireless systems of different Radio Access Technologies (RATs) (e.g., LTE/TE-a and NR). Each wireless system may have certain characteristics and requirements to efficiently support simultaneous communication for wireless systems utilizing different RATs. A wireless user equipment may also be referred to as a User Equipment (UE), a mobile station, a terminal, an access terminal, a subscriber unit, a station, and so on. The wireless user device may be a cellular phone, a smart phone, a tablet computer, a wireless modem, a Personal Digital Assistant (PDA), a handheld device, a laptop computer, a smartbook, a netbook, a cordless phone, a Wireless Local Loop (WLL) site, a bluetooth device, and so forth. In the fast development of smart homes and wearable devices today, a terminal may also be a terminal that may also contain other devices with networking functions, such as a smart lamp, a smart television, a smart sweeping device, a smart sleeping device, a smart monitoring device, etc., which may be represented in various forms, for example, for the smart lamp, the smart lamp includes but is not limited to: intelligence desk lamp, intelligence ceiling lamp, equipment such as intelligence wall lamp, for example to intelligent television, it can be three stars brand intelligent television, of course it also can be sharp brand intelligent television, for example to intelligent cleaning equipment, it can be, intelligence robot of sweeping the floor, of course it can also include equipment such as intelligent dust catcher, intelligent garbage disposer, for example to intelligent sleep equipment, it can be: the present invention is not limited to the specific form, number or kind of the above-mentioned terminals.
In an optional embodiment, after the gateway receives the damaged feedback information of the damaged access point, before the gateway receives the cache data sent by the damaged access point based on the data replication instruction, the filter in the gateway is closed, so as to prevent the gateway from filtering out the data uploaded by the damaged access point by mistake, so that the data cannot be recovered after the damaged access point fails, or because of the filtering of the filter, the speed of uploading the data by the damaged access point is too slow, so that the damaged access point really fails, and the data is lost. And after receiving the cache data sent by the damaged access point based on the data copying instruction, restarting a filter in the gateway to filter the data, and avoiding accessing illegal data.
While the method of the embodiments of the present invention has been described in detail, in order to better implement the above-described aspects of the embodiments of the present invention, the following also provides the related apparatus for implementing the aspects.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a gateway according to an embodiment of the present invention. The gateway 40 of the present embodiment includes: a receiving module 410, a sending module 420, and a selecting module 430.
The receiving module 410 is configured to receive impairment feedback information of an impaired access point;
the sending module 420 is configured to send a query command to n neighboring access points based on the impairment feedback information;
the receiving module 410 is configured to receive buffer margin values of the n neighboring access points fed back by the n neighboring access points based on the query command;
the selecting module 430 is configured to select a first backup access point and a second backup access point from the n neighboring access points according to the buffer margin values of the n neighboring access points;
the sending module 420 is configured to send a data replication instruction to the first backup access point;
the receiving module 410 is configured to receive cache data sent by the impaired access point based on the data replication instruction;
the sending module 420 is configured to send the cached data to the first backup relay;
the sending module 420 is configured to send a handover instruction to the damaged access point, where the handover instruction is used to instruct a terminal under the jurisdiction of the damaged access point to handover from the damaged access point to the second backup access point;
wherein the first backup access point is different from the second backup access point.
Optionally, the impaired access point is in a mode of stopping sending wake-up frames to terminals under the jurisdiction of the impaired access point.
Optionally, the impaired access point is in a maximum transmit power mode.
In the method embodiment shown in fig. 2, steps 210 to 250 may be respectively performed by the receiving module 410, the sending module 420 and the selecting module 430 in fig. 4, for which specific reference is made to fig. 2 and related embodiments, which are not described herein again.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another gateway according to an embodiment of the present invention. The gateway 50 of the present embodiment is different from the gateway 40 shown in fig. 4 in that it further includes: an acquisition module 440, a shutdown module 450, and an open module 460.
Optionally, the obtaining module 440 is configured to obtain location information of the damaged access point; the sending module 420 is configured to send a moving instruction to the second backup access point based on the location information of the damaged access point, where the moving instruction is used to instruct the second backup access point to move to a location within the distance threshold of the damaged access point.
Optionally, the closing module 450 is configured to close a filter in the gateway after the gateway receives the corrupted feedback information of the corrupted access point and before receiving the buffered data sent by the corrupted access point based on the data replication instruction; the starting module 460 is configured to restart the filter in the gateway after receiving the buffered data sent by the impaired access point based on the data replication instruction.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a gateway according to an embodiment of the present invention. The gateway of the embodiment includes: at least one processor 601, a communication interface 602, a user interface 603 and a memory 604, wherein the processor 601, the communication interface 602, the user interface 603 and the memory 604 can be connected by a bus or other means, and the embodiment of the present invention is exemplified by being connected by the bus 605. Wherein,
The communication interface 602 may be a wired interface (e.g., an ethernet interface) or a wireless interface (e.g., a cellular network interface or using a wireless local area network interface) for communicating with other electronic devices or websites. In the embodiment of the present invention, the communication interface 602 is specifically configured to recommend the target recommendation object to a user of the electronic device.
The user interface 603 may specifically be a touch panel, including a touch screen and a touch screen, for detecting an operation instruction on the touch panel, and the user interface 603 may also be a physical button or a mouse. The user interface 603 may also be a display screen for outputting, displaying images or data.
receiving impairment feedback information of an impaired access point;
sending query commands to n neighboring access points based on the impairment feedback information;
receiving buffer margin values of the n adjacent access points fed back by the n adjacent access points based on the query command, and selecting a first backup access point and a second backup access point from the n adjacent access points according to the buffer margin values of the n adjacent access points;
sending a data copying instruction to the first backup access point, receiving cache data sent by the damaged access point based on the data copying instruction, and sending the cache data to the first backup repeater;
sending a switching instruction to the damaged access point, wherein the switching instruction is used for instructing a terminal under the control of the damaged access point to switch from the damaged access point to the second backup access point;
wherein the first backup access point is different from the second backup access point.
Optionally, obtaining location information of the impaired access point; and sending a moving instruction to the second backup access point based on the position information of the damaged access point, wherein the moving instruction is used for indicating that the second backup access point moves to a position within the distance threshold of the damaged access point.
Optionally, the impaired access point is in a mode of stopping sending wake-up frames to terminals under the jurisdiction of the impaired access point.
Optionally, the impaired access point is in a maximum transmit power mode.
Optionally, after the gateway receives the corrupted feedback information of the corrupted access point, before receiving the cached data sent by the corrupted access point based on the data replication instruction, the filter in the gateway is closed;
and after receiving the cache data sent by the damaged access point based on the data copying instruction, restarting a filter in the gateway.
By implementing the embodiment of the invention, under the condition that the gateway acquires the damaged feedback information, the first backup access point and the second backup access point are selected according to the cache residual value of each adjacent access point acquired by the gateway and the cache residual value, so that the access points with more cache residual values can be selected from the adjacent access points, sufficient resources can be provided for receiving cache data in the damaged access points and the managed terminal, and the data is backed up to the first backup access point, and the terminal is switched to the second backup access point to form the double backup effect, thereby improving the reliability of link communication.
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. An access point backup method is characterized by comprising a gateway, a damaged access point, a first backup access point and a second backup access point, wherein the gateway is respectively connected with the damaged access point, the first backup access point and the second backup access point, the damaged access point has a fault sign but can communicate with the gateway and a terminal,
the gateway receives the damaged feedback information of the damaged access point;
the gateway sends a query command to n adjacent access points based on the impairment feedback information;
the gateway receives the cache margin values of the n adjacent access points fed back by the n adjacent access points based on the query command, and selects a first backup access point and a second backup access point from the n adjacent access points according to the cache margin values of the n adjacent access points;
the gateway sends a data copying instruction to the first backup access point, receives cache data sent by the damaged access point based on the data copying instruction, and sends the cache data to a first backup repeater;
the gateway sends a switching instruction to the damaged access point, wherein the switching instruction is used for instructing a terminal under the control of the damaged access point to switch from the damaged access point to the second backup access point;
wherein the first backup access point is different from the second backup access point.
2. The method of claim 1, wherein the second backup access point is a mobile access point, and after the gateway receives impairment feedback information sent by an impaired access point, the method further comprises:
the gateway acquires the position information of the damaged access point;
and the gateway sends a moving instruction to the second backup access point based on the position information of the damaged access point, wherein the moving instruction is used for indicating that the second backup access point moves to a position within the distance threshold of the damaged access point.
3. The method of claim 1, wherein the impaired access point is in a mode that stops sending wakeup frames to terminals under the jurisdiction of the impaired access point.
4. The method of claim 1, wherein the impaired access point is in a maximum transmit power mode.
5. The method according to any one of claims 1 to 4, further comprising:
after a gateway receives the damaged feedback information of a damaged access point, before receiving cache data sent by the damaged access point based on the data replication instruction, closing a filter in the gateway;
and after receiving the cache data sent by the damaged access point based on the data copying instruction, restarting a filter in the gateway.
6. A gateway, characterized in that the gateway comprises: a receiving module, a sending module and a selecting module,
the receiving module is used for receiving damaged feedback information of a damaged access point, wherein the damaged access point shows a fault sign but can communicate with the gateway and the terminal;
the sending module is used for sending a query command to n adjacent access points based on the damaged feedback information;
the receiving module is used for receiving the buffer margin values of the n adjacent access points fed back by the n adjacent access points based on the query command;
the selection module is used for selecting a first backup access point and a second backup access point from the n adjacent access points according to the buffer margin values of the n adjacent access points;
the sending module is used for sending a data copying instruction to the first backup access point;
the receiving module is used for receiving cache data sent by the damaged access point based on the data copying instruction;
the sending module is used for sending the cache data to a first backup repeater;
the sending module is configured to send a switching instruction to the damaged access point, where the switching instruction is used to instruct a terminal governed by the damaged access point to switch from the damaged access point to the second backup access point;
wherein the first backup access point is different from the second backup access point.
7. The gateway of claim 6, further comprising an acquisition module,
the acquisition module is used for acquiring the position information of the damaged access point;
the sending module is configured to send a moving instruction to the second backup access point based on the location information of the damaged access point, where the moving instruction is used to instruct the second backup access point to move to a location within a distance threshold of the damaged access point.
8. The gateway of claim 6, wherein the compromised access point is in a mode to stop sending wakeup frames to terminals under the jurisdiction of the compromised access point.
9. The gateway of claim 6, wherein the compromised access point is in a maximum transmit power mode.
10. The gateway according to any of claims 6 to 9, characterized in that the gateway further comprises a shutdown module and an startup module,
the closing module is used for closing a filter in the gateway after the gateway receives the damaged feedback information of the damaged access point and before the gateway receives the cache data sent by the damaged access point based on the data copying instruction;
the starting module is used for restarting the filter in the gateway after receiving the cache data sent by the damaged access point based on the data copying instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710759834.4A CN107612720B (en) | 2017-08-29 | 2017-08-29 | Access point backup method and gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710759834.4A CN107612720B (en) | 2017-08-29 | 2017-08-29 | Access point backup method and gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107612720A CN107612720A (en) | 2018-01-19 |
CN107612720B true CN107612720B (en) | 2021-06-22 |
Family
ID=61056379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710759834.4A Active CN107612720B (en) | 2017-08-29 | 2017-08-29 | Access point backup method and gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107612720B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115032909A (en) * | 2022-06-29 | 2022-09-09 | 广亚铝业有限公司 | Intelligent household control system and method |
CN116996924B (en) * | 2023-09-22 | 2023-12-05 | 新华三技术有限公司 | Fault processing method and device |
Citations (5)
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 |
CN103491192A (en) * | 2013-09-30 | 2014-01-01 | 北京搜狐新媒体信息技术有限公司 | Namenode switching method and system of distributed system |
CN103931139A (en) * | 2013-03-19 | 2014-07-16 | 华为技术有限公司 | Method and device for redundancy protection, and device and system |
CN105406980A (en) * | 2015-10-19 | 2016-03-16 | 浪潮(北京)电子信息产业有限公司 | Multi-node backup method and multi-node backup device |
CN106658653A (en) * | 2016-12-09 | 2017-05-10 | 上海掌门科技有限公司 | Method and device used for providing wireless access point information |
-
2017
- 2017-08-29 CN CN201710759834.4A patent/CN107612720B/en active Active
Patent Citations (5)
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 |
CN103931139A (en) * | 2013-03-19 | 2014-07-16 | 华为技术有限公司 | Method and device for redundancy protection, and device and system |
CN103491192A (en) * | 2013-09-30 | 2014-01-01 | 北京搜狐新媒体信息技术有限公司 | Namenode switching method and system of distributed system |
CN105406980A (en) * | 2015-10-19 | 2016-03-16 | 浪潮(北京)电子信息产业有限公司 | Multi-node backup method and multi-node backup device |
CN106658653A (en) * | 2016-12-09 | 2017-05-10 | 上海掌门科技有限公司 | Method and device used for providing wireless access point information |
Also Published As
Publication number | Publication date |
---|---|
CN107612720A (en) | 2018-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3522619B1 (en) | Wireless communication in heterogeneous networks | |
WO2018195825A1 (en) | Cell selection or reselection method, device and system | |
US20160345377A1 (en) | Improved Reliability During Data Transmission and Adaptation of Transmission Strategy Based On Application | |
EP3345433B1 (en) | Controlling access to a wireless communication network | |
WO2014170632A1 (en) | Telecommunications apparatus and methods | |
US10057937B2 (en) | Communications via multiple access points | |
KR20120087976A (en) | Methods and apparatus for optimizing paging mechanisms using device context information | |
CN101686580A (en) | Method, device and system for acquiring system messages | |
WO2017181819A1 (en) | User equipment, and method and apparatus for relaying in base station | |
CN114026902B (en) | Method and device for determining cell configuration | |
CN112954730B (en) | Terminal device and communication method | |
CN107708085B (en) | Repeater guaranteeing method and access point | |
WO2016150269A1 (en) | Method, device and system for optimizing paging, and storage medium | |
JP2021503195A (en) | Control methods, devices and computer storage media for limited UE capabilities | |
CN107612720B (en) | Access point backup method and gateway | |
US8290497B2 (en) | Mobile station apparatus and cell selecting method | |
US10104669B2 (en) | User equipment of device-to-device communications and resource selection method thereof | |
WO2019041369A1 (en) | Relay automatic routing method and device | |
CN107659952B (en) | Repeater backup method and access point | |
US20240080768A1 (en) | Feedback signal detection for sidelink discontinuous reception | |
CN109218051B (en) | Method for managing terminal of internet of things, management server, terminal of internet of things and system | |
CN107612717A (en) | relay automatic routing method and gateway | |
US8831661B2 (en) | Method, system and apparatus for contacting a target mobile station using a secondary connection | |
WO2017190566A1 (en) | Method and device for use in relay transmission in user equipment and base station | |
CN115699655A (en) | BWP configuration method and device, terminal equipment and network equipment |
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 |