CN109951870B - Channel configuration method of WIFI router, storage medium and router - Google Patents

Channel configuration method of WIFI router, storage medium and router Download PDF

Info

Publication number
CN109951870B
CN109951870B CN201711391236.2A CN201711391236A CN109951870B CN 109951870 B CN109951870 B CN 109951870B CN 201711391236 A CN201711391236 A CN 201711391236A CN 109951870 B CN109951870 B CN 109951870B
Authority
CN
China
Prior art keywords
channel
hotspot
wifi router
interface
wifi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711391236.2A
Other languages
Chinese (zh)
Other versions
CN109951870A (en
Inventor
吴敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201711391236.2A priority Critical patent/CN109951870B/en
Publication of CN109951870A publication Critical patent/CN109951870A/en
Application granted granted Critical
Publication of CN109951870B publication Critical patent/CN109951870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a channel configuration method of a WIFI router, a storage medium and the router, wherein the method comprises the steps of acquiring hotspot distribution of all channels and generating a hotspot distribution table with the channels as indexes when receiving an instruction of configuring the router, and displaying the hotspot distribution table on a display interface, so that a user can select the channels according to the hotspot distribution condition corresponding to each channel, thereby realizing that the user sets the channels by himself, avoiding the channels with dense hotspot distribution, reducing the problem of WIFI collision, and improving the performance of WIFI communication.

Description

Channel configuration method of WIFI router, storage medium and router
Technical Field
The present invention relates to the field of router technologies, and in particular, to a channel configuration method for a WIFI router, a storage medium, and a router.
Background
With the application and popularization of the WIFI wireless transmission technology, the WIFI router is an indispensable device for establishing a wireless local area network as a data access center. Meanwhile, the configuration of the WIFI router determines the connection access attribute of the WIFI workstation. And the configuration of the WIFI router is completed, and the specific attribute of the wireless local area network where the WIFI router is located is correspondingly determined, such as a WIFI network name, a WIFI working channel, a WIFI encryption mode, a WIFI encryption key and the like.
However, as the number of WIFI networks is increased, the distribution of WIFI hotspots is denser, especially in WIFI 2.4G networks, it often happens that multiple hotspots exist on the same working channel. In this situation, the WIFI router adopts a default channel, which causes a problem of poor WIFI effect due to WIFI hotspot collision.
Thus, the prior art has yet to be improved and enhanced.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a channel configuration method of a WIFI router, a storage medium, and a router, aiming at the deficiencies of the prior art, so as to solve the problem of WIFI hotspot collision caused by the default channel adopted by the existing router.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a channel configuration method of a WIFI router comprises the following steps:
when the WIFI router receives an access request, performing hotspot scanning on the full channel through a preset search interface;
dividing all the scanned hotspot information by taking a channel as suggestive to generate a hotspot distribution table;
updating a configuration interface of the WIFI router according to the hotspot distribution table, and displaying the updated configuration interface on a display interface of user equipment;
and monitoring a selection instruction sent by the user equipment within preset time, and configuring a channel corresponding to the monitored selection instruction as a channel of the WIFI router.
The channel configuration method of the WIFI router, wherein when the WIFI router receives an access request, the method comprises the following steps of before performing hotspot scanning on all channels through a preset search interface:
when a WIFI router is started, initializing the WIFI router to load a configured WIFI driver of the WIFI router;
and creating a search interface on an AP physical interface of the WIFI router through the WIFI driver, wherein the search interface is used for STA scanning and connection.
The channel configuration method of the WIFI router, wherein when the WIFI router receives an access request, performing hotspot scanning on a full channel through a preset search interface specifically includes:
when the WIFI router receives an access request, displaying a configuration interface of the WIFI router on a display interface of user equipment according to the access request, wherein the configuration interface is in an unavailable state;
and calling the search interface, and performing hotspot scanning on the full channel through the search interface.
The channel configuration method of the WIFI router, wherein the performing hotspot scanning on the full channel through the search interface specifically includes:
acquiring channels contained in the full channels, and sequencing all the acquired channels to generate a channel sequence;
and sequentially acquiring the hot spot signals of all the channels according to the channel sequence so as to perform hot spot scanning on all the channels.
The channel configuration method of the WIFI router, wherein the sequentially acquiring hotspot signals of each channel according to the channel sequence to perform hotspot scanning on all channels specifically includes:
sending a search request packet into the first channel according to the channel sequence, and acquiring a search response packet received in a preset time period;
and acquiring hotspot information of the first channel according to the acquired search response packet, sending a search request packet to the second channel, and repeating the steps until the last channel to complete hotspot scanning of the whole channel.
The channel configuration method for the WIFI router, wherein the updating the configuration interface of the WIFI router according to the hotspot distribution table, and displaying the updated configuration interface on a display interface of the user equipment specifically includes:
adding the hotspot distribution table to a configuration interface of the WIFI router to update the configuration interface;
and displaying the updated configuration interface on a display interface of the user equipment, and setting the updated configuration interface to be in an available state.
The channel configuration method of the WIFI router, wherein the dividing all the scanned hotspot information by taking a channel as suggestive to generate a hotspot distribution table specifically includes:
dividing all the scanned hotspots according to channels to obtain hotspot information contained in each channel;
and associating each channel with the hotspot information contained in the channel and storing the channel in a list so as to generate a hotspot distribution table taking the channel as an index.
The channel configuration method of the WIFI router, wherein the method further comprises the following steps:
when the selecting instruction is not monitored, determining the number of hot spots contained in each channel and the channel intensity according to the hot spot distribution table;
and selecting channels according to the number of the hot spots and the channel strength, and configuring the selected channels as the channels of the WIFI router.
A computer readable storage medium, wherein the computer readable storage medium stores one or more programs, which are executable by one or more processors, to implement the steps in the channel configuration method of a WIFI router as described in any of the above.
A router, comprising: the device comprises a processor, a memory and a communication bus, wherein the memory is stored with a computer readable program which can be executed by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the channel configuration method of the WIFI router as described in any one of the above.
Has the advantages that: compared with the prior art, the method comprises the steps of acquiring hotspot distribution of all channels and generating a hotspot distribution table with the channels as indexes when an instruction for configuring the router is received, and displaying the hotspot distribution table on a display interface, so that a user can select the channels according to hotspot distribution conditions corresponding to the channels, the channel can be set by the user, the channels with dense hotspot distribution can be avoided, the problem of WIFI collision is reduced, and the performance of WIFI communication is improved.
Drawings
Fig. 1 is a flowchart of a channel configuration method of a WIFI router according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart of a process of creating a search interface in the channel configuration method of the WIFI router provided in the present invention.
Fig. 3 is a flowchart of step S10 in the channel configuration method of the WIFI router provided in the present invention.
Fig. 4 is a flowchart of step S20 in the channel configuration method of the WIFI router provided in the present invention.
Fig. 5 is a flowchart of step S30 in the channel configuration method of the WIFI router provided in the present invention.
Fig. 6 is a flowchart of an embodiment of a channel configuration method of a WIFI router provided in the present invention.
Fig. 7 is a schematic structural diagram of a router according to the present invention.
Detailed Description
The present invention provides a channel configuration method for a WIFI router, a storage medium and a router, and in order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The invention will be further explained by the description of the embodiments with reference to the drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating a channel configuration method of a WIFI router according to a preferred embodiment of the present invention. The method comprises the following steps:
and S10, when the WIFI router receives the access request, performing hotspot scanning on the full channel through a preset search interface.
Specifically, the access request is sent to the WIFI router for a user device (e.g., a smartphone, a tablet, etc.), and the user device needs to establish a connection with the WIFI router first. And after connecting the user device with the router, the user may input an instruction to access the router configuration interface through the user device. Specifically, the manner of connecting the user equipment and the router may be implemented by referring to the prior art, and will not be described herein again. The instruction for accessing the router configuration interface may also be input in an existing manner, for example, a user may start a browser of the user equipment, and input an access address (e.g., 192.168.1.1 or 192.168.0.1) of the router configuration interface in the browser to implement the input of the instruction for accessing the router configuration interface, so that the WIFI router receives the access request.
The searching interface is configured on the AP physical interface when the WIFI router is started, so that hotspot scanning is performed on the full channel through the searching interface. That is, the search interface is preset for searching for STA scanning and connection. Correspondingly, as shown in fig. 2, before the step S10, a process of creating a search interface may be further included, and the process of creating the interface may include;
s01, when the WIFI router is started, initializing the WIFI router to load a configured WIFI driver of the WIFI router;
and S02, creating a search interface on an AP physical interface of the WIFI router through the WIFI driver, wherein the search interface is used for scanning and connecting the STA.
Specifically, the starting of the WIFI router refers to starting of the WIFI router, starting up the WIFI router, and after the starting of the WIFI router, conducting boot loader and loading of a kernel of an operating system built in the WIFI router so as to enter file system initialization. When a file system is initialized, loading a WIFI driver stored in the file system, configuring an AP function through the WIFI driver, and creating an STA interface wlan1 with a WIFI workstation function on a physical interface wlan0 corresponding to the AP function. Wherein, wlan0 interface is AP communication interface, wlan1 interface is STA scanning and connection hotspot interface, i.e. search interface. In addition, the function of creating the search interface on the physical interface corresponding to the AP function for the WIFI driver is not specifically described here.
Furthermore, after the search interface wlan1 has been created, the search interface wlan1 is initialized. Specifically, the initialization may be an initialization operation performed on the wlan1 by using a wireless configurator wpa _ supplicant, and an application layer configurator is associated with a WIFI driver, so that the wlan1 interface may use a core service program wpa _ supplicant of a wpa _ supplicant configuration tool, and the core service program wpa _ supplicant runs in the background, and its corresponding client program wpa _ cli is used as an application layer operation such as a scan hotspot, a set hotspot, and a connection hotspot, so that the wlan1 may perform hotspot scanning on a full channel.
Meanwhile, in this embodiment, when the WIFI router receives the access request, the configuration interface corresponding to the WIFI router needs to be displayed on the display interface of the user equipment, and at this time, the configuration interface does not perform full-channel hotspot scanning, so that the configuration interface can be set to a non-use state. Correspondingly, as shown in fig. 3, when the WIFI router receives the access request, the performing hotspot scanning on the full channel through the preset search interface specifically includes:
s11, when the WIFI router receives an access request, displaying a configuration interface of the WIFI router on a display interface of user equipment according to the access request, wherein the configuration interface is in an unavailable state;
and S12, calling the search interface, and carrying out hotspot scanning on the full channel through the search interface.
Specifically, the configuration interface is in an unavailable state, which indicates that the configuration interface is displayed on a display interface of the user equipment, and the configuration interface is in an inoperable state, for example, the configuration interface is in a locked state, or in a repeatedly refreshed state, etc. In addition, in the process that the configuration interface is in the unused state, the WIFI router performs hotspot scanning on the full channel through the search interface, that is, the interface calls a client program wpa _ cli of the wpa _ suppernant to perform the hotspot scanning operation on the full channel, so as to obtain hotspot information included in each channel, where the hotspot information may include hotspot number, hotspot identification, hotspot frequency, signal strength, and the like.
Further, the performing of the hot spot scanning on the channels refers to respectively scanning each channel in the full channels to obtain hot spot distribution information of each channel. Each channel contained in the full information is preset and configured with a number, and can be scanned one by one according to the number sequence. That is, all signals included in the full channel may be sorted according to the channel numbers, and the hot spot scanning may be sequentially performed according to the order generated by the sorting, so as to obtain the hot spot information of each channel. Correspondingly, the performing the hotspot scanning on the full channel through the search interface specifically includes: firstly, acquiring channels contained in a full channel, and sequencing all the acquired channels to generate a channel sequence; and secondly, sequentially acquiring the hot spot signals of each channel according to the channel sequence so as to perform hot spot scanning on all channels.
Further, for each channel, the hotspot information can be scanned by sending a search request packet. Correspondingly, the sequentially acquiring the hotspot signals of the channels according to the channel sequence to perform hotspot scanning on the full channel specifically includes: sending a search request packet into the first channel according to the channel sequence, and acquiring a search response packet received in a preset time period; and acquiring hotspot information of the first channel according to the acquired search response packet, sending a search request packet to the second channel, and repeating the steps until the last channel to complete hotspot scanning of the whole channel. And the preset time period is the residence time of each channel. The preset time period may be a transmission period of a beacon frame of the router, for example, 100ms. In addition, after hotspot information of hotspots is acquired according to the search response packet, the WIFI driver feeds all the collected hotspot information on each working channel back to the wpa _ supplicant program, and the WIFI router acquires the hotspot information received by the wpa _ supplicant so as to obtain all the hotspot information contained in the full channel
And S20, dividing all the scanned hotspot information by taking the channel as suggestive to generate a hotspot distribution table.
Specifically, all channels included in the full channel and all hotspot information included in each channel are stored in the hotspot distribution table, and each channel and the hotspot information included in each channel are stored correspondingly, so that the channel is an index of the hotspot distribution table, and all hotspot information included in the channel can be found according to the index.
For example, as shown in fig. 4, the specific dividing of all the scanned hotspot information by taking a channel as suggestive to generate the hotspot distribution table includes:
s21, dividing all scanned hotspots according to channels to obtain hotspot information contained in each channel;
and S22, associating each channel with the hotspot information contained in the channel, and storing the channel in a list to generate a hotspot distribution table with the channel as an index.
Specifically, each piece of hotspot information that may be stored in the hotspot distribution table may include a hotspot name SSID and WIFI received signal strength. Therefore, the number of hotspots contained in each signal, the name of each hotspot and the WIFI received signal strength rsi of each hotspot can be determined according to the hotspot distribution table, so that a user can select a required channel according to the hotspot distribution table, the channel is configured as a channel of the WIFI router, and the automatic configuration of the WIFI router channel is realized.
And S30, updating the configuration interface of the WIFI router according to the hotspot distribution table, and displaying the updated configuration interface on a display interface of user equipment.
Specifically, the updating of the configuration interface of the WIFI router according to the hotspot distribution table refers to adding the hotspot distribution table to the configuration interface, so that a user can obtain the hotspot distribution table. In this embodiment, a channel query key or an identifier may be added in the configuration interface, the hotspot distribution table may be called by selecting the channel query key, and hotspot information included in each channel may be determined by using the hotspot distribution table. In addition, each channel query key may also be displayed on the configuration interface, the channel query keys are correlated with the hotspot distribution table, and the hotspot information of all hotspots included in the corresponding channel may be directly invoked through each channel query key, for example, a user selects any one working channel on the WIFI router configuration interface, traverses the hotspot distribution table with the selected working channel as an index value, and displays the hotspot information (e.g., hotspot name ssid and WIFI received signal strength rsi) of all hotspots on the selected channel on the display interface. Of course, the display interface may adopt a UI presentation manner such as window pop-up or list enumeration.
Further, since the configuration interface displayed on the user equipment is in an unavailable state, the configuration interface needs to be set to an available state after the configuration interface is updated according to the hotspot distribution table, and the hotspot condition of each signal can be acquired through the configuration interface. Correspondingly, as shown in fig. 5, the updating the configuration interface of the WIFI router according to the hotspot distribution table, and displaying the updated configuration interface on a display interface of the user equipment specifically includes:
s31, adding the hotspot distribution table to a configuration interface of the WIFI router to update the configuration interface;
and S32, displaying the updated configuration interface on a display interface of the user equipment, and setting the updated configuration interface to be in an available state.
Specifically, the available state refers to that a user can operate the configuration interface to set the WIFI router through the configuration interface.
S40, monitoring a selection instruction sent by the user equipment within preset time, and configuring a channel corresponding to the monitored selection instruction as a channel of the WIFI router.
Specifically, the preset time is preset and is used for judging whether a user configures a channel by himself or herself, and if a selection instruction for selecting the channel is monitored within the preset time, the channel is configured for the WIFI router according to the instruction. The hotspot distribution table may further include channel states of the channels, so that the user may select a channel according to the channel state, thereby prompting the user. For example, if there are 8 hotspots in channel 1, it is suggested that the number of hotspots is too large; and the channel 2 has 1 hotspot, the channel strength is-30 dbm, and strong interference exists when the hotspot is close to the WIFI router. In addition, if the selection instruction for selecting the channel is not monitored, the default channel mode of the WIFI router can be adopted for configuration.
In addition, in an embodiment of the present invention, when the selection instruction is not monitored, the channel may be automatically selected according to the hotspot state of each channel, that is, the channel may be automatically selected according to the number of hotspots included in each channel and the WIFI received signal strength rssi. The process of automatically selecting the channel according to the number of hot spots included in each channel and the WIFI received signal strength rssi may be that, firstly, according to the number of hot spots of each channel, the channel with the smallest number of hot spots is selected as an optimal channel selection scheme, and if there are a plurality of channels with the same number of hot spots, the channel with the smallest average signal strength of the hot spots on each channel is selected as a final channel selection scheme. Correspondingly, the channel configuration method of the WIFI router includes the steps of the foregoing embodiment, as shown in fig. 6, the method further includes:
s50, when the selection instruction is not monitored, determining the number of hot spots contained in each channel and the channel strength according to the hot spot distribution table;
and S60, selecting channels according to the number of the hot spots and the channel strength, and configuring the selected channels as the channels of the WIFI router.
Specifically, when the selecting instruction is not monitored, the hot spot distribution table may be traversed, the number of hot spots included in each channel and the channel strength are calculated according to each channel index, and the calculation result is stored in the preset channel configuration table with the channel as an index, where the number of hot spots is the total number of all hot spots included in the channel; the channel strength is the average of the signal strengths of all hotspots on the channel, i.e., the channel strength = the sum of the signal strengths of all hotspots/the number of hotspots. After the channel configuration table is generated, selecting information containing the lowest hotspot data, and when one channel is selected, configuring the channel as the information of the WIFI router; and when more than one channel is selected, the signal intensity of each selected channel is obtained, and the channel with the lowest signal intensity is configured as the information of the WIFI router. For example, track 1, number of hot spots 3, average signal strength (signal strength per hot spot of channel 1/number of hot spots of channel 1) -45dbm; channel 2, hot spot number 3, average signal strength-60 dbm, channel 3, hot spot number 4, average signal strength-49 dbm, channel 4, hot spot number 7, average signal strength-66 dbm according to the automatic channel selection principle, the number of the hot spots of channel 1 and channel 2 is at least 3, channel 1 and channel 2 are taken as the optimal alternative, and then-45 dbm with the least average signal strength, namely channel 1, is selected as the final channel selection scheme. In addition, after configuration is completed, configuration information can be displayed and configured on an interface for a user to view.
Based on the channel configuration method of the WIFI router, the present invention further provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs are executable by one or more processors to implement the steps in the channel configuration method of the WIFI router according to the foregoing embodiment.
Based on the channel configuration method of the WIFI router, the present invention further provides a router, as shown in fig. 7, which includes at least one processor (processor) 20; a display screen 21; and a memory (memory) 22, and may further include a communication Interface (Communications Interface) 23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 30 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the mobile terminal are described in detail in the method, and are not stated herein.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A channel configuration method of a WIFI router is characterized by comprising the following steps:
when the WIFI router receives an access request, performing hotspot scanning on the full channel through a preset search interface;
dividing all the scanned hotspot information by taking a channel as suggestive to generate a hotspot distribution table;
updating a configuration interface of the WIFI router according to the hotspot distribution table, and displaying the updated configuration interface on a display interface of user equipment;
monitoring a selection instruction sent by user equipment within preset time, and configuring a channel corresponding to the monitored selection instruction as a channel of the WIFI router;
when the selection instruction is not monitored, traversing the hot spot distribution table, calculating the number of hot spots and the channel strength contained in each channel according to each channel index, and storing the calculation result in a preset channel configuration table by taking the channel as the index, wherein the number of the hot spots is the total number of all the hot spots contained in the channel; the channel strength is the average value of the signal strengths of all hot spots on the channel; after a channel configuration table is generated, selecting information containing the lowest hotspot number, and when one channel is selected, configuring the channel as the information of the WIFI router; when more than one channel is selected, the signal intensity of each selected channel is obtained, and the channel with the lowest signal intensity is configured as the information of the WIFI router;
when the WIFI router receives an access request, the performing hotspot scanning on the full channel through the preset search interface specifically includes:
when the WIFI router receives an access request, displaying a configuration interface of the WIFI router on a display interface of user equipment according to the access request, wherein the configuration interface is in an unavailable state;
calling the search interface, and performing hotspot scanning on the full channel through the search interface;
the updating the configuration interface of the WIFI router according to the hotspot distribution table, and displaying the updated configuration interface on a display interface of the user equipment specifically includes:
adding the hotspot distribution table to a configuration interface of the WIFI router to update the configuration interface;
and displaying the updated configuration interface on a display interface of the user equipment, and setting the updated configuration interface to be in an available state.
2. The channel configuration method of the WIFI router of claim 1, wherein before the WIFI router receives the access request, performing hotspot scanning on the full channel through a preset search interface includes:
when a WIFI router is started, initializing the WIFI router to load a configured WIFI driver of the WIFI router;
and creating a search interface on an AP physical interface of the WIFI router through the WIFI driver, wherein the search interface is used for STA scanning and connection.
3. The channel configuration method of the WIFI router of claim 1, wherein the performing hotspot scanning on the full channel through the search interface specifically includes:
acquiring all channels contained in the full channel, and sequencing all the acquired channels to generate a channel sequence;
and sequentially acquiring the hot spot signals of each channel according to the channel sequence so as to perform hot spot scanning on the whole channel.
4. The channel configuration method of the WIFI router of claim 3, wherein the sequentially obtaining the hotspot signals of each channel according to the channel order to perform hotspot scanning on all channels specifically comprises:
sending a search request packet into the first channel according to the channel sequence, and acquiring a search response packet received in a preset time period;
and acquiring hotspot information of the first channel according to the acquired search response packet, sending a search request packet to the second channel, and repeating the steps until the last channel to complete hotspot scanning of the whole channel.
5. The channel configuration method of the WIFI router of claim 1, wherein the dividing all the scanned hotspot information by channels is suggestive to generate a hotspot distribution table specifically comprises:
dividing all the scanned hotspots according to channels to obtain hotspot information contained in each channel;
and associating each channel with the hotspot information contained in the channel and storing the channel in a list so as to generate a hotspot distribution table taking the channel as an index.
6. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the channel configuration method of the WIFI router of any of claims 1-5.
7. A router, comprising: a processor, a memory, and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the channel configuration method of the WIFI router of any of claims 1-5.
CN201711391236.2A 2017-12-21 2017-12-21 Channel configuration method of WIFI router, storage medium and router Active CN109951870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711391236.2A CN109951870B (en) 2017-12-21 2017-12-21 Channel configuration method of WIFI router, storage medium and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711391236.2A CN109951870B (en) 2017-12-21 2017-12-21 Channel configuration method of WIFI router, storage medium and router

Publications (2)

Publication Number Publication Date
CN109951870A CN109951870A (en) 2019-06-28
CN109951870B true CN109951870B (en) 2022-11-15

Family

ID=67004650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711391236.2A Active CN109951870B (en) 2017-12-21 2017-12-21 Channel configuration method of WIFI router, storage medium and router

Country Status (1)

Country Link
CN (1) CN109951870B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111200877B (en) * 2020-03-12 2022-12-20 深圳康佳电子科技有限公司 Network connection method, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028425A (en) * 2016-05-05 2016-10-12 深圳Tcl数字技术有限公司 Wireless communication connection control method and device
CN106792984A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 A kind of WIFI hot spot scanning connection control method and terminal
CN107466083A (en) * 2017-09-11 2017-12-12 上海斐讯数据通信技术有限公司 A kind of wireless router and its channel selecting method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104507113A (en) * 2015-01-04 2015-04-08 北京极科极客科技有限公司 Method for detecting wifi signal quality of all information channels

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028425A (en) * 2016-05-05 2016-10-12 深圳Tcl数字技术有限公司 Wireless communication connection control method and device
CN106792984A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 A kind of WIFI hot spot scanning connection control method and terminal
CN107466083A (en) * 2017-09-11 2017-12-12 上海斐讯数据通信技术有限公司 A kind of wireless router and its channel selecting method and system

Also Published As

Publication number Publication date
CN109951870A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
EP3934117A1 (en) Method for establishing service connection, bluetooth master device, chip, and bluetooth system
JP6231044B2 (en) Handling of application identification information of electronic subscriber identification module (eSIM)
CN109089327B (en) Wireless network connection method, device, terminal and storage medium
US10425980B2 (en) Method and apparatus for connecting to access point in portable terminal
RU2599382C1 (en) Method and apparatus for producing neighboring cell information
EP3193540B1 (en) Wireless communication method, processor and wireless terminal
US9426733B2 (en) Communication apparatus, method for controlling the communication apparatus, and storage medium
KR102294747B1 (en) Method and apparatus for connecting wireless lanof multi sim terminal
CN101568189A (en) Methods and apparatus for setting up wireless lan
US9894565B2 (en) Communication connection establishment method and mediation device
CN113286332B (en) Information transmission method and equipment
US20190335371A1 (en) Cell Reselection Method and Apparatus, and Frequency Information Management Method and Apparatus
CN111918256A (en) Intelligent device network distribution method and device based on Bluetooth and storage medium
EP3621347B1 (en) User equipment, base station, and random access method
CN111918350A (en) Wireless roaming method, device, equipment and storage medium
CN105940720B (en) It is a kind of to trigger the method for register machine protocol interaction, access point, website
CN108769982A (en) Processing method, device, equipment and the medium of terminal frequency range
CN105813221A (en) WIFI disconnected network reconnection method of intelligent device in WIFI wireless local network environment
WO2016123822A1 (en) Data transmission method and device, and terminal
CN109951870B (en) Channel configuration method of WIFI router, storage medium and router
US9801079B2 (en) Method and apparatus for obtaining neighboring cell information
US20150245275A1 (en) Wireless communication device, wireless communication method, and computer-readable recording medium storing program
CN111970750A (en) Multi-frequency WiFi identification method and device
US20190364610A1 (en) Method for Wi-Fi Connection and Related Products
US11012835B2 (en) Method and terminal for acquiring transmission resource in vehicle to everything

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