CN107483236B - Method and device for backing up access point of Internet of things - Google Patents

Method and device for backing up access point of Internet of things Download PDF

Info

Publication number
CN107483236B
CN107483236B CN201710649205.6A CN201710649205A CN107483236B CN 107483236 B CN107483236 B CN 107483236B CN 201710649205 A CN201710649205 A CN 201710649205A CN 107483236 B CN107483236 B CN 107483236B
Authority
CN
China
Prior art keywords
access point
backup
internet
things
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
CN201710649205.6A
Other languages
Chinese (zh)
Other versions
CN107483236A (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 CN201710649205.6A priority Critical patent/CN107483236B/en
Publication of CN107483236A publication Critical patent/CN107483236A/en
Application granted granted Critical
Publication of CN107483236B publication Critical patent/CN107483236B/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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • H04L41/0856Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information by backing up or archiving configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

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

Abstract

The invention discloses a method for backing up an access point of the Internet of things, which comprises the following steps: obtaining a backup access point of a first access point, and backing up cache data of the first access point to the backup access point; when the first access point is detected to be failed, taking the third access point as a backup access point of the second access point; and switching the terminal or the repeater of the internet of things connected with the first access point to the second access point, and sending the cache data of the second access point to a third access point serving as a backup access point of the second access point. The invention also discloses a device for backing up the access point of the Internet of things. The method and the device can avoid the breakdown of the Internet of things caused by the fault of the access point and improve the fault resistance of the Internet of things.

Description

Method and device for backing up access point of Internet of things
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method and a device for backing up an access point of the Internet of things.
Background
The internet of things is a huge network formed by combining various information sensing devices and collecting various required information such as any object or process needing monitoring, connection and interaction in real time, and the internet of things realizes network connection between objects and people, so that the identification, control and management are facilitated. The internet of things is widely applied to network fusion through communication perception technologies such as intelligent perception, identification technology and pervasive computing, and is also called as the third wave of development of the world information industry after computers and the internet.
In the existing data transmission link of the internet of things, a terminal is connected to the internet of things through an access point, and because the access point often generates IP address conflict and has poor equipment compatibility, the network connection is interrupted due to the fact that the access point fails, so that the problem that the reliability of the internet of things is low due to the fact that the access point fails in the prior art exists.
Disclosure of Invention
The embodiment of the invention provides a method for backing up an access point of the Internet of things, which can solve the technical problem of low reliability of the Internet of things caused by access point faults.
A method of internet of things access point backup, the method based on an access point subsystem including at least a first access point, a second access point, and a third access point, the method comprising:
obtaining a backup access point of a first access point, and backing up cache data of the first access point to the backup access point, wherein the backup access point at least comprises a second access point and a third access point;
when the first access point is detected to be out of order, acquiring the priority of the backup access point according to the performance parameters of the backup access point;
the priorities of the backup access points are sorted, and when the priority of the third access point is lower than that of the second access point, the third access point is used as the backup access point of the second access point;
and switching the terminal or the repeater of the internet of things connected with the first access point to the second access point, and sending the cache data of the second access point to a third access point serving as a backup access point of the second access point.
In one embodiment, the first access point and the backup access point are access points at the same node, have the same function, and can be connected to the internet of things as access points, and the backup access point of the first access point is used for backing up the cache data of the first access point. The backup access point can be a working access point or an idle access point, and when the backup access point is only used for the backup function, the radio frequency function of the backup access point can be closed, and only the storage function of the backup access point is used, so that the energy consumption is saved. It should be noted that there are at least two backup access points, and the cache data of the first access point is backed up to multiple backup access points at the same time.
In one embodiment, the first access point acquires access point identification information of a second access point and a third access point, which are backup access points of the first access point, from an upper management device of the first access point, wherein the upper management device includes a gateway server.
The access point identification information of the second access point comprises Bluetooth identification information of the second access point, IP address information of the second access point, MAC address information of the second access point or equipment identification code information of the second access point.
The access point identification information of the third access point comprises Bluetooth identification information of the third access point, IP address information of the third access point, MAC address information of the third access point or equipment identification code information of the third access point.
In one embodiment, the types of the access point identification information of the second access point and the third access point acquired by the first access point are different, and the types of the connections established between the first access point and the second access point and the third access point are different, if the acquired access point identification information is the device identification code information of the second access point, the connection established with the second access point is an infrared connection, and if the acquired access point identification information is the IP address information of the third access point, the connection established with the third access point is a Wifi connection.
In one embodiment, the obtained access point identification information of the second access point is the same as the type of the access point identification information of the third access point, such as bluetooth identification information.
Optionally, the obtaining the priority of the backup access point according to the performance parameter of the backup access point includes:
and calculating the priority of the backup access point according to the processing unit utilization rate, the memory utilization rate and the transmission data volume of the backup access point.
Optionally, before the switching the terminal or the repeater of the internet of things connected to the first access point to the second access point, the method further includes:
acquiring the equipment identifier of the terminal or the repeater of the internet of things connected with the first access point, generating an equipment authentication code, and sending the generated equipment authentication code to the second access point;
when receiving a connection request of the terminal or the repeater of the Internet of things, the second access point judges whether the equipment identification of the terminal or the repeater of the Internet of things initiating the connection request is matched with the equipment authentication code;
and if the matching is successful, receiving the terminal or the repeater of the Internet of things initiating the connection request for connection.
Optionally, before backing up the cache data of the first access point to the backup access point, the method further includes:
closing the radio frequency function of the backup access point;
before the switching the terminal of the internet of things connected with the first access point to the second access point, the method further comprises the following steps:
and starting the radio frequency function of the second access point.
Optionally, before the switching the terminal or the repeater of the internet of things connected to the first access point to the second access point, the method further includes:
sending broadcast information to the terminal or the repeater of the Internet of things, so that the terminal or the repeater of the Internet of things initiates a connection request to the second access point when receiving the broadcast information; the broadcast information includes a MAC address of the second access point.
Optionally, the method further includes:
acquiring a national channel code corresponding to the first access point according to the positioning information of the first access point;
and adjusting the wireless network channel frequency band accessed by the first access point according to the national channel code and the corresponding relation between the national channel code and the wireless network channel frequency band.
Optionally, the method further includes:
detecting the load capacity of the first access point, and switching the Internet of things equipment or the repeater connected with the first access point to the second access point when the load capacity of the first access point exceeds a preset load threshold value.
In addition, a device for backing up the access point of the Internet of things is also provided.
An apparatus for internet of things access point backup, comprising:
the backup access point acquisition module is used for acquiring a backup access point of a first access point and backing up cache data of the first access point to the backup access point, wherein the backup access point at least comprises a second access point and a third access point;
the priority acquisition module is used for acquiring the priority of the backup access point according to the performance parameters of the backup access point when the first access point is detected to be in failure;
an access point setting module, configured to rank the priorities of the backup access points, and when the priority of the third access point is lower than the priority of the second access point, use the third access point as the backup access point of the second access point;
and the terminal migration management module is used for switching the Internet of things terminal or the repeater connected with the first access point to the second access point and sending the cache data of the second access point to a third access point serving as a backup access point of the second access point.
In one embodiment, the first access point and the backup access point are access points at the same node, have the same function, and can be connected to the internet of things as access points, and the backup access point of the first access point is used for backing up the cache data of the first access point. The backup access point can be a working access point or an idle access point, and when the backup access point is only used for the backup function, the radio frequency function of the backup access point can be closed, and only the storage function of the backup access point is used, so that the energy consumption is saved. It should be noted that there are at least two backup access points, and the cache data of the first access point is backed up to multiple backup access points at the same time.
In one embodiment, the first access point acquires access point identification information of a second access point and a third access point, which are backup access points of the first access point, from an upper management device of the first access point, wherein the upper management device includes a gateway server.
The access point identification information of the second access point comprises Bluetooth identification information of the second access point, IP address information of the second access point, MAC address information of the second access point or equipment identification code information of the second access point.
The access point identification information of the third access point comprises Bluetooth identification information of the third access point, IP address information of the third access point, MAC address information of the third access point or equipment identification code information of the third access point.
In one embodiment, the types of the access point identification information of the second access point and the third access point acquired by the first access point are different, and the types of the connections established between the first access point and the second access point and the third access point are different, if the acquired access point identification information is the device identification code information of the second access point, the connection established with the second access point is an infrared connection, and if the acquired access point identification information is the IP address information of the third access point, the connection established with the third access point is a Wifi connection.
In one embodiment, the obtained access point identification information of the second access point is the same as the type of the access point identification information of the third access point, such as bluetooth identification information.
Optionally, the priority obtaining module is further configured to:
and calculating the priority of the backup access point according to the processing unit utilization rate, the memory utilization rate and the transmission data volume of the backup access point.
Optionally, the apparatus further includes a device verification module, configured to, before the terminal or the repeater of the internet of things connected to the first access point is switched to the second access point, obtain a device identifier of the terminal or the repeater of the internet of things connected to the first access point, generate a device authentication code, and send the generated device authentication code to the second access point;
when receiving a connection request of the terminal or the repeater of the Internet of things, the second access point judges whether the equipment identification of the terminal or the repeater of the Internet of things initiating the connection request is matched with the equipment authentication code;
and if the matching is successful, receiving the terminal or the repeater of the Internet of things initiating the connection request for connection.
Optionally, the apparatus further includes a radio frequency function control module, configured to close a radio frequency function of the backup access point before the cache data of the first access point is backed up to the backup access point;
and before the terminal or the repeater of the Internet of things connected with the first access point is switched to the second access point, starting the radio frequency function of the second access point.
Optionally, the terminal migration management module is further configured to send broadcast information to the internet of things terminal or the relay before the internet of things terminal or the relay connected to the first access point is switched to the second access point, so that the internet of things terminal or the relay initiates a connection request to the second access point when receiving the broadcast information; the broadcast information includes a MAC address of the second access point.
Optionally, the apparatus further includes a channel selection module, configured to:
acquiring a national channel code corresponding to the first access point according to the positioning information of the first access point;
and adjusting the wireless network channel frequency band accessed by the first access point according to the national channel code and the corresponding relation between the national channel code and the wireless network channel frequency band.
Optionally, the apparatus further includes a load detection module, configured to:
and detecting the load capacity of the first access point, and switching the terminal or the repeater of the internet of things connected with the first access point to the second access point when the load capacity of the first access point exceeds a preset load threshold value.
In the embodiment of the invention, when the first access point is detected to have a fault, the priorities of the second access point and the third access point are detected according to the processing performances of the second access point and the third access point, the second access point with higher priority is selected to mount the internet of things terminal connected with the first access point, and the third access point with lower priority is selected as the backup access point of the second access point and is used for backing up the cache data in the second access point. Therefore, data in the first access point with the fault and the internet of things terminal connected with the first access point can be transferred to other access points which normally work, the breakdown of the internet of things caused by the fault of the access points is avoided, and the fault resistance of the internet of things is improved.
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.
Wherein:
fig. 1 is a flow chart of a method for internet of things access point backup in one embodiment;
FIG. 2 is a diagram of a networking architecture of the Internet of things, in one embodiment;
FIG. 3 is a diagram of an IOT access point subsystem, according to one embodiment;
fig. 4 is a block diagram of an apparatus for backing up an access point of the internet of things according to an embodiment;
fig. 5 is a hardware architecture diagram of a computer system running the method for backing up an access point of the internet of things in one embodiment.
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.
The terms "first," "second," "third," and the like in the description and in the claims, and in the above-described drawings, are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
In one embodiment, a method for backing up an access point of the internet of things is provided. The method may be implemented in dependence on a computer program, which may be a drive manager or a virtual device manager of an internet of things access point. The computer program may be run on a computer system based on the von neumann architecture.
Specifically, as shown in fig. 1, a flowchart of a method for backing up an access point of the internet of things in one embodiment includes the following steps:
step S102: the method comprises the steps of obtaining a backup access point of a first access point, and backing up cache data of the first access point to the backup access point, wherein the backup access point at least comprises a second access point and a third access point.
Fig. 2 is a diagram of a networking architecture of the internet of things, which includes a server, a gateway, an access point, a terminal of the internet of things, a repeater, and the like. The server is connected with the gateway through Ethernet or network forms such as 2G, 3G and 4G, and then the gateway is connected with the terminals of the Internet of things through the access points, and part of the terminals of the Internet of things need to be connected with the access points through the repeaters.
Fig. 3 is a schematic diagram of an access point subsystem of the internet of things, which includes at least a first access point, a second access point, and a third access point, and a backup access point of the first access point includes at least the second access point and the third access point.
In this embodiment, the first access point and the backup access point are access points at the same node, have the same function, and can both be connected to the internet of things as access points, and the backup access point of the first access point is used for backing up the cache data of the first access point. The backup access point can be a working access point or an idle access point, and when the backup access point is only used for the backup function, the radio frequency function of the backup access point can be closed, and only the storage function of the backup access point is used, so that the energy consumption is saved. It should be noted that there are at least two backup access points, and the cache data of the first access point is backed up to multiple backup access points at the same time.
In one embodiment, the first access point acquires access point identification information of a second access point and a third access point, which are backup access points of the first access point, from an upper management device of the first access point, wherein the upper management device includes a gateway server.
The access point identification information of the second access point comprises Bluetooth identification information of the second access point, IP address information of the second access point, MAC address information of the second access point or equipment identification code information of the second access point.
The access point identification information of the third access point comprises Bluetooth identification information of the third access point, IP address information of the third access point, MAC address information of the third access point or equipment identification code information of the third access point.
In one embodiment, the types of the access point identification information of the second access point and the third access point acquired by the first access point are different, and the types of the connections established between the first access point and the second access point and the third access point are different, if the acquired access point identification information is the device identification code information of the second access point, the connection established with the second access point is an infrared connection, and if the acquired access point identification information is the IP address information of the third access point, the connection established with the third access point is a Wifi connection.
In one embodiment, the obtained access point identification information of the second access point is the same as the type of the access point identification information of the third access point, such as bluetooth identification information.
Step S104: and when the first access point is detected to have a fault, acquiring the priority of the backup access point according to the performance parameters of the backup access point.
Step S106: and sequencing the priority of the backup access points, and taking the third access point as the backup access point of the second access point when the priority of the third access point is lower than that of the second access point.
In this embodiment, the priority of the backup access point may be calculated according to the processing unit utilization, the memory utilization, and the transmission data amount of the backup access point. One of the calculation methods is as follows: assuming that the processing unit utilization rate of the backup access point is a, the memory utilization rate is B, the transmission data volume is C, and the priority is W, the following formula is used:
W=a1·A+a2·B+a3·C
is calculated to obtain wherein a1+a2+a31. It should be noted that a here1、a2、a3The specific value of (a) can be set according to the operation condition of the access point, or recommended setting, for example, setting a1=50%,a2=30%, a3=20%。
In this embodiment, the priorities of the backup access points are ranked, and for facilitating understanding of the present solution, the backup access point with the highest priority is referred to as a second backup access point, and the backup access point with the priority next to the second access point is referred to as a third access point. And after the first access point fails, starting the radio frequency function of the second access point, and connecting the second access point to the network for communication. Meanwhile, the third access point is used as a backup access point of the second access point, and the cache data of the second access point is backed up to the third access point, so that normal communication of the access points is guaranteed, and the reliability of the Internet of things is improved.
It should be noted that the number of backup access points in this embodiment may be multiple, and is not limited to two listed in this embodiment. When the number of the backup access points is more than two, the backup access point with the highest priority is still selected as the second access point, and other backup access points are used as the backup access points of the second access point. For example, in an internet of things, there are 4 access points at a node, which are access point 1, access point 2, access point 3, and access point 4, where access point 3 is the first access point, and communicates in the network, and the other three access points are all used as backup access points for access point 3. In a certain communication process, the access point 3 is in failure, and the priorities of the access point 1, the access point 2 and the access point 4 are calculated. Suppose that according to the above formula:
W=a1·A+a2·B+a3·C
calculating to obtain a1=50%,a2=30%,a320% by weight. Thus, the priority of the access point 1 is 89, the priority of the access point 2 is 75, and the priority of the access point 4 is 67, the three calculation results are ranked, the access point 1 with the highest priority is selected as the second access point, and the access point 2 and the access point 4 are used as backup access points of the access point 1. Therefore, normal communication of the access points is guaranteed, and the reliability of the Internet of things is improved.
Step S108: and switching the terminal of the internet of things connected with the first access point to the second access point, and sending the cache data of the second access point to a third access point serving as a backup access point of the second access point.
In this embodiment, after the first access point fails, a MAC address of the second access point is broadcast to the terminal of the internet of things, where the MAC address is also referred to as a physical address or a hardware address and is used to define a location of the network device, each access point has an individual MAC address, and the terminal of the internet of things can initiate a connection request to the second access point after receiving the MAC address of the second access point.
In one embodiment, after the first access point fails, an equipment identifier of the internet of things terminal connected with the first access point is acquired, where the equipment identifier is identification information which is embedded in an internet of things terminal equipment chip and is used for distinguishing other equipment, and the equipment identifier cannot be changed after the equipment leaves a factory, and includes information such as a serial number of a manufacturer, a model of the equipment, and an MAC address of the equipment. And generating the equipment authentication code according to the equipment identification information, namely converting the information into a character code form, such as a specific format of 'serial number-model number-MAC address', and facilitating the reading of other equipment. And then, the generated equipment authentication code of the terminal of the internet of things connected with the first access point is sent to the second access point. When the second access point receives the connection request of the Internet of things terminal, the equipment identification of the Internet of things terminal is obtained, the equipment information is read out from the equipment identification and is matched with the equipment authentication code stored in advance, and when the equipment identification of the Internet of things terminal is successfully matched with the stored equipment authentication code, the Internet of things terminal can be received for connection. By storing the equipment authentication code and directly connecting after successful matching judgment, the processes of session information authentication, key pairing and the like on the equipment again can be avoided when the terminal of the Internet of things initiates a connection request to the second access point, and therefore the communication efficiency of the Internet of things is improved.
It should be noted that, the matching between the device identifier of the terminal of the internet of things and the stored device authentication code may be successfully included in various cases, for example, the serial number, the model number, and the MAC address are all the same; or only if the identification serial numbers are the same, the equipment identification is judged to be successfully matched with the stored equipment authentication code; or only more than a certain percentage of characters in the character string match. By the method, the workload of data processing can be reduced, and the efficiency is improved.
In one embodiment, a national channel code corresponding to the first access point is obtained according to the positioning information of the first access point, and a wireless network channel frequency band accessed by the first access point is adjusted according to the national channel code and the corresponding relationship between the national channel code and the wireless network channel frequency band. According to the frequency band range divided by 802.11, the frequency band ranges are respectively 2.4GHz and 4.9/5.8GHz, each frequency band is divided into a plurality of channels, different countries make policies to use the frequency bands by themselves, namely, each country has a channel range corresponding to the country. The frequency range of 2.4GHz is the currently common frequency band, the frequency range is 2.400-2.4835GHz, the total bandwidth is 83.5M, the frequency range is divided into 14 sub-channels, the width of each sub-channel is 22MHz, the center frequency points of adjacent channels are separated by 5MHz, the adjacent channels have frequency overlapping (for example, the frequency overlapping exists between the channel 1 and the channels 2, 3, 4 and 5), only 3 (1, 6 and 11) non-interfering channels exist in the whole frequency band, and the national channel code of China is 1-13. For example, if the positioning information is displayed in china, the first access point acquires the national channel codes 1 to 13 of china, and selects a wireless network frequency band for communication, thereby avoiding the problem of communication quality reduction caused by mismatching of access point equipment and channel codes of different countries.
In one embodiment, the load amount of the first access point is detected, and when the load amount of the first access point exceeds a preset load threshold, the internet of things device or the repeater connected with the first access point is switched to the second access point. In this embodiment, the load capacity of the first access point can be described by the data volume sent and received by the first access point every second, in a local area network, after the internet of things terminal searches for a plurality of access points, the access points with better signal strength are mainly selected for connection, once most of the internet of things terminals are connected to the same access point, the load capacity of the access points is increased, when the load capacity reaches a certain degree, the normal operation of the access points is affected, and the transmission rate is reduced. Setting a proper load threshold, when detecting that the load of the access point is higher than the threshold, for example, the bandwidth provided by the first access point is 10Mbps, the set load threshold is 8Mbps, and when the sum of the bandwidths occupied by the accessed internet of things terminal or repeater exceeds 8Mbps, switching the internet of things terminal or repeater to the second access point, thereby avoiding network transmission function failure caused by excessive load.
In one embodiment, the implementation of the present invention is set forth below in a specific application scenario. In the application scenario, there are 3 access points at a node in the internet of things, which are respectively an access point J, an access point K, and an access point L, where the access point J is a first access point and communicates in the network, and the other two access points are both used as backup access points of the access point J, and only the storage function is turned on.
In a certain communication process, the access point J breaks down, the priority of the access point K is higher than that of the access point L according to the priority calculation results of the access point K and the access point L, the access point K is set as a second access point, and the access point L is set as a backup access point of the access point K.
Before the access point J breaks down, the access point J is connected with the Internet of things terminal 1 and the Internet of things terminal 2, and at the moment, the radio frequency function of the access point K is started. The access point K obtains and stores the equipment authentication codes of the terminal 1 and the terminal 2 of the Internet of things as 001-A1070-00010010 and 011-BC79-00101100 respectively. Then, the access point K broadcasts the MAC address '00-01-6C-06-A6-29' of the access point K to the terminal 1 of the Internet of things and the terminal 2 of the Internet of things.
And after receiving the MAC address, the Internet of things terminal 1 and the Internet of things terminal 2 initiate a connection request to the access point K according to the MAC address.
The access point K acquires that the equipment identification information of the terminal 1 of the Internet of things and the equipment identification information of the terminal 2 of the Internet of things are '001-A1070-00010010' and '011-BC 79-00101100' respectively according to the connection request of the terminal 1 of the Internet of things and the terminal 2 of the Internet of things, is the same as the equipment authentication codes stored before, judges that the matching is successful, and receives the connection of the terminal 1 of the Internet of things and the terminal 2 of the Internet of things. In the working process of the access point K, the cache data is hot backed up to the access point L, and the reliability of the communication of the Internet of things is guaranteed.
In addition, in an embodiment, an apparatus for backing up an access point of the internet of things is further provided, as shown in fig. 4, the apparatus for backing up an access point of the internet of things includes a backup access point obtaining module 102, a priority obtaining module 104, an access point setting module 106, a terminal migration management module 108, a radio frequency function control module 110, a channel selecting module 112, and a load detecting module 114, where:
a backup access point obtaining module 102, configured to obtain a backup access point of a first access point, and backup cache data of the first access point to the backup access point, where the backup access point includes at least a second access point and a third access point;
a priority obtaining module 104, configured to obtain, when a failure of the first access point is detected, a priority of the backup access point according to the performance parameter of the backup access point;
an access point setting module 106, configured to rank the priorities of the backup access points, and when the priority of the third access point is lower than the priority of the second access point, use the third access point as the backup access point of the second access point;
and the terminal migration management module 108 is configured to switch the internet of things terminal or the repeater connected to the first access point to the second access point, and send the cache data of the second access point to a third access point serving as a backup access point of the second access point.
Optionally, the priority obtaining module 104 is further configured to:
and calculating the priority of the backup access point according to the processing unit utilization rate, the memory utilization rate and the transmission data volume of the backup access point.
Optionally, the apparatus further includes a radio frequency function control module 110, configured to close the radio frequency function of the backup access point before the cache data of the first access point is backed up to the backup access point;
and before the terminal or the repeater of the Internet of things connected with the first access point is switched to the second access point, starting the radio frequency function of the second access point.
Optionally, the apparatus further includes a channel selecting module 112, configured to obtain a national channel code corresponding to the first access point according to the positioning information of the first access point;
and adjusting the wireless network channel frequency band accessed by the first access point according to the national channel code and the corresponding relation between the national channel code and the wireless network channel frequency band.
Optionally, the apparatus further includes a load detection module 114, configured to: and detecting the load capacity of the first access point, and switching the terminal or the repeater of the internet of things connected with the first access point to the second access point when the load capacity of the first access point exceeds a preset load threshold value.
In the embodiment of the invention, when the first access point is detected to have a fault, the priorities of the second access point and the third access point are detected according to the processing performances of the second access point and the third access point, the second access point with higher priority is selected to mount the internet of things terminal connected with the first access point, and the third access point with lower priority is selected as the backup access point of the second access point and is used for backing up the cache data in the second access point. Therefore, data in the first access point with the fault and the internet of things terminal connected with the first access point can be transferred to other access points which normally work, the breakdown of the internet of things caused by the fault of the access points is avoided, and the fault resistance of the internet of things is improved.
In one embodiment, as shown in fig. 5, fig. 5 illustrates a terminal 10 of a von neumann based computer system that runs the above-described method of internet of things access point backup. The computer system may be an access point subsystem in the internet of things. Specifically, an external input interface 1001, a processor 1002, a memory 1003, and an output interface 1004 connected through a system bus may be included. The external input interface 1001 may optionally include at least a network interface 10012. Memory 1003 can include external memory 10032 (e.g., a hard disk, optical or floppy disk, etc.) and internal memory 10034. The output interface 1004 may include at least a display 10042 or the like. The processor 1002 is further configured to execute the method for backing up the internet of things access point, including:
obtaining a backup access point of a first access point, and backing up cache data of the first access point to the backup access point, wherein the backup access point at least comprises a second access point and a third access point;
when the first access point is detected to be out of order, acquiring the priority of the backup access point according to the performance parameters of the backup access point;
the priorities of the backup access points are sorted, and when the priority of the third access point is lower than that of the second access point, the third access point is used as the backup access point of the second access point;
and switching the terminal or the repeater of the internet of things connected with the first access point to the second access point, and sending the cache data of the second access point to a third access point serving as a backup access point of the second access point.
Optionally, the processor 1002 is further configured to perform:
the obtaining the priority of the backup access point according to the performance parameter of the backup access point comprises:
and calculating the priority of the backup access point according to the processing unit utilization rate, the memory utilization rate and the transmission data volume of the backup access point.
Optionally, the processor 1002 is further configured to perform: before the backing up the cache data of the first access point to the backup access point, the method further includes:
closing the radio frequency function of the backup access point;
before the switching the terminal or the repeater of the internet of things connected with the first access point to the second access point, the method further comprises the following steps:
and starting the radio frequency function of the second access point.
Optionally, the processor 1002 is further configured to perform: acquiring a national channel code corresponding to the first access point according to the positioning information of the first access point;
and adjusting the wireless network channel frequency band accessed by the first access point according to the national channel code and the corresponding relation between the national channel code and the wireless network channel frequency band.
Optionally, the processor 1002 is further configured to perform: and detecting the load capacity of the first access point, and switching the terminal or the repeater of the internet of things connected with the first access point to the second access point when the load capacity of the first access point exceeds a preset load threshold value.
In this embodiment, the method is executed based on a computer program, program files of the computer program are stored in the external memory 10032 of the computer system 10 based on the von neumann system, and are loaded into the internal memory 10034 during the execution, and then are compiled into machine codes and then transferred to the processor 1002 to be executed, so that the computer system 10 based on the von neumann system forms a logical backup access point acquisition module 102, a priority acquisition module 104, an access point setting module 106, a terminal migration management module 108, a radio frequency function control module 110, a channel selection module 112, and a load detection module 114. In the execution process of the method for backing up the access point of the internet of things, all input parameters are received through the external input interface 1001, are transmitted to the memory 1003 for caching, and are then input into the processor 1002 for processing, and the processed result data is cached in the memory 1003 for subsequent processing or is transmitted to the output interface 1004 for outputting.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (8)

1. A method for internet of things access point backup, the method based on an access point subsystem including at least a first access point, a second access point and a third access point, the method comprising:
obtaining a backup access point of a first access point, and backing up cache data of the first access point to the backup access point, wherein the backup access point at least comprises the second access point and the third access point; the first access point and the backup access point are access points at the same node; if the types of the access point identification information of the second access point and the third access point acquired by the first access point from the upper management device are different, the connection types established by the first access point and the second access point and the third access point are different;
acquiring an equipment identifier of an internet of things terminal or a repeater connected with the first access point, generating an equipment authentication code, and sending the generated equipment authentication code to the second access point; when receiving a connection request of the terminal or the repeater of the Internet of things, the second access point judges whether the equipment identification of the terminal or the repeater of the Internet of things initiating the connection request is matched with the equipment authentication code; if the character of the character string of the equipment identifier of the terminal or the repeater of the Internet of things initiating the connection request is matched with the character string of the equipment authentication code by more than a preset percentage, determining that the equipment identifier of the terminal or the repeater of the Internet of things initiating the connection request is matched with the equipment authentication code, and receiving the terminal or the repeater of the Internet of things initiating the connection request for connection;
when the first access point is detected to be in fault, the third access point is used as a backup access point of the second access point, an internet of things terminal or a repeater connected with the first access point is switched to the second access point, and cache data of the second access point are sent to the backup access point used as the second access point;
when the first access point is detected to be out of order, the priority of the backup access points is obtained according to the performance parameters of the backup access points, the priority of the backup access points is ranked, the backup access point with the highest priority is called a second backup access point, and the backup access point with the priority second to the second access point is called a third access point.
2. The method for backing up an access point of the internet of things of claim 1, wherein before backing up the cache data of the first access point to the backup access point, the method further comprises:
closing the radio frequency function of the backup access point;
before the switching the terminal or the repeater of the internet of things connected with the first access point to the second access point, the method further comprises the following steps:
and starting the radio frequency function of the second access point.
3. The method for backing up an access point of the internet of things according to any one of claims 1 to 2, wherein the method further comprises:
and detecting the load capacity of the first access point, and switching the terminal or the repeater of the internet of things connected with the first access point to the second access point when the load capacity of the first access point exceeds a preset load threshold value.
4. The method for backing up an access point of the internet of things as claimed in claim 1, wherein the method further comprises:
the priority of the backup access point obtained according to the performance parameters of the backup access point is as follows: calculating the priority of the backup access point according to the utilization rate of a processing unit, the utilization rate of a memory and the transmission data volume of the backup access point;
after the first access point fails, starting a radio frequency function of a second access point, and connecting the second access point to a network for communication;
and taking the third access point as a backup access point of the second access point, and backing up the cache data of the second access point to the third access point.
5. An apparatus for internet of things access point backup, the apparatus comprising:
the backup access point acquisition module is used for acquiring a backup access point of a first access point and backing up cache data of the first access point to the backup access point, wherein the backup access point at least comprises a second access point and a third access point; the first access point and the backup access point are access points at the same node; if the types of the access point identification information of the second access point and the third access point acquired by the first access point from the upper management device are different, the connection types established by the first access point and the second access point and the third access point are different;
the standby verification module is used for acquiring the equipment identifier of the terminal or the repeater of the internet of things connected with the first access point, generating an equipment authentication code and sending the generated equipment authentication code to the second access point before the terminal or the repeater of the internet of things connected with the first access point is switched to the second access point; when receiving a connection request of the terminal or the repeater of the Internet of things, the second access point judges whether the equipment identification of the terminal or the repeater of the Internet of things initiating the connection request is matched with the equipment authentication code; if the character of the character string of the equipment identifier of the terminal or the repeater of the Internet of things initiating the connection request is matched with the character string of the equipment authentication code by more than a preset percentage, determining that the equipment identifier of the terminal or the repeater of the Internet of things initiating the connection request is matched with the equipment authentication code, and receiving the terminal or the repeater of the Internet of things initiating the connection request for connection;
an access point setting module, configured to use the third access point as a backup access point of the second access point when detecting that the first access point fails;
the terminal migration management module is used for switching the internet of things terminal or the repeater connected with the first access point to the second access point and sending the cache data of the second access point to a third access point serving as a backup access point of the second access point;
and the priority obtaining module is used for obtaining the priority of the backup access points according to the performance parameters of the backup access points when the first access point is detected to have a fault, sequencing the priority of the backup access points, and calling the backup access point with the highest priority as a second backup access point and the backup access point with the priority next to the second access point as a third access point.
6. The apparatus for backing up an access point of the internet of things according to claim 5, wherein the apparatus further comprises a radio frequency function control module for turning off the radio frequency function of the backup access point before the backup of the cache data of the first access point to the backup access point;
and before the terminal or the repeater of the Internet of things connected with the first access point is switched to the second access point, starting the radio frequency function of the second access point.
7. The apparatus for backup of an access point of the internet of things as claimed in any of claims 5 to 6, wherein the apparatus further comprises a load detection module for:
and detecting the load capacity of the first access point, and switching the terminal or the repeater of the internet of things connected with the first access point to the second access point when the load capacity of the first access point exceeds a preset load threshold value.
8. The apparatus for backing up an access point of the internet of things of claim 5, wherein the obtaining of the priority of the backup access point according to the performance parameter of the backup access point is: calculating the priority of the backup access point according to the utilization rate of a processing unit, the utilization rate of a memory and the transmission data volume of the backup access point;
after the first access point fails, starting a radio frequency function of a second access point, and connecting the second access point to a network for communication;
and taking the third access point as a backup access point of the second access point, and backing up the cache data of the second access point to the third access point.
CN201710649205.6A 2017-08-01 2017-08-01 Method and device for backing up access point of Internet of things Active CN107483236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710649205.6A CN107483236B (en) 2017-08-01 2017-08-01 Method and device for backing up access point of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710649205.6A CN107483236B (en) 2017-08-01 2017-08-01 Method and device for backing up access point of Internet of things

Publications (2)

Publication Number Publication Date
CN107483236A CN107483236A (en) 2017-12-15
CN107483236B true CN107483236B (en) 2021-03-19

Family

ID=60598102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710649205.6A Active CN107483236B (en) 2017-08-01 2017-08-01 Method and device for backing up access point of Internet of things

Country Status (1)

Country Link
CN (1) CN107483236B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12089145B2 (en) 2019-08-19 2024-09-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network connection control method and related products

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756918B (en) * 2019-03-26 2022-05-06 京信网络系统股份有限公司 Data backup method and device, computer equipment and storage medium
CN110475315B (en) * 2019-08-19 2021-05-14 Oppo广东移动通信有限公司 Network connection control method and related product
CN111787559B (en) * 2020-07-16 2021-07-23 深圳云里物里科技股份有限公司 Gateway WiFi (Wireless Fidelity) fault transfer method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656624A (en) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method
CN101662495A (en) * 2009-09-16 2010-03-03 成都市华为赛门铁克科技有限公司 Backup method, master server, backup servers and backup system
CN104185178A (en) * 2013-05-22 2014-12-03 中国人民解放军总参谋部第六十一研究所 Method and device for authentication of mobile terminal
CN105491625A (en) * 2014-10-10 2016-04-13 华为技术有限公司 Method for switching access point in wireless communication, network control mode and user device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101583144B (en) * 2009-07-07 2011-11-16 杭州华三通信技术有限公司 Wireless controller service information backup method and equipment
CN101801051B (en) * 2010-03-04 2013-03-20 杭州华三通信技术有限公司 Method and equipment for selecting access points (APs)
CN101951616B (en) * 2010-07-06 2013-05-29 北京星网锐捷网络技术有限公司 Switching method, system and device for wireless controller
CN102752172B (en) * 2012-07-13 2014-12-31 杭州华三通信技术有限公司 Control method and control device for switching AP (Access Point) between hot standby ACs (Access Controllers)
US9176832B2 (en) * 2013-03-15 2015-11-03 Cisco Technology, Inc. Providing a backup network topology without service disruption
US9571374B2 (en) * 2015-01-12 2017-02-14 International Business Machines Corporation Dynamically allocating compute nodes among cloud groups based on priority and policies
CN105099793B (en) * 2015-09-24 2019-02-05 华为技术有限公司 Hot spare method, apparatus and system
CN105577444B (en) * 2015-12-30 2019-02-22 迈普通信技术股份有限公司 A kind of wireless controller management method and wireless controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656624A (en) * 2008-08-18 2010-02-24 中兴通讯股份有限公司 Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method
CN101662495A (en) * 2009-09-16 2010-03-03 成都市华为赛门铁克科技有限公司 Backup method, master server, backup servers and backup system
CN104185178A (en) * 2013-05-22 2014-12-03 中国人民解放军总参谋部第六十一研究所 Method and device for authentication of mobile terminal
CN105491625A (en) * 2014-10-10 2016-04-13 华为技术有限公司 Method for switching access point in wireless communication, network control mode and user device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12089145B2 (en) 2019-08-19 2024-09-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network connection control method and related products

Also Published As

Publication number Publication date
CN107483236A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
US11696207B2 (en) Data transmission method, electronic device, and computer readable storage medium
CN107483234B (en) Method and device for split backup of access point of Internet of things
CN106658652B (en) Method and device for connecting WiFi hotspot
CN106102143B (en) Application processing method and device
CN106658756B (en) Method and device for identifying connection between terminal equipment and hotspot
CN107483236B (en) Method and device for backing up access point of Internet of things
WO2019010778A1 (en) Backup method and system for internet of things repeater
EP4175388A1 (en) Radio frequency resource allocation method and apparatus, and electronic device
CN112383948B (en) Data transmission method, device, storage medium and electronic equipment
CN115150795A (en) Information filtering method, bluetooth antenna and Internet of things data platform
CN110611831B (en) Video transmission method and device
CN112492618A (en) Network sharing method and device, electronic equipment and storage medium
CN108141901A (en) The method and terminal of control service connection
CN113645048A (en) Network card switching method and device and field programmable gate array FPGA
CN108954702A (en) A kind of control method of air-conditioning, device, air-conditioning and storage medium
CN103517373B (en) A kind of method and apparatus of network insertion
CN105516093B (en) A kind of method and router of anti-loiter network
CN107483228B (en) Method and system for split backup of Internet of things repeater
CN107548019B (en) Method and device for processing network beacon in wireless sensor network
CN105357078A (en) Detection method and system of network state of intelligent equipment
CN113872955A (en) Network connection method, device, computer equipment and storage medium
CN112751706A (en) Target data transmission method and device
CN111478802A (en) Distribution network processing method and device, computer equipment and storage medium
CN110824343A (en) Detection method, device, equipment and medium of communication chip
US11606274B1 (en) Method for operations of virtual machines in monitoring cloud activities, system, and device applying the method

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