CN108337735A - 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
- CN108337735A CN108337735A CN201810095931.2A CN201810095931A CN108337735A CN 108337735 A CN108337735 A CN 108337735A CN 201810095931 A CN201810095931 A CN 201810095931A CN 108337735 A CN108337735 A CN 108337735A
- Authority
- CN
- China
- Prior art keywords
- channel
- information
- wireless
- interference
- terminal device
- 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.)
- Pending
Links
Classifications
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
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 when the wireless module and wireless gateway device of terminal device establish communication connection, obtaining the working frequency information of the communication module of the terminal device;The preferred channel information of the wireless module is determined according to the working frequency information;The working channel of the wireless gateway device is adjusted according to the preferred channel information.By using above-mentioned technical proposal, the channel of preferred wireless module can be determined by the working frequency information of the communication module of terminal device, and by the working channel of preferred channel, 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 sets, 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 accessing WLAN, it is easy to that unstable problem 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, device, storage medium and terminal device provided by the embodiments of the present application, 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:
When the wireless module and wireless gateway device of terminal device establish communication connection, the logical of the terminal device is obtained
Believe the working frequency information of module;
The preferred channel information of the wireless module is determined according to the working frequency 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:
Frequency acquisition module, for when the wireless module and wireless gateway device of terminal device establish communication connection, obtaining
Take the working frequency information of the communication module of the terminal device;
Channel determination module, the preferred channel information for determining the wireless module according to the working frequency information;
Channel adjustment module, the working channel for adjusting 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
It can realize on device and when the computer program of processor operation, the processor execute 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, passes through the wireless module in terminal device
When establishing communication connection with wireless gateway device, the working frequency information of the communication module of the terminal device is obtained;According to institute
State the preferred channel information that working frequency information determines the wireless module;It is described wireless according to preferred channel information adjustment
The working channel of gateway device.By using above-mentioned technical proposal, the working frequency of the communication module of terminal device can be passed through
Information determines preferred channel, and using preferred channel as the working channel of wireless gateway device, can optimize wireless mould
The wireless communication procedure of block improves 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 flow diagram of another wireless network connection control method provided by the embodiments of the present application;
Fig. 3 is a kind of schematic diagram of a scenario of wireless network connection control method provided by the embodiments of the present application;
Fig. 4 is the channel schematic diagram of adopting wireless fidelity technology 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 the flow diagram of another wireless network connection control method provided by the embodiments of the present application;
Fig. 9 is the flow diagram of another wireless network connection control method provided by the embodiments of the present application;
Figure 10 is a kind of structure diagram of wireless network connection control device provided by the embodiments of the present application;
Figure 11 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application;
Figure 12 is the structural schematic diagram of another terminal device provided by the embodiments of the present application.
Specific implementation mode
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
, illustrate only for ease of description, in attached drawing and the relevant part of the application rather than entire infrastructure.
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 when completion, it is also possible to 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 be interfered to 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 executed 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, terminal device wireless module and wireless gateway device establish communication connection when, obtain the terminal and set
The working frequency information of standby communication module.
Wherein, terminal device may include smart mobile phone, tablet computer and other equipment with operating system, the terminal
When the wireless module and exterior gateway equipment of equipment establish connection, wireless module can access WLAN (WLAN,
Wireless Local Area Networks) so that terminal device can be communicated by WLAN.It is exemplary
Ground, the wireless module can be Wireless Fidelity (Wi-Fi, WIreless-FIdelity) modules, and Wireless Fidelity is a kind of permission
Terminal device accesses the technology of WLAN.The radio frequency band of wireless fidelity module generally use 2.4G or 5G are communicated.
Wireless gateway device is the connector for accessing WLAN, when the wireless module and wireless network of terminal device
When closing equipment foundation communication connection, terminal device can access WLAN.Illustratively, wireless gateway device can be nothing
Line router (Wireless Router), wireless module can be based on wireless network protocol and wireless router establishes communication link
It connects, terminal device can access WLAN to realize communication connection.
Optionally, when detect terminal device wireless module start, and with wireless gateway device establish communicate to connect
When, obtain the working frequency information of the communication module of the terminal device.Wireless module and radio network gateway set initially standby establish and lead to
When letter connection, wireless module can select the channel of a wireless gateway device as working channel according to its initial setting up.Wherein,
It can be the starting switch for triggering wireless module that the wireless module of terminal device, which starts, illustratively, if terminal device is intelligence
Energy mobile phone, it can be that user touches the starting switch for starting wireless module that wireless module, which starts,.After wireless module starts, it will search
The wireless signal of wireless gateway device around rope, to establish communication connection.
The communication module of the terminal device is other communication modules in addition to wireless module on terminal device, optionally
The communication module is wireless communication module.Wireless communication is believed generally by occupying specific frequency channel by electromagnetic wave
It propagates to realize that information exchange, communication may include microwave communication and satellite communication number in specific frequency channel, shows
Example property, communication may include mobile communication and short-distance wireless communication etc..
Since the wireless module of terminal device with wireless gateway device when establishing communication connection, a work frequency is occupied
Duan Jinhang is communicated, and the work of the communication module of terminal device can also occupy a working frequency range, between two working frequency range
The problem of being likely to interfere, and then influence the communication of the wireless module of terminal device.Different mobile communication modules
Working frequency information can generate wireless module different interference, it is possible to obtain the work of the communication module of the terminal device
Working frequency information further determines that preferred channel information.
Optionally, as shown in Fig. 2, the working frequency information of the communication module for obtaining the terminal device can pass through
Following manner is implemented:
S1101, the detection terminal device mobile communication module working condition.
S1102, when detecting that the mobile communication module is in emission state, obtain the work of the mobile communication module
Working frequency information.
The mobile communication module is for making terminal device realize mobile communication, and illustratively, mobile communication module can wrap
Include 2G communication modules, 3G communication modules, 4G communication modules or 5G communication modules etc..Fig. 3 is one kind provided by the embodiments of the present application
The schematic diagram of a scenario of wireless network transmissions control method, as shown in figure 3, terminal device can pass through wireless module and radio network gateway
When equipment connection access WLAN, terminal device can also establish connection by mobile communication module and Mobile Communication Tower,
To realize mobile communication.Illustratively, mobile communication module can be LTE (Long Term Evolution, long term evolution) mould
Block, LTE are a kind of network formats belonged in mobile communication, and LTE is by 3GPP (The 3rd Generation
Partnership Project, third generation partner program) UMTS (the Universal Mobile that organize to set up
Telecommunications System, Universal Mobile Communication System) technical standard long term evolution, LTE is GSM (Global
System for Mobile Communication, global system for mobile communications) standard upgrading, LTE technologies have it is higher
The advantages that data transmission bauds, the extensive use in terminal device.
When mobile communication module is in work, the communication connection of wireless module can be interfered, even if user passes through nothing
Wire module is communicatively coupled and carries out data transmission, and if mobile communication module is not off, mobile communication module will
It persistently works, and wireless module is interfered.
When mobile communication module is in emission state, the launching opportunity of mobile communication module becomes interference source, can give terminal
The channel that the wireless module and wireless gateway device of equipment are communicated interferes, and causes to communicate to connect unstable, and occurs
The low problem of network transmission efficiency.
So the working condition of the mobile communication module by detection terminal equipment, if mobile communication module is in transmitting
When state, then the working frequency information of the mobile communication module is obtained, and then can be according to the work frequency of mobile communication module
Rate information determines preferred channel information, when mobile communication module is in emission state, an interference to be selected smaller
The channel that is communicatively coupled as wireless module and wireless gateway device of channel.
S111, preferred channel information is determined according to the working frequency information.
Wherein, the preferred channel information include wireless gateway device all channels in the lower channel of interference value, can
To be channel of the interference value less than setting interference value.
The working frequency information of different mobile communication modules can generate wireless module different interference, meanwhile, it is same
The working frequency information of a mobile communication module also can the channel different to wireless gateway device generate different interference.It is optional
Ground determines according to the channel of the working frequency information and the wireless gateway device and interferes smaller channel, and is determined as excellent
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 is divided into 14 channels again, as shown in figure 4, channel schematic diagram when being communicated by Wireless Fidelity for wireless module, often
The width of a channel is 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 communication module working frequency information, it is also different to the interference of the communication connection of wireless module,
If the working frequency information of the communication module is 2.4 gigahertzs to 2.485 gigahertzs, the working frequency of the communication module
Co-channel interference can be caused to the communication process of wireless module;If the working frequency information of communication module is 2.3 gigahertzs to 2.4
Gigahertz, then the working frequency of communication module adjacent frequency can be caused to interfere the communication process of wireless module, it is also possible to cause wireless
The network transmission efficiency of 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 working frequency information, it can be according to work frequency
Rate information adjusts the channel selection of wireless gateway device, and 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, the working channel for the wireless gateway device being adjusted according to the preferred channel information can be:According to institute
It states the preferred channel information control wireless gateway device and adjusts 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 for interfering prompt message to be sent to the terminal device are shown, the interference
The working channel that prompt message is used to that user to be prompted to adjust the wireless gateway device.
Illustratively, the interference prompt message can be the channel that suggestion user manually adjust router, and
The operation director information of adjustment router is provided.By the way that preferred channel information and interference prompt message to be sent to screen and show
Show, user can adjust the working channel of the wireless gateway device according to operation director information and preferred channel information.
Wherein it is possible to during being the communication connection in 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, the big channel of one interference of selection, 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. 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 embodiment is provided, the behaviour of the working frequency information of the communication module to obtaining the terminal device
It is optimized, as shown in figure 5, this method includes:
S120, terminal device wireless module and wireless gateway device establish communication connection when, obtain the terminal and set
The working frequency information of standby communication module.
Specific implementation mode can refer to associated description above, and details are not described herein.
S121, the communications band that the communication module is determined according to the working frequency information.
S122, preferred channel information is determined according to the communications band.
Wherein, it includes multiple that the communication module has multiple and different communications bands, each communications band at work
Different working frequencies.The working frequency information of the communication module of terminal device may include different frequency, but communicate mould
The communications band of block is generally divided into fixed communications band, can be determined according to the working frequency information of communication module corresponding
Communications band.Illustratively, the working frequency range of LTE module include B1, B2, B3 ... and B40 etc.;The work of each frequency range
Frequency is all different, such as the working frequency information of LTE B40 frequency ranges is 2300 megahertzs (MHz) to 2400 megahertzs, LTE B1
The working frequency information of frequency range is 1920 megahertzs to 1980 megahertzs.
Optionally, determine that corresponding preferred channel is believed according to the channel to be selected of the communications band and the wireless module
Breath, the channel to be selected of the wireless module are the corresponding frequency range of communication frequency information or channel of the wireless module.If
Preferred channel information is determined according to working frequency information, and working frequency information then needs to recalculate in case of slight change.
And since the working frequency of communication module generally comprises several fixed communications bands, each communications band includes certain frequency
Rate section, so after the communications band for determining the communication module according to working frequency information, even if working frequency occurs gently
Microvariations, still corresponding working frequency after variation is the same communications band, then is not necessarily to recalculate, by according to described logical
Letter frequency range determines corresponding preferred channel information, can determine corresponding preferred channel information quickly.
S123, the working channel that the wireless gateway device is adjusted according to the preferred channel information.
Specific implementation mode 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, to determined according to the communications band operation of preferred channel information into
Optimization is gone, optionally, as shown in fig. 6, this method includes:
S130, terminal device wireless module and wireless gateway device establish communication connection when, obtain the terminal and set
The working frequency information of standby communication module.
S131, the communications band that the communication module is determined according to the working frequency information.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
S132, the band interference information that channel to be selected is determined according to the communications band and default interference information table, institute
It is at least one to state channel to be selected.
Wherein, preset interference information table be pre-stored in terminal device, the default interference information table may include communications band,
The mapping relations of the channel to be selected and band interference information of wireless module.The channel to be selected includes that may select for nothing
The channel of the working channel of line gateway device, general wireless gateway device all include at least one channel to be selected.Example
Property, if the wireless module is wireless fidelity module, the channel to be selected of the wireless gateway device includes wireless protects
Genuine channel 1 is to channel 14.
The band interference information includes different interference values of the communications band to different channels to be selected.It is exemplary
Ground, as shown in table 1, when the communications band of communication module is LTE B40, the communication frequency information of wireless fidelity module is 2,412,000,000
Conspicuous, corresponding channel is channel 1, and LTE B40 are 4db to the interference value of the band interference information of the channel 1 of wireless fidelity module;
And if Wireless Fidelity channel is channel 6, interference of the LTE B40 to the band interference information of the channel 1 of wireless fidelity module
Value is 2db.Each different communications band is also different to the interference value of channel, and difference is stored in default interference information table
The corresponding different frequency range interference value of communications band, and store interference of the same communications band to different channels to be selected
Value.
Table 1
Wireless Fidelity channel | Communications band | Band interference information/db |
1 | LTE B40 | 4 |
6 | LTE B40 | 2 |
Wherein, presetting interference information table can depending on the user's operation or the data update of background system is modified or more
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, so that it may with the corresponding preferred channel information of determination.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 according to the interference value in the band interference information of channel to be selected, preferred channel information is determined, 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 implementation mode can refer to associated description above, and details are not described herein.
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, to adjusting the wireless gateway device according to the preferred channel information
The operation of working channel be optimized, optionally, as shown in fig. 7, this method includes:
S140, terminal device wireless module and wireless gateway device establish communication connection when, obtain the terminal and set
The working frequency information of standby communication module.
S141, the communications band that the communication module is determined according to the working frequency information.
S142, the band interference information that channel to be selected is determined according to the communications band and default interference information table, institute
It is at least one to state channel to be selected.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
S143, according to the interference value in the band interference information, determine that the minimum setting quantity of interference value waits selecting
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 each channel in 14 channels, it may be determined that wherein channel 6, channel 8 and channel 11
Interference value be can then determine three channels to be selected minimum three in all interference values, 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 is shown, it 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 disturbed interference source of each channel to be selected is,
User can also prompt to close closable interference source according to interference source, advanced optimize the communication process of wireless module.Example
The interference value of property, 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 demands 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 implementation mode can refer to associated description above, and details are not described herein.
Fig. 8 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 figure 8, this method includes:
S150, terminal device wireless module and wireless gateway device establish communication connection when, obtain the terminal and set
The working frequency information of standby communication module.
Specific implementation mode can refer to associated description above, and details are not described herein.
The working condition of the interference communication module of S151, the detection terminal device, the interference communication module is at least
One.
The interference communication module is that the meeting for including is led to what the communication connection of wireless module interfered on terminal device
Believe module, further includes other more communication modules in addition to wireless module and mobile communication module on terminal device;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 communications band that the communication module is determined according to the working frequency information.
S153, it is determined according to the communications band, the working condition of the interference communication module and default interference information table
The band interference information of channel to be selected.
Wherein, it includes communications band, the channel to be selected of wireless module, interference communication module to preset interference information table
The mapping relations of working condition and corresponding band interference information.Illustratively, in the communications band of communication module to wireless
While the channel to be selected of module interferes, the working condition of communication module is interfered also correspondingly to wait for wireless module
Selection channel causes certain interference, so corresponding band interference information has and can be varied from;Remember in default interference information table
The band interference information of corresponding channel to be selected in the case of having recorded there are disturbance, according to the communications band and described
The working condition of communication module is interfered to determine the band interference information of corresponding channel to be selected, it is accurate to may further determine that
Preferred channel information, avoid the wireless module of terminal device and wireless gateway device from establishing connection and select one when being worked
Big channel is interfered, wireless communication procedure can be optimized, improves the stability of communication.
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 implementation mode 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. 9 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 figure 9, this method includes:
S160, terminal device wireless module and wireless gateway device establish communication connection when, obtain the terminal and set
The working frequency information of standby communication module.
S161, detection preset the external wireless interference information in frequency range.
The default frequency range can be the frequency range that can be interfered to the channel to be selected of wireless module, and the interference can wrap
Include co-channel interference, adjacent frequency interference and frequency multiplication interference.It can be determined according to the channel to be selected of wireless module and preset frequency range, Ke Yijian
It surveys to preset and whether there is external wireless interference information in frequency range;External wireless interference information be terminal device outside other equipment into
Row communicates sent out interference information, and illustratively, such as the microwave interference information of micro-wave oven, such as tramway and power plant are external
The interference information of the interference information of power supply or other working frequencies in the wireless device of 2.4 gigahertzs or 5 gigahertzs.
S162, the communications band that the communication module is determined according to the working frequency information.
S163, it determines according to the communications band, the external wireless interference information and default interference information table and waits selecting
The band interference information of channel.
Wherein, it includes communications band, the channel to be selected of wireless module, external wireless interference letter to preset interference information table
The mapping relations of breath and corresponding band interference information.Illustratively, in the communications band of communication module to wireless module
While channel to be selected interferes, external wireless interference information also can correspondingly cause the channel to be selected of wireless module
Certain interference, so corresponding band interference information has and can be varied from;It is had recorded in the presence of different in default interference information table
Corresponding band interference information, determines corresponding according to the communications band and external wireless interference information in the case of interference
Band interference information may further determine that accurate preferred channel information, avoid the wireless module and wireless network of terminal device
It closes equipment and establishes the channel that one interference of selection is big when connection is worked, wireless communication procedure can be optimized, improve communication
Stability.
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 implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
It optionally, can also be according to the communications band, working condition, the external wireless of the interference communication module
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.
Figure 10 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 executed, as shown in Figure 10, which includes:
Frequency acquisition module 210 is used for when the wireless module and wireless gateway device of terminal device establish communication connection,
Obtain the working frequency information of the communication module of the terminal device;
Channel determination module 211, for determining preferred channel information according to the working frequency information;
Channel adjustment module 212, the work for adjusting the wireless gateway device according to the preferred channel information are believed
Road.
A kind of wireless network connection control device provided in the embodiment of the present application, passes through the wireless module in terminal device
When establishing communication connection with wireless gateway device, the working frequency information of the communication module of the terminal device is obtained;According to institute
It states working frequency information and determines preferred channel information;The work of the wireless gateway device is adjusted according to the preferred channel information
Channel.By using above-mentioned technical proposal, can be determined preferably by the working frequency information of the communication module of terminal device
Wireless gateway device channel, and using preferred channel as the working channel of wireless module, the nothing of wireless module can be optimized
Line communication process improves the stability of communication.
Optionally, frequency acquisition module specifically includes:
Status determining unit, the working condition of the mobile communication module for detecting the terminal device;
Frequency determinative elements, for when detecting that the mobile communication module is in emission state, obtaining the movement
The working frequency information of communication module.
Optionally, channel determination module specifically includes:
Communications band determination unit, the communications band for determining the communication module according to the working frequency information;
Channel confirmation unit, for determining preferred channel information according to the communications band.
Optionally, channel confirmation unit specifically includes:
Band interference determination subelement, for determining channel to be selected according to the communications band and default interference information table
Band interference information, the channel to be selected be it is at least one;
Preferred channel determination subelement, for according to the band interference information, determination to be excellent from the channel to be selected
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 for prompting user to adjust the work of the wireless gateway device
Make channel.
Optionally, further include:
Interference communication determines the first subelement, for being corresponded to according to the communications band and the determination of default interference information table
Band interference information before, detect the working condition of the interference communication module of the terminal device, the interference communication module
It is at least one;
Correspondingly, interference determination subelement is specifically used for:
It is determined according to the communications band, the working condition of the interference communication module and default interference information table corresponding
Band interference information.
Optionally, further include:
Interference communication determines the second subelement, for being corresponded to according to the communications band and the determination of default interference information table
Band interference information before, detect preset frequency range in external wireless interference information;
Correspondingly, interference determination subelement is specifically used for:
Determine that corresponding frequency range is dry according to the communications band, the external wireless interference information and default interference information table
Disturb information.
A kind of storage medium including computer executable instructions that the embodiment of the present application is provided, computer are executable
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 including computer executable instructions, and the computer is executable
When being executed by computer processor for executing wireless network connection control method, this method includes for instruction:
When the wireless module and wireless gateway device of terminal device establish communication connection, the logical of the terminal device is obtained
Believe the working frequency information of module;
Preferred channel information is determined according to the working frequency 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);The memory component etc. of register or other similar types.Storage medium can further include other
Memory of type or combinations thereof.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 to the first computer for executing." storage is situated between term
Matter " may 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 executed 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.
Figure 11 is a kind of structural schematic 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 are 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 executing the computer program.
Terminal device provided by the embodiments of the present application can be determined preferably by the working frequency information of the communication module of terminal device
Channel, and using preferred channel as the working channel of wireless module, the wireless communication procedure of wireless module can be optimized, carried
The stability of height communication.
Figure 12 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in figure 12, which sets
It is standby to may include:Shell (not shown), touch screen (not shown), touch key-press (not shown), memory
301, 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 shell surrounds;Institute
It states CPU302 and the memory 301 is arranged on the circuit board;The power circuit, for being 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:
When the wireless module and wireless gateway device of terminal device establish communication connection, the logical of the terminal device is obtained
Believe the working frequency information of module;
Preferred channel information is determined according to the working frequency 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 shown in the drawings more or less component, can combine two or more components, or can be with
It is configured with different components.Various parts shown in the drawings can be including one or more signal processings and/or special
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the terminal device provided in this embodiment for realizing 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
Can also include nonvolatile memory to include high-speed random access memory, 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 may include 3091 He of display controller
One or more input controllers 3092 for controlling 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 may include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks idler wheel.It is worth noting that 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 may 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 is 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
Object can be the icon of running game, be networked to the icon etc. of corresponding network.It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or 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 with communication network and other equipment by the electromagnetic signal.RF circuits 305 may include for executing
The known circuit of these functions comprising but it is 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, 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 by the working frequency information of the communication module of terminal device come
It determines the channel of preferred wireless gateway device, and using preferred channel as the working channel of wireless module, nothing can be optimized
The wireless communication procedure of wire module 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 executes 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 above are only preferred embodiment and the institute's application technology principle of the application.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 to the application by above example
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
May include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.
Claims (11)
1. wireless network connection control method, which is characterized in that including:
When the wireless module and wireless gateway device of terminal device establish communication connection, the communication mould of the terminal device is obtained
The working frequency information of block;
Preferred channel information is determined according to the working frequency 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 the work frequency of the communication module for obtaining the terminal device
Rate information includes:
Detect the working condition of the mobile communication module of the terminal device;
When detecting that the mobile communication module is in emission state, the working frequency letter of the mobile communication module is obtained
Breath.
3. the method as described in claim 1, which is characterized in that described to determine that preferred channel is believed according to the working frequency information
Breath includes:
The communications band of the communication module is determined according to the working frequency information;
Preferred channel information is determined according to the communications band.
4. method as claimed in claim 3, which is characterized in that described to determine preferred channel packet according to the communications band
It includes:
The band interference information of channel to be selected is determined according to the communications band and default interference information table, it is described to wait for selection letter
Road is at least one;
According to the band interference information, preferred channel information is determined from the channel to be selected.
5. method as claimed in claim 4, which is characterized in that it is described according to the band interference information, it waits selecting 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.
6. such as method described in any one of claim 1 to 5, 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 for interfering prompt message to be sent to the terminal device are shown, the interference
The working channel that prompt message is used to that user to be prompted to adjust the wireless gateway device.
7. method as described in claim 4 or 5, which is characterized in that described according to the communications band and default interference information
Before 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, the band interference packet that channel to be selected is determined according to the communications band and default interference information table
It includes:
Channel to be selected is determined according to the communications band, the working condition of the interference communication module and default interference information table
Band interference information.
8. method as described in claim 4 or 5, which is characterized in that described according to the communications band and default interference information
Before table determines the band interference information of channel to be selected, further include:
The external wireless interference information in frequency range is preset in detection;
Correspondingly, the band interference packet that channel to be selected is determined according to the communications band and default interference information table
It includes:
The frequency range of channel to be selected is determined according to the communications band, the external wireless interference information and default interference information table
Interference information.
9. wireless network connection control device, which is characterized in that including:
Frequency acquisition module, for when the wireless module and wireless gateway device of terminal device establish communication connection, obtaining institute
State the working frequency information of the communication module of terminal device;
Channel determination module, for determining preferred channel information according to the working frequency information;
Channel adjustment module, the working channel for adjusting the wireless gateway device according to the preferred channel information.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The wireless network connection control method as described in any one of claim 1-8 is realized when execution.
11. 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-8 such as appoints when executing the computer program
Wireless network connection control method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810095931.2A CN108337735A (en) | 2018-01-31 | 2018-01-31 | wireless network connection control method, device, storage medium and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810095931.2A CN108337735A (en) | 2018-01-31 | 2018-01-31 | wireless network connection control method, device, storage medium and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108337735A true CN108337735A (en) | 2018-07-27 |
Family
ID=62927474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810095931.2A Pending CN108337735A (en) | 2018-01-31 | 2018-01-31 | wireless network connection control method, device, storage medium and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108337735A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447022A (en) * | 2020-03-05 | 2020-07-24 | 普联技术有限公司 | Channel deployment method, device, wireless access point and computer storage medium |
CN114501582A (en) * | 2020-10-27 | 2022-05-13 | Oppo广东移动通信有限公司 | Wi-Fi connection method, device, terminal and wireless access point |
CN117156567A (en) * | 2023-01-20 | 2023-12-01 | 荣耀终端有限公司 | Cellular network communication method and related device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1663189A (en) * | 2002-06-28 | 2005-08-31 | 汤姆森许可贸易公司 | Method of creation of a new communication network by a wireless terminal and terminal implementing the method |
CN101366240A (en) * | 2005-12-09 | 2009-02-11 | 马维尔国际贸易有限公司 | Coexistence system and method for wireless network devices |
CN103974421A (en) * | 2013-01-25 | 2014-08-06 | 华为终端有限公司 | Channel selecting method and device |
CN104126322A (en) * | 2013-09-30 | 2014-10-29 | 华为终端有限公司 | Channel switchover method, device and equipment |
CN105407499A (en) * | 2015-10-26 | 2016-03-16 | 珠海格力电器股份有限公司 | Information processing method, device and electronic device |
WO2016101111A1 (en) * | 2014-12-22 | 2016-06-30 | 华为技术有限公司 | Method and apparatus for reducing interference between wifi and lte |
-
2018
- 2018-01-31 CN CN201810095931.2A patent/CN108337735A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1663189A (en) * | 2002-06-28 | 2005-08-31 | 汤姆森许可贸易公司 | Method of creation of a new communication network by a wireless terminal and terminal implementing the method |
CN101366240A (en) * | 2005-12-09 | 2009-02-11 | 马维尔国际贸易有限公司 | Coexistence system and method for wireless network devices |
CN103974421A (en) * | 2013-01-25 | 2014-08-06 | 华为终端有限公司 | Channel selecting method and device |
CN104126322A (en) * | 2013-09-30 | 2014-10-29 | 华为终端有限公司 | Channel switchover method, device and equipment |
WO2016101111A1 (en) * | 2014-12-22 | 2016-06-30 | 华为技术有限公司 | Method and apparatus for reducing interference between wifi and lte |
CN105407499A (en) * | 2015-10-26 | 2016-03-16 | 珠海格力电器股份有限公司 | Information processing method, device and electronic device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447022A (en) * | 2020-03-05 | 2020-07-24 | 普联技术有限公司 | Channel deployment method, device, wireless access point and computer storage medium |
CN111447022B (en) * | 2020-03-05 | 2022-03-08 | 普联技术有限公司 | Channel deployment method, device, wireless access point and computer storage medium |
CN114501582A (en) * | 2020-10-27 | 2022-05-13 | Oppo广东移动通信有限公司 | Wi-Fi connection method, device, terminal and wireless access point |
CN117156567A (en) * | 2023-01-20 | 2023-12-01 | 荣耀终端有限公司 | Cellular network communication method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108184245A (en) | Hotspot connection control method, device, storage medium and terminal device | |
CN107396386B (en) | Channel detection method and channel detection equipment | |
US8520586B1 (en) | Discovery and connection coexistence mechanism for wireless devices | |
CN105532049B (en) | For reducing the method and network entity of inter-network interference | |
CN108055687B (en) | Wireless network connection method and device and terminal equipment | |
US11012970B2 (en) | Method for processing radio frequency interference and electronic device | |
KR20200080023A (en) | Electronic device and method for reducing self-interference caused by dual uplink operation | |
EP2905998B1 (en) | Electronic device and method of connecting electronic device to network | |
CN106973431B (en) | Transmission power adjusting method and terminal | |
CN113544985A (en) | Method for controlling communication band and electronic device thereof | |
CN109347508B (en) | Mobile terminal and power detection method | |
EP4064760A1 (en) | Device control method and apparatus, storage medium and electronic device | |
KR20200040073A (en) | Method for mitigating interference between cells in dynamic time division duplex environment and electronic device thereof | |
US20230156774A1 (en) | Electronic device and method for controlling communication mode thereof | |
CN108337735A (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 | |
CN110177357B (en) | Bluetooth management method, mobile terminal and computer storage medium | |
CN108307447A (en) | Wireless network transmissions control method, device, storage medium and terminal device | |
CN108174452A (en) | wireless network connection control method, device, storage medium and terminal device | |
CN113810912A (en) | Radio frequency control method and device and electronic equipment | |
US12010522B2 (en) | Method and apparatus for controlling spatial reuse in wireless LAN system | |
CN108337715B (en) | Wireless network connection method, device, terminal equipment and storage medium | |
US20230040041A1 (en) | Electronic device for transmitting radio-frequency signal and method for operating same | |
US20210377958A1 (en) | Electronic device for wireless communication and method of operating electronic device | |
CN108462994A (en) | The channel selecting method and Related product of personal hot spot |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180727 |
|
RJ01 | Rejection of invention patent application after publication |