Wireless bridge network configuration method, device, wireless bridge and storage medium
By receiving beacon frames and sending detection request frames, the wireless bridge working mode and service set identifier are automatically configured, which solves the problem of high network distribution complexity of point-to-multipoint wireless bridges and improves network distribution efficiency and convenience. .
Patent Information
- Application Number
- CN202111523079.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-12-13
AI Technical Summary
The point-to-multipoint wireless bridge distribution process is complex and time-consuming. Operators require high professional requirements. It is difficult to simplify the operation process and improve efficiency with existing technology.
By receiving beacon frames, sending detection request frames and detection response frames, the working mode and target service set identifier of the wireless bridge are automatically configured to realize automatic network configuration between wireless bridges and reduce user operation complexity.
It simplifies the point-to-multipoint distribution process of wireless bridges, improves network distribution efficiency, reduces the complexity and time of user operations, and is suitable for various wireless bridge networking scenarios.
Smart Images

Figure CN114157570B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a wireless bridge network configuration method, device, wireless bridge and storage medium. Background Art
[0002] As the name implies, wireless bridge is wireless network bridging, which uses wireless transmission to build a communication bridge between two or more networks. As the video surveillance system has higher and higher requirements for security and visualization, the point-to-point wireless bridge networking method can no longer meet the user's video surveillance deployment needs, while the point-to-multipoint wireless bridge networking method can not only save costs, but also save export cables and network ports. Therefore, more and more users choose the point-to-multipoint wireless bridge networking method to build video surveillance systems.
[0003] However, compared with point-to-point wireless bridge configuration, point-to-multipoint wireless bridge configuration is much more complicated. For point-to-point wireless bridge networking, users can easily buy paired sets on the market, with one device as a wireless access point (AP) and the other as a customer premise equipment (CPE). Under the factory default configuration, point-to-point pairing can be achieved by powering on. However, for point-to-multipoint wireless bridge networking, when an AP device is networked with multiple CPE devices, there are many combinations, such as 1 to 3, 1 to 4, or 1 to 5, etc. It is not easy for users to buy a package combination that matches their own networking needs on the market. Usually, they need to disassemble the point-to-point package combination, reset the working mode of the wireless bridge in the package combination (i.e., AP mode and CPE mode), make one of the devices act as AP, and the other devices act as CPE, and then configure the reset wireless bridge. For example, multiple reset wireless bridge devices can be configured through the Web UI page configuration or manual dialing. However, in the above-mentioned wireless bridge point-to-multipoint networking process, the operation of resetting the wireless bridge and configuring the network is not only cumbersome and time-consuming in actual implementation, but also requires high professional skills of the operator. Summary of the invention
[0004] The embodiments of the present invention provide a wireless bridge network configuration method, device, equipment and storage medium, which are used to reduce the operation complexity of the wireless bridge point-to-multipoint network configuration and improve the network configuration efficiency.
[0005] In a first aspect, an embodiment of the present invention provides a wireless bridge network configuration method, which is applied to a first wireless bridge, and the method includes:
[0006] receiving beacon frames sent by a plurality of second wireless network bridges, wherein the beacon frames include device description information corresponding to the second wireless network bridges;
[0007] Determine at least one second wireless network bridge that needs to be networked with the first wireless network bridge from the plurality of second wireless network bridges according to the device description information;
[0008] Sending a probe request frame to the at least one second wireless bridge, wherein the probe request frame includes working mode indication information and a target service set identifier, so that the at least one second wireless bridge configures the working mode to the working mode corresponding to the working mode indication information, and configures the service set identifier to the target service set identifier;
[0009] In response to the probe response frame sent by the at least one wireless bridge, the service set identifier is configured as the target service set identifier, and the working mode of the first wireless bridge is determined according to the working mode corresponding to the at least one second wireless bridge.
[0010] Optionally, the working mode includes: wireless access point mode, or customer premise equipment mode.
[0011] Optionally, the working mode indication information includes: a first network configuration mode, the first network configuration mode corresponding to a mode of performing network configuration for a wireless bridge that has not been network configured;
[0012] The first network configuration mode is used to instruct the second wireless bridge that is not configured with a local area network identifier among the at least one second wireless bridge to configure the working mode to the customer premise equipment mode, and to instruct the second wireless bridge that is configured with a local area network identifier among the at least one second wireless bridge not to process the detection request frame.
[0013] Optionally, the first network configuration mode is also used to indicate that a second wireless bridge among the at least one second wireless bridge is not configured with a local area network identifier, and when it is determined that the signal strength of the detection request frame is greater than or equal to a set threshold, configure the working mode to a customer premise equipment mode, and to indicate that a second wireless bridge among the at least one second wireless bridge is not configured with a local area network identifier, and when it is determined that the signal strength of the detection request frame is less than a set threshold, not process the detection request frame.
[0014] Optionally, determining the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge includes:
[0015] Determine that the working mode of the first wireless bridge is a wireless access point mode.
[0016] Optionally, the working mode indication information includes: a second network configuration mode and a device identifier, a network access password and a target working mode identifier corresponding to a target second wireless bridge in the at least one second wireless bridge, wherein the second network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has been configured, and the target second wireless bridge is any one of the at least one second wireless bridge;
[0017] The working mode indication information is used to instruct the target second wireless network bridge to parse the device identifier and configure the working mode to the working mode corresponding to the target working mode identifier after verifying that the network access password is correct.
[0018] Optionally, determining the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge includes:
[0019] If the at least one second wireless bridge includes a wireless bridge whose working mode is a wireless access point mode, determining that the working mode of the first wireless bridge is a customer premise equipment mode;
[0020] If the at least one second wireless bridge does not include a wireless bridge whose working mode is a wireless access point mode, it is determined that the working mode of the first wireless bridge is a wireless access point mode.
[0021] In a second aspect, an embodiment of the present invention provides a wireless bridge network configuration device, which is applied to a first wireless bridge, and the device includes:
[0022] A receiving module, configured to receive beacon frames sent by a plurality of second wireless network bridges, wherein the beacon frames include device description information corresponding to the second wireless network bridges;
[0023] a processing module, configured to determine at least one second wireless bridge that needs to be networked with the first wireless bridge from the plurality of second wireless bridges according to the device description information; in response to a detection response frame sent by the at least one wireless bridge, configure a service set identifier as a target service set identifier, and determine an operating mode of the first wireless bridge according to an operating mode corresponding to the at least one second wireless bridge;
[0024] A sending module is used to send a detection request frame to the at least one second wireless bridge, wherein the detection request frame includes working mode indication information and the target service set identifier, so that the at least one second wireless bridge configures the working mode to the working mode corresponding to the working mode indication information and configures the service set identifier to the target service set identifier.
[0025] Optionally, the working mode includes: wireless access point mode, or customer premise equipment mode.
[0026] Optionally, the working mode indication information includes: a first network configuration mode, the first network configuration mode corresponding to a mode of performing network configuration for a wireless bridge that has not been network configured;
[0027] The first network configuration mode is used to instruct the second wireless bridge that is not configured with a local area network identifier among the at least one second wireless bridge to configure the working mode to the customer premise equipment mode, and to instruct the second wireless bridge that is configured with a local area network identifier among the at least one second wireless bridge not to process the detection request frame.
[0028] Optionally, the first network configuration mode is also used to indicate that a second wireless bridge among the at least one second wireless bridge is not configured with a local area network identifier, and when it is determined that the signal strength of the detection request frame is greater than or equal to a set threshold, configure the working mode to a customer premise equipment mode, and to indicate that a second wireless bridge among the at least one second wireless bridge is not configured with a local area network identifier, and when it is determined that the signal strength of the detection request frame is less than a set threshold, not process the detection request frame.
[0029] Optionally, the processing module is further used to determine that the working mode of the first wireless bridge is a wireless access point mode.
[0030] Optionally, the working mode indication information includes: a second network configuration mode and a device identifier, a network access password and a target working mode identifier corresponding to a target second wireless bridge in the at least one second wireless bridge, wherein the second network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has been configured, and the target second wireless bridge is any one of the at least one second wireless bridge;
[0031] The working mode indication information is used to instruct the target second wireless network bridge to parse the device identifier and configure the working mode to the working mode corresponding to the target working mode identifier after verifying that the network access password is correct.
[0032] Optionally, the processing module is also used to, if the at least one second wireless bridge includes a wireless bridge whose working mode is a wireless access point mode, determine that the working mode of the first wireless bridge is a customer premise equipment mode; if the at least one second wireless bridge does not include a wireless bridge whose working mode is a wireless access point mode, determine that the working mode of the first wireless bridge is a wireless access point mode.
[0033] In a third aspect, an embodiment of the present invention provides a wireless bridge network configuration method, which is applied to any second wireless bridge in at least one second wireless bridge, and the method includes:
[0034] Sending a beacon frame containing device description information, so that when the first wireless network bridge receives the beacon frame, it determines that it needs to form a network with the at least one second wireless network bridge according to the device description information;
[0035] Receiving a probe request frame sent by the first wireless bridge, wherein the probe request frame includes working mode indication information and a target service set identifier;
[0036] Configuring the working mode to be the working mode corresponding to the working mode indication information, and configuring the service set identifier to be the target service set identifier;
[0037] A probe response frame is sent to the first wireless bridge, so that the first wireless bridge configures the service set identifier as the target service set identifier, and determines the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge.
[0038] Optionally, the working mode includes: wireless access point mode, or customer premise equipment mode.
[0039] Optionally, the working mode indication information includes: a first network configuration mode, the first network configuration mode corresponding to a mode of performing network configuration for a wireless bridge that has not been network configured;
[0040] The configuring the working mode to be a working mode corresponding to the working mode indication information includes:
[0041] If no LAN ID is configured, the working mode is configured as the customer front-end device mode;
[0042] If a local area network identifier is configured, the probe request frame is not processed;
[0043] The detection response frame is used to instruct the first wireless bridge to configure the working mode to the wireless access point mode.
[0044] Optionally, if the local area network identifier is not configured, configuring the working mode to a customer premise equipment mode includes:
[0045] If the local area network identifier is not configured, when it is determined that the signal strength of the detection request frame is greater than or equal to a set threshold, the working mode is configured as a customer premise equipment mode.
[0046] Optionally, the working mode indication information includes: a second network configuration mode and a device identifier, a network access password and a target working mode identifier corresponding to the arbitrary second wireless bridge, wherein the second network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has been configured;
[0047] The configuring the working mode to be a working mode corresponding to the working mode indication information includes:
[0048] After parsing the device identifier and verifying that the network access password is correct, the working mode is configured to be a working mode corresponding to the target working mode identifier.
[0049] In a fourth aspect, an embodiment of the present invention provides a wireless bridge network configuration device, which is applied to any second wireless bridge in at least one second wireless bridge, and the device includes:
[0050] A sending module, configured to send a beacon frame containing device description information, so that when the first wireless bridge receives the beacon frame, it determines that it needs to form a network with the at least one second wireless bridge according to the device description information; sends a detection response frame to the first wireless bridge, so that the first wireless bridge configures the service set identifier as the target service set identifier, and determines the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge;
[0051] A receiving module, configured to receive a probe request frame sent by the first wireless bridge, wherein the probe request frame includes working mode indication information and the target service set identifier;
[0052] The processing module is used to configure the working mode to be the working mode corresponding to the working mode indication information, and configure the service set identifier to be the target service set identifier.
[0053] Optionally, the working mode includes: wireless access point mode, or customer premise equipment mode.
[0054] Optionally, the working mode indication information includes: a first network configuration mode, the first network configuration mode corresponding to a mode of performing network configuration for a wireless bridge that has not been network configured;
[0055] The detection response frame is used to instruct the first wireless bridge to configure the working mode to the wireless access point mode.
[0056] Optionally, the processing module is further configured to, if the LAN identifier is not configured, configure the working mode to the customer premise equipment mode; if the LAN identifier is configured, not process the detection request frame.
[0057] Optionally, the processing module is further configured to, if no local area network identifier is configured, configure the working mode to a customer premise equipment mode when it is determined that the signal strength of the detection request frame is greater than or equal to a set threshold.
[0058] Optionally, the working mode indication information includes: a second network configuration mode and a device identifier, a network access password and a target working mode identifier corresponding to the arbitrary second wireless bridge, wherein the second network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has been configured.
[0059] Optionally, the processing module is further configured to, after parsing out the device identifier and verifying that the network access password is correct, configure the working mode to a working mode corresponding to the target working mode identifier.
[0060] In a fifth aspect, an embodiment of the present invention provides a wireless bridge, comprising: a memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor can at least implement the wireless bridge network configuration method as described in the first and third aspects.
[0061] In the sixth aspect, an embodiment of the present invention provides a non-temporary machine-readable storage medium, on which executable code is stored. When the executable code is executed by a processor of an electronic device, the processor can at least implement the wireless bridge network configuration method as described in the first and third aspects.
[0062] In the solution provided by the embodiment of the present invention, when point-to-multipoint wireless bridge configuration is required, the user logs in to any wireless bridge that needs to be configured, and the bridge acts as a first wireless bridge device. First, beacon frames sent by multiple second wireless bridges are received, and the beacon frames include device description information corresponding to the second wireless bridges; then, at least one second wireless bridge that needs to be networked with the first wireless bridge is determined from the multiple second wireless bridges according to the device description information; then, a probe request frame is sent to at least one second wireless bridge, and the probe request frame includes working mode indication information and a target service set identifier, so that at least one second wireless bridge configures the working mode to the working mode corresponding to the working mode indication information, and configures the service set identifier to the target service set identifier; finally, in response to the probe response frame sent by at least one wireless bridge, the service set identifier is configured as the target service set identifier, and the working mode of the first wireless bridge is determined according to the working mode corresponding to the at least one second wireless bridge.
[0063] Based on the solution provided by the embodiment of the present invention, when performing point-to-multipoint wireless bridge network configuration, the user only needs to log in to the Web UI of any wireless bridge that needs to be configured, and through the information contained in the beacon frame, the detection request frame and the detection response frame, the working mode and target service set identifier of the wireless bridge that needs to be configured for point-to-multipoint network configuration can be configured to perform wireless bridge network configuration. In this process, the configuration of the working mode and target service set identifier of the wireless bridge does not require the user to log in to each wireless bridge or dial a code for each wireless bridge, which reduces the operational complexity of the wireless bridge point-to-multipoint network configuration and greatly improves the network configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0065] Figure 1 An interactive flow chart of a wireless bridge network configuration method provided by an embodiment of the present invention;
[0066] Figure 2 A schematic diagram of the Web UI display interface of the wireless bridge B provided in an embodiment of the present invention;
[0067] Figure 3 A flow chart of a wireless bridge network configuration method provided by an embodiment of the present invention;
[0068] Figure 4 Another flow chart of a wireless bridge network configuration method provided by an embodiment of the present invention;
[0069] Figure 5 A schematic diagram of the structure of a wireless network bridge network configuration device provided by an embodiment of the present invention;
[0070] Figure 6 A schematic diagram of the structure of another wireless bridge network configuration device provided by an embodiment of the present invention;
[0071] Figure 7 For Figure 5 and Figure 6 A schematic diagram of the structure of a wireless bridge corresponding to the wireless bridge network configuration device provided in the illustrated embodiment. DETAILED DESCRIPTION
[0072] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0073] In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.
[0074] Wireless bridges, as a wireless transmission device, are usually used outdoors. They are mostly connected to switches and cameras for wireless monitoring deployment and video data transmission. For example, different numbers of wireless bridges can be used in elevators, residential buildings, construction sites or temporary places to carry out monitoring deployment of different scales.
[0075] When a wireless bridge is in use, at least two wireless bridges are required for networking. Among them, when there are only two wireless bridges in the network, one wireless bridge acts as an AP and the other as a CPE. This way of networking a single CPE with an AP is called point-to-point networking; correspondingly, there is also point-to-multipoint networking, which corresponds to the situation where there are more than two wireless bridges in the network, one wireless bridge acts as an AP, and the other wireless bridges act as CPEs, and multiple CPEs are networked with APs. Considering the cost and the needs of the actual situation, users usually prefer to choose point-to-multipoint networking for wireless monitoring deployment. However, in actual operation, compared with the network configuration process of point-to-point networking, the network configuration process of point-to-multipoint networking is much more complicated. The operator must go through more cumbersome steps to configure the working mode and service set identifier (Service Set Identifier, referred to as SSID) for each wireless bridge before they can configure the network and complete the point-to-multipoint networking.
[0076] In response to at least one of the above technical problems, an embodiment of the present invention provides a wireless bridge network configuration method, which is applied to the scenario of wireless bridge point-to-multipoint network configuration, so as to solve the operational complexity of wireless bridge point-to-multipoint network configuration and improve network configuration efficiency.
[0077] The premise for the implementation of this method is that the network configuration protocols based on which the wireless bridges involved in the wireless bridge point-to-multipoint network configuration are configured are all in compliance with the 802.11 standard. In the 802.11 standard, many management frames are specified, and the method in the embodiment of the present invention is implemented based on three common management frames: beacon frame, probe request frame and probe response frame, which is specifically implemented by adding customized network configuration information to the management frame.
[0078] In the scenario of point-to-multipoint network configuration of the wireless bridge in the embodiment of the present invention, the wireless bridge has a virtual interface for sending and receiving the above three management frames. Specifically, there are two virtual interfaces in the wireless bridge, namely the sta interface and the ap interface, wherein the sta interface is used to receive beacon frames, send probe request frames and receive probe response frames, and the ap interface is used to send / receive beacon frames, receive probe request frames and send probe response frames; in particular, if the wireless bridge acts as an AP, the ap interface is also used to send wireless signals, and if the wireless bridge acts as a CPE, the sta interface is also used to receive wireless signals sent by the ap interface. It should be noted that any wireless bridge in the embodiment of the present invention has two working modes: AP mode and CPE mode. In actual applications, according to the user's settings, it works in one of the working modes. When the working mode is AP mode, it works as an AP, and when the working mode is CPE mode, it works as a CPE.
[0079] It is understandable that when performing point-to-multipoint network configuration of wireless bridges, in the network environment where the user is located, in addition to the wireless bridges that need to be configured by the user for point-to-multipoint network configuration, there may also be wireless bridges installed by other users. In order to better illustrate the wireless bridge configuration method provided in the implementation of the present invention, it is assumed that there are only 4 powered-on wireless bridges in the current wireless bridge configuration system (or the network environment where the user is currently located), namely: wireless bridge A, wireless bridge B, wireless bridge C and wireless bridge D, wherein wireless bridge A, wireless bridge B and wireless bridge C are wireless bridges that need to be configured for 1 to 2 network configuration, and wireless bridge D is a wireless bridge installed by other users in the network environment where the user is located. Since the point-to-multipoint network configuration of wireless bridges may be the network configuration between brand-new wireless bridges that have not been configured, or it may be the network modification of existing wireless bridges that have been configured and the network configuration is re-performed, therefore, the above-mentioned 4 wireless bridges are not limited here, and will be specifically limited and explained in the specific embodiments below.
[0080] In addition, it should be noted that the above-mentioned wireless bridge network configuration system is only for illustrating the wireless bridge network configuration method, and 4 wireless bridges are provided as an example. In the actual point-to-multipoint network configuration scenario, there may be various situations for the number of bridges in the wireless bridge network configuration system.
[0081] The core point of the wireless bridge network configuration method provided by the embodiment of the present invention is: log in to the Web UI of any wireless bridge that needs to be configured, and configure the working mode and target service set identifier of the wireless bridge that needs point-to-multipoint network configuration through the information contained in the beacon frame, detection request frame and detection response frame of the network configuration interaction process, so as to complete the wireless bridge network configuration.
[0082] The following multiple embodiments are all based on the above-mentioned assumed wireless bridge network configuration system with only 4 wireless bridges, and perform 1 to 2 wireless bridge network configuration.
[0083] Assume that the wireless bridge that the user logs in to is wireless bridge B. Of course, it can also be wireless bridge A or wireless bridge C. Figure 1 The interactive flow chart of the wireless bridge network configuration method provided by the embodiment of the present invention is shown, taking the logged-in wireless bridge as wireless bridge B as an example, to illustrate the wireless bridge network configuration method.
[0084] After the user logs in to the Web UI of wireless bridge B, first, wireless bridge B is triggered to receive beacon frames sent by other wireless bridges that it can detect. For example, the scan button on the display interface can be clicked to trigger wireless bridge B to receive beacon frames. From the above assumptions, it can be seen that the network environment in which the user is currently located only includes four wireless bridges, namely wireless bridge A, wireless bridge B, wireless bridge C and wireless bridge D. Therefore, wireless bridge B can actually only receive beacon frames sent by wireless bridge A, wireless bridge C and wireless bridge D. Among them, beacon frames are broadcast messages that wireless bridge A, wireless bridge C and wireless bridge D actively send to other wireless bridges within a set time interval according to their own settings of the wireless bridges. They contain the device description information of the wireless bridge itself, such as: device serial number (sn), local area network identifier (nid), device physical address (mac), service set identifier (ssid), working channel (channel), working mode (mode), received signal strength indication (rssi) and host name (host Name), etc.
[0085] After receiving the beacon frame, wireless bridge B will parse and cache the device description information in the beacon frame, and finally display it on the display interface of the Web UI in the form of a wireless bridge list. Figure 2 , Figure 2 A schematic diagram of the Web UI display interface of the wireless bridge B provided in an embodiment of the present invention; Figure 2 In addition to the device description information and wireless bridge list of wireless bridge B, it also contains other information, such as the first network configuration mode, the second network configuration mode and the target ssid, etc. Among them, the first network configuration mode corresponds to the network configuration mode for wireless bridges that have not been configured; the second network configuration mode corresponds to the network configuration mode for wireless bridges that have been configured; the target ssid is the ssid of the wireless bridge that serves as the AP in the networking solution designed by the user. It should be noted that Figure 2 This is only an example. In actual applications, the specific setting format of each parameter in the device description information is different from Figure 2The situation shown in may not completely correspond. In addition, the Web UI display interface of the wireless bridge B may also include other information of the wireless bridge B in addition to the device description information of the wireless bridge B displayed.
[0086] like Figure 2 As shown in the figure, the wireless bridge list contains the device description information of wireless bridge A, wireless bridge C and wireless bridge D corresponding to the beacon frame received by wireless bridge B. Users can confirm whether the wireless bridge is their own device and the location of the device based on the three parameters of host Name, sn and mac; determine whether the wireless bridge has been networked and the local area network to which the networked device belongs based on nid; confirm the target service set identifier during network configuration based on ssid; confirm the current working mode of the wireless bridge based on mode; and determine the distance between the wireless bridge and the logged-in wireless bridge B during manual operation and maintenance based on rssi.
[0087] After the wireless bridge list is displayed on the Web UI display interface of wireless bridge B, if the user determines that the wireless bridge list includes wireless bridge A and wireless bridge C that need to be networked with wireless bridge B, the user selects the corresponding network configuration mode according to the pre-designed networking solution, and performs operations matching the selected network configuration mode on the Web UI display interface of wireless bridge B, such as setting the network configuration mode and target SSID and other information. Wireless bridge B determines the wireless bridges (wireless bridge A and wireless bridge C) that need to be networked with wireless bridge B from the wireless bridge list based on the user's operation, sends a probe request frame to the wireless bridges that need to be networked, so that wireless bridge A and wireless bridge C are configured with their own working modes and service set identifiers, and sends a probe response frame to wireless bridge B. Wireless bridge B configures its own working mode and service set identifier in response to the probe response frame corresponding to the received probe request frame, and then wireless bridge A, wireless bridge B and wireless bridge C are networked.
[0088] The specific implementation process of the user performing network configuration according to the pre-designed networking solution is described through the following two embodiments.
[0089] Example 1
[0090] In one embodiment of the present invention, it is assumed that the networking solution designed by the user is for performing a one-to-two networking within a set distance for wireless bridge A, wireless bridge B and wireless bridge C that have not been networked. Since these three wireless bridges are all brand new wireless bridges, any wireless bridge can be used as an AP to send wireless signals. In order to simplify the networking process, in the first networking mode, the currently logged-in wireless bridge is used as the AP by default, and the other wireless bridges are used as CPEs.
[0091] In the specific implementation process, users Figure 2Select the first network configuration mode on the Web UI display interface of the wireless bridge B shown, fill the ssid of the wireless bridge B (i.e., ssid-B) into the target ssid, and then click the one-key network configuration button to trigger the wireless bridge B to send a detection request frame to the wireless bridge A and the wireless bridge C. In the specific implementation process, the detection request frame can be sent by broadcasting on all available channels. Among them, the detection request frame contains: working mode indication information (including the first network configuration mode) and the target ssid (ssid-B).
[0092] After receiving the detection request frame sent by wireless bridge B, wireless bridge A parses the detection request frame, and after determining that the working mode indication information includes the first network configuration mode, further determines whether itself (ie, wireless bridge A) is configured with a local area network identifier.
[0093] It should be noted that, for a brand-new wireless bridge, its LAN ID defaults to 0 or other pre-set default values, while the LAN ID of a wireless bridge that has been configured will change accordingly and will no longer be the factory default value; therefore, here wireless bridge A determines whether it is configured with a LAN ID, which can be understood as wireless bridge A determining whether the LAN ID configured by itself is the factory default value, or in other words, determining whether it is configured with other LAN IDs that are not the factory default values.
[0094] If wireless bridge A determines that it is not configured with a LAN ID (i.e., the LAN ID of wireless bridge A is the default value at the factory), it configures its own working mode to CPE mode, sets the ssid to the target ssid (i.e., ssid-B) in the probe request frame, and then sends a probe response frame to wireless bridge B. Specifically, if the working mode of wireless bridge A is CPE mode when it is powered on, it remains unchanged; if the working mode of wireless bridge A is AP mode when it is powered on, it switches to CPE mode.
[0095] For wireless bridges that have not been networked, when the first network configuration mode is selected for network configuration, in order to improve the accuracy of network configuration of wireless bridges and the security of network configuration, the wireless bridges that need to be networked are required to be networked within a short distance. Based on this requirement, after wireless bridge A determines that it is not configured with a LAN identifier, it further needs to determine whether the signal strength of the received detection request frame is greater than or equal to the set threshold. If it is greater than or equal to the set threshold, its own working mode is configured as CPE mode, and the ssid is set to the target ssid in the detection request frame (i.e., ssid-B), and then a detection response frame is sent to wireless bridge B.
[0096] Among them, the set threshold value matches the network configuration distance required by the first network configuration mode. For example, the set threshold value can be set by the manufacturer based on the maximum distance that the wireless bridges can maintain when configuring the network through the first network configuration mode. If the manufacturer believes that the maximum distance that the wireless bridges can maintain when configuring the network through the first network configuration mode is 50 meters, and the signal strength of the management frames transmitted between the wireless bridges when they are 50 meters apart is -40dB, then the set threshold value of the above signal strength is -40dB. The signal strength threshold is set to avoid configuring the network with a wireless bridge far away from the wireless bridge B. On the one hand, the farther the location, the weaker the signal strength. Even if the network configuration is successful, data transmission may not be possible; on the other hand, it is to avoid configuring the network with other users' wireless bridges, affecting others, or attacking the network where the wireless bridge B is located after being maliciously configured by other users.
[0097] Based on the assumptions of the embodiments of the present invention, wireless bridge A is a brand-new wireless bridge, and is networked with wireless bridge B within a set distance, so it is not configured with a LAN identifier, and the signal strength of the received probe request frame is greater than or equal to the set threshold. Therefore, wireless bridge A finally configures its own working mode to CPE mode, sets the ssid to the target ssid (i.e., ssid-B) in the probe request frame, and then sends a probe response frame to wireless bridge B.
[0098] The processing process of wireless bridge C after receiving the detection request frame sent by wireless bridge B is similar to the processing process of wireless bridge A, which will not be repeated here.
[0099] Based on the same assumption as wireless bridge A, wireless bridge C configures its own working mode to CPE mode, sets the SSID to the target SSID (ie, SSID-B) in the probe request frame, and then sends a probe response frame to wireless bridge B.
[0100] Since the probe request frame is sent in the form of broadcast, the wireless bridge D installed by other users will also receive the probe request frame although it is not a wireless bridge that needs to perform 1 to 2 network configuration. After receiving the probe request frame, the processing process is similar to that of the wireless bridge A. The wireless bridge D will first parse the probe request frame, and after determining that the working mode indication information contains the first network configuration mode, it will further determine whether it is configured with a local area network identifier and whether the signal strength of the received probe request frame is greater than or equal to the set threshold. According to the assumptions in the previous article, it can be known that the wireless bridge D, as a device currently being used by other users, is either configured with a local area network identifier or is far away from the wireless bridge B and is not within the network configuration range. The signal strength of the received probe request frame is less than the set threshold. As long as any of these two situations is met, the wireless bridge D will not process the probe request frame and send a probe response frame to the wireless bridge B. The wireless bridge D not processing the probe request frame here means that the wireless bridge D will not set its own working mode and ssid according to the working mode indication information and the target ssid in the probe request frame, but will keep the working mode and ssid before receiving the probe request frame unchanged.
[0101] The probe response frames sent by the above-mentioned wireless bridges A, C and D are responses to the probe request frames based on the protocol characteristics of the 802.11 standard. During the specific implementation process, manufacturers can add corresponding response status information to the probe response frames based on the functional limitations of the wireless bridges they produce, which is not limited here.
[0102] After receiving the detection response frames sent by wireless bridge A, wireless bridge C, and wireless bridge D, wireless bridge B keeps its own ssid unchanged as ssid-B and sets its own working mode to AP mode. At this point, the working modes and ssid configurations of wireless bridge A, wireless bridge B, and wireless bridge C are completed, and the wireless bridges are automatically configured to configure the network. The 1-to-2 network configuration is completed, in which wireless bridge B acts as an AP, and wireless bridge A and wireless bridge C act as CPEs.
[0103] Example 2
[0104] In another embodiment of the present invention, it is assumed that the networking solution designed by the user is to perform 1-to-2 networking for wireless bridge A, wireless bridge B and wireless bridge C that have been networked, wireless bridge A acts as AP, wireless bridge B and wireless bridge C act as CPE, wherein wireless bridge A and wireless bridge B do not belong to the same local area network. It is understandable that for wireless bridges that do not belong to the same local area network, only when the local area network verification password is correct, the wireless bridge can open the network configuration permission and perform network configuration with other wireless bridges.
[0105] In the specific implementation process, users Figure 2After selecting the second network configuration mode in the Web UI display interface of wireless bridge B shown in the figure, check wireless bridge A and wireless bridge C that need to be networked with wireless bridge B in the wireless bridge list, and according to the designed networking solution, check the working mode (mode) of wireless bridge A as AP, check the working mode of wireless bridge C as CPE, and enter the network access password of wireless bridge A in the network access password column, fill the ssid of wireless bridge A (i.e. ssid-A) into the target ssid, and then click the one-key network configuration button to trigger wireless bridge B to send a detection request frame to wireless bridge A and wireless bridge C. Since wireless bridge C and wireless bridge B belong to the same local area network, the network access password of wireless bridge C can be automatically filled in, and the user does not need to enter it in the network access password column.
[0106] In the specific implementation process, the detection request frame can be sent by broadcasting and broadcasted on all available channels. The detection request frame includes: working mode indication information and target ssid (i.e., ssid-A), wherein the working mode indication information includes: the second network configuration mode, the device identification, network access password and target working mode identification (AP mode) corresponding to the wireless bridge A, and the device identification, network access password and target working mode identification (CPE mode) corresponding to the wireless bridge C.
[0107] After receiving the detection request frame sent by wireless bridge B, wireless bridge A parses the detection request frame and determines that the working mode indication information includes the second network configuration mode. If the parsed device identification contains its own device identification (wireless bridge A) and the network access password verification is correct, its own working mode is configured to the working mode corresponding to the target working mode identification, that is, AP mode, and the ssid is set to the target ssid (that is, ssid-A) in the detection request frame. Since the ssid of wireless bridge A itself is ssid-A, wireless bridge A actually keeps the original ssid unchanged and then sends a detection response frame to wireless bridge B.
[0108] The processing process of wireless bridge C after receiving the detection request frame sent by wireless bridge B is similar to the processing process of wireless bridge A, which will not be repeated here.
[0109] The difference between wireless bridge C and wireless bridge A is that wireless bridge C configures its own working mode to CPE mode according to the working mode indication information in the probe request frame; its ssid is set to the target ssid in the probe request frame (i.e. ssid-A). After configuring the working mode and ssid, wireless bridge C sends a probe response frame to wireless bridge B.
[0110] In the above process, if the parsed device identification contains the device identification of wireless bridge A, but the network access password verification is incorrect, the wireless bridge A does not process the probe request frame, that is: it does not set its own working mode and ssid according to the working mode indication information and target ssid in the probe request frame, keeps the working mode and ssid before receiving the probe request frame unchanged, and then sends a probe response frame to wireless bridge B.
[0111] Since the probe request frame is sent in the form of broadcast, the wireless bridge D installed by other users will also receive the probe request frame although it is not a wireless bridge that needs to perform 1 to 2 network configuration. After receiving the probe request frame, the processing process is similar to that of the wireless bridge A. The wireless bridge D will first parse the probe request frame. After determining that the working mode indication information contains the second network configuration mode, it will further determine whether the parsed device identification contains its own (wireless bridge D) device identification. Based on the above assumptions, it can be known that the probe request frame only contains the device identifications of the wireless bridges A and C selected by the user, and does not contain the device identification of the wireless bridge D. In this case, the wireless bridge D does not process the probe request frame, that is, it does not set its own working mode and ssid according to the working mode indication information and the target ssid in the probe request frame, and keeps the working mode and ssid before receiving the probe request frame unchanged, and then sends a probe response frame to the wireless bridge B.
[0112] The probe response frames sent by the above-mentioned wireless bridges A, C and D are responses to the probe request frames based on the protocol characteristics of the 802.11 standard. During the specific implementation process, manufacturers can add corresponding response status information to the probe response frames based on the functional limitations of the wireless bridges they produce, which is not limited here.
[0113] After receiving the detection response frames sent by wireless bridge A, wireless bridge C and wireless bridge D, wireless bridge B configures its own ssid as ssid-A and sets the working mode to CPE mode. At this point, the working mode and ssid configuration of wireless bridge A, wireless bridge B and wireless bridge C are completed, and the wireless bridges are automatically configured to configure the network. The 1-to-2 network configuration is completed, in which wireless bridge A acts as an AP, and wireless bridge B and wireless bridge C act as CPE.
[0114] In this embodiment, when configuring the working mode and SSID of wireless bridge B, the user can manually configure it according to the designed networking solution; or the wireless bridge B can automatically configure it after receiving the probe response frame according to the information of the probe request frame cached when it sends the probe request frame. Specifically, if the target working mode corresponding to the wireless bridge selected by the user (wireless bridge A and wireless bridge C) in the cached probe request frame information includes AP mode, wireless bridge B sets its own working mode to CPE mode; if the target working mode corresponding to the wireless bridge selected by the user (wireless bridge A and wireless bridge C) in the cached probe request frame information does not include AP mode, wireless bridge B sets its own working mode to AP mode; and configures the SSID to the SSID corresponding to the target SSID in the probe request frame.
[0115] By combining Figure 1 , Figure 2 The above two embodiments illustrate the wireless bridge network configuration method provided by the embodiment of the present invention. In the above two embodiments, the login to wireless bridge B is used as an example for explanation. In fact, the user logs in to any wireless bridge that needs to be configured, and the processing process is similar to the above process, which will not be described one by one here.
[0116] In the process of introducing the above two embodiments, there are no many restrictions on wireless bridge A, wireless bridge B, wireless bridge C and wireless bridge D. A unified explanation is given here. It is easy to understand that the four wireless bridges, wireless bridge A, wireless bridge B, wireless bridge C and wireless bridge D, need to be the same type of wireless bridges that support the above-mentioned wireless bridge network configuration method, or wireless bridges of different types that can parse the management frames sent by each other and support the above-mentioned wireless bridge network configuration method.
[0117] The above introduces the interactive process of the wireless bridge network configuration method provided by the embodiment of the present invention. In order to better illustrate the wireless bridge network configuration method provided by the embodiment of the present invention, it is explained from the perspective of the wireless bridge logged in by the user and the perspective of other wireless bridges that are not logged in.
[0118] Figure 3 A flow chart of a wireless bridge network configuration method provided by an embodiment of the present invention is applied to a first wireless bridge, where the first wireless bridge is a wireless bridge logged in by a user. Figure 3 The first wireless bridge in the embodiment corresponds to the wireless bridge B in the above embodiment, and the second wireless bridge corresponds to the wireless bridge A, the wireless bridge C and the wireless bridge D in the above embodiment. In response to the user clicking the scan button on the Web UI display interface of the first wireless bridge, as shown in FIG. Figure 3 As shown, the method comprises the following steps:
[0119] 301. A first wireless network bridge receives beacon frames sent by multiple second wireless network bridges, where the beacon frames include device description information corresponding to the second wireless network bridges.
[0120] 302. Determine at least one second wireless network bridge that needs to be networked with the first wireless network bridge from among the multiple second wireless network bridges according to the device description information.
[0121] 303. The first wireless bridge sends a probe request frame to at least one second wireless bridge, where the probe request frame includes working mode indication information and a target service set identifier, so that the at least one second wireless bridge configures the working mode to the working mode corresponding to the working mode indication information and configures the service set identifier to the target service set identifier.
[0122] 304. In response to the probe response frame sent by at least one wireless bridge, the first wireless bridge configures the service set identifier as the target service set identifier, and determines the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge.
[0123] Among them, the device description information in the beacon frames sent by the multiple second wireless bridges received by the first wireless bridge can be displayed on the Web UI display interface of the first wireless bridge in the form of a wireless bridge list, and the user determines at least one second wireless bridge that needs to be networked with the first wireless bridge from the multiple second wireless bridges according to the wireless bridge list. Based on the assumptions in the aforementioned embodiment, determining at least one second wireless bridge that needs to be networked with the first wireless bridge in step 302 corresponds to determining that the wireless bridge list includes wireless bridge A and wireless bridge C that need to be networked with wireless bridge B.
[0124] After determining that the wireless bridge list includes at least one second wireless bridge that needs to be networked with the first wireless bridge, the user selects a corresponding network configuration mode according to the designed networking solution, and performs operations matching the selected network configuration mode on the Web UI display interface of the first wireless bridge. The network configuration modes that the user can select include a first network configuration mode and a second network configuration mode: the first network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has not been networked; the second network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has been networked.
[0125] If the networking solution designed by the user is to perform network configuration for a wireless bridge that has not been networked, the first network configuration mode is selected, and the target service set identifier on the Web UI display interface of the first wireless bridge is filled with the service set identifier of the wireless bridge serving as a wireless access point. In order to simplify the network configuration process, the first network configuration mode defaults to the wireless access point mode of the currently logged-in wireless bridge, and the client front-end device mode of other wireless bridges that need to be networked with the logged-in wireless bridge. Therefore, the target service set identifier on the Web UI display interface of the first wireless bridge can be automatically filled with the service set identifier of the first wireless bridge after the user selects the first network configuration mode, or it can be manually filled with the service set identifier of the first wireless bridge by the user. After selecting the first network configuration mode and completing the filling of the target service set identifier, click the one-key network configuration button to trigger the first wireless bridge to execute step 303.
[0126] In a specific implementation process, the probe request frame may be broadcast on all available channels in a broadcast manner.
[0127] Corresponding to the aforementioned embodiment 1, the working mode indication information in the detection request frame sent by the first wireless bridge includes: the first network configuration mode, and the target service set identifier is the service set identifier of the first wireless bridge.
[0128] The first network configuration mode in the working mode indication information is used to instruct the second wireless bridge that is not configured with a local area network identifier in at least one second wireless bridge to configure the working mode to the customer premise equipment mode, and to instruct the second wireless bridge that is configured with a local area network identifier in the at least one second wireless bridge not to process the detection request frame, that is: not to set its own working mode and service set identifier according to the working mode indication information and the target service set identifier in the detection request frame, and to keep the working mode and service set identifier before receiving the detection request frame unchanged.
[0129] For wireless bridges that have not been networked, when the first network configuration mode is selected for network configuration, in order to improve the accuracy of network configuration of the wireless bridge and the security of network configuration, the wireless bridges that need to be networked are required to be networked within a short distance. Based on this requirement, the first network configuration mode is also used to indicate that a second wireless bridge that is not configured with a local area network identifier in at least one second wireless bridge configures the working mode to the customer front-end device mode when it is determined that the signal strength of the detection request frame is greater than or equal to the set threshold, and to indicate that a second wireless bridge that is not configured with a local area network identifier in at least one second wireless bridge does not process the detection request frame when it is determined that the signal strength of the detection request frame is less than the set threshold, that is, the working mode and service set identifier of the wireless bridge itself are not set according to the working mode indication information and the target service set identifier in the detection request frame, and the working mode and service set identifier before receiving the detection request frame remain unchanged.
[0130] Based on the protocol characteristics of the 802.11 standard, after receiving the detection request frame broadcast by the first wireless bridge, at least one second wireless bridge will send a detection response frame to the first wireless bridge to respond to the detection request frame. Specifically, after determining that the working mode in the detection request frame is the first network configuration mode, if it is determined that it is not configured with a local area network identifier, and the signal strength of the received detection request frame is greater than or equal to the set threshold, the at least one second wireless bridge will configure the working mode to the customer premise equipment mode, configure the service set identifier to the service set identifier of the first wireless bridge, and then send a detection response frame to the first wireless bridge; if it is determined that it is configured with a local area network identifier, or the signal strength of the received detection request frame is less than the set threshold, the detection request frame will not be processed, and then a detection response frame will be sent to the first wireless bridge.
[0131] When the probe request frame is sent in the form of broadcast, other second wireless bridges that do not need to be networked with the first wireless bridge may also receive the probe request frame. However, for these second wireless bridges, they may be configured with a local area network identifier, or the signal strength of the received probe request frame is less than the set threshold. Therefore, for these wireless bridges, after determining that the working mode in the probe request frame is the first network configuration mode, they will not set their own working mode and service set identifier according to the working mode indication information and the target service set identifier in the probe request frame, but will keep the working mode and service set identifier before receiving the probe request frame unchanged, that is, do not process the probe request frame, and then send a probe response frame to the first wireless bridge.
[0132] Because in the first network configuration mode, the wireless bridge logged in by the user is used as the wireless access point by default, and the service set identifier of the first wireless bridge is the target service set identifier, therefore, in response to the detection response frame sent by at least one wireless bridge, the service set identifier configuration of the first wireless bridge remains unchanged, and the working mode is configured as the wireless access point mode.
[0133] At this point, the working mode and service set identifier configuration of the first wireless bridge and at least one second wireless bridge is completed, and the wireless bridges are automatically configured, where the first wireless bridge acts as a wireless access point and at least one second wireless bridge acts as a customer premises device.
[0134] If the networking scheme designed by the user is to perform network configuration for a wireless bridge that has been networked, the second network configuration mode is selected, and in the wireless bridge list, a target second wireless bridge is selected from at least one second wireless bridge that needs to be networked with the first wireless bridge, the working mode of the target second wireless bridge is set, and the network access password of the target second wireless bridge that is not in the same local area network as the first wireless bridge is filled in, and the target service set identifier on the Web UI display interface of the first wireless bridge is filled in with the service set identifier of the wireless bridge that serves as the wireless access point in the networking scheme designed by the user, and then the one-key network configuration button is clicked to trigger the first wireless bridge to execute step 303.
[0135] The above working modes include wireless access point mode (AP mode) or customer premise equipment mode (CPE mode). When setting the working mode of the target second wireless bridge, if the current working mode of a target second wireless bridge is wireless access point mode, but in the networking solution designed by the user, its corresponding working mode is customer premise equipment mode, then its working mode is selected as customer premise equipment mode in the wireless bridge list; if the current working mode of a target second wireless bridge is the same as the working mode in the networking solution designed by the user, then it remains unchanged. Since wireless bridges do not belong to the same local area network, only when the local area network verification password is correct can the wireless bridge open the network configuration permission and configure the network with other wireless bridges. Therefore, for the target second wireless bridge that does not belong to the same local area network as the first wireless bridge, it is also necessary to fill in the network access password of the target second wireless bridge.
[0136] In a specific implementation process, the probe request frame may be broadcast on all available channels in a broadcast manner.
[0137] Corresponding to the aforementioned embodiment 2, the working mode indication information in the detection request frame sent by the first wireless bridge includes: the second network configuration mode, and the device identifier, network access password and target working mode identifier corresponding to the target second wireless bridge in at least one second wireless bridge; the target service set identifier is the service set identifier of the wireless bridge serving as a wireless access point in the networking scheme designed by the user, which may be the service set identifier of the first wireless bridge, or it may be the service set identifier of a wireless bridge in the target second wireless bridge, which is specifically determined by the networking scheme designed by the user.
[0138] The working mode indication information is used to instruct the target second wireless bridge to parse out the device identifier, and after verifying that the network access password is correct, configure the working mode to the working mode corresponding to the target working mode identifier, configure the service set identifier to the target service set identifier, and then send a detection response frame to the first wireless bridge. The above-mentioned target second wireless bridge parses out the device identifier, which can be understood as the target second wireless bridge parsing out its own device identifier from the working mode indication information.
[0139] The above-mentioned working mode indication information is also used to indicate that the second wireless bridge that has not resolved the device identifier or has verified the network access password incorrectly does not process the probe request frame, and then sends a probe response frame to the first wireless bridge. Wherein, the failure to resolve the device identifier means that the second wireless bridge has not resolved its own device identifier from the working mode indication information; the aforementioned second wireless bridge includes a target second wireless bridge and a second wireless bridge that does not need to be networked with the first wireless bridge but can receive the probe request frame; not processing the probe request frame means not setting its own working mode and service set identifier according to the working mode indication information and the target service set identifier in the probe request frame, and keeping the working mode and service set identifier before receiving the probe request frame unchanged.
[0140] In response to the probe response frame sent by at least one wireless bridge, the first wireless bridge configures the service set identifier as the target service set identifier, and determines the working mode of the first wireless bridge according to the working mode corresponding to at least one second wireless bridge.
[0141] Specifically, when the first wireless bridge determines the working mode of the first wireless bridge according to the working mode corresponding to at least one second wireless bridge, if at least one second wireless bridge includes a wireless bridge whose working mode is a wireless access point mode, the working mode of the first wireless bridge is determined to be a customer premise equipment mode; if at least one second wireless bridge does not include a wireless bridge whose working mode is a wireless access point mode, the working mode of the first wireless bridge is determined to be a wireless access point mode.
[0142] When configuring the working mode and service set identifier of the first wireless bridge, the user can manually configure it according to the designed networking solution; or the first wireless bridge can automatically configure it after receiving the probe response frame based on the information of the cached probe request frame when it sends the probe request frame. Specifically, if the target working mode corresponding to the target wireless bridge selected by the user in the cached probe request frame information includes the wireless access point mode, the first wireless bridge sets its own working mode to the customer premise equipment mode; if the target working mode corresponding to the target wireless bridge selected by the user in the cached probe request frame information does not include the wireless access point mode, the first wireless bridge sets its own working mode to the wireless access point mode; and configures the service set identifier to the target service set identifier in the probe request frame.
[0143] At this point, the working mode and service set identifier configuration of the first wireless bridge and at least one second wireless bridge are completed, the wireless bridges are automatically networked, the working modes of the first wireless bridge and the target second wireless bridge match the networking plan designed by the user, and the service set identifiers are all target service set identifiers, corresponding to the service set identifiers of the wireless bridges that serve as wireless access points in the networking plan designed by the user.
[0144] The above content is to explain the wireless bridge network configuration method provided by the embodiment of the present invention from the perspective of the wireless bridge logged in by the user. Figure 3 The first wireless bridge can execute all operations executed by the wireless bridge B in the aforementioned embodiment. For more detailed execution process and technical effects, please refer to the description in the aforementioned embodiment, which will not be repeated here.
[0145] Figure 4 Another wireless bridge network configuration method flow chart provided in an embodiment of the present invention is applied to any second wireless bridge in at least one second wireless bridge, at least one second wireless bridge is another wireless bridge that has not been logged in and needs to be networked with the first wireless bridge, the second wireless bridge corresponds to any one of the wireless bridge A and the wireless bridge C in the above embodiment, and the first wireless bridge corresponds to the wireless bridge B in the above embodiment. In response to the user clicking the scan button on the Web UI display interface of the first wireless bridge, as shown in FIG. Figure 4 As shown, the method comprises the following steps:
[0146] 401. Send a beacon frame including device description information, so that when a first wireless network bridge receives the beacon frame, it determines that it needs to form a network with at least one second wireless network bridge according to the device description information.
[0147] 402. Receive a probe request frame sent by a first wireless network bridge, where the probe request frame includes working mode indication information and a target service set identifier.
[0148] 403: Configure the working mode to be the working mode corresponding to the working mode indication information, and configure the service set identifier to be the target service set identifier.
[0149] 404. Send a probe response frame to the first wireless bridge, so that the first wireless bridge configures the service set identifier as the target service set identifier, and determines the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge.
[0150] The above working modes include: wireless access point mode, or customer premise equipment mode.
[0151] For the user to select a network configuration mode according to the designed networking plan, perform operations matching the selected network configuration mode on the Web UI display interface of the second wireless bridge, and trigger the first wireless bridge to send a detection request frame, the process can be referred to the aforementioned embodiment and will not be repeated here.
[0152] After receiving the probe request frame, the second wireless bridge needs to parse the probe request frame. It is understandable that, for network security considerations, the working mode indication information and target service set identifier contained in the probe request frame may need to pass preset verification conditions before they can be parsed, for example: the working mode indication information and target service set identifier contained in the probe request frame can only be parsed if the byte information of the identification network configuration function in the first wireless bridge successfully matches the byte information of the identification network configuration function in the probe request frame.
[0153] Corresponding to the aforementioned embodiment 1, after the second wireless bridge parses the working mode indication information and the target service set identifier contained in the detection request frame, if the working mode indication information includes: the first network configuration mode, the second wireless bridge determines whether it is configured with a local area network identifier. If the local area network identifier is not configured, the working mode is configured as the customer premise equipment mode; further, in order to improve the accuracy of the wireless bridge network configuration and the security of the network configuration, if the second wireless bridge determines that it is not configured with a local area network identifier, when it is determined that the signal strength of the detection request frame is greater than or equal to the set threshold, the working mode is configured as the customer premise equipment mode; the service set identifier is configured as the target service set identifier, that is, the service set identifier of the first wireless bridge, and then a detection response frame is sent to the first wireless bridge; if the local area network identifier is configured, or the signal strength of the detection request frame is less than the set threshold, the detection request frame is not processed, that is: the working mode and service set identifier of the second wireless bridge are not set according to the working mode indication information and the target service set identifier in the detection request frame, and the working mode and service set identifier before receiving the detection request frame are kept unchanged, and then a detection response frame is sent to the first wireless bridge. The aforementioned detection response frame is used to instruct the first wireless bridge to configure the working mode to the wireless access point mode.
[0154] At this point, the working mode and service set identifier configuration of the first wireless bridge and at least one second wireless bridge is completed, and the wireless bridges are automatically configured, where the first wireless bridge acts as a wireless access point and at least one second wireless bridge acts as a customer premises device.
[0155] Corresponding to the aforementioned embodiment 2, after the second wireless bridge parses the working mode indication information and the target service set identifier contained in the detection request frame, if the working mode indication information includes: the second network configuration mode and the device identifier corresponding to any second wireless bridge, the network access password and the target working mode identifier, the second wireless bridge determines whether the device identifier in the working mode indication information contains its own device identifier and whether the network access password is correct. It should be noted that the device identifier corresponding to any second wireless bridge in the working mode indication information refers to the device identifier corresponding to any second wireless bridge in the wireless bridge list of the first wireless bridge WebUI interface selected by the user, which needs to be networked with the first wireless bridge.
[0156] If the second wireless bridge resolves the device identifier, that is, resolves its own device identifier from the working mode indication information, and verifies that the network access password is correct, it configures the working mode to the working mode corresponding to the target working mode identifier, and then sends a probe response frame to the first wireless bridge; if the second wireless bridge fails to resolve its own device identifier from the working mode indication information, or verifies the network access password incorrectly, it does not process the probe request frame, that is: does not set its own working mode and service set identifier according to the working mode indication information and the target service set identifier in the probe request frame, keeps the working mode and service set identifier before receiving the probe request frame unchanged, and then sends a probe response frame to the first wireless bridge. The aforementioned probe response frame is used to instruct the first wireless bridge to configure the service set identifier as the target service set identifier, and determine the working mode of the first wireless bridge according to the working mode corresponding to at least one second wireless bridge.
[0157] The setting of the service set identifier and the working mode of the first wireless bridge may refer to the aforementioned embodiment and will not be described in detail here.
[0158] At this point, the working mode and service set identifier configuration of the first wireless bridge and at least one second wireless bridge are completed, the wireless bridges are automatically networked, the working modes of the first wireless bridge and at least one second wireless bridge match the networking plan designed by the user, and the service set identifiers are all target service set identifiers, corresponding to the service set identifiers of the wireless bridges that serve as wireless access points in the networking plan designed by the user.
[0159] The above content is to explain the wireless bridge network configuration method provided by the embodiment of the present invention from the perspective of other wireless bridges that have not logged in and need to be configured. Figure 4 The second wireless bridge can execute all operations executed by the wireless bridge A or the wireless bridge C in the aforementioned embodiments. For more detailed execution process and technical effects, please refer to the description in the aforementioned embodiments, which will not be repeated here.
[0160] In the solution provided by the embodiment of the present invention, when point-to-multipoint wireless bridge network configuration is required, the user logs in to any wireless bridge that needs to be configured. The bridge acts as a first wireless bridge device. First, beacon frames sent by multiple second wireless bridges are received. The beacon frames include device description information corresponding to the second wireless bridges. Then, at least one second wireless bridge that needs to be networked with the first wireless bridge is determined from the multiple second wireless bridges according to the device description information. Then, according to the networking solution designed by the user, a corresponding network configuration mode is selected. On the Web of the logged-in wireless bridge, the user logs in to the wireless bridge and receives the beacon frames sent by the second wireless bridges. The corresponding operation is performed on the display interface of the UI, triggering the first wireless bridge to send a detection request frame to at least one second wireless bridge, wherein the detection request frame includes working mode indication information and a target service set identifier corresponding to the network configuration mode and the operation performed by the user, so that the at least one second wireless bridge configures the working mode to the working mode corresponding to the working mode indication information, and configures the service set identifier to the target service set identifier; finally, the first wireless bridge configures the service set identifier to the target service set identifier in response to the detection response frame sent by the at least one wireless bridge, and determines the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge.
[0161] Based on the solution provided by the embodiment of the present invention, when performing point-to-multipoint wireless bridge configuration, the user only needs to log in to the Web UI of any wireless bridge that needs to be configured. The wireless bridge that needs to be configured can configure its own working mode and target service set identifier according to the information corresponding to the beacon frame, the detection request frame and the detection response frame to perform wireless bridge configuration. In this process, the configuration of the working mode and target service set identifier of the wireless bridge does not require the user to log in to each wireless bridge or dial a code for each wireless bridge, which reduces the operational complexity of the wireless bridge during point-to-multipoint configuration and improves the network configuration efficiency to a great extent. In addition, for some wireless bridges that have been configured, when it is inconvenient to disassemble and assemble them, but network rectification is required, the method provided by the embodiment of the present invention can rectify the network without disassembly and assembly. Therefore, the wireless bridge configuration method provided by the embodiment of the present invention also improves the convenience of wireless bridge networking.
[0162] The wireless bridge network configuration device of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these devices can be configured using commercially available hardware components through the steps taught in this solution.
[0163] Figure 5 A schematic diagram of the structure of a wireless bridge network configuration device provided by an embodiment of the present invention is applied to a first wireless bridge, such as Figure 5 As shown, the device includes: a receiving module 11, a processing module 12, and a sending module 13.
[0164] The receiving module 11 is used to receive beacon frames sent by multiple second wireless bridges, where the beacon frames include device description information corresponding to the second wireless bridges.
[0165] The processing module 12 is used to determine at least one second wireless bridge that needs to be networked with the first wireless bridge from multiple second wireless bridges according to the device description information; in response to the detection response frame sent by at least one wireless bridge, configure the service set identifier as the target service set identifier, and determine the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge.
[0166] The sending module 13 is used to send a detection request frame to at least one second wireless bridge, wherein the detection request frame includes working mode indication information and a target service set identifier, so that at least one second wireless bridge configures the working mode to the working mode corresponding to the working mode indication information and configures the service set identifier to the target service set identifier.
[0167] Optionally, the working mode includes: wireless access point mode, or customer premise equipment mode.
[0168] Optionally, the working mode indication information includes: a first network configuration mode, the first network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has not been configured with a network; the first network configuration mode is used to instruct at least one second wireless bridge that is not configured with a local area network identifier to configure the working mode to a customer premise equipment mode, and to instruct at least one second wireless bridge that is configured with a local area network identifier not to process a detection request frame.
[0169] Optionally, the first network configuration mode is also used to indicate that a second wireless bridge that is not configured with a local area network identifier in at least one second wireless bridge configures the working mode to a customer front-end device mode when it is determined that the signal strength of the detection request frame is greater than or equal to a set threshold, and to indicate that a second wireless bridge that is not configured with a local area network identifier in at least one second wireless bridge does not process the detection request frame when it is determined that the signal strength of the detection request frame is less than a set threshold.
[0170] Optionally, the processing module 12 is further configured to determine that the working mode of the first wireless bridge is a wireless access point mode.
[0171] Optionally, the working mode indication information includes: a second network configuration mode and a device identifier, a network access password and a target working mode identifier corresponding to a target second wireless bridge in at least one second wireless bridge, wherein the second network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has been configured, and the target second wireless bridge is any one of at least one second wireless bridge; the working mode indication information is used to instruct the target second wireless bridge to parse the device identifier, and after verifying that the network access password is correct, configure the working mode to the working mode corresponding to the target working mode identifier.
[0172] Optionally, the processing module 12 is also used to determine that the working mode of the first wireless bridge is the customer premise equipment mode if at least one second wireless bridge includes a wireless bridge whose working mode is the wireless access point mode; if at least one second wireless bridge does not include a wireless bridge whose working mode is the wireless access point mode, determine that the working mode of the first wireless bridge is the wireless access point mode.
[0173] Figure 5 The device shown can execute the steps introduced in the aforementioned embodiments. For detailed execution process and technical effects, please refer to the description in the aforementioned embodiments, which will not be repeated here.
[0174] Figure 6 A schematic diagram of the structure of another wireless bridge network configuration device provided by an embodiment of the present invention is applied to any second wireless bridge in at least one second wireless bridge, such as Figure 6 As shown, the device includes: a sending module 21, a receiving module 22, and a processing module 23.
[0175] The sending module 21 is used to send a beacon frame containing device description information, so that when the first wireless bridge receives the beacon frame, it determines that it needs to form a network with at least one second wireless bridge according to the device description information; send a detection response frame to the first wireless bridge, so that the first wireless bridge configures the service set identifier as the target service set identifier, and determines the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge;
[0176] The receiving module 22 is used to receive a detection request frame sent by the first wireless bridge, wherein the detection request frame includes working mode indication information and a target service set identifier;
[0177] The processing module 23 is used to configure the working mode to be the working mode corresponding to the working mode indication information, and configure the service set identifier to be the target service set identifier.
[0178] Optionally, the working mode includes: wireless access point mode, or customer premise equipment mode.
[0179] Optionally, the working mode indication information includes: a first network configuration mode, the first network configuration mode corresponds to a mode of network configuration for a wireless bridge that has not been configured; a detection response frame, used to instruct the first wireless bridge to configure the working mode to a wireless access point mode.
[0180] Optionally, the processing module 23 is further configured to, if the LAN identifier is not configured, configure the working mode to the customer premise equipment mode; if the LAN identifier is configured, not process the detection request frame.
[0181] Optionally, the processing module 23 is further configured to, if no LAN identifier is configured, configure the working mode to the customer premise equipment mode when it is determined that the signal strength of the detection request frame is greater than or equal to a set threshold.
[0182] Optionally, the working mode indication information includes: a second network configuration mode and a device identifier, a network access password and a target working mode identifier corresponding to any second wireless bridge, wherein the second network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has been configured.
[0183] Optionally, the processing module 23 is further configured to parse out the device identifier, and after verifying that the network access password is correct, configure the working mode to a working mode corresponding to the target working mode identifier.
[0184] Figure 6 The device shown can execute the steps introduced in the aforementioned embodiments. For detailed execution process and technical effects, please refer to the description in the aforementioned embodiments, which will not be repeated here.
[0185] In one possible design, the above Figure 5 and Figure 6 The structure of the wireless bridge network configuration device shown can be implemented as a wireless bridge, such as Figure 7 As shown, the wireless bridge also has Figure 5 and Figure 6 The functions of the device shown in the figure, the wireless bridge may include: a processor 31, a memory 32, and a communication interface 33. The memory 32 stores executable code, and when the executable code is executed by the processor 31, the processor 31 can at least implement the wireless bridge network configuration method provided in the above embodiment.
[0186] In addition, an embodiment of the present invention provides a non-temporary machine-readable storage medium, on which executable code is stored. When the executable code is executed by a processor of an electronic device, the processor can at least implement the wireless bridge network configuration method provided in the aforementioned embodiment.
[0187] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.
[0188] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0189] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A wireless bridge network configuration method, characterized in that: Applied to a first wireless bridge, the method comprises: Receiving beacon frames sent by a plurality of second wireless network bridges, wherein the beacon frames include device description information corresponding to the second wireless network bridges; Determine at least one second wireless network bridge that needs to be networked with the first wireless network bridge from the plurality of second wireless network bridges according to the device description information; Sending a probe request frame to the at least one second wireless bridge, the probe request frame including working mode indication information and a target service set identifier, so that the at least one second wireless bridge configures the working mode to the working mode corresponding to the working mode indication information, and configures the service set identifier to the target service set identifier; the working mode includes: wireless access point mode, or customer premise equipment mode, the working mode indication information includes: a first network configuration mode, the first network configuration mode corresponds to a mode of performing network configuration for a wireless bridge that has not been configured with a network; the first network configuration mode is used to instruct the second wireless bridge that is not configured with a local area network identifier among the at least one second wireless bridge to configure the working mode to the customer premise equipment mode, and to instruct the second wireless bridge that is configured with a local area network identifier among the at least one second wireless bridge not to process the probe request frame; In response to the probe response frame sent by the at least one wireless bridge, the service set identifier is configured as the target service set identifier, and the working mode of the first wireless bridge is determined according to the working mode corresponding to the at least one second wireless bridge.
2. The method according to claim 1, characterized in that The first network configuration mode is also used to indicate that a second wireless bridge among the at least one second wireless bridge is not configured with a local area network identifier, and when it is determined that the signal strength of the detection request frame is greater than or equal to a set threshold, the second wireless bridge configures the working mode to the customer premise equipment mode, and indicates that a second wireless bridge among the at least one second wireless bridge is not configured with a local area network identifier, and when it is determined that the signal strength of the detection request frame is less than a set threshold, the second wireless bridge does not process the detection request frame.
3. The method according to claim 1, characterized in that: The determining the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge includes: Determine that the working mode of the first wireless bridge is a wireless access point mode.
4. The method according to claim 1, characterized in that: The working mode indication information includes: a second network configuration mode and a device identifier, a network access password, and a target working mode identifier corresponding to a target second wireless bridge in the at least one second wireless bridge, wherein the second network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has been configured, and the target second wireless bridge is any one of the at least one second wireless bridge; The working mode indication information is used to instruct the target second wireless network bridge to parse the device identifier and configure the working mode to the working mode corresponding to the target working mode identifier after verifying that the network access password is correct.
5. The method according to claim 4, characterized in that The determining the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge includes: If the at least one second wireless bridge includes a wireless bridge whose working mode is a wireless access point mode, determining that the working mode of the first wireless bridge is a customer premise equipment mode; If the at least one second wireless bridge does not include a wireless bridge whose working mode is a wireless access point mode, it is determined that the working mode of the first wireless bridge is a wireless access point mode.
6. A wireless bridge network configuration device, characterized in that: Applied to a first wireless bridge, the device comprises: A receiving module, configured to receive beacon frames sent by a plurality of second wireless network bridges, wherein the beacon frames include device description information corresponding to the second wireless network bridges; A processing module, used to determine at least one second wireless bridge that needs to be networked with the first wireless bridge from the multiple second wireless bridges according to the device description information; in response to the detection response frame sent by the at least one wireless bridge, configure the service set identifier as the target service set identifier, and determine the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge; the working mode includes: wireless access point mode, or customer premise equipment mode, and the working mode indication information includes: a first network configuration mode, the first network configuration mode corresponds to a mode of performing network configuration for a wireless bridge that has not been networked; the first network configuration mode is used to instruct the second wireless bridge that is not configured with a local area network identifier among the at least one second wireless bridge to configure the working mode to the customer premise equipment mode, and to instruct the second wireless bridge that is configured with a local area network identifier among the at least one second wireless bridge not to process the detection request frame; A sending module is used to send a detection request frame to the at least one second wireless bridge, wherein the detection request frame includes working mode indication information and the target service set identifier, so that the at least one second wireless bridge configures the working mode to the working mode corresponding to the working mode indication information and configures the service set identifier to the target service set identifier.
7. A wireless bridge network configuration method, characterized in that: Applied to any second wireless bridge of at least one second wireless bridge, the method comprises: Sending a beacon frame containing device description information, so that when the first wireless network bridge receives the beacon frame, it determines that it needs to form a network with the at least one second wireless network bridge according to the device description information; Receiving a probe request frame sent by the first wireless bridge, wherein the probe request frame includes working mode indication information and a target service set identifier; Configuring the working mode to be the working mode corresponding to the working mode indication information, and configuring the service set identifier to be the target service set identifier, wherein the working mode includes: wireless access point mode, or customer premise equipment mode; Sending a probe response frame to the first wireless bridge, so that the first wireless bridge configures the service set identifier as the target service set identifier, and determines the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge; The working mode indication information includes: a first network configuration mode, the first network configuration mode corresponds to a mode of performing network configuration for a wireless bridge that has not been network configured; and configuring the working mode to a working mode corresponding to the working mode indication information includes: If no LAN ID is configured, the working mode is configured as customer front-end device mode; If a local area network identifier is configured, the probe request frame is not processed.
8. The method according to claim 7, characterized in that The detection response frame is used to instruct the first wireless bridge to configure the working mode to the wireless access point mode.
9. The method according to claim 7, characterized in that: If the LAN identifier is not configured, the working mode is configured as the customer front-end device mode, including: If the local area network identifier is not configured, when it is determined that the signal strength of the detection request frame is greater than or equal to a set threshold, the working mode is configured as a customer premise equipment mode.
10. The method according to claim 7, characterized in that The working mode indication information includes: a second network configuration mode and a device identifier, a network access password and a target working mode identifier corresponding to the arbitrary second wireless bridge, wherein the second network configuration mode corresponds to a mode for performing network configuration for a wireless bridge that has been configured; The configuring the working mode to be a working mode corresponding to the working mode indication information includes: After parsing the device identifier and verifying that the network access password is correct, the working mode is configured to be a working mode corresponding to the target working mode identifier.
11. A wireless bridge network configuration device, characterized in that: Applied to any second wireless bridge in at least one second wireless bridge, the device comprises: A sending module, configured to send a beacon frame containing device description information, so that when the first wireless bridge receives the beacon frame, it determines the need to form a network with the at least one second wireless bridge according to the device description information; sends a detection response frame to the first wireless bridge, so that the first wireless bridge configures the service set identifier as the target service set identifier, and determines the working mode of the first wireless bridge according to the working mode corresponding to the at least one second wireless bridge, the working mode including: wireless access point mode, or customer premise equipment mode; A receiving module, configured to receive a probe request frame sent by the first wireless bridge, wherein the probe request frame includes working mode indication information and the target service set identifier; A processing module, configured to configure a working mode as a working mode corresponding to the working mode indication information, and configure a service set identifier as the target service set identifier; Among them, the working mode indication information includes: a first network configuration mode, which corresponds to a mode for performing network configuration for a wireless bridge that has not been configured; the processing module is specifically used to configure the working mode to a customer front-end device mode if a local area network identifier is not configured; if a local area network identifier is configured, the detection request frame is not processed.
12. A wireless bridge, characterized in that: include: A memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor executes the wireless bridge network configuration method as described in any one of claims 1 to 5 or 7 to 10.
13. A non-transitory machine-readable storage medium, characterized in that: The non-transitory machine-readable storage medium stores executable code, and when the executable code is executed by a processor of an electronic device, the processor executes the wireless bridge network configuration method as described in any one of claims 1 to 5 or 7 to 10.
