CN112218333B - Method and device for optimizing wireless relay networking - Google Patents
Method and device for optimizing wireless relay networking Download PDFInfo
- Publication number
- CN112218333B CN112218333B CN202011082195.0A CN202011082195A CN112218333B CN 112218333 B CN112218333 B CN 112218333B CN 202011082195 A CN202011082195 A CN 202011082195A CN 112218333 B CN112218333 B CN 112218333B
- Authority
- CN
- China
- Prior art keywords
- relay
- uplink
- working
- networking
- channel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000006855 networking Effects 0.000 title claims abstract description 49
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 claims abstract description 26
- 238000011144 upstream manufacturing Methods 0.000 claims description 3
- 230000003321 amplification Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003313 weakening effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a method and a device for optimizing wireless relay networking, wherein the method comprises the following steps: acquiring working channels and SSID information of an uplink AP; configuring a relay AP according to the working channel and SSID information, so that the relay AP works on the same channel as the uplink AP; networking the uplink AP and the relay AP; and if the connection is successful, changing the working mode of the relay AP into an automatic channel mode. The invention can shorten the networking time and avoid the problems of overtime connection and the like, thereby improving the use experience of users.
Description
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a method and an apparatus for optimizing wireless relay networking.
Background
The wireless signal coverage of the router is limited, the attenuation of obstacles is fast, the weakening of the signal can cause the wireless network to be blocked, and the user experience is seriously affected. A currently common solution is to extend the amplification of wireless signals by wireless relay. The router wireless generally works in an automatic channel mode, so that WiFi automatically selects a channel with small interference, and a wireless network is smoother.
In the wireless relay networking process, because more than ten channels exist in which the WiFi works, any channel in which the uplink AP can work is available, in an automatic channel mode, the WiFi driver does not know the channel in which the uplink AP works, the connection between each channel and the uplink AP can be tried, the connection time can be required to be several minutes sometimes, and the connection failure caused by overtime of upper application due to the too long connection time can greatly influence the use experience of a user.
Disclosure of Invention
Based on this, it is necessary to provide a method and apparatus for optimizing wireless relay networking, so as to shorten the networking time and avoid the problems of connection timeout and the like, thereby improving the use experience of users.
In order to achieve the above object, the present invention adopts the following technical scheme.
The invention provides a method for optimizing wireless relay networking, which comprises the following steps:
acquiring working channels and SSID information of an uplink AP;
configuring a relay AP according to the working channel and SSID information, so that the relay AP works on the same channel as the uplink AP;
networking the uplink AP and the relay AP;
and if the connection is successful, changing the working mode of the relay AP into an automatic channel mode.
In the above method, the step of obtaining the working channel and SSID information of the uplink AP specifically includes:
scanning a Wifi signal of an uplink AP and reporting the Wifi signal to an upper layer application;
and the upper layer application transmits the working channel and SSID information of the uplink AP to a Wifi driver.
In the above method, the step of configuring the relay AP according to the working channel and SSID information to make the relay AP work on the same channel as the uplink AP specifically includes:
and configuring the Wifi driver through an upper layer application, temporarily setting the working mode of the relay AP to be a fixed channel mode, and working on the same channel as the uplink AP.
In the above method, after the step of networking the uplink AP with the relay AP, the method further includes the steps of:
if the connection is unsuccessful, judging whether the connection is overtime;
if the connection is overtime, changing the working mode of the relay AP into an automatic channel mode;
if the connection is not overtime, continuing to execute the step of networking connection between the uplink AP and the relay AP.
The invention also provides a device for optimizing the wireless relay networking, which comprises the following steps:
the acquisition module is used for acquiring the working channel and SSID information of the uplink AP;
the configuration module is used for configuring the relay AP according to the working channel and the SSID information so that the relay AP works on the same channel as the uplink AP;
the networking module is used for networking the uplink AP with the relay AP;
and the mode changing module is used for changing the working mode of the relay AP into an automatic channel mode if the connection is successful.
In the above apparatus, the obtaining module is specifically configured to:
scanning a Wifi signal of an uplink AP and reporting the Wifi signal to an upper layer application;
and the upper layer application transmits the working channel and SSID information of the uplink AP to a Wifi driver.
In the above device, the configuration module is specifically configured to:
and configuring the Wifi driver through an upper layer application, temporarily setting the working mode of the relay AP to be a fixed channel mode, and working on the same channel as the uplink AP.
The device further comprises:
the judging module is used for judging whether the connection is overtime if the connection is not successful;
if the connection is overtime, changing the working mode of the relay AP into an automatic channel mode through the mode changing module;
if the connection is not overtime, the networking module continues to networking the uplink AP with the relay AP.
The wireless APs have more than ten optional working channels, different channels cannot be communicated, and when two wireless APs are not in a channel, networking connection cannot be performed. The relay AP needs to stay for a period of time in each channel to attempt to connect with the uplink AP in networking, and the time for attempting more than ten channels is long, even exceeds the timeout time of the upper layer application, so that networking fails. According to the invention, the working channels of the uplink AP are acquired, and the channels are temporarily set to be consistent with the uplink AP in the networking connection process, so that more than ten channels do not need to be switched to try to connect one by one, the connection time is greatly shortened, the networking time is short, the condition that the upper layer application is overtime does not occur, and the use experience of a user is improved.
Drawings
Fig. 1 is a flowchart of a method for optimizing wireless relay networking in the present embodiment;
fig. 2 is a block diagram of an apparatus for optimizing wireless relay networking in this embodiment.
The achievement of the objectives of the present invention, as well as its function and principles, will be further described in connection with the accompanying drawings in the detailed description.
Detailed Description
Further description will be made with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, the present embodiment provides a method for optimizing wireless relay networking, which mainly includes the following steps:
s1: acquiring working channels and SSID information of an uplink AP;
s2: configuring a relay AP according to the working channel and SSID information, so that the relay AP works on the same channel as the uplink AP;
s3: networking the uplink AP and the relay AP;
s4: and if the connection is successful, changing the working mode of the relay AP into an automatic channel mode.
The step S1 of obtaining the working channel and SSID information of the uplink AP specifically includes:
s11: scanning a Wifi signal of an uplink AP and reporting the Wifi signal to an upper layer application;
s12: and the upper layer application transmits the working channel and SSID information of the uplink AP to a Wifi driver.
The step S2 specifically comprises the following steps:
and configuring the Wifi driver through an upper layer application, temporarily setting the working mode of the relay AP to be a fixed channel mode, and working on the same channel as the uplink AP.
Then, step S3 is performed to connect to the upstream AP according to the SSID.
The WiFi drive of the relay AP and the uplink AP work on the same channel, and can be connected with the uplink AP successfully in a networking way quickly under normal conditions, so that more than ten channels do not need to be switched to try to connect one by one, and connection failure caused by overtime does not occur.
The embodiment further includes the following steps after step S3:
s5: if the connection is unsuccessful, judging whether the connection is overtime;
if the connection is overtime, the step S4 is carried out;
if the connection is not overtime, the step of connecting the uplink AP and the relay AP in the networking is continuously executed, namely, the step S3 is shifted.
As shown in fig. 2, the present invention further provides an apparatus 100 for optimizing wireless relay networking, including:
an acquisition module 10, configured to acquire working channels and SSID information of an uplink AP;
a configuration module 20, configured to configure a relay AP according to the working channel and SSID information, so that the relay AP works on the same channel as the uplink AP;
a networking module 30, configured to connect the uplink AP to the relay AP in a networking manner;
and a mode changing module 40, configured to change the working mode of the relay AP to an automatic channel mode if the connection is successful.
In the above-mentioned device 100 for optimizing wireless relay networking, the obtaining module 10 is specifically configured to:
scanning a Wifi signal of an uplink AP and reporting the Wifi signal to an upper layer application;
and the upper layer application transmits the working channel and SSID information of the uplink AP to a Wifi driver.
The configuration module 20 is specifically configured to:
and configuring the Wifi driver through an upper layer application, temporarily setting the working mode of the relay AP to be a fixed channel mode, and working on the same channel as the uplink AP.
The apparatus 100 for optimizing wireless relay networking of the present embodiment further includes:
a judging module 50, configured to judge whether the connection is overtime if the connection is unsuccessful;
if the connection is overtime, changing the working mode of the relay AP to an automatic channel mode through the mode changing module 40;
if the connection is not timed out, the uplink AP is continuously connected with the relay AP through the networking module 30.
In summary, more than ten optional working channels are available for the wireless APs, and different channels cannot be communicated, and when two wireless APs are not located in one channel, networking connection is not possible. The relay AP needs to stay for a period of time in each channel to attempt to connect with the uplink AP in networking, and the time for attempting more than ten channels is long, even exceeds the timeout time of the upper layer application, so that networking fails. According to the invention, the working channels of the uplink AP are acquired, and the channels are temporarily set to be consistent with the uplink AP in the networking connection process, so that more than ten channels do not need to be switched to try to connect one by one, the connection time is greatly shortened, the networking time is short, the condition that the upper layer application is overtime does not occur, and the use experience of a user is improved.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention.
Claims (6)
1. A method for optimizing wireless relay networking, comprising the steps of:
acquiring working channels and SSID information of an uplink AP;
configuring a relay AP according to the working channel and SSID information, so that the relay AP works on the same channel as the uplink AP;
networking the uplink AP and the relay AP;
if the connection is successful, changing the working mode of the relay AP into an automatic channel mode;
the step of acquiring the working channel and SSID information of the uplink AP specifically includes:
scanning a Wifi signal of an uplink AP and reporting the Wifi signal to an upper layer application;
and the upper layer application transmits the working channel and SSID information of the uplink AP to a Wifi driver.
2. The method of claim 1, wherein the step of configuring the relay AP according to the working channel and SSID information to enable the relay AP to operate on the same channel as the upstream AP specifically comprises:
and configuring the Wifi driver through an upper layer application, temporarily setting the working mode of the relay AP to be a fixed channel mode, and working on the same channel as the uplink AP.
3. The method of claim 1, wherein after the step of networking the upstream AP with the relay AP, further comprising the step of:
if the connection is unsuccessful, judging whether the connection is overtime;
if the connection is overtime, changing the working mode of the relay AP into an automatic channel mode;
if the connection is not overtime, continuing to execute the step of networking connection between the uplink AP and the relay AP.
4. An apparatus for optimizing wireless relay networking, comprising:
the acquisition module is used for acquiring the working channel and SSID information of the uplink AP;
the configuration module is used for configuring the relay AP according to the working channel and the SSID information so that the relay AP works on the same channel as the uplink AP;
the networking module is used for networking the uplink AP with the relay AP;
the mode changing module is used for changing the working mode of the relay AP into an automatic channel mode if the connection is successful;
the acquisition module is specifically configured to:
scanning a Wifi signal of an uplink AP and reporting the Wifi signal to an upper layer application;
and the upper layer application transmits the working channel and SSID information of the uplink AP to a Wifi driver.
5. The apparatus of claim 4, wherein the configuration module is specifically configured to:
and configuring the Wifi driver through an upper layer application, temporarily setting the working mode of the relay AP to be a fixed channel mode, and working on the same channel as the uplink AP.
6. The apparatus as recited in claim 4, further comprising:
the judging module is used for judging whether the connection is overtime if the connection is not successful;
if the connection is overtime, changing the working mode of the relay AP into an automatic channel mode through the mode changing module;
if the connection is not overtime, the networking module continues to networking the uplink AP with the relay AP.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011082195.0A CN112218333B (en) | 2020-10-12 | 2020-10-12 | Method and device for optimizing wireless relay networking |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011082195.0A CN112218333B (en) | 2020-10-12 | 2020-10-12 | Method and device for optimizing wireless relay networking |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112218333A CN112218333A (en) | 2021-01-12 |
| CN112218333B true CN112218333B (en) | 2023-09-01 |
Family
ID=74053232
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011082195.0A Active CN112218333B (en) | 2020-10-12 | 2020-10-12 | Method and device for optimizing wireless relay networking |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112218333B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101605330A (en) * | 2009-07-03 | 2009-12-16 | 中兴通讯股份有限公司 | Method and device for establishing connection of wireless distribution system |
| CN102204391A (en) * | 2011-05-27 | 2011-09-28 | 华为终端有限公司 | Repeater wps connection method and device |
| CN109982447A (en) * | 2019-03-07 | 2019-07-05 | 烽火通信科技股份有限公司 | A kind of networking method of wireless network, system and wireless aps |
| CN111683355A (en) * | 2020-05-11 | 2020-09-18 | 烽火通信科技股份有限公司 | Hybrid networking method and system |
-
2020
- 2020-10-12 CN CN202011082195.0A patent/CN112218333B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101605330A (en) * | 2009-07-03 | 2009-12-16 | 中兴通讯股份有限公司 | Method and device for establishing connection of wireless distribution system |
| CN102204391A (en) * | 2011-05-27 | 2011-09-28 | 华为终端有限公司 | Repeater wps connection method and device |
| CN109982447A (en) * | 2019-03-07 | 2019-07-05 | 烽火通信科技股份有限公司 | A kind of networking method of wireless network, system and wireless aps |
| CN111683355A (en) * | 2020-05-11 | 2020-09-18 | 烽火通信科技股份有限公司 | Hybrid networking method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112218333A (en) | 2021-01-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2664176B1 (en) | Terminal measurement configuration in carrier aggregation | |
| EP2995167B1 (en) | Avoiding idle-state transition for wlan-connected mobile terminal | |
| JP7596439B2 (en) | Method for monitoring and measuring wireless links, terminal device and network device | |
| US20150230180A1 (en) | Communication method for efficient power saving of ue-relay operation using d2d discovery in cellular system | |
| EP3167681A1 (en) | Method to improve channel access opportunity in a wireless communications system | |
| CN113271604A (en) | Beam failure recovery method, terminal device, network device and storage medium | |
| US8620312B2 (en) | Combined background and 20/40 coexistence scan | |
| EP4224957A1 (en) | Methods and apparatus for sidelink communications on unlicensed frequency bands | |
| US20170086226A1 (en) | Device and method of setting clear channel assessment threshold | |
| US20160057688A1 (en) | Handling uplink/downlink imbalance | |
| CN112385285B (en) | A random access method and device | |
| US12396027B2 (en) | Adapting maximum allowed CCA failures based on single occasion periodicity | |
| CN104469887A (en) | Wireless extended network control access method and system | |
| US9220024B2 (en) | Method and apparatus for adjusting a cell size in a wireless communication system | |
| US12484106B2 (en) | Method for switching a mobile station between two wireless access points of a communication network and associated connection-management device | |
| US20240031927A1 (en) | Signal level enhanced network selection at switch-on or recovery from lack of coverage | |
| CN117480849A (en) | A method and device for controlling random access, and terminal equipment | |
| CN105657734A (en) | Wireless intelligent roaming method, system and device | |
| CN112218333B (en) | Method and device for optimizing wireless relay networking | |
| WO2021031980A1 (en) | Radio link monitoring method and related apparatus | |
| EP3970411A1 (en) | Systems and methods for performing cell change to a target cell subject to clear channel assessment | |
| US20250048195A1 (en) | Radio Network Node, User Equipment and Methods Performed Therein | |
| EP2925045B1 (en) | Compression mode activation method, network side device and terminal device | |
| EP1944880B1 (en) | A method of controlling entry of terminals in wireless communication networks, corresponding terminal and computer program product | |
| CN116133026B (en) | Measurement and measurement configuration method, terminal and network equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |