CN108174452A - wireless network connection control method, device, storage medium and terminal device - Google Patents
wireless network connection control method, device, storage medium and terminal device Download PDFInfo
- Publication number
- CN108174452A CN108174452A CN201810097942.4A CN201810097942A CN108174452A CN 108174452 A CN108174452 A CN 108174452A CN 201810097942 A CN201810097942 A CN 201810097942A CN 108174452 A CN108174452 A CN 108174452A
- Authority
- CN
- China
- Prior art keywords
- channel
- information
- wireless
- interference
- module
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/54—Allocation or scheduling criteria for wireless resources based on quality criteria
- H04W72/541—Allocation or scheduling criteria for wireless resources based on quality criteria using the level of interference
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0453—Resources in frequency domain, e.g. a carrier in FDMA
Abstract
A kind of wireless network connection control method, device, storage medium and the terminal device provided in the embodiment of the present application, this method is by after wireless gateway device starts, obtaining the signal transmitting information of external wireless module;The preferred channel information of the wireless module is determined according to the signal transmitting information;The working channel of the wireless gateway device is adjusted according to the preferred channel information.By using above-mentioned technical proposal, preferred channel can be determined by the signal transmitting information of external wireless module, and using preferred channel as the working channel of wireless gateway device, the wireless communication procedure of wireless module can be optimized, improve the stability of communication.
Description
Technical field
The invention relates to wireless communication technology field more particularly to a kind of wireless network connection control method, dresses
It puts, storage medium and terminal device.
Background technology
With the development of wireless communication technique, communication is also more and more, and common communication includes
Wireless Fidelity (Wi-Fi, WIreless-FIdelity) communication technology, the Wireless Fidelity communication technology are a kind of permission terminal devices
Access the communication technology of a WLAN (WLAN, Wireless Local Area Networks).But terminal device
After WLAN is accessed, it is easy to that the problem of unstable occurs in the transmission process of wireless network, so needing to terminal
The wireless network connection of equipment optimizes.
Invention content
A kind of wireless network connection control method provided by the embodiments of the present application, device, storage medium and terminal device, can
It is optimized with the wireless communication procedure to wireless module.
In a first aspect, the embodiment of the present application provides a kind of wireless network connection control method, including:
After wireless gateway device startup, the signal transmitting information of external wireless module is obtained;
Preferred channel information is determined according to the signal transmitting information;
The working channel of the wireless gateway device is adjusted according to the preferred channel information.
Second aspect, the embodiment of the present application provide a kind of wireless network connection control device, including:
Signal emits acquisition module, for after wireless gateway device starts, obtaining the signal transmitting of external wireless module
Information;
Channel determination module, for determining preferred channel information according to the signal transmitting information;
Channel adjustment module, for adjusting the working channel of the wireless gateway device according to the preferred channel information.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the wireless network connection control method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal device, including memory, processor and are stored in storage
And can be in the computer program of processor operation on device, the processor is realized when performing the computer program as the application is real
Apply the wireless network connection control method described in example.
A kind of wireless network connection control program provided in the embodiment of the present application, by starting in wireless gateway device
Afterwards, the signal transmitting information of external wireless module is obtained;Preferred channel information is determined according to the signal transmitting information;According to institute
State the working channel that preferred channel information adjusts the wireless gateway device.It, can be by outer by using above-mentioned technical proposal
The signal transmitting information of portion's wireless module determines preferred channel, and using preferred channel as the work of wireless gateway device
Channel can optimize the wireless communication procedure of wireless module, improve the stability of communication.
Description of the drawings
Fig. 1 is a kind of flow diagram of wireless network connection control method provided by the embodiments of the present application;
Fig. 2 is the channel schematic diagram of adopting wireless fidelity technology provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application;
Fig. 6 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application;
Fig. 7 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application;
Fig. 8 is a kind of structure diagram of wireless network connection control device provided by the embodiments of the present application;
Fig. 9 is a kind of structure diagram of terminal device provided by the embodiments of the present application;
Figure 10 is the structure diagram of another terminal device provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that
It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating
, part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
Terminal device may include smart mobile phone, tablet computer and other equipment with operating system.One in terminal device
As all built-in with wireless module, wireless modules can access WLAN so that terminal device realize online function.Wireless mould
When block and wireless gateway device establish connection, wireless gateway device is usually that one channel of random selection and wireless module are led to
Letter, and the difference of the occupation mode due to terminal device, there is also different factors to interfere the communication channel, leads to net
Network efficiency of transmission is low.The technical solution of the embodiment of the present application can adjust the channel selection strategies of wireless connection, improve network
Efficiency of transmission.
Fig. 1 is a kind of flow diagram of wireless network connection control method provided by the embodiments of the present application, and this method can
To be performed by wireless network connection control device, wherein the device can be generally integrated in by software and or hardware realization
In terminal device, other can also be integrated in and be equipped in the equipment of operating system.As shown in Figure 1, this method includes:
S110, wireless gateway device startup after, obtain external wireless module signal transmitting information.
Wherein, wireless gateway device is the connector for accessing WLAN, and the wireless gateway device after unlatching can
It is connected with being established with the wireless module of terminal device.When the wireless module and wireless gateway device of terminal device establish communication connection
When, terminal device can access WLAN.Illustratively, wireless gateway device can be wireless router (Wireless
Router), wireless module can be based on wireless network protocol and wireless router establishes communication connection, and terminal device can access
WLAN is communicated to connect with realizing.
Terminal device may include smart mobile phone, tablet computer and other equipment with operating system, the terminal device
Wireless module and exterior gateway equipment establish connection when, wireless module can access WLAN (WLAN, Wireless
Local Area Networks) so that terminal device can be communicated by WLAN.Illustratively, it is described wireless
Module can be Wireless Fidelity (Wi-Fi, WIreless-FIdelity) module, and Wireless Fidelity connects for a kind of permission terminal device
Enter the technology of WLAN.The radio frequency band of wireless fidelity module generally use 2.4G or 5G communicate.
The external wireless module can be external wireless fidelity module or external wireless communication module.The letter
Number transmitting information is the broadcast message that the external wireless module is outwardly sent.After wireless gateway device starts, radio network gateway
Equipment can select the channel of a wireless gateway device as working channel according to its initial setting up, and can be believed by the work
Road and wireless module establish connection, carry out wireless communication.After wireless gateway device startup, the wireless module of terminal device can be with
It establishes and connects with the wireless gateway device, the wireless module of terminal device can also get the signal transmitting of external wireless module
Information, the external wireless module can be other external wireless gateway devices, can also be other external wireless communications
Equipment.
The wireless communication of external wireless module is also required to occupy corresponding frequency range or channel works, due to terminal device
Wireless module established with wireless gateway device communicate to connect when, occupy a working channel and communicate, and external nothing
Wire module work can also occupy a working channel, the problem of being likely to interfere between two working channels, and then
Influence the communication of the wireless module of terminal device.So the signal transmitting information of external wireless module can be obtained, further really
Determine preferred channel information.
S111, preferred channel information is determined according to the signal transmitting information.
Wherein, the relatively low channel of interference value in all channels of the preferred channel information including wireless gateway device, can
Be interference value less than setting interference value channel.
The signal transmitting information of different external wireless modules can generate wireless module different interference, meanwhile, it is same
The signal transmitting information of a external wireless module also can be different to wireless gateway device channel generate different interference.It is optional
Ground is determined to interfere smaller channel, and is determined as excellent according to the channel of the signal transmitting information and the wireless gateway device
Select channel information.
Illustratively, 2.4G frequency ranges are operated in when the wireless fidelity module and wireless gateway device are communicatively coupled,
The communication frequency information of the communication connection is 2.412 gigahertzs (GHz) to 2.484 gigahertzs, and the work of wireless gateway device
Make frequency range and be divided into 14 channels again, as shown in Fig. 2, channel schematic diagram when being communicated for wireless module by Wireless Fidelity, often
The width of a channel be 22 megahertzs (MHz), 5 megahertzs of the center frequency point interval of adjacent channel, in all works of wireless gateway device
Make in channel, channel 1, channel 6 and channel 11 are not interfere with each other channel.
The difference of the signal transmitting information of the external wireless module, the interference to the communication connection of wireless fidelity module
It is different, frequency information corresponding with the external wireless module is contained in the signal transmitting information, if described outer
Wireless module corresponding frequency information in portion's is located in 2.4 gigahertzs to 2.485 gigahertzs, then the external wireless module is corresponding
Frequency information can cause co-channel interference to the communication process of wireless fidelity module;If the corresponding frequency information of external wireless module
In for 2.3 gigahertzs to 2.4 gigahertzs, then the signal transmitting information of external wireless module can be to the communication of wireless module
Cheng Zaocheng adjacent frequency is interfered, it is also possible to which the network transmission efficiency for leading to wireless module is low.
And if the difference of the communication channel of wireless module, corresponding interference value is also different, has and interferes big channel
Also have and interfere small channel, so by determining preferred channel information according to the signal transmitting information, can be sent out according to signal
The channel selection of information adjustment wireless gateway device is penetrated, can avoid interference larger channel, and the network for optimizing wireless module passes
Defeated rate.
S112, the working channel that the wireless gateway device is adjusted according to the preferred channel information.
Wherein, can be according to the working channel of the preferred channel information adjustment wireless gateway device:According to institute
Stating preferred channel information controls the wireless gateway device to adjust its working channel.It illustratively, can be in wireless module and nothing
Increase the set content about channel in the communication of line gateway device, preferred letter is sent to wireless gateway device by wireless module
The corresponding set content of road information so that wireless gateway device adjusts its working channel according to preferred channel information.
Optionally, the working channel that the wireless gateway device is adjusted according to the preferred channel information can be with
It is:The preferred channel information and the screen that prompt message is interfered to be sent to the terminal device are shown, the interference
Prompt message is used for the working channel that user is prompted to adjust the wireless gateway device.Illustratively, the interference prompt message
Can be that suggestion user manually adjust the channel of router and provides the operation director information of adjustment router.Pass through
Preferred channel information and interference prompt message are sent to screen and shown, user can according to operation director information and preferably
Channel information adjusts the working channel of the wireless gateway device.
Wherein it is possible to it is during the communication connection of wireless module and wireless gateway device, according to the preferred letter
Road information adjusts the working channel of the wireless gateway device.
The preferred channel information includes at least one preferred channel, determines that a preferred channel is believed as its work
Road selects one and interferes big channel, optimizes the nothing of wireless module when can be worked to avoid the wireless module of terminal device
Line communication process improves the stability of communication.
Fig. 3 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application, above-mentioned
On the basis of the technical solution that embodiment is provided, to determined according to the signal transmitting information operation of preferred channel information into
Optimization is gone, as shown in figure 3, this method includes:
S120, wireless gateway device startup after, obtain external wireless module signal transmitting information.
Specific embodiment can refer to associated description above, and details are not described herein.
S121, the communication frequency section that the external wireless module is determined according to the signal transmitting information.
S122, preferred channel information is determined according to the communication frequency section.
Wherein, frequency information corresponding with the external wireless module, Ke Yigen are contained in the signal transmitting information
According to the corresponding communication frequency section of external wireless module, each communication frequency section includes multiple and different working frequencies.It is described
Communication frequency section can be communication channel or communications band.
The signal transmitting information of external wireless module may include unfixed frequency, but the communication of external wireless module
Frequency range is generally divided into fixed communication frequency section, can be determined according to the signal transmitting information of external wireless module corresponding
Communications band.
Optionally, it is determined according to the channel to be selected in the communication frequency section and the wireless module corresponding excellent
Channel information is selected, the channel to be selected of the wireless module is the corresponding frequency range of communication frequency information or letter of the wireless module
Road.If determining preferred channel information according to signal transmitting information, signal transmitting information then needs weight in case of slight change
It is new to calculate.And since the working frequency of external wireless module is generally fixed to several communication frequency sections, each communication frequency
Section all includes certain frequency section, so in the communication frequency area that the external wireless module is determined according to signal transmitting information
Between after, even if slight change occurs for the working frequency of external wireless module, still corresponding working frequency after variation is same
Communication frequency section need not then be recalculated, can by determining corresponding preferred channel information according to the communication frequency section
To determine corresponding preferred channel information quickly.
S123, the working channel that the wireless gateway device is adjusted according to the preferred channel information.
Specific embodiment can refer to associated description above, and details are not described herein.
Fig. 4 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application, above-mentioned
On the basis of the technical solution that any embodiment is provided, to determining the behaviour of preferred channel information according to the communication frequency section
It is optimized, optionally, as shown in figure 4, this method includes:
S130, wireless gateway device startup after, obtain external wireless module signal transmitting information.
S131, the communication frequency section that the external wireless module is determined according to the signal transmitting information.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S132, the band interference letter that channel to be selected is determined according to the communication frequency section and default interference information table
Breath, the channel to be selected are at least one.
Wherein, it presets interference information table to be pre-stored in terminal device, the default interference information table may include communication frequency
The mapping relations in section, the channel to be selected of wireless module and band interference information.The channel to be selected includes to select
The channel of working channel as wireless gateway device, general wireless gateway device all treat selection letter including at least one
Road.Illustratively, if the wireless module is wireless fidelity module, the channel to be selected of the wireless gateway device includes
The channel 1 of Wireless Fidelity is to channel 14.
The band interference information includes different interference values of the communication frequency section to different channels to be selected.Often
A different communication frequency section is also different to the interference value of channel, and different communication frequency is stored in default interference information table
The corresponding different frequency range interference value in rate section and store interference of the same communication frequency section to different channels to be selected
Value.
Wherein, presetting interference information table can modify or more according to the operation of user or the data update of background system
Newly.
S133, according to the band interference information, preferred channel information is determined from the channel to be selected.
Wherein it is determined that after band interference information, it is possible to determine corresponding preferred channel information.Illustratively, frequency
Higher channel select of interference value in section interference information, the channel are imitated in the data transmission for carrying out wireless module operation
Rate is lower.So the interference value in the band interference information of channel to be selected, determines preferred channel information, it can be to avoid choosing
A big channel of interference is selected, optimizes wireless module and wireless gateway device establishes the wireless communication procedure of connection, improve communication
Stability.
S134, the working channel that the wireless gateway device is adjusted according to the preferred channel information.
Specific embodiment can refer to associated description above, and details are not described herein.
Fig. 5 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application, above-mentioned
On the basis of the technical solution that any embodiment is provided, to adjusting the wireless gateway device according to the preferred channel information
The operation of working channel be optimized, optionally, as shown in figure 5, this method includes:
S140, wireless gateway device startup after, obtain external wireless module signal transmitting information.
S141, the communication frequency section that the external wireless module is determined according to the signal transmitting information.
S142, the band interference letter that channel to be selected is determined according to the communication frequency section and default interference information table
Breath, the channel to be selected are at least one.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S143, the interference value in the band interference information determine that interference value minimum setting quantity is waited to select
Channel.
The band interference information includes the corresponding interference value of different channels to be selected, it is possible to be done according to different
Value is disturbed, determines the channel to be selected of the wherein minimum setting quantity of interference value.Illustratively, quantity is set as 3, Wireless Fidelity mould
In 14 channels of block, according to the interference value of channel each in 14 channels, it may be determined that wherein channel 6, channel 8 and channel 11
Interference value be three minimum in all interference values, then can determine three channels to be selected, including:Channel 6,8 and of channel
Channel 11.Wherein, the setting quantity can be default or user setting, and the embodiment of the present application is not limited thereto.
S144, the screen that the channel to be selected of the setting quantity and its band interference information are sent to the terminal device
Curtain is shown.
S145, according to selection information input by user, determined from channel select of the setting quantity it is described wirelessly
The preferred channel information of module.
The screen that the channel to be selected for setting quantity and its band interference information are sent to terminal device shows, can
So that user understands the band interference information of channel to be selected, user can determine a preferred channel according to band interference information
Channel selection as wireless module.
Optionally, the channel to be selected for setting quantity, band interference information and interference source can also be prompted to be sent to
The screen of terminal device is shown, so that user further appreciates that the interference source that each channel to be selected is disturbed is,
User can also prompt to close closable interference source according to interference source, advanced optimize the communication process of wireless module.Example
Property, the interference value of the channel 6 of the wireless fidelity module, channel 8 and channel 11 is 2db, and corresponding interference source is
Electronic equipment a, electronic equipment b and electronic equipment c, can be according to the use demand of user when user understands the interference source of difference
Corresponding electronic equipment is closed, and selects channel more suitably to be selected as preferred channel.
S146, the working channel that the wireless gateway device is adjusted according to the preferred channel information.
Specific embodiment can refer to associated description above, and details are not described herein.
Fig. 6 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application, above-mentioned
On the basis of the technical solution that any embodiment is provided, as shown in fig. 6, this method includes:
S150, wireless gateway device startup after, obtain external wireless module signal transmitting information.
Specific embodiment can refer to associated description above, and details are not described herein.
S151, the detection terminal device interference communication module working condition, it is described that interfere communication module be at least
One.
The interference communication module is led to for the meeting included on terminal device to what the communication connection of wireless module interfered
Believe module, in addition to wireless module and mobile communication module on terminal device, further include other more communication modules;It is exemplary
Ground, it may include bluetooth module and wireless RF module etc..When interference communication module is worked, working frequency can be to wireless module
Channel to be selected interfere, such as co-channel interference, adjacent frequency interference and frequency multiplication interference etc..The work of the interference communication module
State may include being turned on and off.
S152, the communication frequency section that the external wireless module is determined according to the signal transmitting information.
S153, according to the communication frequency section, it is described interference communication module working condition and default interference information table
Determine the band interference information of channel to be selected.
Wherein, it presets interference information table and includes communication frequency section, the channel to be selected of wireless module, interference communication mould
The mapping relations of the working condition of block and corresponding band interference information.Illustratively, in the communication of external wireless module frequency
While rate section interferes the channel to be selected of wireless module, interfere the working condition of communication module also can be correspondingly right
The channel to be selected of wireless module causes certain interference, so corresponding band interference information has and can be varied from;It is default dry
The band interference information of corresponding channel to be selected in the case of being had recorded in information table there are disturbance is disturbed, according to described logical
The working condition of letter frequency separation and the interference communication module determines the band interference information of corresponding channel to be selected, can
To further determine that accurate preferred channel information, avoid the wireless module of terminal device and wireless gateway device foundation connect into
The big channel of one interference of selection, can optimize wireless communication procedure, improve the stability of communication during row work.
S154, according to the band interference information, preferred channel information is determined from the channel to be selected.
S155, the working channel that the wireless gateway device is adjusted according to the preferred channel information.
Above-mentioned specific embodiment can refer to associated description above, and details are not described herein.
It wherein, can also it should be noted that the execution sequence of operation S151 and operation S152 is not limited to shown in Fig. 8
Operation S152 is being first carried out.
Fig. 7 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application, above-mentioned
On the basis of the technical solution that any embodiment is provided, as shown in fig. 7, this method includes:
S160, wireless gateway device startup after, obtain external wireless module signal transmitting information.
External wireless interference information in S161, the default frequency range of detection.
The default frequency range can be can be described dry to frequency range or channel that the channel to be selected of wireless module interferes
Disturbing may include co-channel interference, adjacent frequency interference and frequency multiplication interference.Default frequency range can be determined according to the channel to be selected of wireless module,
It can detect in default frequency range with the presence or absence of external wireless interference information;External wireless interference information is other outside terminal device
Equipment communicates sent out interference information, illustratively, such as the microwave interference information of micro-wave oven, such as tramway and power plant
The interference information or other working frequencies of grade external power supplies are in 2.4 gigahertzs or the interference information of the wireless device of 5 gigahertzs.
S162, the communication frequency section that the external wireless module is determined according to the signal transmitting information.
S163, it determines to treat according to the communication frequency section, the external wireless interference information and default interference information table
Select the band interference information of channel.
Wherein, preset that interference information table includes communication frequency section, the channel to be selected of wireless module, external wireless are done
Disturb the mapping relations of information and corresponding band interference information.Illustratively, in the communication frequency section of external wireless module
While being interfered to the channel to be selected of wireless module, external wireless interference information also can correspondingly treat wireless module
Selection channel causes certain interference, so corresponding band interference information has and can be varied from;Remember in default interference information table
Corresponding band interference information in the case of having recorded there are disturbance is interfered according to the communication frequency section and external wireless
Information determines corresponding band interference information, may further determine that accurate preferred channel information, avoids terminal device
Wireless module and wireless gateway device establish the channel that one interference of selection is big when connection is worked, and can optimize wireless communication
Process improves the stability of communication.
S164, according to the band interference information, preferred channel information is determined from the channel to be selected.
S165, the working channel that the wireless gateway device is adjusted according to the preferred channel information.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
It optionally, can also be according to the communication frequency section, the working condition of the interference communication module, the outside
Air interference information and default interference information table determine corresponding band interference information.
It wherein, can also it should be noted that the execution sequence of operation S161 and operation S162 is not limited to shown in Fig. 9
Operation S162 is being first carried out.
Fig. 8 is a kind of structure diagram of wireless network connection control device provided by the embodiments of the present application, which can be with
Wireless network connection control method is performed, as shown in figure 8, the device includes:
Signal emits acquisition module 210, for after wireless gateway device starts, obtaining the signal hair of external wireless module
Penetrate information;
Channel determination module 211, for determining preferred channel information according to the signal transmitting information;
Channel adjustment module 212 is believed for adjusting the work of the wireless gateway device according to the preferred channel information
Road.
A kind of wireless network connection control device provided in the embodiment of the present application, by starting in wireless gateway device
Afterwards, the signal transmitting information of external wireless module is obtained;Preferred channel information is determined according to the signal transmitting information;According to institute
State the working channel that preferred channel information adjusts the wireless gateway device.It, can be by outer by using above-mentioned technical proposal
The signal transmitting information of portion's wireless module determines preferred channel, and using preferred channel as the work of wireless gateway device
Channel can optimize the wireless communication procedure of wireless module, improve the stability of communication.
Optionally, channel determination module specifically includes:
Communication interval determination unit, for determining the communication of external wireless module frequency according to the signal transmitting information
Rate section;
Channel confirmation unit, for determining preferred channel information according to the communication frequency section.
Optionally, channel confirmation unit specifically includes:
Band interference determination subelement, for determining to wait to select according to the communication frequency section and default interference information table
The band interference information of channel, the channel to be selected are at least one;
Preferred channel determination subelement, for according to the band interference information, being determined from the channel to be selected excellent
Select channel information.
Optionally, the preferred channel determination subelement is specifically used for:
According to the interference value in the band interference information, the channel to be selected of the minimum setting quantity of interference value is determined;
By the channel to be selected of the setting quantity and its band interference information be sent to the screen of the terminal device into
Row display;
According to selection information input by user, preferred channel information is determined from the channel to be selected of the setting quantity.
Optionally, channel adjustment module is specifically used for:The preferred channel information and interference prompt message are sent to institute
The screen for stating terminal device is shown that the interference prompt message is used for the work that user is prompted to adjust the wireless gateway device
Make channel.
Optionally, it further includes:
Interference communication determines the first subelement, for being determined according to the communication frequency section and default interference information table
Before corresponding band interference information, the working condition of the interference communication module of the terminal device, the interference communication are detected
Module is at least one;
Correspondingly, interference determination subelement is specifically used for:
It is determined pair according to the communication frequency section, the working condition of the interference communication module and default interference information table
The band interference information answered.
Optionally, it further includes:
Interference communication determines the second subelement, for being determined according to the communication frequency section and default interference information table
Before corresponding band interference information, the external wireless interference information in default frequency range is detected;
Correspondingly, interference determination subelement is specifically used for:
Corresponding frequency is determined according to the communication frequency section, the external wireless interference information and default interference information table
Section interference information.
A kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer can perform
The wireless network connection control operation being not limited to the described above is instructed, the nothing that the application any embodiment is provided can also be performed
Relevant operation in line network connection control method.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform
When being performed by computer processor for performing wireless network connection control method, this method includes for instruction:
After wireless gateway device startup, the signal transmitting information of external wireless module is obtained;
Preferred channel information is determined according to the signal transmitting information;
The working channel of the wireless gateway device is adjusted according to the preferred channel information.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can further include other
The memory or combination of type.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction and be used to perform to the first computer." storage is situated between term
Matter " can include may reside in different location two of (such as in different computer systems by network connection) or
More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement
For computer program).
The embodiment of the present application provides a kind of terminal device, and nothing provided by the embodiments of the present application can be integrated in the terminal device
Line network connection control device.
Fig. 9 is a kind of structure diagram of terminal device provided by the embodiments of the present application, and the embodiment of the present application provides one
Kind of terminal device 30 including memory 31, processor 32 and is stored in the computer that can be run on memory 31 and in processor
Program, the processor realize the wireless network connection control method described in above-described embodiment when performing the computer program.
Terminal device provided by the embodiments of the present application can determine preferred letter by the signal transmitting information of external wireless module
Road, and using preferred channel as the working channel of wireless gateway device, the wireless communication procedure of wireless module can be optimized, carried
The stability of height communication.
Figure 10 is a kind of structure diagram of terminal device provided by the embodiments of the present application.As shown in Figure 10, which sets
It is standby to include:Housing (not shown), touch screen (not shown), touch key-press (not shown), memory
301st, central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), circuit board
(not shown) and power circuit (not shown).The circuit board is placed in the space interior that the housing surrounds;Institute
It states CPU302 and the memory 301 is arranged on the circuit board;The power circuit, for for each of the terminal device
A circuit or device power supply;The memory 301, for storing executable program code;The CPU302 passes through described in reading
The executable program code stored in memory 301 runs computer program corresponding with the executable program code, with
Realize following steps:
After wireless gateway device startup, the signal transmitting information of external wireless module is obtained;
Preferred channel information is determined according to the signal transmitting information;
The working channel of the wireless gateway device is adjusted according to the preferred channel information.
The terminal device further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric
Road 306, loud speaker 311, power management chip 308, input/output (I/O) subsystem 309, touch screen 312, other input/controls
Control equipment 310 and outside port 304, these components are communicated by one or more communication bus or signal wire 307.
It should be understood that graphic terminal 300 is only an example of terminal device, and terminal device 300
Can have than more or less components shown in figure, two or more components can be combined or can be with
It is configured with different components.Various parts shown in figure can be including one or more signal processings and/or special
Hardware, software including integrated circuit are realized in the combination of hardware and software.
Just the terminal device provided in this embodiment for being used to implement wireless network connection control is described in detail below,
The terminal device is by taking mobile phone as an example.
Memory 301, the memory 301 can be by access such as CPU302, Peripheral Interfaces 303, and the memory 301 can
To include high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU302 and deposited by Peripheral Interface 303, the Peripheral Interface 303
Reservoir 301.
I/O subsystems 309, the I/O subsystems 309 can be by the input/output peripherals in equipment, such as touch screen 312
With other input/control devicess 310, it is connected to Peripheral Interface 303.I/O subsystems 309 can include 3091 He of display controller
For controlling one or more input controllers 3092 of other input/control devicess 310.Wherein, one or more input controls
Device 3092 processed receives electric signal from other input/control devicess 310 or sends electric signal to other input/control devicess 310,
Other input/control devicess 310 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks idler wheel.What deserves to be explained is input controller 3092 can with it is following any one connect:Keyboard, infrared port,
The indicating equipment of USB interface and such as mouse.
Touch screen 312, the touch screen 312 are the input interface and output interface between subscriber terminal equipment and user,
Visual output is shown to user, visual output can include figure, text, icon, video etc..
Display controller 3091 in I/O subsystems 309 receives electric signal from touch screen 312 or is sent out to touch screen 312
Electric signals.Touch screen 312 detects the contact on touch screen, and the contact detected is converted to and shown by display controller 3091
The interaction of user interface object on touch screen 312, that is, realize human-computer interaction, the user interface being shown on touch screen 312
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light
Mouse, light mouse are the extensions for not showing the touch sensitive surface visually exported or the touch sensitive surface formed by touch screen.
RF circuits 305 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 305 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 305 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 305 can include performing
The known circuit of these functions includes but not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 306 is mainly used for receiving audio data from Peripheral Interface 303, which is converted to telecommunications
Number, and the electric signal is sent to loud speaker 311.
Loud speaker 311 for the voice signal for receiving mobile phone from wireless network by RF circuits 305, is reduced to sound
And play the sound to user.
Power management chip 308, the hardware for being connected by CPU302, I/O subsystem and Peripheral Interface are powered
And power management.
Terminal device provided by the embodiments of the present application can be determined excellent by the signal transmitting information of external wireless module
The channel of choosing, and using preferred channel as the working channel of wireless gateway device, the wireless communication of wireless module can be optimized
Process improves the stability of communication.
Wireless network connection control device, storage medium and the terminal device provided in above-described embodiment can perform the application
The wireless network connection control method that any embodiment is provided has and performs the corresponding function module of this method and beneficial to effect
Fruit.The not technical detail of detailed description in the above-described embodiments, reference can be made to the wireless network that the application any embodiment is provided
Connect control method.
Note that it above are only the preferred embodiment of the application and institute's application technology principle.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation,
The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application
It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also
It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.
Claims (10)
1. wireless network connection control method, which is characterized in that including:
After wireless gateway device startup, the signal transmitting information of external wireless module is obtained;
Preferred channel information is determined according to the signal transmitting information;
The working channel of the wireless gateway device is adjusted according to the preferred channel information.
2. the method as described in claim 1, which is characterized in that described to determine that preferred channel is believed according to the signal transmitting information
Breath includes:
The communication frequency section of the external wireless module is determined according to the signal transmitting information;
Preferred channel information is determined according to the communication frequency section.
3. method as claimed in claim 2, which is characterized in that described to determine that preferred channel is believed according to the communication frequency section
Breath includes:
The band interference information of channel to be selected is determined according to the communication frequency section and default interference information table, it is described to be selected
It is at least one to select channel;
According to the band interference information, preferred channel information is determined from the channel to be selected.
4. method as claimed in claim 3, which is characterized in that it is described according to the band interference information, it waits to select from described
Preferred channel information is determined in channel, including:
According to the interference value in the band interference information, the channel to be selected of the minimum setting quantity of interference value is determined;
The screen that the channel to be selected of the setting quantity and its band interference information are sent to the terminal device is shown
Show;
According to selection information input by user, preferred channel information is determined from the channel to be selected of the setting quantity.
5. such as Claims 1-4 any one of them method, which is characterized in that described to be adjusted according to the preferred channel information
The working channel of the wireless gateway device includes:
The preferred channel information and the screen that prompt message is interfered to be sent to the terminal device are shown, the interference
Prompt message is used for the working channel that user is prompted to adjust the wireless gateway device.
6. the method as described in claim 3 or 4, which is characterized in that described according to the communication frequency section and default interference
Before information table determines the band interference information of channel to be selected, further include:
The working condition of the interference communication module of the terminal device is detected, the interference communication module is at least one;
Correspondingly, it is described to determine that the band interference of channel to be selected is believed according to the communication frequency section and default interference information table
Breath includes:
It determines to wait to select according to the communication frequency section, the working condition of the interference communication module and default interference information table
The band interference information of channel.
7. the method as described in claim 3 or 4, which is characterized in that described according to the communication frequency section and default interference
Before information table determines the band interference information of channel to be selected, further include:
External wireless interference information in the default frequency range of detection;
Correspondingly, it is described to determine that the band interference of channel to be selected is believed according to the communication frequency section and default interference information table
Breath includes:
Channel to be selected is determined according to the communication frequency section, the external wireless interference information and default interference information table
Band interference information.
8. wireless network connection control device, which is characterized in that including:
Signal emits acquisition module, for after wireless gateway device starts, obtaining the signal transmitting information of external wireless module;
Channel determination module, for determining preferred channel information according to the signal transmitting information;
Channel adjustment module, for adjusting the working channel of the wireless gateway device according to the preferred channel information.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The wireless network connection control method as described in any one of claim 1-7 is realized during row.
10. a kind of terminal device, which is characterized in that including memory, processor and storage are on a memory and can be in processor
The computer program of operation, which is characterized in that the processor realizes that claim 1-7 such as appoints when performing the computer program
Wireless network connection control method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810097942.4A CN108174452B (en) | 2018-01-31 | 2018-01-31 | Wireless network connection control method, device, storage medium and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810097942.4A CN108174452B (en) | 2018-01-31 | 2018-01-31 | Wireless network connection control method, device, storage medium and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108174452A true CN108174452A (en) | 2018-06-15 |
CN108174452B CN108174452B (en) | 2021-04-13 |
Family
ID=62512478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810097942.4A Active CN108174452B (en) | 2018-01-31 | 2018-01-31 | Wireless network connection control method, device, storage medium and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108174452B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112492688A (en) * | 2020-11-17 | 2021-03-12 | 珠海格力电器股份有限公司 | Channel configuration method and device of gateway concentrator and air conditioner cluster |
CN113810909A (en) * | 2020-06-16 | 2021-12-17 | 华为技术有限公司 | Channel allocation method and device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102685853A (en) * | 2011-02-23 | 2012-09-19 | 巴比禄股份有限公司 | Communication channel selection device, method therefor, and access point |
US20140086139A1 (en) * | 2012-09-21 | 2014-03-27 | Samsung Electronics Co., Ltd. | Repeater for selecting channel in local communication system, and method thereof |
CN103974421A (en) * | 2013-01-25 | 2014-08-06 | 华为终端有限公司 | Channel selecting method and device |
CN106658522A (en) * | 2015-11-02 | 2017-05-10 | 中兴通讯股份有限公司 | Communication interference processing method and terminal |
-
2018
- 2018-01-31 CN CN201810097942.4A patent/CN108174452B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102685853A (en) * | 2011-02-23 | 2012-09-19 | 巴比禄股份有限公司 | Communication channel selection device, method therefor, and access point |
US20140086139A1 (en) * | 2012-09-21 | 2014-03-27 | Samsung Electronics Co., Ltd. | Repeater for selecting channel in local communication system, and method thereof |
CN103974421A (en) * | 2013-01-25 | 2014-08-06 | 华为终端有限公司 | Channel selecting method and device |
CN106658522A (en) * | 2015-11-02 | 2017-05-10 | 中兴通讯股份有限公司 | Communication interference processing method and terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113810909A (en) * | 2020-06-16 | 2021-12-17 | 华为技术有限公司 | Channel allocation method and device and storage medium |
CN112492688A (en) * | 2020-11-17 | 2021-03-12 | 珠海格力电器股份有限公司 | Channel configuration method and device of gateway concentrator and air conditioner cluster |
Also Published As
Publication number | Publication date |
---|---|
CN108174452B (en) | 2021-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108184245A (en) | Hotspot connection control method, device, storage medium and terminal device | |
CN108055687B (en) | Wireless network connection method and device and terminal equipment | |
KR20200080023A (en) | Electronic device and method for reducing self-interference caused by dual uplink operation | |
CN106686519B (en) | The method, apparatus and terminal of the stereo pairing of audio-frequence player device | |
EP3633880B1 (en) | Radio frequency interference processing method and electronic device | |
WO2015024434A1 (en) | Devices and methods for audio volume adjustment | |
CN106911956B (en) | Audio data playing method and device and mobile terminal | |
CN104393848A (en) | Method and device for adjusting volume | |
EP2905998A1 (en) | Electronic device and method of connecting electronic device to network | |
CN108337735A (en) | wireless network connection control method, device, storage medium and terminal device | |
CN106878915B (en) | Control method, device and the playback equipment and mobile terminal of playback equipment | |
EP4064760A1 (en) | Device control method and apparatus, storage medium and electronic device | |
CN108966080A (en) | volume adjusting method, device, storage medium and terminal device | |
CN108174452A (en) | wireless network connection control method, device, storage medium and terminal device | |
CN108055706A (en) | wireless network connection control method, device, storage medium and terminal device | |
CN107508983B (en) | Volume adjusting method and device, storage medium and terminal equipment | |
CN106603870B (en) | Control method and device of playing equipment, playing equipment and mobile terminal | |
KR20070059997A (en) | System and method for providing configuration information of network-based apparatus | |
CN109089190B (en) | Impedance curve determination method and device, storage medium and terminal equipment | |
KR20210043337A (en) | Electronic device for controlling power switching mode and operating method thereof | |
CN108307447A (en) | Wireless network transmissions control method, device, storage medium and terminal device | |
CN106791090B (en) | Mobile terminal restart control method and device and mobile terminal | |
CN108307485A (en) | wireless network scanning method, device, terminal device and storage medium | |
CN110730948A (en) | Volume adjusting method and device, storage medium and mobile terminal | |
CN108632713B (en) | Volume control method and device, storage medium and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |