CN107708143B - Wireless router group management method and system - Google Patents

Wireless router group management method and system Download PDF

Info

Publication number
CN107708143B
CN107708143B CN201711166973.2A CN201711166973A CN107708143B CN 107708143 B CN107708143 B CN 107708143B CN 201711166973 A CN201711166973 A CN 201711166973A CN 107708143 B CN107708143 B CN 107708143B
Authority
CN
China
Prior art keywords
router
partner
frame
terminal
base station
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
CN201711166973.2A
Other languages
Chinese (zh)
Other versions
CN107708143A (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.)
Xinxun Digital Technology Hangzhou Co ltd
Original Assignee
EB INFORMATION TECHNOLOGY 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 EB INFORMATION TECHNOLOGY Ltd filed Critical EB INFORMATION TECHNOLOGY Ltd
Priority to CN201711166973.2A priority Critical patent/CN107708143B/en
Publication of CN107708143A publication Critical patent/CN107708143A/en
Application granted granted Critical
Publication of CN107708143B publication Critical patent/CN107708143B/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

Abstract

A wireless router group management method and system, the information element data field in the wireless protocol management frame is set as follows: the first byte is set as an operation field, wherein the first bits are partner identification operation bits for defining the operation content corresponding to the frame, and the operation content includes but is not limited to: a find partner operation, a request to become a partner operation, a request for an identity authentication operation, a partner confirmation success/failure operation, whether a partner exists an operation, a confirmation existence operation, a replacement base station request operation, a replacement base station confirmation operation, a replacement base station feedback operation, a network connectionless operation. The invention belongs to the field of communication, and can effectively solve the bottleneck problems of poor network self-healing capability and high central control maintenance cost of wireless router architectures in public places such as markets, hospitals and the like.

Description

Wireless router group management method and system
Technical Field
The invention relates to a wireless router group management method and a wireless router group management system, and belongs to the field of communication.
Background
The architecture of wireless routers currently in commercial use is divided into two categories: one mode is a wireless ac (access Point controller) + AP mode, and the other mode is a cloud center control mode. The challenges faced by commercial wireless routers are transient high-pressure performance of traffic surge and random distribution of such high-pressure uncertain positions, but the two schemes have bottlenecks of poor self-healing capability of the network and high central control maintenance cost.
Therefore, how to effectively solve the bottleneck problems of poor network self-healing capability and high central control maintenance cost existing in wireless router architectures in public places such as markets, hospitals and the like becomes a technical problem which needs to be solved urgently by technicians.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for managing a wireless router group, which can effectively solve the bottleneck problems of poor network self-healing capability and high central control maintenance cost of a wireless router architecture in public places such as shopping malls and hospitals.
In order to achieve the above object, the present invention provides a wireless router group management method, which sets the following information element data fields in a wireless protocol management frame: the first byte is set as an operation field, wherein the first bits are partner identification operation bits for defining the operation content corresponding to the frame, and the operation content includes but is not limited to: find partner operation, request to become partner operation, request authentication operation, partner confirmation success/failure operation, whether partner exists operation, confirm existence operation, replace base station request operation, replace base station confirm operation, replace base station feedback operation, network connectionless operation,
each router has a buddy list for storing information of all other buddy routers in the wireless router group and a terminal selection list for storing information of all terminals connected to the router,
when a router enters a service area formed by a wireless router group, the method comprises the following steps:
step A1, the router entering the service area sends the searching partner frame to the periphery, the router entering the service area is called as the base station router for short;
step A2, other routers scan out a temporary MAC list composed of device MACs of all routers nearby sending and searching for a partner frame, then compare the temporary MAC list with each device MAC in the own partner table, if the device MAC in the temporary MAC list does not exist in the partner table and does not receive a request sent from the device MAC to become a partner frame, then send a request containing own device MAC information to the device to become a partner frame; if the device MAC in the temporary MAC list also exists in the buddy list, resetting a confirmed survival field corresponding to the device MAC in the buddy list; if the device MAC in the buddy list does not exist in the temporary MAC list, subtracting 1 from the confirmed survival field corresponding to the device MAC in the buddy list;
step A3, the base station router receives the request sent by other router to become a partner frame, judges whether other router exists in the partner table, if not, sends the request identity authentication frame to other router, other router authenticates the base station router, and after the identity authentication succeeds, returns the identity authentication frame to the base station router, then continues the next step;
step A4, the base station router adds other routers sending the identity authentication frame into the own buddy list and returns the buddy confirming success/failure frame to other routers, when other routers receive the buddy confirming success frame, the base station router is also added into the own buddy list,
each router in the service area maintains a state table to be connected for storing all the terminals and the optimal connectable router thereof in the service area, and when the terminal enters the service area and is not connected with the router, the method further comprises the following steps:
a terminal entering a service area sends out a PROBE frame to the periphery, a router receiving the PROBE frame acquires the current distance value between the terminal and the router, then informs all partner routers in a partner table of the router, simultaneously records the distance value between the terminal and the partner router sent by the partner router, selects a minimum distance value from the distance values, adds the router corresponding to the minimum distance value as the optimal connectable router of the terminal into a to-be-connected state table of the router,
when the terminal selects a router in the service area for connection, the method further comprises the following steps:
step B1, after the router selected by the terminal completes the connection process with the terminal, reading the self state table to be connected, judging whether the optimal router of the terminal in the state table to be connected is self, if not, sending a request frame of replacing base station to the optimal router corresponding to the terminal, and then continuing the next step; if yes, the process is ended;
step B2, the optimal connectable router corresponding to the terminal checks whether the load of the terminal reaches the load threshold value, if so, the process is ended; if not, returning a replacement base station confirmation frame to the selected router, and continuing the next step;
step B3, the selected router judges whether receiving the replacement base station confirmation frame returned by the optimal connectable router, if yes, returning a replacement base station feedback frame to the optimal connectable router, and kicking out the terminal, thereby roaming the terminal to the optimal connectable router; if not, the connection between the terminal and the terminal is maintained, and the process of replacing the base station is stopped.
In order to achieve the above object, the present invention further provides a wireless router group management system, wherein the information element data field in the wireless protocol management frame is set as follows: the first byte is set as an operation field, wherein the first bits are partner identification operation bits for defining the operation content corresponding to the frame, and the operation content includes but is not limited to: find partner operation, request to become partner operation, request authentication operation, partner confirmation success/failure operation, whether partner exists operation, confirm existence operation, replace base station request operation, replace base station confirm operation, replace base station feedback operation, network connectionless operation,
each router has a buddy list for storing information of all other buddy routers in the wireless router group and a terminal selection list for storing information of all terminals connected to the router,
each router comprises a partner joining device, wherein the partner joining device further comprises:
the searching partner unit is used for sending a searching partner frame to the periphery when the searching partner unit enters a service area formed by the wireless router group;
a request partner unit, configured to receive a seek partner frame sent by a neighboring router, scan out a temporary MAC list formed by device MACs of all routers that send the seek partner frame nearby, compare the temporary MAC list with each device MAC in the own partner table, and send a request including information of the own device MAC to the device as a partner frame if the device MAC in the temporary MAC list does not exist in the partner table and does not receive a request sent from the device MAC as a partner frame; if the device MAC in the temporary MAC list also exists in the buddy list, resetting a confirmed survival field corresponding to the device MAC in the buddy list; if the device MAC in the buddy list does not exist in the temporary MAC list, subtracting 1 from the confirmed survival field corresponding to the device MAC in the buddy list;
the identity authentication unit is used for judging whether other routers exist in the partner table of the router when receiving a request from other routers to become a partner frame, if not, sending the request identity authentication frame to other routers, adding other routers into the partner table of the router when receiving the returned identity authentication frame after the other routers successfully authenticate the identity of the router, and returning a partner confirmation success/failure frame to other routers, so that other routers also add the router into the partner table after receiving the partner confirmation success frame,
each router comprises:
a terminal identification device for receiving the PROBE frame sent by the terminal entering the service area, calculating the distance value between the terminal and the terminal according to the received PROBE frame, then informing all partner routers in the partner table of the terminal, recording the distance value between the terminal and the partner router sent by the partner router, selecting the minimum distance value from the distance values, adding the router corresponding to the minimum distance value as the optimal connectable router of the terminal into the self to-be-connected state table, wherein the to-be-connected state table is used for storing all terminals and the optimal connectable routers thereof in the service area,
each router comprises:
and the terminal connecting device is used for reading the self to-be-connected state table after completing connection with the selected self terminal, judging whether the optimal connectable router of the terminal in the to-be-connected state table is self or not, if not, sending a base station replacing request frame to the optimal connectable router corresponding to the terminal, and returning a base station replacing feedback frame to the optimal connectable router and kicking out the terminal when receiving a base station replacing confirmation frame returned after the optimal connectable router corresponding to the terminal checks that the self load does not reach a load threshold value, so that the terminal is roamed to the optimal connectable router.
Compared with the prior art, the invention has the beneficial effects that: the invention completes the communication of the driving layer through the lightweight communication, judges whether a newly added router belongs to a partner or not through partner identification, performs load balance through the interaction of the driving layer of the router, releases partial functions of a partner group from a remote cloud layer or a central control machine, and realizes the functions through local self-organization, thereby realizing centralization, improving the fault tolerance rate of single service, breaking through the bottleneck problems of over importance of AC (alternating current) in a commercial wireless router, large maintenance pressure and the like, effectively reducing the communication to the cloud end through the lightweight communication, and enabling the cloud end to be degenerated into a monitor instead of central control; the invention is based on the expandability of management frame information elements in a wireless protocol, a carrier beacon frame of the information elements is a message which is sent by each router device after being opened, and because only a few bytes are added, the invention does not bring large flow pressure to the wireless router, and most of logics for message processing are put on a driving layer instead of an application layer which consumes a large amount of resources such as a router CPU (central processing unit), a memory and the like, the memory load of the CPU is not changed greatly, the invention only needs to design an operation field on the operation word of the information elements, and the carried information is as single as possible, thereby realizing the basic requirements of three scenes such as adding a partner, confirming the existence of the partner and replacing a base station; for the operation flow in the scene, partial operations of the AC in the AC + AP mode are simplified and combined, for example, the AC regularly sends 'heartbeat' to all APs to detect whether the APs exist, the periodic sending is not needed, when partner identification frames of the partners cannot be received for a long time, whether the partner exists or not is sent to confirm, if the partner identification frames are not received, the partner identification frames can be sent to the cloud end or the degraded AC, so that the activity detection operation is simplified, and excessive processing is not added to the APs; the invention constructs a real-time communication channel from the driver layer to the application layer, and the application layer can directly send messages to the driver layer over the linux kernel, so that some configurations can be changed in the application layer to influence the change of the driver layer.
Drawings
Fig. 1 is a flowchart of partner joining, i.e., when a router enters a service area formed by a wireless router group, in the wireless router group management method of the present invention.
Fig. 2 is a flowchart of the method for managing a wireless router group according to the present invention, when a terminal connects to a WIFI service area, that is, when the terminal selects one of the routers for connection.
Fig. 3 is a flowchart of load balancing of the wireless router group management method of the present invention, that is, when a router monitors that its own load reaches a load threshold.
Fig. 4 is a flow chart of the router disconnection of the wireless router group management method of the present invention, that is, when the router monitors own network disconnection.
Fig. 5 is a schematic diagram of the composition structure of each router in the wireless router group management system of the present invention.
Fig. 6 is a schematic diagram of the composition structure of the partner joining device of each router.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the accompanying drawings.
Due to the complex wireless medium environment, different functional frame structures are designed in the 802.11 wireless standard protocol to cooperate to adapt to the complex wireless network environment. The frames in the 802.11 protocol are divided into three types, namely management frames, control frames and data frames. Probe frames and beacon frames that are closely related to discovery and connection of the radio belong to the management frame. Fixed bits with determined functions and known word length are arranged in the management frame; and the system also comprises information elements with indefinite word length and expandability. The protocol frame may be divided into three parts, a mac header part, a frame body, and an FCS part. The mac header information mainly includes the type of the frame, the source address, the destination address, the BSSID, and the like. The FCS part performs error detection on the entire frame. The core part is a Frame Body (Frame Body). The data of the frame body is called fixed bits if fixed-length bits are used, and information elements (information elements) if the length is not fixed. While the new version of the 802.11 specification allows the definition of new information elements, the structure of which is as follows: consists of one byte of ID, one byte of length, and indefinite length information element data. As known from the standard, the invention designs a wireless router group management system capable of partner identification by defining an unused information element ID, sets the first byte of the data field of the information element as an operation byte, and then sets the variable-length byte as an information-carrying data byte.
Since partner identification (Companion Recognition) is a wireless router group system that never occurs, the core of the present invention is to design a frame structure and determine the flow of different operations. The definition of the frame operation flow needs to consider the actual application scenario. The scenes mainly needing to be processed comprise partner adding, partner existence confirming and eliminating, terminal entering into a service area, terminal connection service area WIFI, load balancing between partners and router network breaking.
The invention relates to a wireless router group management method, which sets the following information element data fields in a wireless protocol management frame: the first byte is set as an operation field, wherein the first bits (e.g. bit0-bit5) are partner identification operation bits for defining the operation content corresponding to the frame, and the operation content may include but is not limited to: searching for a partner operation, requesting to become a partner operation, requesting an identity authentication operation, a partner confirmation success/failure operation, whether a partner has an operation, confirming the existence operation, a replacement base station request operation, a replacement base station confirmation operation, a replacement base station feedback operation, a network connectionless operation; bit6 is an acknowledgment bit and bit7 is a retransmission bit. When bit7 is 1, it indicates that if the frame does not receive the acknowledgement information (bit6 is 1), retransmission is required, and the router sending the frame needs to maintain a retransmission timer, record the retransmission times, and accumulate the retransmission times in sequence from 0, but the retransmission times thresholds of different frames are different; when bit7 is 0, then this timer is not maintained.
In the invention, each router has a partner table and a terminal selection table, the partner table is used for storing information of all other partner routers in the wireless router group, including device MAC, survival confirmation field, load number and the like of the partner routers, and the terminal selection table is used for storing information of all terminals connected with the router, including device MAC and the like of the terminals.
The following specifically introduces business processes of partner adding, partner existence confirmation and elimination, terminal entering service area, terminal connection service area WIFI, load balancing among partners, router network disconnection and the like in the wireless router group respectively:
1. the partner joins, that is, when a router enters a service area formed by a wireless router group, as shown in fig. 1, the present invention includes:
step A1, the router entering the service area (called as the base station router for short) sends the seek partner frame to the periphery;
the partner identification operation bit of the partner frame is a partner searching operation, does not carry any field afterwards, has the length of 0, and is used for informing other routers with the partner identification function that a new router searches for a partner and enabling the partner router which has become the partner to update the corresponding confirmed survival field in the partner table;
step A2, other routers scan out a temporary MAC list composed of device MACs of all routers nearby sending and searching for a partner frame, then compare the temporary MAC list with each device MAC in the own partner table, if the device MAC in the temporary MAC list does not exist in the partner table and does not receive a request sent from the device MAC to become a partner frame, then send a request containing own device MAC information to the device to become a partner frame; if the device MAC in the temporary MAC list also exists in the buddy list, resetting the confirmed alive field corresponding to the device MAC in the buddy list, for example, setting the initial value of the confirmed alive field to 6, and after resetting, setting the confirmed alive field to 6; if the device MAC in the buddy list does not exist in the temporary MAC list, subtracting 1 from the confirmed survival field corresponding to the device MAC in the buddy list;
the temporary MAC list of each router is used for storing the equipment MAC of the router, which is received by the router and is used for searching for the partner frame;
step a3, the base station router receives the request from other router as a buddy frame, and determines whether other router exists in its buddy list? If not, sending an identity authentication request frame to other routers, carrying out identity authentication on the base station router by the other routers, returning the identity authentication frame to the base station router after the identity authentication is successful, and continuing the next step; if yes, the process is ended;
in step a3, the request for the buddy frame needs to be retransmitted to ensure the reliability as much as possible, so its bit7 is set to 1, the retransmission timer starts counting from zero, and every retransmission time interval is set with 100 Beacon interval intervals as the basic unit. If the router sending the request to become the partner frame does not receive the request identity authentication frame within the set threshold, the router is considered to be unable to add the partner. The request identity authentication frame also needs to start a retransmission mechanism, the information data element field of the request identity authentication frame is filled with the first 8 bits after the MAC address MD5 of the router for verification by the other party, bit6 is set to 1, which indicates that the request of the router of the other party is received and becomes a partner frame, and if the identity authentication frame is not received before the retransmission duration exceeds the threshold value, the partner join request operation is considered to be failed. The identity authentication frame is the response of the partner router to the request identity authentication frame, the partner router waits for receiving the request identity authentication frame returned by the target router after sending the request to the target router to become the partner frame, if the request identity authentication frame is received and verified successfully, the identity authentication frame is sent, the information element data segment of the identity authentication frame is similar to the request identity authentication frame, and the filled information element data segment is the first 8 bits behind the MAC address MD5 of the router;
step A4, the base station router adds other routers sending the identity authentication frame into the own buddy list, and returns the buddy confirming success/failure frame to other routers, when other routers receive the buddy confirming success frame, the base station router is also added into the own buddy list.
The partner confirms that the success/failure frame is the response of the partner router to the identity authentication frame, and the partner router waits for receiving the identity authentication frame returned by the target router after sending the request identity authentication frame to the target router. And after receiving the identity authentication frame of the opposite party, carrying out identity authentication on the opposite party, if the authentication fails, not adding the partner table, and sending a partner confirmation failure frame, wherein bit6 is set to be 0, if the authentication succeeds, the target router is added into the partner table, and the partner confirmation success frame is sent, wherein bit6 is set to be 1. And the partner confirms that the MAC address of the service area terminal which starts to carry daily operation and the current RSSI value in the successful frame do not need to retransmit information, so bit7 is 0.
2. The invention also includes the following steps that the partner confirms and eliminates, namely when the router monitors that the confirmed survival field of one equipment MAC in the self partner table is 0:
the router sends whether a partner exists a frame to a partner router with a confirmed survival field of 0, judges whether the confirmed existence frame returned by the partner router is received, if not, eliminates the partner router from a partner table of the router, and reports the state information of the partner router to an upper layer.
Whether a partner exists a frame is a request sent to confirm whether a partner still exists when the partner router considers that a partner is lost; the partner router feeds back a confirmation presence frame if the confirmation still exists.
Recognizing whether a partner exists or not, that is, recognizing that a partner does not receive a confirmation message in one interaction cycle, the partner is considered to be absent, and since the wireless environment is more complicated than that of a wired network, the number of times that a router transmits a partner-existence frame or not after receiving a response of the partner router to finding the partner frame last time can be recorded by a confirmation survival field of the partner router in a partner table.
3. The terminal enters the service area, that is, when a terminal enters the service area and is not connected with a router, each router in the service area maintains a state table to be connected respectively, and the state table is used for storing all terminals and the optimal connectable routers in the service area. Thus, when a terminal enters the service area and is not connected with the router, the method further comprises the following steps:
a terminal entering a service area sends out a PROBE frame to the periphery, a router receiving the PROBE frame acquires the current distance value between the terminal and the router, then informs all partner routers in a partner table of the router, records the distance value between the terminal and the partner router sent by the partner router, selects a minimum distance value from the distance values, and adds the router corresponding to the minimum distance value into a self state table to be connected as the optimal connectable router of the terminal.
4. The terminal connects to the service area WIFI, that is, when the terminal selects one router in the service area for connection, as shown in fig. 2, the present invention further includes:
step B1, after the router selected by the terminal completes the connection process with the terminal, it reads its own to-be-connected state table and determines whether the optimal connectable router of the terminal in the to-be-connected state table is itself? If not, sending a request frame of the replacement base station to the optimal connectable router corresponding to the terminal, and continuing the next step; if yes, the process is ended;
considering the situations of load balance among partners and terminal roaming among the partners, when a certain router is overloaded or the signal strength of a certain terminal is weak, sending a request frame of a replacement base station to the partner router, and writing the information of 1 or more terminals into an information element data segment;
step B2, the optimal connectable router corresponding to the terminal checks whether the load of the terminal reaches the load threshold? If yes, the process is ended; if not, returning a replacement base station confirmation frame to the selected router, and continuing the next step;
the replacement base station confirmation frame is a response of the partner router to the replacement base station request frame, and the information element data segment of the replacement base station confirmation frame comprises a terminal which can be served by the partner router and the self load condition;
step B3, the selected router determines whether receiving the alternative base station acknowledgement frame returned by the best connectable router? If so, returning a replacement base station feedback frame to the optimal connectable router, and kicking out the terminal, so that the terminal is roamed to the optimal connectable router; if not, the connection between the terminal and the terminal is maintained, and the process of replacing the base station is stopped.
The replacement base station feedback frame is a feedback message after the router sending the replacement base station request frame receives the replacement base station confirmation frame, and the information element data field of the replacement base station feedback frame comprises the MAC of each optimal partner router corresponding to the terminal kicked out by the router.
5. Load balancing, that is, when the router monitors that its own load reaches the load threshold, as shown in fig. 3, the load balancing further includes:
step C1, the router sends the request frame of the alternative base station to the partner router in the partner table, and then closes the PROBE frame, thereby preventing the terminal from joining;
step C2, the partner router capable of receiving the terminal returns the replacement base station confirmation frame to the router;
step C3, after receiving the base station confirmation frame returned by the partner router, the router screens the terminal which can be rejected from the terminal selection table of the router, then returns a replacement base station feedback frame to the partner router, simultaneously rejects the terminal which can be rejected from the terminal selection table of the router, and interrupts the connection of the rejected terminal at the wireless side;
and step C4, the router opens the Probe frame again to allow the terminal to access when the self load drops to another threshold.
6. The router network disconnection, when the router monitors that it is disconnected, as shown in fig. 4, further includes:
d1, the router sends the frame that the network can not be connected to other partner routers through the driving layer, and relays to the nearest partner router through the relay mode to maintain the user connection;
the network connection failure frame is an alarm operation sent to other partner routers after the router has no network connection;
and D2, uploading the frame which cannot be connected with the network to an application layer after the other partner routers receive the frame, and then reporting the frame to a platform for alarming.
The invention relates to a wireless router group management system, which sets the following information element data fields in a wireless protocol management frame: the first byte is set as an operation field, wherein the first bits are partner identification operation bits for defining operation contents corresponding to the frame, and the operation contents may include but are not limited to: a find partner operation, a request to become a partner operation, a request for an identity authentication operation, a partner confirmation success/failure operation, whether a partner exists an operation, a confirmation existence operation, a replacement base station request operation, a replacement base station confirmation operation, a replacement base station feedback operation, a network connectionless operation.
Each router in the invention has a partner table and a terminal selection table, the partner table is used for storing information of all other partner routers in the wireless router group, including device MAC, survival confirmation field, load number and the like of the partner routers, and the terminal selection table is used for storing information of all terminals connected with the router, including device MAC and the like of the terminals.
As shown in fig. 5, each router in the wireless router group management system of the present invention may further include a partner joining device, a partner confirming device, a terminal identifying device, a terminal connecting device, a load balancing device, and a network outage monitoring device, wherein:
1. as shown in fig. 6, the buddy adding device may further include:
the searching partner unit is used for sending a searching partner frame to the periphery when the searching partner unit enters a service area formed by the wireless router group, wherein the partner identification operation bit of the searching partner frame is a searching partner operation, and the searching partner frame does not carry any field afterwards and has the length of 0;
a request partner unit, configured to receive a seek partner frame sent by a neighboring router, scan out a temporary MAC list formed by device MACs of all routers that send the seek partner frame nearby, compare the temporary MAC list with each device MAC in the own partner table, and send a request including information of the own device MAC to the device as a partner frame if the device MAC in the temporary MAC list does not exist in the partner table and does not receive a request sent from the device MAC as a partner frame; if the device MAC in the temporary MAC list also exists in the buddy list, resetting a confirmed survival field corresponding to the device MAC in the buddy list; if the device MAC in the buddy list does not exist in the temporary MAC list, subtracting 1 from the confirmed survival field corresponding to the device MAC in the buddy list;
and the identity authentication unit is used for judging whether other routers exist in the partner table of the router when receiving a request from other routers to become a partner frame, if not, sending the request identity authentication frame to other routers, adding other routers into the partner table of the router when receiving the returned identity authentication frame after the other routers successfully authenticate the identity of the router, and returning a partner confirmation success/failure frame to other routers, so that the other routers also add the router into the partner table after receiving the partner confirmation success frame.
2. And the partner confirmation device is used for sending whether a partner exists a frame to a partner router with the confirmed survival field of 0 when the confirmed survival field of one equipment MAC in the partner table is monitored to be 0, judging whether the confirmed existence frame returned by the partner router is received, if not, removing the partner router from the partner table of the partner router, and reporting the state information of the partner router to an upper layer.
3. The terminal identification device is used for receiving a PROBE frame sent by a terminal entering a service area, calculating a distance value between the current terminal and the terminal according to the received PROBE frame, then informing all partner routers in a partner table of the terminal, simultaneously recording the distance value between the terminal and the partner router sent by the partner router, selecting a minimum distance value from the distance values, and adding a router corresponding to the minimum distance value into a to-be-connected state table of the terminal as an optimal connectable router of the terminal, wherein the to-be-connected state table is used for storing all terminals and the optimal connectable routers in the service area.
4. And the terminal connecting device is used for reading the self to-be-connected state table after completing connection with the selected self terminal, judging whether the optimal connectable router of the terminal in the to-be-connected state table is self or not, if not, sending a base station replacing request frame to the optimal connectable router corresponding to the terminal, and returning a base station replacing feedback frame to the optimal connectable router and kicking out the terminal when receiving a base station replacing confirmation frame returned after the optimal connectable router corresponding to the terminal checks that the self load does not reach a load threshold value, so that the terminal is roamed to the optimal connectable router.
5. And the load balancing device is used for sending a base station replacing request frame to a partner router in a partner table and closing a PROBE frame of the base station replacing request frame when the load of the load balancing device reaches a load threshold value, so that the connection of the terminal is prevented, screening a terminal which can be rejected from a terminal selection table of the load balancing device after a base station confirmation frame returned by the partner router is received, returning a base station replacing feedback frame to the partner router, simultaneously rejecting the terminal which can be rejected from the terminal selection table of the load balancing device, interrupting the connection of the rejected terminal at the wireless side, and opening the Probe frame to allow the terminal to be accessed when the load of the load balancing device is lowered to another threshold value.
6. And the network disconnection monitoring device is used for sending the network connection failure frame to other partner routers through the driving layer when monitoring that the network is disconnected, so that other partner routers upload the network connection failure frame to the application layer after receiving the network connection failure frame until reporting to the platform for alarming, and simultaneously relaying to the nearest partner router through a relay mode to maintain the connection of the user.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A wireless router group management method is characterized in that the following setting is carried out on the data field of an information element in a wireless protocol management frame: the first byte is set as an operation field, wherein the first bits are partner identification operation bits for defining the operation content corresponding to the frame, and the operation content includes but is not limited to: find partner operation, request to become partner operation, request authentication operation, partner confirmation success/failure operation, whether partner exists operation, confirm existence operation, replace base station request operation, replace base station confirm operation, replace base station feedback operation, network connectionless operation,
each router has a buddy list for storing information of all other buddy routers in the wireless router group and a terminal selection list for storing information of all terminals connected to the router,
when a router enters a service area formed by a wireless router group, the method comprises the following steps:
step A1, the router entering the service area sends the searching partner frame to the periphery, the router entering the service area is called as the base station router for short;
step A2, other routers scan out a temporary MAC list composed of device MACs of all routers nearby sending and searching for a partner frame, then compare the temporary MAC list with each device MAC in the own partner table, if the device MAC in the temporary MAC list does not exist in the partner table and does not receive a request sent from the device MAC to become a partner frame, then send a request containing own device MAC information to the device to become a partner frame; if the device MAC in the temporary MAC list also exists in the buddy list, resetting a confirmed survival field corresponding to the device MAC in the buddy list; if the device MAC in the buddy list does not exist in the temporary MAC list, subtracting 1 from the confirmed survival field corresponding to the device MAC in the buddy list;
step A3, the base station router receives the request sent by other router to become a partner frame, judges whether other router exists in the partner table, if not, sends the request identity authentication frame to other router, other router authenticates the base station router, and after the identity authentication succeeds, returns the identity authentication frame to the base station router, then continues the next step;
step A4, the base station router adds other routers sending the identity authentication frame into the own buddy list and returns the buddy confirming success/failure frame to other routers, when other routers receive the buddy confirming success frame, the base station router is also added into the own buddy list,
each router in the service area maintains a state table to be connected for storing all the terminals and the optimal connectable router thereof in the service area, and when the terminal enters the service area and is not connected with the router, the method further comprises the following steps:
a terminal entering a service area sends out a PROBE frame to the periphery, a router receiving the PROBE frame acquires the current distance value between the terminal and the router, then informs all partner routers in a partner table of the router, simultaneously records the distance value between the terminal and the partner router sent by the partner router, selects a minimum distance value from the distance values, adds the router corresponding to the minimum distance value as the optimal connectable router of the terminal into a to-be-connected state table of the router,
when the terminal selects a router in the service area for connection, the method further comprises the following steps:
step B1, after the router selected by the terminal completes the connection process with the terminal, reading the self state table to be connected, judging whether the optimal router of the terminal in the state table to be connected is self, if not, sending a request frame of replacing base station to the optimal router corresponding to the terminal, and then continuing the next step; if yes, the process is ended;
step B2, the optimal connectable router corresponding to the terminal checks whether the load of the terminal reaches the load threshold value, if so, the process is ended; if not, returning a replacement base station confirmation frame to the selected router, and continuing the next step;
step B3, the selected router judges whether receiving the replacement base station confirmation frame returned by the optimal connectable router, if yes, returning a replacement base station feedback frame to the optimal connectable router, and kicking out the terminal, thereby roaming the terminal to the optimal connectable router; if not, the connection between the terminal and the terminal is maintained, and the process of replacing the base station is stopped.
2. The method of claim 1, wherein when the router detects that the confirmed alive field of one device MAC in its own buddy list is 0, the method further comprises:
the router sends whether a partner exists a frame to a partner router with a confirmed survival field of 0, judges whether the confirmed existence frame returned by the partner router is received, if not, eliminates the partner router from a partner table of the router, and reports the state information of the partner router to an upper layer.
3. The method of claim 1, wherein when the router monitors that the load reaches the load threshold, the method further comprises:
step C1, the router sends the request frame of the alternative base station to the partner router in the partner table, and then closes the PROBE frame, thereby preventing the terminal from joining;
step C2, the partner router capable of receiving the terminal returns the replacement base station confirmation frame to the router;
step C3, after receiving the base station confirmation frame returned by the partner router, the router screens the terminal which can be rejected from the terminal selection table of the router, then returns a replacement base station feedback frame to the partner router, simultaneously rejects the terminal which can be rejected from the terminal selection table of the router, and interrupts the connection of the rejected terminal at the wireless side;
and step C4, the router opens the Probe frame again to allow the terminal to access when the self load drops to another threshold.
4. The method of claim 1, wherein when the router monitors that it is down, the method further comprises:
d1, the router sends the frame that the network can not be connected to other partner routers through the driving layer, and relays to the nearest partner router through the relay mode to maintain the user connection;
and D2, uploading the frame which cannot be connected with the network to an application layer after the other partner routers receive the frame, and then reporting the frame to a platform for alarming.
5. A wireless router group management system, characterized in that, the information element data field in the wireless protocol management frame is set as follows: the first byte is set as an operation field, wherein the first bits are partner identification operation bits for defining the operation content corresponding to the frame, and the operation content includes but is not limited to: find partner operation, request to become partner operation, request authentication operation, partner confirmation success/failure operation, whether partner exists operation, confirm existence operation, replace base station request operation, replace base station confirm operation, replace base station feedback operation, network connectionless operation,
each router has a buddy list for storing information of all other buddy routers in the wireless router group and a terminal selection list for storing information of all terminals connected to the router,
each router comprises a partner joining device, wherein the partner joining device further comprises:
the searching partner unit is used for sending a searching partner frame to the periphery when the searching partner unit enters a service area formed by the wireless router group;
a request partner unit, configured to receive a seek partner frame sent by a neighboring router, scan out a temporary MAC list formed by device MACs of all routers that send the seek partner frame nearby, compare the temporary MAC list with each device MAC in the own partner table, and send a request including information of the own device MAC to the device as a partner frame if the device MAC in the temporary MAC list does not exist in the partner table and does not receive a request sent from the device MAC as a partner frame; if the device MAC in the temporary MAC list also exists in the buddy list, resetting a confirmed survival field corresponding to the device MAC in the buddy list; if the device MAC in the buddy list does not exist in the temporary MAC list, subtracting 1 from the confirmed survival field corresponding to the device MAC in the buddy list;
the identity authentication unit is used for judging whether other routers exist in the partner table of the router when receiving a request from other routers to become a partner frame, if not, sending the request identity authentication frame to other routers, adding other routers into the partner table of the router when receiving the returned identity authentication frame after the other routers successfully authenticate the identity of the router, and returning a partner confirmation success/failure frame to other routers, so that other routers also add the router into the partner table after receiving the partner confirmation success frame,
each router comprises:
a terminal identification device for receiving the PROBE frame sent by the terminal entering the service area, calculating the distance value between the terminal and the terminal according to the received PROBE frame, then informing all partner routers in the partner table of the terminal, recording the distance value between the terminal and the partner router sent by the partner router, selecting the minimum distance value from the distance values, adding the router corresponding to the minimum distance value as the optimal connectable router of the terminal into the self to-be-connected state table, wherein the to-be-connected state table is used for storing all terminals and the optimal connectable routers thereof in the service area,
each router comprises:
and the terminal connecting device is used for reading the self to-be-connected state table after completing connection with the selected self terminal, judging whether the optimal connectable router of the terminal in the to-be-connected state table is self or not, if not, sending a base station replacing request frame to the optimal connectable router corresponding to the terminal, and returning a base station replacing feedback frame to the optimal connectable router and kicking out the terminal when receiving a base station replacing confirmation frame returned after the optimal connectable router corresponding to the terminal checks that the self load does not reach a load threshold value, so that the terminal is roamed to the optimal connectable router.
6. The system of claim 5, wherein each router comprises:
and the partner confirmation device is used for sending whether a partner exists a frame to a partner router with the confirmed survival field of 0 when the confirmed survival field of one equipment MAC in the partner table is monitored to be 0, judging whether the confirmed existence frame returned by the partner router is received, if not, removing the partner router from the partner table of the partner router, and reporting the state information of the partner router to an upper layer.
7. The system of claim 5, wherein each router comprises:
and the load balancing device is used for sending a base station replacing request frame to a partner router in a partner table and closing a PROBE frame of the base station replacing request frame when the load of the load balancing device reaches a load threshold value, so that the connection of the terminal is prevented, screening a terminal which can be rejected from a terminal selection table of the load balancing device after a base station confirmation frame returned by the partner router is received, returning a base station replacing feedback frame to the partner router, simultaneously rejecting the terminal which can be rejected from the terminal selection table of the load balancing device, interrupting the connection of the rejected terminal at the wireless side, and opening the Probe frame to allow the terminal to be accessed when the load of the load balancing device is lowered to another threshold value.
8. The system of claim 5, wherein each router comprises:
and the network disconnection monitoring device is used for sending the network connection failure frame to other partner routers through the driving layer when monitoring that the network is disconnected, so that other partner routers upload the network connection failure frame to the application layer after receiving the network connection failure frame until reporting to the platform for alarming, and simultaneously relaying to the nearest partner router through a relay mode to maintain the connection of the user.
CN201711166973.2A 2017-11-21 2017-11-21 Wireless router group management method and system Active CN107708143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711166973.2A CN107708143B (en) 2017-11-21 2017-11-21 Wireless router group management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711166973.2A CN107708143B (en) 2017-11-21 2017-11-21 Wireless router group management method and system

Publications (2)

Publication Number Publication Date
CN107708143A CN107708143A (en) 2018-02-16
CN107708143B true CN107708143B (en) 2020-12-22

Family

ID=61180637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711166973.2A Active CN107708143B (en) 2017-11-21 2017-11-21 Wireless router group management method and system

Country Status (1)

Country Link
CN (1) CN107708143B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727360A (en) * 2020-12-22 2022-07-08 深圳Tcl新技术有限公司 Network connection equipment management method, device, terminal equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829177A (en) * 2005-03-01 2006-09-06 华为技术有限公司 Method for realizing load balance between access devices in WLAN
CN101272309A (en) * 2007-03-19 2008-09-24 明泰科技股份有限公司 Dynamic wireless network topological system providing load balance and flux control pipe
CN103702398A (en) * 2013-12-23 2014-04-02 Tcl集团股份有限公司 Wireless AP (access point) selection method and system
CN105684479A (en) * 2013-11-01 2016-06-15 高通股份有限公司 Systems, apparatus, and methods for providing state updates in a mesh network
CN106102127A (en) * 2015-04-30 2016-11-09 诺基亚技术有限公司 The method of communication, device between the AP in neighbouring aware networks environment
CN106304225A (en) * 2015-06-02 2017-01-04 中兴通讯股份有限公司 A kind of roaming switch control method and central control unit
CN106341863A (en) * 2015-07-08 2017-01-18 华为终端(东莞)有限公司 Capability notification method, access point connection method, access point and workstation
CN106716924A (en) * 2014-10-10 2017-05-24 英特尔Ip公司 Methods and apparatuses of wlan alarm notification in cellular networks
CN106954236A (en) * 2017-04-28 2017-07-14 北京星网锐捷网络技术有限公司 The method and WAP of a kind of control wireless terminal seamless roam
CN107205259A (en) * 2016-03-17 2017-09-26 华为技术有限公司 The scan method and WAP of a kind of WLAN

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102585514B1 (en) * 2014-12-01 2023-10-10 삼성전자주식회사 Method and apparatus for transmitting and receiving between a station and a neighbor access point in communication system
US10110438B2 (en) * 2015-12-07 2018-10-23 Ciena Corporation Control plane discovery of services

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829177A (en) * 2005-03-01 2006-09-06 华为技术有限公司 Method for realizing load balance between access devices in WLAN
CN101272309A (en) * 2007-03-19 2008-09-24 明泰科技股份有限公司 Dynamic wireless network topological system providing load balance and flux control pipe
CN105684479A (en) * 2013-11-01 2016-06-15 高通股份有限公司 Systems, apparatus, and methods for providing state updates in a mesh network
CN103702398A (en) * 2013-12-23 2014-04-02 Tcl集团股份有限公司 Wireless AP (access point) selection method and system
CN106716924A (en) * 2014-10-10 2017-05-24 英特尔Ip公司 Methods and apparatuses of wlan alarm notification in cellular networks
CN106102127A (en) * 2015-04-30 2016-11-09 诺基亚技术有限公司 The method of communication, device between the AP in neighbouring aware networks environment
CN106304225A (en) * 2015-06-02 2017-01-04 中兴通讯股份有限公司 A kind of roaming switch control method and central control unit
CN106341863A (en) * 2015-07-08 2017-01-18 华为终端(东莞)有限公司 Capability notification method, access point connection method, access point and workstation
CN107205259A (en) * 2016-03-17 2017-09-26 华为技术有限公司 The scan method and WAP of a kind of WLAN
CN106954236A (en) * 2017-04-28 2017-07-14 北京星网锐捷网络技术有限公司 The method and WAP of a kind of control wireless terminal seamless roam

Also Published As

Publication number Publication date
CN107708143A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
KR102339471B1 (en) Report sending method, report receiving method, apparatus and system
CN108631954B (en) Data transmission method and device
KR102319836B1 (en) Method and apparatus for determining method of communication between base station and terminal in wireless communication system
US20140254347A1 (en) Ethernet Ring Protection Switching Method, Node, and System
CN111556517B (en) Abnormal link processing method and equipment
CN105191402A (en) Adapting a mobile network
CN112469006B (en) Data transmission method based on CPE system, terminal and computer readable storage medium
JPWO2006095787A1 (en) Relay device
US9332092B2 (en) Method and system for processing data record packet
US9167614B2 (en) Tunneled direct link setup systems and methods with consistent link information maintenance
US20230156527A1 (en) Communication method and apparatus
EP2930977B1 (en) A method for operating a base station
CN113747478A (en) Communication method and device
JP2023515277A (en) Autonomous and resilient integrated circuit device
KR20180047172A (en) Method and Apparatus for Controlling Congestion in Communication Systems with Services
CN105282773A (en) WiFi device configuration method and system
CN107241216A (en) Maintain the method and device of the stable transmission of critical data
CN107708143B (en) Wireless router group management method and system
CN112715053A (en) System, apparatus and method for handling radio link monitoring and radio link failure in a wireless relay network
US20180376470A1 (en) Method and apparatus for access point to station connection
WO2021169748A1 (en) Network-based method and system for dect resource coordination
CN111050356B (en) Data transmission processing method and device, storage medium and electronic device
WO2021134725A1 (en) Communication method and apparatus
CN103227982A (en) Straight through data processing method, equipment and system
CN114143904A (en) CPE management method based on 5G fusion network shunt

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 310013 4th floor, No.398 Wensan Road, Xihu District, Hangzhou City, Zhejiang Province

Patentee after: Xinxun Digital Technology (Hangzhou) Co.,Ltd.

Address before: 310013 4th floor, No.398 Wensan Road, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: EB Information Technology Ltd.