CN110392375A - WiFi network channel amending method, terminal, server and storage medium - Google Patents
WiFi network channel amending method, terminal, server and storage medium Download PDFInfo
- Publication number
- CN110392375A CN110392375A CN201810350663.4A CN201810350663A CN110392375A CN 110392375 A CN110392375 A CN 110392375A CN 201810350663 A CN201810350663 A CN 201810350663A CN 110392375 A CN110392375 A CN 110392375A
- Authority
- CN
- China
- Prior art keywords
- channel
- wireless routing
- manufacturer
- routing device
- control
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
- H04L41/0266—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application discloses a kind of WiFi network channel amending method, terminal, server and storage mediums, belong to field of wireless.This method comprises:, according to the MAC Address for the wireless routing device being currently accessed, obtaining the identification of the manufacturer of wireless routing device corresponding device manufacturer when receiving channel modification signal;Control script acquisition request is sent to server, controlling includes identification of the manufacturer in script acquisition request;Receive at least one control script of the correspondence identification of the manufacturer of server feedback;Control script is executed, and sends control instruction to wireless routing device, control instruction is used to indicate the channel of wireless routing device modification WiFi network.The embodiment of the present application simplifies the process of modification channel, improves the efficiency of modification channel.
Description
Technical field
The invention relates to radio network technique field, in particular to a kind of Wireless Fidelity (Wireless-
Fidelity, WiFi) network channel amending method, terminal, server and storage medium.
Background technique
With the continuous development of Internet technology, demand of the people to network is also higher and higher.By setting up wireless routing
Equipment, user can carry out internet access using network at home.
In 802.11 network standard protocols, the channel of WiFi network is divided into 13, wireless routing device wherein one
Emit wireless network signal on a channel, wherein wireless routing device default uses the 6th channel.However, when multiple adjacent
When WiFi network uses same channel, multiple WiFi networks will be carried out data transmission by the way of seizing channel, cause channel
Congestion, and then influence network access speed.In order to reduce the interference of adjacent cochannel WiFi network, user can pacify in the terminal
The dedicated management application program for filling wireless routing device, to be used using the dedicated management application modification WiFi network
Channel.
However, different vendor only can develop corresponding dedicated management application program for the wireless routing device of its production, when
When user needs the wireless routing device to multiple and different brands to be managed, need to download and install multiple dedicated management applications
Program, leads to that management process is cumbersome and the efficiency of management is lower.
Summary of the invention
The embodiment of the present application provides a kind of WiFi network channel amending method, terminal, server and storage medium, can be with
When solution is managed the wireless routing device of different brands, needs to download and install multiple dedicated management application programs, lead
Cause the problem that management process is cumbersome and the efficiency of management is lower.The technical solution is as follows:
In a first aspect, providing a kind of WiFi network channel amending method, which comprises
When receiving channel modification signal, according to the media access control (Media for the wireless routing device being currently accessed
Access Control, MAC) address, obtain the identification of the manufacturer of wireless routing device corresponding device manufacturer;
Control script acquisition request is sent to server, includes the identification of the manufacturer in the control script acquisition request;
Receive at least one described control script of the correspondence identification of the manufacturer of the server feedback, the control foot
This modifies the operation of channel for simulating in wireless routing device administration interface, and different control scripts corresponds to different model
Wireless routing device;
The control script is executed, and sends control instruction to the wireless routing device, the control instruction is for referring to
Show the channel of the wireless routing device modification WiFi network.
Second aspect provides a kind of WiFi network channel amending method, which comprises
The control script acquisition request that terminal is sent is received, includes that the terminal is current in the control script acquisition request
The identification of the manufacturer of the wireless routing device corresponding device manufacturer of access, the identification of the manufacturer is by the terminal according to the no route
It is determined by the MAC Address of equipment;
At least one corresponding control script of the device manufacturer is obtained according to the identification of the manufacturer, the control script is used
The operation of channel is modified in wireless routing device administration interface in simulation, and different control scripts corresponds to the nothing of different model
Line routing device;
Feed back at least one described control script to the terminal, the terminal for executing the control script, and to
The wireless routing device sends control instruction, and the control instruction is used to indicate the wireless routing device modification WiFi network
Channel.
The third aspect, provides a kind of WiFi network channel modification device, and described device includes:
Identifier acquisition module, for when receive channel modification signal when, according to the wireless routing device being currently accessed
MAC Address obtains the identification of the manufacturer of wireless routing device corresponding device manufacturer;
Request sending module controls script acquisition request for sending to server, in the control script acquisition request
Include the identification of the manufacturer;
Script receiving module, at least one described control of the correspondence identification of the manufacturer for receiving the server feedback
Script processed, the control script are used to simulate the operation that channel is modified in wireless routing device administration interface, and different controls
Script processed corresponds to the wireless routing device of different model;
Execution module sends control instruction for executing the control script, and to the wireless routing device, and control refers to
Enable the channel for being used to indicate the wireless routing device modification WiFi network.
Fourth aspect, provides a kind of WiFi network channel modification device, and described device includes:
Request receiving module, for receiving the control script acquisition request of terminal transmission, the control script acquisition request
In the identification of the manufacturer of wireless routing device corresponding device manufacturer that is currently accessed comprising the terminal, the identification of the manufacturer is by described
Terminal is determined according to the MAC Address of the wireless routing device;
Script obtains module, for obtaining at least one corresponding control foot of the device manufacturer according to the identification of the manufacturer
This, the control script is used to simulate the operation that channel is modified in wireless routing device administration interface, and different control feet
The wireless routing device of this correspondence different model;
Script feedback module, for feeding back at least one described control script to the terminal, the terminal is for executing
The control script, and control instruction is sent to the wireless routing device, the control instruction is used to indicate the no route
By the channel of apparatus modifications WiFi network.
5th aspect, provides a kind of terminal, the terminal includes processor and memory, is stored in the memory
At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute
Code set or instruction set is stated to be executed by the processor to realize WiFi network channel amending method as described in relation to the first aspect.
6th aspect, provides a kind of server, the terminal includes processor and memory, is stored in the memory
Have at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu,
The code set or instruction set are executed as the processor to realize the WiFi network channel amending method as described in second aspect
7th aspect, provides a kind of computer readable storage medium, at least one finger is stored in the storage medium
Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or
Instruction set is executed by the processor to realize WiFi network channel amending method as described in relation to the first aspect.
Eighth aspect provides a kind of computer readable storage medium, at least one finger is stored in the storage medium
Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or
Instruction set is executed as the processor to realize the WiFi network channel amending method as described in second aspect.
9th aspect, provides a kind of computer program product, when the computer program product is performed, is used to hold
WiFi network channel amending method described in the above-mentioned first aspect of row.
Technical solution bring beneficial effect provided by the embodiments of the present application includes:
Terminal determines its institute according to the MAC Address for being currently accessed wireless routing device when receiving channel modification signal
Belong to the identification of the manufacturer of device manufacturer, to obtain at least one corresponding control of device manufacturer from server according to the identification of the manufacturer
Script processed, and then control instruction is sent to wireless routing device by way of executing and controlling script, so as to wireless routing device
The channel of WiFi network is modified according to control instruction;Control script based on distinct device manufacturer carries out channel management, and terminal is repaired
When changing the channel of different brands wireless routing device, it is only necessary to obtain corresponding control script from server, be not necessarily to down
The corresponding dedicated management application program of installation different radio routing device is carried to improve to simplify the process of modification channel
Modify channel efficiency.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the schematic diagram of 13 channels in 2.4G frequency range;
Implementation environment involved by the WiFi network channel amending method provided Fig. 2 shows the application one embodiment shows
It is intended to;
Fig. 3 shows the flow chart of the WiFi network channel amending method of the application one embodiment offer;
Fig. 4 is the interface schematic diagram of the amending method implementation process of WiFi network channel shown in Fig. 3;
Fig. 5 is the implementation diagram of the manual modification channel procedure in wireless routing device administration interface;
Fig. 6 is the implementation diagram of the amending method of WiFi network channel shown in Fig. 3;
Fig. 7 shows the flow chart of the WiFi network channel amending method of the application one embodiment offer;
Fig. 8 is the implementation diagram of the amending method of WiFi network channel shown in Fig. 7;
Fig. 9 shows the block diagram of the WiFi network channel modification device of the application one embodiment offer;
Figure 10 shows the block diagram of the WiFi network channel modification device of another embodiment of the application offer;
Figure 11 shows the structural block diagram of the terminal of one exemplary embodiment of the application offer.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
In order to facilitate understanding, noun involved in the embodiment of the present application is explained below.
Channel: the channel in the embodiment of the present application refers to the channel of transmission WiFi signal, i.e. channel used in WiFi network.
As shown in Figure 1,2.4G frequency range includes 13 overlapping channels, wherein between channel 1,6,13 in 802.11b/g network standard
There is no overlappings.
Control script: script is a kind of program saved with plain text, dynamic for controlling computer progress sequence of operations
Make, in the embodiment of the present application, control script is used to simulate the operation that channel is modified in wireless routing device administration interface.Its
In, wireless routing device administration interface is the web interface for wireless routing device running parameter to be arranged, it is generally the case that nothing
Route is accessed by equipment management interface by IP address " 192.168.1.1 ".
Using WiFi network channel amending method provided by the embodiments of the present application, it is currently accessed wirelessly when user needs to modify
Used in routing device when channel, it is only necessary to open the WiFi management application program installed in terminal, and click (WiFi management
Application program) channel in routing management interface modifies control, and WiFi manages application program can be automatically current in Background control
The wireless routing device of access executes channel modification operation, and complicated manual modification operation is executed without user;Meanwhile the WiFi
Management application program can be adapted to the wireless routing device of distinct device manufacturer production, and user applies journey using single WiFi management
Sequence can be managed a variety of wireless routing devices, to avoid installing a large amount of dedicated management application programs in the terminal, save
Save the memory space of terminal.
Referring to FIG. 2, the implementation ring of the WiFi network channel amending method provided it illustrates the application one embodiment
The schematic diagram in border.It include terminal 210, at least one wireless routing device 220 and server 230 in the implementation environment.
Terminal 210 is the electronic equipment with wireless network connection function, which can be smart phone, plate
Computer, desktop computer or personal handheld computer etc..In the embodiment of the present application, WiFi management is installed in terminal 210
Application program manages application program by the WiFi, and the wireless routing that terminal 210 can manage the production of distinct device manufacturer is set
It is standby.Optionally, the program development quotient of WiFi management application program is different from the device manufacturer of at least one wireless routing device.
Wireless routing device 220 is for providing the electronic equipment of wireless network, which can be wireless routing
Device or the electronic equipment etc. for opening wireless routing function.Terminal 210 accesses one of wireless routing device 220 and provides
WiFi network, to carry out internet access.
Server 230 is the server cluster or cloud computing center that a server, several servers are constituted.It is optional
, in the embodiment of the present application, server 230 is the background server that WiFi manages application program in terminal 210.
Under a kind of possible application scenarios, after terminal 210 accesses the WiFi network that wireless routing device 220 provides, fortune
Row WiFi manages application program.When user manages the WiFi management function of application program using WiFi, terminal 210 prompts user defeated
The login password of access customer wireless routing device 220, to log in wireless routing device 220 according to login password.When receiving
To when the trigger signal of channel modification function, WiFi management application program is set according to wireless routing in WiFi management application program
Standby 220 MAC Address determines device manufacturer belonging to wireless routing device 220, and then passes through wireless routing device 220 and clothes
The business interaction of device 230, obtains the corresponding control script of the device manufacturer.WiFi manages application program by executing control script, mould
Quasi- user modifies the operation of channel in wireless routing device administration interface, and respective wireless routing device sends corresponding control
Instruction, so that wireless routing device modifies channel according to control signaling.
The WiFi network channel amending method that following each embodiments provide is the terminal 210 being used in Fig. 2 and service
Device 220.
Referring to FIG. 3, the method stream of the WiFi network channel amending method provided it illustrates the application one embodiment
Cheng Tu, this method are used for implementation environment shown in Fig. 2, and this method comprises the following steps.
Step 301, when receiving channel modification signal, terminal obtains wireless according to the MAC Address of wireless routing device
The identification of the manufacturer of routing device corresponding device manufacturer.
In a kind of possible embodiment, the WiFi of terminal operating manages application program explicit routing administration interface, should
It include several management function options in routing management interface.When receive channel modification option trigger action when, terminal into
One step determines the device manufacturer of current wireless routing device.
It since the MAC Address of the network equipment is distributed unitedly by specified tissue to each device manufacturer, and is distinct device factory
The MAC Address of quotient's distribution has different address fields, and therefore, terminal can be according to the MAC Address of wireless routing device, and determination is worked as
Device manufacturer belonging to preceding wireless routing device, and obtain the identification of the manufacturer of the device manufacturer.
Optionally, include the following steps: when terminal obtains identification of the manufacturer
One, the MAC Address of wireless routing device, the hexadecimal number that MAC Address is 12 are obtained.
For example, the MAC Address that terminal is got is 00-0D-65-12-34-56.
Two, according to manufacturer's field in MAC Address, the corresponding manufacturer's mark of manufacturer's field is searched from default corresponding relationship
Know, presetting in corresponding relationship includes the corresponding relationship preset between manufacturer's field and default identification of the manufacturer, and manufacturer's field is for MAC
First 6 of location.
It is distributed in MAC Address for device manufacturer, first 6 are manufacturer's field, for indicating the device manufacturer belonging to it.Cause
This, terminal extracts manufacturer's field in MAC Address, and determines device manufacturer according to manufacturer's field.
In a kind of possible embodiment, the corresponding pass between manufacturer's field and identification of the manufacturer is previously stored in terminal
It is that after the manufacturer's field for extracting MAC Address, terminal searches corresponding manufacturer's mark according to manufacturer's field from the corresponding relationship
Know.
In other possible embodiments, the corresponding relationship between manufacturer's field and identification of the manufacturer is stored in server
In, terminal obtains corresponding identification of the manufacturer by sending the request comprising manufacturer's field to server from server.
Schematically, the corresponding relationship of manufacturer's field and identification of the manufacturer is as shown in Table 1.
Table one
Manufacturer's field | Identification of the manufacturer |
00-0D-65 | A-Link |
00-0D-75 | B-Link |
00-0D-85 | C-Link |
In conjunction with the example in above-mentioned steps, the identification of the manufacturer that terminal gets wireless routing device corresponding device manufacturer is
“A-Link”。
Step 302, terminal to server sends control script acquisition request, controls in script acquisition request and marks comprising manufacturer
Know.
Further, according to the identification of the manufacturer got, terminal sends control foot to server by wireless routing device
This acquisition request to obtain corresponding control script from server, and then is realized by executing the control script to wireless
The control of routing device.
Optionally, since the control script used when realizing different function is different, in the control script acquisition request
It also include Function Identification, which is used to indicate the function to be realized.For example, in the present embodiment, the control script
The corresponding Function Identification of this function is modified comprising channel in acquisition request.
Schematically, as shown in figure 4, when receiving the click letter to channel modification control 431 in routing administration interface 43
Number when, terminal is the identification of the manufacturer for obtaining wireless routing device, and sends corresponding control script acquisition request to server.
Step 303, the control script acquisition request that server receiving terminal is sent.
Step 304, server obtains at least one corresponding control script of device manufacturer according to identification of the manufacturer, controls script
For simulating the operation for modifying channel in wireless routing device administration interface, and different control scripts corresponds to different model
Wireless routing device.
Since the wireless routing device administration interface that distinct device manufacturer is the exploitation of its wireless routing device has differences, because
This user is when realizing identical function in different radio reason equipment, the operation that executes in wireless routing device administration interface
It is different.
In a kind of possible embodiment, according to user in different radio routing device administration interface (corresponding different shaped
Number wireless routing device) in modification channel operation, developer writes corresponding control script.Wherein, due to different shaped
There may be larger differences for the function of number wireless routing device (belonging to device manufacturer's production), and therefore, same device manufacturer is corresponding
Multiple and different control scripts;Simultaneously as the function of the wireless routing device of similar model is same or similar, and therefore, different shaped
Number wireless routing device may corresponding same control script.
Schematically, as shown in figure 5, being needed successively when user manually modifies the channel of wireless routing device
Click the wireless setting control 511 in wireless routing device administration interface 51, basic setup controls the setting drop-down control of 512, channel
Part 513 and preservation control 514, developer generate corresponding control script, the control according to this series of controls clicking operation
The order of operation and control title of control are included at least in script processed.
According to the identification of the manufacturer for including in control script acquisition request, server acquisition is corresponding with the identification of the manufacturer at least
One control script, so that subsequent feedback is to terminal.
Schematically, distinct device manufacturer and the corresponding relationship of control script are as shown in Table 2 in server.
Table two
Identification of the manufacturer | Control script |
A-Link | Control script 1, control script 2, control script 3, |
B-Link | Control script 4, control script 5 |
C-Link | Control script 6, control script 7, control script 8, control script 9 |
Step 305, server feeds back at least one control script to terminal.
Step 306, terminal receives at least one control script of the correspondence identification of the manufacturer of server feedback.
Step 307, terminal executes control script, and sends control instruction to wireless routing device, and control instruction is for referring to
Show the channel of wireless routing device modification WiFi network.
Since server may feed back multiple control scripts, and and not all control script be suitable for current wireless routing
Equipment, therefore, in a kind of possible embodiment, terminal successively executes each control script received, and to no route
Control instruction is sent by equipment, wherein when terminal executes control script, i.e., simulated from the background in wireless routing device management field
The operation of channel is modified in face.After wireless routing device receives control instruction, the implementing result instructed to terminal feedback control,
If running succeeded, terminal stops executing other control scripts;If executing failure, terminal continues to execute next control foot
This.Optionally, the implementing result of wireless routing device adoption status code feedback control instruction.
In alternatively possible embodiment, terminal is after receiving channel modification signal, measurement first network delay,
And after sending control instruction, the second network delay is measured;If the second network delay postpones lower than first network, terminal is determined
Channel is successfully modified, and stops executing control script;If the second network delay postpones greater than first network, terminal is continued to execute
Next control script.
As shown in fig. 6, the whole flow process of terminal modifications wireless routing device channel includes: that 1, terminal access wireless routing is set
It is standby;2, terminal obtains the identification of the manufacturer of wireless routing device;3, terminal sends control script acquisition by wireless routing device and asks
It asks;4, server issues control script to terminal;5, terminal executes control script and issues control instruction;6, wireless routing device
Channel is modified according to control instruction.
As shown in figure 4, when needing to modify channel, user need to only input Administrator account and Mi during whole operation
Code, and the modification control 431 of the channel in routing management interface 43 is clicked, terminal automatically controls wireless routing device on backstage and repairs
It converts to, operating process is simple;Also, WiFi management application program need to be only installed in terminal, and can be adapted to various brands each
The wireless routing device of kind model, saves the memory space of terminal.
In conclusion in the present embodiment, when receiving channel modification signal, according to being currently accessed wireless routing device
MAC Address determines the identification of the manufacturer of its corresponding device manufacturer, to obtain device manufacturer from server according to the identification of the manufacturer
At least one corresponding control script, and then control instruction is sent to wireless routing device by way of executing and controlling script,
So that wireless routing device is according to the channel of control instruction modification WiFi network;Control script based on distinct device manufacturer carries out
Channel management, when the channel of terminal modifications different brands wireless routing device, it is only necessary to corresponding control is obtained from server
Script, without downloading the corresponding dedicated management application program of installation different radio routing device, to simplify modification letter
The process in road improves modification channel efficiency.
When the multiple control scripts of server feedback, in order to further increase the efficiency of modification channel, terminal is further
It identifies the device model of wireless routing device, and is chosen and be suitable for currently wirelessly from multiple control scripts according to the device model
The target control script of the network equipment.It is illustrated below using schematical embodiment.
Referring to FIG. 7, the method for the WiFi network channel amending method provided it illustrates another embodiment of the application
Flow chart, this method are used for implementation environment shown in Fig. 2, and this method comprises the following steps.
Step 701, terminal logs in wireless routing device.
In a kind of possible embodiment, terminal accesses the WiFi network that wireless routing device provides, and enables WiFi
When managing the routing management function that application program provides, the automatic access preset IP address (usually 192.168.1.1) of terminal is come
Log in wireless routing device.Due to needing input router Administrator account and password when logging in wireless routing device, eventually
Login interface is shown in the WiFi management application program at end, and indicates that user's input is currently accessed the login account of wireless routing device
Number and password.Terminal is the login account inputted according to user and the password login wireless routing device.
It should be noted that terminal is being held from the background by the process that access preset IP address logs in wireless routing device
Row, user can not perceive on foreground, and user only needs to manage the login account of input wireless routing device in application program in WiFi
Number and password.
Schematically, as shown in figure 4, when the user clicks routing management control 41 when, terminal i.e. in background access without route
Login interface 42 is shown by device log-on webpage, and on foreground.According to the Administrator account 421 of user's input and administrator's password
422, terminal can log in wireless routing device.
Step 702, when receiving channel modification signal, terminal is according to the MAC of the wireless routing device being currently accessed
Location obtains the identification of the manufacturer of wireless routing device corresponding device manufacturer.
The embodiment of this step is similar to step 301, and details are not described herein for the present embodiment.
Step 703, terminal obtains the network information of adjacent WiFi network, and the network information includes the signal of adjacent WiFi network
Intensity and network channel.
In a kind of possible embodiment, terminal has wireless distributed (Wireless Distribution
System, WDS) function, terminal is to pass through signal strength and network channel that WDS function obtains adjacent WiFi network.
Schematically, terminal get adjacent WiFi network signal strength and network channel it is as shown in Table 3.
Table three
WiFi network | Signal strength | Network channel |
Zhangsan-wifi | 80dB | 6 |
Lisi-wifi | 60dB | 6 |
Wangwu-wifi | 45dB | 1 |
Step 704, terminal determines destination channel according to the network information.
Since WiFi network can be interfered using other of same channel or adjacent channel WiFi network to generate, eventually
End can the network channel according to used in adjacent WiFi network and signal strength, determine the channel matter of each network channel
Amount, and then destination channel is determined based on channel quality.
In a kind of possible embodiment, this step includes the following steps:
One, according to signal strength and network channel, the channel quality of each candidate channel is calculated.
As shown in Figure 1, can be deposited since there are intersections between adjacent channel using between the WiFi network of adjacent channel
It is interfering with each other, and channel spacing is smaller, is interfering bigger;Meanwhile when the signal strength of WiFi network is higher, interference is bigger.
In a kind of possible embodiment, for each candidate channel, terminal calculates the candidate channel and adjacent WiFi
Channel spacing between network corresponding network channel, to calculate the channel of candidate channel according to channel spacing and signal strength
Quality, wherein channel quality and signal strength negative correlation, channel quality and channel spacing correlation.
For example, terminal determines the first weight (channel spacing is bigger, and the first weight is bigger) according to channel spacing, according to signal
Intensity determines the second weight (signal strength is bigger, and the second weight is smaller), and then is waited according to the first weight and the second weight calculation
Select the channel quality of channel.The embodiment of the present application is not defined the specific calculation for calculating channel quality.
Two, the highest candidate channel of channel quality is determined as destination channel.
Further, in order to guarantee to modify the quality of WiFi network after channel, terminal candidate is believed channel quality is highest
Road is determined as destination channel.
For example, 11 channels are determined as destination channel by terminal in conjunction with the data in table three.
Step 705, terminal to server sends the control script acquisition request comprising destination channel and identification of the manufacturer.
The destination channel determined and identification of the manufacturer are added in control script acquisition request by terminal, and pass through no route
Server is sent the request to by equipment.
Step 706, the control script acquisition request that server receiving terminal is sent.
Step 707, server obtains at least one corresponding control script template of device manufacturer according to identification of the manufacturer.
In order to enable wireless routing device by channel adjustment be destination channel, server need generate comprising the target believe
The control script in road.
In a kind of possible embodiment, at least one control script template, difference control foot are stored in server
The wireless routing device of the corresponding different model of this template, and the destination channel field in each control script template can be according to reality
Different numerical value is written in border situation.
When detecting in control script acquisition request while including identification of the manufacturer and destination channel, server, which is known, to be needed
Control script is generated according to control script template, to obtain the corresponding control script template of identification of the manufacturer.
Step 708, server generates at least one control foot according at least one control script template and destination channel
This.
Further, after getting control script template, script template is controlled for each, server is by destination channel
The destination channel field of write-in control script template, to obtain at least one control script.
In conjunction with the example in above-mentioned steps, the destination channel of each control script template is written in destination channel 11 by server
Field.
Step 709, server feeds back at least one control script to terminal.
Step 710, terminal receives at least one control script of server feedback.
Step 711, terminal extracts the device model of wireless routing device from the login interface of wireless routing device.
Since the corresponding control script of different model wireless routing device may be different, in order to accelerate from several controls
The control script suitable for current wireless routing device is selected in script processed, terminal needs to further determine that wireless routing device
Device model.
Due to that would generally include device model in the login interface of wireless routing device, in a kind of possible implementation
In mode, terminal extracts the device model of wireless routing device when logging in wireless routing device from login interface.
Optionally, when the login interface of terminal background access wireless routing device, the web page source code of login interface is obtained,
And the extract equipment model from web page source code.Wherein, since device model format is " xx-xxxxx ", terminal can be with
By using default regular expression (expression formula that device model is met) the extract equipment model from web page source code.This Shen
Please embodiment the concrete mode of extract equipment model is not defined.
For example, the device model that terminal extracts wireless routing device is TL-2140.
Step 712, if including to be held with the matched target control script of device model, terminal at least one control script
Row target control script, and control instruction is sent to wireless routing device.
Optionally, it is each control script script head include suitable device model (be applicable in the control script without route
By the device model of equipment), after terminal receives at least one control script, what each control script head of acquisition included is applicable in
Device model, and detect whether the device model matches with suitable device model, so that it is determined that going out to be suitable for current wireless routing
The target control script of equipment.
If including and the matched target control script of device model, terminal performance objective control at least one control script
Script processed, and control instruction is sent to wireless routing device, channel is revised as according to the control instruction by wireless routing device
Destination channel.
For example, it includes TL-1234, TL-1234s and TL- that terminal, which extracts the suitable device model that the control head script A includes,
1240, extracting the suitable device model that the control head script B includes includes TL-2140, TL-2150s and TL-2160, extracts control
The suitable device model that the head script C processed includes includes TL-3000, TL-3100 and TL-3120, since current wireless routing is set
Standby device model is TL-2140, therefore control script B is determined as target control script by middle see.
It should be noted that terminal can also add device model in control script acquisition request, so that server is straight
Reversed feedback is suitable for the control script of wireless routing device, and the embodiment of the present application is defined not to this.
Step 713, if not including and the matched target control script of device model, terminal at least one control script
Control script is executed according to predetermined order, and sends control instruction to wireless routing device.
Due to server feedback control script possibly can not under overlay device manufacturer all models wireless routing device,
Do not include and the matched target control script of device model at least one control script.At this point, terminal is according to predetermined order
Control script is executed, sends control instruction to wireless routing device, and current execute is determined according to the feedback of wireless routing device
Control script whether be suitable for and current wireless routing device.
In a kind of possible embodiment, terminal obtains the utilization rate (being provided by server) of each control script, and
Each control script is executed according to the descending of utilization rate.
Step 714, terminal receives the instruction execution result of wireless routing device feedback, and instruction execution result is used to indicate control
Whether system instruction runs succeeded.
Optionally, wireless routing device is to terminal feedback states code, when status code instruction control instruction runs succeeded, eventually
End executes step 715;When status code instruction control instruction executes failure, terminal executes step 716.
Step 715, if instruction execution result instruction control instruction runs succeeded, stop executing other control scripts.
When control instruction runs succeeded, terminal determines that channel is successfully modified, and stops executing remaining control script.
Optionally, terminal stores control script, directly uses when channel to modify again.
Step 716, if instruction execution result instruction control instruction executes failure, next control script is executed.
When control instruction executes failure, terminal determines channel modification failure, and continues to execute next control script simultaneously
Send control instruction.
Optionally, when each control script can not be suitable for current wireless routing device, terminal shows and mentions accordingly
Show information, and the device identification of current wireless routing device is reported into server, so that developer sets for the wireless routing
It is standby to write corresponding control script.
As shown in figure 8, the whole flow process of terminal modifications wireless routing device channel includes: that 1, terminal access wireless routing is set
It is standby;2, terminal obtains the identification of the manufacturer of wireless routing device;3, terminal determines target according to the network information of adjacent WiFi network
Channel;4, terminal sends control script acquisition request by wireless routing device;5, server is according to control script template and mesh
It marks channel and generates control script;6, server issues control script to terminal;7, terminal obtains the equipment type of wireless routing device
Number, and determine target control script;8, terminal performance objective controls script and issues control instruction;9, wireless routing device according to
Control instruction modifies channel.
In the present embodiment, terminal is screened by extracting the device model for including in login interface, and according to the device model
It is suitable for the target control script of current wireless routing device out, channel modification is realized thereby executing target control script, into one
Step improves the efficiency of channel modification.
In addition, the network information of the terminal according to adjacent WiFi network, is determined as target letter for the optimal channel of channel quality
Road, and indicate that server is based on destination channel and generates corresponding control script, so as to terminal according to control Script controlling without route
Channel is revised as by equipment to interfere minimum channel, to improve the quality of WiFi network.
It should be noted that in above-mentioned each embodiment, using terminal as executing subject the step of, which can be implemented separately, to be become
The WiFi network channel amending method of terminal side, using server as executing subject the step of, can be implemented separately as server side
WiFi network channel amending method, the embodiment of the present application repeats no more.
Following is apparatus of the present invention embodiment, can be used for executing embodiment of the present invention method.For apparatus of the present invention reality
Undisclosed details in example is applied, embodiment of the present invention method is please referred to.
Referring to FIG. 9, the block diagram of the WiFi network channel modification device provided it illustrates the application one embodiment.It should
Device can also be executed corresponding software realization by hardware realization by hardware.The apparatus may include:
Identifier acquisition module 910, for when receive channel modification signal when, according to the wireless routing device being currently accessed
MAC address, obtain the identification of the manufacturer of wireless routing device corresponding device manufacturer;
Request sending module 920, for sending control script acquisition request, the control script acquisition request to server
In include the identification of the manufacturer;
Script receiving module 930, at least one institute of the correspondence identification of the manufacturer for receiving the server feedback
Control script is stated, the control script is used to simulate the operation that channel is modified in wireless routing device administration interface, and different
Control script correspond to the wireless routing device of different model;
Execution module 940 sends control instruction, institute for executing the control script, and to the wireless routing device
State the channel that control instruction is used to indicate the wireless routing device modification WiFi network.
Optionally, described device further include:
Login module, for logging in the wireless routing device;
Execution module 940 is used for:
The device model of the wireless routing device is extracted from the login interface of the wireless routing device;
If at least one described control script comprising with the matched target control script of the device model, execute institute
Target control script is stated, and sends the control instruction to the wireless routing device.
Optionally, execution module 940 are also used to:
If at least one control script in do not include with the matched target control script of the device model, successively
The control script is executed, and sends the control instruction to the wireless routing device;
The instruction execution result of the wireless routing device feedback is received, described instruction implementing result is used to indicate the control
Whether system instruction runs succeeded;
If described instruction implementing result indicates that the control instruction runs succeeded, stop executing other control scripts;
If described instruction implementing result indicates that the control instruction executes failure, next control script is executed.
It optionally, also include destination channel in the control script acquisition request;
The request sending module 920, is used for:
The network information of adjacent WiFi network is obtained, the network information includes the signal strength of the adjacent WiFi network
And network channel;
The destination channel is determined according to the network information;
The control script acquisition request comprising the destination channel and the identification of the manufacturer is sent to the server,
The server is used to generate at least one described control script according to the destination channel and the identification of the manufacturer, described wireless
Routing device is used to that the channel of the WiFi network to be revised as the destination channel according to the control instruction.
Optionally, request sending module 920 are used for:
According to the signal strength and the network channel, the channel quality of each candidate channel is calculated;
The highest candidate channel of the channel quality is determined as the destination channel;
Wherein, the channel quality and the network signal intensity negative correlation, the channel quality and interchannel
Every correlation, interval of the channel spacing between the network channel and the candidate channel.
Optionally, identifier acquisition module 910 are used for:
Obtain the MAC Address of the wireless routing device, the hexadecimal number that the MAC Address is 12;
According to manufacturer's field in the MAC Address, the corresponding institute of manufacturer's field is searched from default corresponding relationship
Identification of the manufacturer is stated, includes the corresponding relationship between default manufacturer's field and default identification of the manufacturer, institute in the default corresponding relationship
State first 6 that manufacturer's field is the MAC Address.
Referring to FIG. 10, the frame of the WiFi network channel modification device provided it illustrates another embodiment of the application
Figure.The device can also be executed corresponding software realization by hardware realization by hardware.The apparatus may include:
Request receiving module 1010, for receiving the control script acquisition request of terminal transmission, the control script is obtained
The identification of the manufacturer for the wireless routing device corresponding device manufacturer being currently accessed in request comprising the terminal, the identification of the manufacturer by
The terminal is determined according to the MAC address of the wireless routing device;
Script obtains module 1020, for obtaining at least one corresponding control of the device manufacturer according to the identification of the manufacturer
Script processed, the control script are used to simulate the operation that channel is modified in wireless routing device administration interface, and different controls
Script processed corresponds to the wireless routing device of different model;
Script feedback module 1030, for feeding back at least one described control script to the terminal, the terminal is used for
The control script is executed, and sends control instruction to the wireless routing device, the control instruction is used to indicate the nothing
Route by apparatus modifications WiFi network channel.
It optionally, include also destination channel in the control script acquisition request, the destination channel is by the terminal root
It is determined according to the network information of adjacent WiFi network;
The script obtains module 1020, is used for:
According to the identification of the manufacturer, at least one corresponding control script template of the device manufacturer is obtained;
According to control script template and the destination channel described at least one, at least one described control script is generated,
The terminal for executing at least one described control script, so as to the wireless routing device according to the control instruction by institute
The channel for stating WiFi network is revised as the destination channel.
It should be noted that device provided by the above embodiment is when realizing its function, only with above-mentioned each functional module
It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution,
The internal structure of terminal or server is divided into different functional modules, to complete all or part of function described above
Energy.In addition, apparatus and method embodiment provided by the above embodiment belongs to same design, specific implementation process is detailed in method reality
Example is applied, which is not described herein again.
Figure 11 shows the structural block diagram of the terminal 1100 of one exemplary embodiment of the application offer.The terminal 1100 can
To be portable mobile termianl, such as: smart phone, tablet computer, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player.Terminal 1100 is also
Other titles such as user equipment, portable terminal may be referred to as.
In general, terminal 1100 includes: processor 1101 and memory 1102.
Processor 1101 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 1101 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 1101 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.In
In some embodiments, processor 1101 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1101 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 1102 may include one or more computer readable storage mediums, which can
To be tangible and non-transient.Memory 1102 may also include high-speed random access memory and nonvolatile memory,
Such as one or more disk storage equipments, flash memory device.In some embodiments, non-transient in memory 1102
Computer readable storage medium for storing at least one instruction, at least one instruction for performed by processor 1101 with
Realize method for video coding provided herein.
In some embodiments, terminal 1100 is also optional includes: peripheral device interface 1103 and at least one periphery are set
It is standby.Specifically, peripheral equipment includes: radio circuit 1104, touch display screen 1105, camera 1106, voicefrequency circuit 1107, determines
At least one of hyte part 1108 and power supply 1109.
Peripheral device interface 1103 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 1101 and memory 1102.In some embodiments, processor 1101, memory 1102 and periphery
Equipment interface 1103 is integrated on same chip or circuit board;In some other embodiments, processor 1101, memory
1102 and peripheral device interface 1103 in any one or two can be realized on individual chip or circuit board, this implementation
Example is not limited this.
Radio circuit 1104 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.
Radio circuit 1104 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1104 is by telecommunications
Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit
1104 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution
Code chipset, user identity module card etc..Radio circuit 1104 can by least one wireless communication protocol come with it is other
Terminal is communicated.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network
(2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations
In example, radio circuit 1104 can also include that NFC (Near Field Communication, wireless near field communication) is related
Circuit, the application are not limited this.
Touch display screen 1105 is for showing UI (User Interface, user interface).The UI may include figure, text
Sheet, icon, video and its their any combination.Touch display screen 1105 also has acquisition on the surface of touch display screen 1105
Or the ability of the touch signal of surface.The touch signal can be used as control signal and be input at processor 1101
Reason.Touch display screen 1105 is for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or soft keyboard.In some realities
It applies in example, touch display screen 1105 can be one, and the front panel of terminal 1100 is arranged;In further embodiments, it touches aobvious
Display screen 1105 can be at least two, be separately positioned on the different surfaces of terminal 1100 or in foldover design;In still other implementation
In example, touch display screen 1105 can be flexible display screen, be arranged on the curved surface of terminal 1100 or on fold plane.Very
Extremely, touch display screen 1105 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Touch display screen 1105 can be with
Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode,
Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1106 is for acquiring image or video.Optionally, CCD camera assembly 1106 includes front camera
And rear camera.In general, front camera is for realizing video calling or self-timer, rear camera is for realizing photo or view
The shooting of frequency.In some embodiments, rear camera at least two are that main camera, depth of field camera, wide-angle are taken the photograph respectively
As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide
Pan-shot and VR (Virtual Reality, virtual reality) shooting function are realized in camera fusion in angle.In some embodiments
In, CCD camera assembly 1106 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp, be also possible to double-colored temperature flash of light
Lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for the light compensation under different-colour.
Voicefrequency circuit 1107 is used to provide the audio interface between user and terminal 1100.Voicefrequency circuit 1107 may include
Microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and converts sound waves into electric signal and be input to processing
Device 1101 is handled, or is input to radio circuit 1104 to realize voice communication.For stereo acquisition or the mesh of noise reduction
, microphone can be separately positioned on the different parts of terminal 1100 to be multiple.Microphone can also be array microphone or complete
To acquisition type microphone.Loudspeaker is then used to that sound wave will to be converted to from the electric signal of processor 1101 or radio circuit 1104.
Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When loudspeaker is piezoelectric ceramic loudspeaker
When, the audible sound wave of the mankind can be not only converted electrical signals to, the sound that the mankind do not hear can also be converted electrical signals to
Wave is to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1107 can also include earphone jack.
Positioning component 1108 is used for the current geographic position of positioning terminal 1100, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 1108 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group
Part.
Power supply 1109 is used to be powered for the various components in terminal 1100.Power supply 1109 can be alternating current, direct current
Electricity, disposable battery or rechargeable battery.When power supply 1109 includes rechargeable battery, which can be line charge
Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through
The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1100 further includes having one or more sensors 1110.One or more sensing
Device 1010 includes but is not limited to: acceleration transducer 1011, gyro sensor 1112, pressure sensor 1113, fingerprint sensing
Device 1114, optical sensor 1115 and proximity sensor 1116.
Acceleration transducer 1111 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1100
Size.For example, acceleration transducer 1111 can be used for detecting component of the acceleration of gravity in three reference axis.Processor
The 1101 acceleration of gravity signals that can be acquired according to acceleration transducer 1111, control touch display screen 1105 with transverse views
Or longitudinal view carries out the display of user interface.Acceleration transducer 1111 can be also used for game or the exercise data of user
Acquisition.
Gyro sensor 1112 can detecte body direction and the rotational angle of terminal 1100, gyro sensor 1112
Acquisition user can be cooperateed with to act the 3D of terminal 1100 with acceleration transducer 1111.Processor 1101 is according to gyro sensors
The data that device 1112 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped
Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1105 in terminal 1100 can be set in pressure sensor 1113.When
When the side frame of terminal 1100 is arranged in pressure sensor 1113, user can detecte to the gripping signal of terminal 1100, according to
The gripping signal carries out right-hand man's identification or prompt operation.When the lower layer of touch display screen 1105 is arranged in pressure sensor 1113
When, it can be according to user to the pressure operation of touch display screen 1105, the operability control on the interface UI is controlled in realization
System.Operability control includes at least one of button control, scroll bar control, icon control, menu control.
Fingerprint sensor 1114 is used to acquire the fingerprint of user, according to the identity of collected fingerprint recognition user.In
When the identity for identifying user is trusted identity, the user is authorized to execute relevant sensitive operation, the sensitivity by processor 1101
Operation includes solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1114 can be by
The front, the back side or side of terminal 1100 are set.When being provided with physical button or manufacturer Logo in terminal 1100, fingerprint sensing
Device 1114 can be integrated with physical button or manufacturer Logo.
Optical sensor 1115 is for acquiring ambient light intensity.In one embodiment, processor 1101 can be according to light
The ambient light intensity that sensor 1115 acquires is learned, the display brightness of touch display screen 1105 is controlled.Specifically, work as ambient light intensity
When higher, the display brightness of touch display screen 1105 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1105 is turned down
Show brightness.In another embodiment, the ambient light intensity that processor 1101 can also be acquired according to optical sensor 1115, is moved
The acquisition parameters of state adjustment CCD camera assembly 1106.
Proximity sensor 1116, also referred to as range sensor are generally arranged at the front of terminal 1100.Proximity sensor 1116
For acquiring the distance between the front of user Yu terminal 1100.In one embodiment, when proximity sensor 1116 detects
When the distance between the front of user and terminal 1100 gradually becomes smaller, touch display screen 1105 is controlled from bright screen by processor 1101
State is switched to breath screen state;When proximity sensor 1116 detects that the distance between user and the front of terminal 1100 gradually become
When big, touch display screen 1105 is controlled by processor 1101 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1100 of structure shown in Figure 11
Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
The embodiment of the present application also provides a kind of computer readable storage medium, and at least one finger is stored in the storage medium
Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or
Instruction set is loaded by the processor and is executed to realize that the telecommunication fraud trojan horse program provided such as above-mentioned each embodiment intercepts
Method.
Optionally, the computer readable storage medium may include: read-only memory (ROM, Read Only Memory),
Random access memory (RAM, Random Access Memory), solid state hard disk (SSD, Solid State Drives) or light
Disk etc..Wherein, random access memory may include resistive random access memory body (ReRAM, Resistance Random
Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).Above-mentioned
Apply for that embodiment sequence number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Claims (13)
1. a kind of Wireless Fidelity WiFi network channel amending method, which is characterized in that the method is for being equipped with WiFi management
The terminal of application program, the WiFi management application program are used to be managed the wireless routing device of distinct device manufacturer,
The described method includes:
When receiving channel modification signal, according to the MAC address for the wireless routing device being currently accessed, obtain
Take the identification of the manufacturer of wireless routing device corresponding device manufacturer;
Control script acquisition request is sent to server, includes the identification of the manufacturer in the control script acquisition request;
At least one described control script of the correspondence identification of the manufacturer of the server feedback is received, the control script is used
The operation of channel is modified in wireless routing device administration interface in simulation, and different control scripts corresponds to the nothing of different model
Line routing device;
The control script is executed, and sends control instruction to the wireless routing device, the control instruction is used to indicate institute
State the channel of wireless routing device modification WiFi network.
2. the method according to claim 1, wherein the method also includes:
Log in the wireless routing device;
It is described to execute the control script, and control instruction is sent to the wireless routing device, comprising:
The device model of the wireless routing device is extracted from the login interface of the wireless routing device;
If at least one described control script comprising with the matched target control script of the device model, execute the mesh
Mark control script, and the control instruction is sent to the wireless routing device.
3. according to the method described in claim 2, it is characterized in that, described execute the control script, and to the no route
Control instruction is sent by equipment, further includes:
If at least one described control script do not include with the matched target control script of the device model, according to
Predetermined order executes the control script, and sends the control instruction to the wireless routing device;
The instruction execution result of the wireless routing device feedback is received, described instruction implementing result is used to indicate the control and refers to
It enables and whether running succeeded;
If described instruction implementing result indicates that the control instruction runs succeeded, stop executing other control scripts;
If described instruction implementing result indicates that the control instruction executes failure, next control script is executed.
4. method according to any one of claims 1 to 3, which is characterized in that also include in the control script acquisition request
Destination channel;
It is described to send control script acquisition request to server, comprising:
Obtain the network information of adjacent WiFi network, the network information include the adjacent WiFi network signal strength and
Network channel;
The destination channel is determined according to the network information;
The control script acquisition request comprising the destination channel and the identification of the manufacturer is sent to the server, it is described
Server is used to generate at least one described control script, the wireless routing according to the destination channel and the identification of the manufacturer
Equipment is used to that the channel of the WiFi network to be revised as the destination channel according to the control instruction.
5. according to the method described in claim 4, it is characterized in that, described determine that the target is believed according to the network information
Road, comprising:
According to the signal strength and the network channel, the channel quality of each candidate channel is calculated;
The highest candidate channel of the channel quality is determined as the destination channel;
Wherein, the channel quality and the network signal intensity negative correlation, the channel quality are in channel spacing
Positive correlation, interval of the channel spacing between the network channel and the candidate channel.
6. method according to any one of claims 1 to 3, which is characterized in that the matchmaker according to the wireless routing device
Body access control MAC addresses obtain the identification of the manufacturer of wireless routing device corresponding device manufacturer, comprising:
Obtain the MAC Address of the wireless routing device, the hexadecimal number that the MAC Address is 12;
According to manufacturer's field in the MAC Address, the corresponding factory of manufacturer's field is searched from default corresponding relationship
Trade mark is known, and includes the corresponding relationship between default manufacturer's field and default identification of the manufacturer, the factory in the default corresponding relationship
Quotient's field is first 6 of the MAC Address.
7. a kind of Wireless Fidelity WiFi network channel amending method, which is characterized in that the described method includes:
The control script acquisition request that terminal is sent is received, is currently accessed in the control script acquisition request comprising the terminal
Wireless routing device corresponding device manufacturer identification of the manufacturer, the identification of the manufacturer sets by the terminal according to the wireless routing
Standby MAC address determines;
At least one corresponding control script of the device manufacturer is obtained according to the identification of the manufacturer, the control script is used for mould
Intend in wireless routing device administration interface modify channel operation, and different control scripts correspond to different model without route
By equipment;
At least one described control script is fed back to the terminal, and the terminal is for executing the control script, and to described
Wireless routing device sends control instruction, and the control instruction is used to indicate the letter of the wireless routing device modification WiFi network
Road.
8. the method according to the description of claim 7 is characterized in that also believing comprising target in the control script acquisition request
Road, the destination channel are determined by the terminal according to the network information of adjacent WiFi network;
It is described that at least one corresponding control script of the device manufacturer is obtained according to the identification of the manufacturer, comprising:
According to the identification of the manufacturer, at least one corresponding control script template of the device manufacturer is obtained;
According to control script template and the destination channel described at least one, at least one described control script is generated, it is described
Terminal is for executing at least one described control script, so that the wireless routing device will be described according to the control instruction
The channel of WiFi network is revised as the destination channel.
9. a kind of Wireless Fidelity WiFi network channel modifies device, which is characterized in that described device is applied to be equipped with WiFi pipe
The terminal of application program is managed, the WiFi management application program is for carrying out pipe to the wireless routing device of distinct device manufacturer
Reason, described device include:
Identifier acquisition module, for when receive channel modification signal when, according to the media for the wireless routing device being currently accessed
Access control MAC addresses obtain the identification of the manufacturer of wireless routing device corresponding device manufacturer;
Request sending module controls script acquisition request for sending to server, includes in the control script acquisition request
The identification of the manufacturer;
Script receiving module, at least one described control foot of the correspondence identification of the manufacturer for receiving the server feedback
This, the control script is used to simulate the operation that channel is modified in wireless routing device administration interface, and different control feet
The wireless routing device of this correspondence different model;
Execution module sends control instruction for executing the control script, and to the wireless routing device, and the control refers to
Enable the channel for being used to indicate the wireless routing device modification WiFi network.
10. a kind of Wireless Fidelity WiFi network channel modifies device, which is characterized in that described device includes:
Request receiving module is wrapped in the control script acquisition request for receiving the control script acquisition request of terminal transmission
Identification of the manufacturer containing the wireless routing device corresponding device manufacturer that the terminal is currently accessed, the identification of the manufacturer is by the terminal
It is determined according to the MAC address of the wireless routing device;
Script obtains module, for obtaining at least one corresponding control script of the device manufacturer according to the identification of the manufacturer,
The control script is used to simulate the operation that channel is modified in wireless routing device administration interface, and different control scripts pair
Answer the wireless routing device of different model;
Script feedback module, for feeding back at least one described control script to the terminal, the terminal is described for executing
Script is controlled, and sends control instruction to the wireless routing device, the control instruction is used to indicate the wireless routing and sets
The channel of standby modification WiFi network.
11. a kind of terminal, which is characterized in that the terminal includes processor and memory, is stored at least in the memory
One instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the generation
Code collection or instruction set are executed by the processor to realize that the Wireless Fidelity WiFi network as described in claim 1 to 6 is any is believed
Road amending method.
12. a kind of server, which is characterized in that the server includes processor and memory, is stored in the memory
At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute
Code set or instruction set is stated to be executed by the processor to realize that Wireless Fidelity WiFi network as claimed in claim 7 or 8 is believed
Road amending method.
13. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction
Collection is executed by the processor to realize Wireless Fidelity WiFi network channel amending method as described in any of the claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810350663.4A CN110392375B (en) | 2018-04-18 | 2018-04-18 | WiFi network channel modification method, terminal, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810350663.4A CN110392375B (en) | 2018-04-18 | 2018-04-18 | WiFi network channel modification method, terminal, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110392375A true CN110392375A (en) | 2019-10-29 |
CN110392375B CN110392375B (en) | 2022-02-22 |
Family
ID=68284030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810350663.4A Active CN110392375B (en) | 2018-04-18 | 2018-04-18 | WiFi network channel modification method, terminal, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110392375B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111937366A (en) * | 2020-04-09 | 2020-11-13 | 焦旭 | Web request processing method and device |
CN112332999A (en) * | 2020-09-23 | 2021-02-05 | 深圳Tcl新技术有限公司 | Bandwidth allocation method, device, equipment and computer readable storage medium |
CN112348499A (en) * | 2020-11-09 | 2021-02-09 | 百富计算机技术(深圳)有限公司 | Communication service method and device of payment terminal |
CN112862349A (en) * | 2021-03-04 | 2021-05-28 | 北京同邦卓益科技有限公司 | Data processing method, device and equipment based on ABS (anti-lock braking system) service data |
CN113114396A (en) * | 2021-04-16 | 2021-07-13 | 海信视像科技股份有限公司 | Display device and channel selection method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103458012A (en) * | 2013-08-20 | 2013-12-18 | 小米科技有限责任公司 | Method and device for wireless control over network television terminal |
CN103532751A (en) * | 2013-10-09 | 2014-01-22 | 北京奇虎科技有限公司 | Management method and device for network access equipment |
CN104301139A (en) * | 2014-09-28 | 2015-01-21 | 北京奇虎科技有限公司 | Router adaptation method and device and terminal device |
CN104639354A (en) * | 2013-11-14 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Router management method and device |
CN106713004A (en) * | 2016-07-12 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Router adaptation method and system |
WO2018086478A1 (en) * | 2016-11-08 | 2018-05-17 | 深圳创维数字技术有限公司 | Method and device for upgrading wifi module in set top box, set top box and system |
-
2018
- 2018-04-18 CN CN201810350663.4A patent/CN110392375B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103458012A (en) * | 2013-08-20 | 2013-12-18 | 小米科技有限责任公司 | Method and device for wireless control over network television terminal |
CN103532751A (en) * | 2013-10-09 | 2014-01-22 | 北京奇虎科技有限公司 | Management method and device for network access equipment |
CN104639354A (en) * | 2013-11-14 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Router management method and device |
CN104301139A (en) * | 2014-09-28 | 2015-01-21 | 北京奇虎科技有限公司 | Router adaptation method and device and terminal device |
CN106713004A (en) * | 2016-07-12 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Router adaptation method and system |
WO2018086478A1 (en) * | 2016-11-08 | 2018-05-17 | 深圳创维数字技术有限公司 | Method and device for upgrading wifi module in set top box, set top box and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111937366A (en) * | 2020-04-09 | 2020-11-13 | 焦旭 | Web request processing method and device |
CN112332999A (en) * | 2020-09-23 | 2021-02-05 | 深圳Tcl新技术有限公司 | Bandwidth allocation method, device, equipment and computer readable storage medium |
CN112332999B (en) * | 2020-09-23 | 2023-08-01 | 深圳Tcl新技术有限公司 | Bandwidth allocation method, device, equipment and computer readable storage medium |
CN112348499A (en) * | 2020-11-09 | 2021-02-09 | 百富计算机技术(深圳)有限公司 | Communication service method and device of payment terminal |
CN112862349A (en) * | 2021-03-04 | 2021-05-28 | 北京同邦卓益科技有限公司 | Data processing method, device and equipment based on ABS (anti-lock braking system) service data |
CN112862349B (en) * | 2021-03-04 | 2024-04-16 | 北京同邦卓益科技有限公司 | Data processing method, device and equipment based on ABS service data |
CN113114396A (en) * | 2021-04-16 | 2021-07-13 | 海信视像科技股份有限公司 | Display device and channel selection method |
CN113114396B (en) * | 2021-04-16 | 2023-10-13 | 海信视像科技股份有限公司 | Display device and channel selection method |
Also Published As
Publication number | Publication date |
---|---|
CN110392375B (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110392375A (en) | WiFi network channel amending method, terminal, server and storage medium | |
US11526274B2 (en) | Touch control method and apparatus | |
CN108415705A (en) | Webpage generating method, device, storage medium and equipment | |
CN108710496A (en) | Configuration update method, device, equipment and the storage medium of application program | |
CN109302385A (en) | Multimedia resource sharing method, device and storage medium | |
CN108924737A (en) | Localization method, device, equipment and computer readable storage medium | |
CN109618212A (en) | Information display method, device, terminal and storage medium | |
WO2017215660A1 (en) | Scene sound effect control method, and electronic device | |
CN109284445A (en) | Recommended method, device, server and the storage medium of Internet resources | |
CN109688147A (en) | Using login method, device, terminal, server, system and storage medium | |
CN109816042B (en) | Data classification model training method and device, electronic equipment and storage medium | |
CN111339086A (en) | Block processing method, and data query method and device based on block chain | |
CN110309243A (en) | Obtain method, apparatus, equipment and the storage medium of outdoor scene electronic map | |
CN107978321A (en) | Audio-frequency processing method and device | |
WO2018161540A1 (en) | Fingerprint registration method and related product | |
US20190205976A1 (en) | Account number registration method, apparatus, and system | |
CN108897659A (en) | Modify journal stage method for distinguishing, device and storage medium | |
CN108717365A (en) | The method and apparatus for executing function in the application | |
CN109522146A (en) | The method, apparatus and storage medium of abnormality test are carried out to client | |
CN108900925A (en) | The method and apparatus of live streaming template are set | |
CN111459466B (en) | Code generation method, device, equipment and storage medium | |
CN110288689A (en) | The method and apparatus that electronic map is rendered | |
CN110535890A (en) | The method and apparatus that file uploads | |
CN109828915A (en) | A kind of method, apparatus of debugging utility, equipment and storage medium | |
CN110765182A (en) | Data statistical method and device, electronic equipment and storage medium |
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 |