CN106572510A - Channel selection method and intelligent terminal - Google Patents
Channel selection method and intelligent terminal Download PDFInfo
- Publication number
- CN106572510A CN106572510A CN201610928363.0A CN201610928363A CN106572510A CN 106572510 A CN106572510 A CN 106572510A CN 201610928363 A CN201610928363 A CN 201610928363A CN 106572510 A CN106572510 A CN 106572510A
- Authority
- CN
- China
- Prior art keywords
- wifi module
- channel
- frequency range
- wifi
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/06—Reselecting a communication resource in the serving access point
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a channel selection method. A first wifi module and a second wifi module are set in the wireless network card of an intelligent terminal. The first wifi module is used for running a hot spot mode. The second wifi module is used for running a station mode. The method comprises the steps that whether the first wifi module and the second wifi module can use different frequency bands is determined; if the judgment result is yes, a channel of the frequency band which is different from the frequency band used by the second wifi module is selected for the first wifi module; and if the judgment result is no, a channel with no frequency overlapping area with a channel used by the second wifi module is selected for the first wifi module. Station and hot spot functions are realized on the wireless network card at the same time. Interaction between two channels is reduced. The wifi performance of the wireless network card is improved. The use experience of a user is improved. The invention further proposes the intelligent terminal.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of system of selection of channel, while the application is also especially related to
And a kind of intelligent terminal.
Background technology
In prior art, the mode of operation of wireless network card has two kinds, respectively station mode and hotspot pattern.In website mould
Under formula, wireless network card can be by being wirelessly connected to the interconnection process that router is realized with extraneous network.Under hotspot pattern, nothing
Gauze card can provide the user the function of similar wireless router.
Generally, for same wireless network card, operationally, select in the both of which that its mode of operation can only be more than
Select one.Namely when wireless network card is operated in station mode, cannot just provide focus function;It is operated on hotspot pattern
When, website function just cannot be provided.
In order on same wireless network card, realize coexisting for wifi websites and focus, prior art is using toggling station
The method of dot pattern and hotspot pattern.Specifically, when needing to use station mode, channel is used to station mode;Needing
During using hotspot pattern, channel is used to hotspot pattern.However, due to needing switch mode back and forth, wifi will necessarily be caused
Throughput degradation, affects the performance of wifi, reduces the experience of user.
In order to operation hotspot pattern and station mode on same wireless network card simultaneously, can pass through in theory
Arrange two identical wifi modules on same wireless network card to realize.Wherein, a wifi module is used to run website
Pattern, another wifi module is used to run hotspot pattern.However, inventor is during the application is realized, find existing
At least there is problems with during realizing running station mode and hotspot pattern simultaneously in wireless network card in technology:
Run station mode and hotspot pattern simultaneously on wireless network card, need to be simultaneously that hotspot pattern and station mode are selected
Select channel and carry out transmission data, and may there is mutual interference between different channels, when serious, or even wireless network can be caused
Card can not normally work.
Therefore, how when wireless network card runs station mode and hotspot pattern simultaneously, respectively station mode and focus
The suitable channel of model selection, to reduce interfering between channel, it is ensured that the quality of the data transfer of wireless network card, becomes
Those skilled in the art's technical problem urgently to be resolved hurrily.
The content of the invention
The invention provides a kind of system of selection of channel, to run station mode and focus mould simultaneously in wireless network card
During formula, how solution is station mode and hotspot pattern selects suitable channel to reduce what is interfered between the two channel
Problem, methods described is applied in the intelligent terminal comprising wireless network card, and the wireless network card includes the first wifi module and the
Two wifi modules, first wifi module and second wifi module are connected respectively with the controller of the intelligent terminal,
First wifi module is used to run hotspot pattern, and second wifi module is used to run station mode, and methods described is extremely
Include less:
Before the wireless network card runs station mode and hotspot pattern simultaneously, first wifi module and described is judged
Whether the second wifi module can use different frequency ranges;
If judged result is no, the channel for selecting to be used with second wifi module by first wifi module
Channel without frequency overlapping region;
If the determination result is YES, then the frequency range for being used with second wifi module by first wifi module selection
The channel of different frequency ranges.
Preferably, the channel and a wifi moulds of second wifi module are stored in the intelligent terminal in advance
The corresponding relation of the channel of block, it is described by first wifi module select the channel that uses with second wifi module without
The channel of frequency overlapping region, specially:
Determine the channel that second wifi module is used;
The channel and the corresponding relation used according to second wifi module determines first wifi module
Channel.
Preferably, the corresponding relation, generates in the following manner:
Determine the frequency range of the channel of second wifi module;
The significant channel of first wifi module is determined according to the frequency range of the channel of second wifi module, with
The frequency range of the significant channel and the non-overlapping region of frequency range of the channel of second wifi module are made, wherein, institute
State significant channel identical with residing frequency range with the bandwidth of the channel of second wifi module;
The corresponding relation is generated according to the channel and the significant channel of second wifi module.
Preferably, it is described to select different from the frequency range that second wifi module is used by first wifi module
The channel of frequency range, specially:
Determine the frequency range residing for the channel of second wifi module;
Judge first wifi module whether in operation;
If judged result is no, when needing to run the first wifi module, according to the channel of second wifi module
Residing frequency range is that first wifi module selects channel, so that first wifi module and the second wifi module institute
The frequency range for using is different;
If the determination result is YES, and residing for the channel of the channel of first wifi module and second wifi module
Frequency range is identical, then switch the channel of first wifi module, so that first wifi module and second wifi module
The frequency range for being used is different;
If the determination result is YES, and residing for the channel of the channel of first wifi module and second wifi module
Frequency range is differed, then maintain the channel of first wifi module constant.
Preferably, the frequency range residing for the channel for determining second wifi module, specially:
Judge second wifi module whether in operation;
If the determination result is YES, then the frequency range that the routing device being connected with second wifi module is used is inquired about;
If judged result is no, when second wifi module is run, to first wifi module frequency range is sent
Information, the band information is used to inform the frequency range that second wifi module is adopted to first wifi module.
Accordingly, the application proposes a kind of intelligent terminal, and the intelligent terminal includes wireless network card, the wireless network card bag
Containing the first wifi module and the second wifi module, first wifi module and second wifi module respectively with the intelligence
The controller of terminal is connected, and first wifi module is used to run hotspot pattern, and second wifi module is used to run station
Dot pattern, the intelligent terminal at least includes:
Judge module, before the wireless network card runs station mode and hotspot pattern simultaneously, judges a wifi
Whether module and second wifi module can use different frequency ranges;
First choice module, is that first wifi module is selected and the 2nd wifi moulds when judged result is no
Channel of the channel that block is used without frequency overlapping region;
Second selecting module, is that first wifi module is selected and the 2nd wifi moulds when judged result is to be
The channel of the different frequency range of frequency range that block is used.
Preferably, the intelligent terminal receives in advance the channel and first wifi module of second wifi module
The corresponding relation of channel, the first choice module specifically for:
Determine the channel that second wifi module is used;
The channel and the corresponding relation used according to second wifi module determines first wifi module
Channel.
Preferably, the corresponding relation, generates in the following manner:
Determine the frequency range of the channel of second wifi module;
The significant channel of first wifi module is determined according to the frequency range of the channel of second wifi module, with
The frequency range of the significant channel and the non-overlapping region of frequency range of the channel of second wifi module are made, wherein, institute
State significant channel identical with residing frequency range with the bandwidth of the channel of second wifi module;
The corresponding relation is generated according to the channel and the significant channel of second wifi module.
Preferably, second selecting module specifically for:
Determine the frequency range residing for the channel of second wifi module;
Judge first wifi module whether in operation;
It is no in judged result, and when needing to run the first wifi module, according to the channel institute of second wifi module
The frequency range at place is that first wifi module selects channel, so that first wifi module is made with second wifi module
Frequency range is different;
It is yes in judged result, and residing for the channel of the channel of first wifi module and second wifi module
When frequency range is identical, switch the channel of first wifi module, so that first wifi module and second wifi module
The frequency range for being used is different;
It is yes in judged result, and residing for the channel of the channel of first wifi module and second wifi module
When frequency range is differed, maintain the channel of first wifi module constant.
Preferably, second selecting module is further used for:
Judge second wifi module whether in operation;
When judged result is to be, the frequency range that the routing device being connected with second wifi module is used is inquired about;
It is no in judged result, and during second wifi module operation, to first wifi module frequency range letter is sent
Breath, the band information is used to inform the frequency range that second wifi module is adopted to first wifi module.
By the scheme using the application, the first wifi module and the 2nd wifi are set in the wireless network card of intelligent terminal
Module, the first wifi module is used to run hotspot pattern, and the second wifi module is used to run station mode.First determine whether first
Whether wifi module and the second wifi module can use different frequency ranges;If the determination result is YES, then it is the choosing of the first wifi module
Select the channel of the frequency ranges different from the frequency range that the second wifi module is used;If judged result is no, for the first wifi module
Select channel of the channel without frequency overlapping region used with the second wifi module.It is achieved thereby that on wireless network card simultaneously
Website and focus function are realized, and reduce influencing each other for the two interchannel, improve the wifi performances of wireless network card,
Improve the experience of user.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the application, embodiment will be described below needed for the accompanying drawing to be used
It is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, general for this area
For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is that the embodiment of the present application proposes a kind of schematic flow sheet of the system of selection of channel;
Fig. 2 is the structural representation of the first wireless network card that the application specific embodiment is proposed;
Fig. 3 is the structural representation of second wireless network card that the application specific embodiment is proposed;
Fig. 4 is a kind of schematic flow sheet of the system of selection of channel that the application specific embodiment is proposed;
Fig. 5 be the application specific embodiment propose under 2.5G frequency ranges, HT20 bandwidth without the channel of frequency overlapping region
Schematic diagram;
Fig. 6 is that the embodiment of the present application proposes a kind of structural representation of intelligent terminal.
Specific embodiment
As stated in the Background Art, when running station mode and hotspot pattern simultaneously on same wireless network card, need simultaneously
Select channel to carry out transmission data for hotspot pattern and station mode, and may there is mutual interference between different channels,
When serious, or even wifi network card can be prevented from normally working.It is therefore desirable to have a set of suitable channel selection algorithm, comes
It is that hotspot pattern and station mode select suitable channel, to reduce reciprocal influence between the two channel.
How channel, the application is selected to carry for hotspot pattern and station mode in order to solve the problems, such as above-mentioned background technology
Go out a kind of system of selection of channel, before wireless network card runs station mode and hotspot pattern simultaneously, intelligent terminal judges first
Whether wifi module and the second wifi module can use different frequency ranges;
When judged result is, intelligent terminal selects the frequency range used with the second wifi module not by the first wifi module
The channel of same frequency range;When judged result is no, intelligent terminal is selected to be made with the second wifi module by the first wifi module
Channel of the channel without frequency overlapping region.So as to realizing and running hotspot pattern and station simultaneously on same wireless network card
Dot pattern.And due to there is no frequency overlapping region between the two channel, reduce influencing each other for the two interchannel, it is ensured that
The performance of the two data transfer, improves the experience of user.
A kind of schematic flow sheet of the system of selection of channel of the application proposition is illustrated in figure 1, it should be noted that should
Method is applied in the intelligent terminal comprising wireless network card.Wherein, wireless network card includes the first wifi module and the 2nd wifi moulds
Block, the first wifi module and the second wifi module are connected respectively with the controller of intelligent terminal, and the first wifi module is used to run
Hotspot pattern, the second wifi module is used to run station mode.Specifically, the method is at least comprised the following steps:
S101, before wireless network card runs station mode and hotspot pattern simultaneously, judges the first wifi module and second
Whether wifi module can use different frequency ranges.
In embodiments herein, it is intended to by arranging two identical wifi modules on same wireless network card, and
And by one of operation hotspot pattern, another runs station mode to realize being run on same wireless network card simultaneously
Station mode and hotspot pattern.
During due to running station mode and hotspot pattern at the same time, the data transmission channel that the two is used may be present
Reciprocal influence so that the data transmission quality of the two declines, affects the experience of user.Therefore need to be respectively the two choosing
Select suitable channel to reduce the impact of the two interchannel.
The frequency range that wifi module is supported mainly has 2.4G and two kinds of 5G, if the channel that two wifi modules are used is not in
, will not there is impact between the two channel in same frequency range.If the channel that two wifi modules are used is in identical frequency range,
May there is reciprocal influence between the two channel, but as long as there is no frequency overlapping region between the two channel, the two
Channel be also not in reciprocal influence.
Therefore, in order to reduce influencing each other between hotspot pattern and station mode channel, in embodiments herein,
When needing wireless network card to run station mode and hotspot pattern simultaneously, intelligent terminal judges the first wifi module and the 2nd wifi moulds
Whether block can use different frequency ranges.
Station mode and hotspot pattern are run simultaneously if necessary to wireless network card, then needed for the two suitable channel of selection
To reduce influencing each other for the two interchannel.If the first wifi module and the second wifi module can simultaneously use 2.5G frequency ranges
With 5G frequency ranges, then illustrate that the channel under different frequency range can be used therebetween, now only need to allow the channel of the two in not
Same frequency range, you can avoid influencing each other for the two interchannel.If the first wifi module and the second wifi module can only be used
Same frequency range, then illustrate that the channel under different frequency range can not be used therebetween, now needs to select under this frequency range without frequency
Two channels of rate overlapping region are used for both.
Can interpolate that can the first wifi module and the second wifi module use different frequencies by S101 the step of the above
Section, this provides important selection gist for the following Frequency Band Selection for the two.
S102, if the first wifi module and the second wifi module can not use different frequency ranges, for the first wifi module
Select channel of the channel without frequency overlapping region used with the second wifi module.
In embodiments herein, if the first wifi module and the second wifi module can only use same frequency range,
Need in the frequency range, respectively the two selects the channel without frequency overlapping region.
Due to being not in mutual shadow between the overlapping region without frequency, therefore the two channel between the two channel
Ring, so as to ensure that the quality of the two data transfer, improve the experience of user.
In specific application scenarios, the second wifi module is used to run station mode, its selected frequency range and letter
The routing device that road is connected by it typically can not be adjusted determining to it.Accordingly, it would be desirable in real time according to the 2nd wifi
The channel that module is selected is adjusting the channel that the first wifi module is used.Practical operation gets up very inconvenient, Channel assignment
Inefficiency.
Therefore, in order to improve the efficiency that channel is selected to the second wifi module, in the preferred embodiment of the application, in advance
The corresponding relation of the channel of the second wifi module and the channel of the first wifi module, above-mentioned step are stored in intelligent terminal
S102 can be realized by below step.
(1) channel that second wifi module is used is determined.
First, the channel that the second wifi module is used is determined.Specifically, can be according to being connected with the second WiFi module
Routing device is determining the channel that the second wifi module is used.
(2) channel and the corresponding relation for being used according to second wifi module determines first wifi module
Channel.
After the channel for obtaining the second wifi module, according to the channel and a wifi moulds of the second wifi module of inquiry
The corresponding relation of the channel of block, it is possible to which this uses that channel to determine the first wifi module.So as to avoid the need in real time
For the process that the second wifi module determines channel, the efficiency of Channel assignment is accelerated.
It should be noted that above-mentioned is the method that the second wifi module selects channel, simply the application proposition is a kind of excellent
Embodiment is selected, based on the core concept of the application, those skilled in the art can also adopt other to select for the second wifi module
The mode of channel is selected, this can't affect the protection domain of the application.
In the preferred embodiment of the application, the correspondence pass of the channel of the channel of the second wifi module and the first wifi module
System can be obtained by following method.It should be noted that general must just for the first wifi module and the second wifi module
The letter of the second wifi module must be determined using the corresponding relation in the case of same frequency range, just needing interchannels using both
Road.Specifically, acquisition methods can comprise the following steps:
(1) frequency range of the channel of the second wifi module is determined.
First, the frequency range of the channel that the second wifi module is used is determined.Specifically, can be according to the 2nd wifi moulds
Block uses which number channel of frequency range used to determine the scope of the frequency range.
(2) significant channel of the first wifi module is determined according to the frequency range of the channel of the second wifi module, so that special
The non-overlapping region of frequency range of the channel of the frequency range in reference road and the second wifi module.
Also, the bandwidth of the channel of significant channel and the second wifi module is identical with residing frequency range.
After the frequency range of channel of the second wifi module is determined, select with the channel without frequency weight in the frequency range
The channel in folded region, is the significant channel of the first wifi module.When the channel of the second wifi module determines, correspondence need to be only selected
The first wifi module significant channel, you can ensure that channel therebetween is not in reciprocal influence.
(3) corresponding relation is generated according to the channel of the second wifi module and the significant channel of the first wifi module.
After the significant channel for determining corresponding first wifi module of the second wifi module each channel, you can set up
Corresponding relation between the two channel.Specifically, the corresponding relation between the two can in table form be set up.
In the preferred embodiment of the application, under the frequency range for 2.5G as shown in table 1 below, during with a width of HT20, a kind of second
The corresponding table of the channel of the channel of wifi module and the first wifi module.
The corresponding table of the channel of the wifi module of table 1. second and the channel of the first wifi module
It should be noted that the acquisition methods and form of above-mentioned corresponding relation, one kind that simply the application is proposed is preferably
Scheme, based on the core concept of the application, those skilled in the art can take the acquisition methods of other corresponding relations and
Form, this can't affect the protection domain of the application.
S103, if the first wifi module and the second wifi module can use different frequency ranges, for the choosing of the first wifi module
Select the channel of the frequency ranges different from the frequency range that the second wifi module is used.
In embodiments herein, if the first wifi module and the second wifi module can respectively use different frequencies
Section, then when channel is selected for the two, only need to allow the channel of the two to belong to different frequency ranges, you can to avoid phase between the two channel
Mutual impact.
Be not in reciprocal influence because the two channel belongs between different frequency ranges, therefore the two channel, so as to protect
The quality of the two data transfer has been demonstrate,proved, the experience of user has been improve.
In specific application scenarios, the order of connection of the first wifi module and the second wifi module there may be difference,
The difference of the two order of connection can equally affect the mode of Channel assignment.
For the first wifi module and the difference of the priority of the second wifi module order of connection, being preferable to carry out in the application
In example, above-mentioned step S103 can be realized by following method.Specifically, the method can comprise the following steps:
(1) frequency range residing for the channel of the second wifi module is determined.
The routing device that the channel used due to the second wifi module is connected by it determining, so if whether it connects
Connect selection of the routing device on the first wifi module channel and there will be impact.
Specifically, in the preferred embodiment of the application, above-mentioned step (1) can be realized by below step.
Step a:Judge the second wifi module whether in operation;
Step b:If the determination result is YES, then the frequency range that the routing device that inquiry is connected with the second wifi module is used;
Step c:If judged result is no, when the second wifi module is run, to the first wifi module frequency range letter is sent
Breath, wherein, band information is used to inform the frequency range that the second wifi module is adopted to the first wifi module.
(2) judge first wifi module whether in operation.
(3) if judged result is no, when needing to run the first wifi module, according to the channel institute of the second wifi module
The frequency range at place is that the first wifi module selects channel, so that the frequency range that the first wifi module is used with the second wifi module is not
Together;
(4) if the determination result is YES, the frequency range and residing for the channel of the channel of the first wifi module and the second wifi module
It is identical, then switch the channel of the first wifi module, so that the first wifi module is different from the frequency range that the second wifi module is used;
(5) if the determination result is YES, and the channel of first wifi module and second wifi module channel institute
The frequency range at place is differed, then maintain the channel of first wifi module constant.
Preferred embodiment by more than, for the first wifi module order of connection different with the second wifi module,
Rational channel selecting method is given, the efficiency and accuracy of Channel assignment is improve.
The description of the flow process by more than, arranges the first wifi module and second in the wireless network card of intelligent terminal
Wifi module, the first wifi module is used to run hotspot pattern, and the second wifi module is used to run station mode.First determine whether
Whether one wifi module and the second wifi module can use different frequency ranges;If the determination result is YES, then it is the first wifi module
Select the channel of the frequency ranges different from the frequency range that the second wifi module is used;If judged result is no, for a wifi moulds
Block selects channel of the channel without frequency overlapping region used with the second wifi module.It is achieved thereby that same on wireless network card
Shi Shixian websites and focus function, and influencing each other for the two interchannel is reduced, improve the wifi of wireless network card
Can, improve the experience of user.
In order to the technological thought of the present invention is expanded on further, in conjunction with specific embodiment, the technical side to the present invention
Case is illustrated.
In order to operation wireless site and hotspot pattern on wireless network card simultaneously, as shown in Fig. 2 Wifi
Dongle (wireless network card) can be made up of two single wifi modules, wherein, one is operated in station mode, another work
Make in hotspot pattern;Or the integrated wireless website and hotspot function on same Dongle, as shown in Figure 3.Also, adopt
With two USB lines, the communication of website and hotspot pattern is respectively used to.Constructed based on above-mentioned wireless network card, website operationally,
Wireless router around scanning, then needs to carry out selection connection according to user.Meanwhile, hotspot function can be opened.
If needing to run station mode and hotspot pattern simultaneously, the channel between two patterns may exist mutual
Interference, in the specific embodiment of the application, it will thus provide the system of selection of a set of channel, for hotspot pattern, to select properly
Channel reducing influencing each other between the two channel.Hereinafter, will be herein described in detail.
Wifi is primarily now operated in two frequency ranges, 2.4G frequency ranges and 5G frequency ranges.Due to the website router to be connected not
It is fixed, the router of the 2.4G frequency ranges for connecting sometimes, what is connected sometimes is the router of 5G frequency ranges, therefore the Frequency Band Selection of focus
Depend on the frequency range that website to be connected.And the sequencing that website connects and focus is opened also has to the selection of frequency range will
Ask.Below, a point situation is described in detail.Meanwhile, describe for convenience, in this application, definition website is STA, hot
Point is AP.
Situation 1
STA and AP support 2.4G and 5G frequency ranges, that is to say, that STA can connect 2.4G or 5G routers, and AP
Can also switch in 2.4G and 5G frequency ranges.Under the pattern of situation 1, need according to STA frequency ranges, go to automatically select AP frequency ranges.
Because the channel under different frequency range is not in mutual interference, therefore only need to select different from station mode
Frequency range can eliminate interfering between channel.Specific selection mode is as shown in table 1 below.
Frequency range | Frequency range | |
STA frequency ranges | 2.4G | 5G |
AP Frequency Band Selections | 5G | 2.4G |
1. situation of table, 1 time focus Frequency Band Selection table
Additionally, when Frequency Band Selection is carried out, differentiation STA in need whether and is connected to router.
First it is connected under the scene of router in website, the frequency range shared by website has been fixed, focus can be by looking into
The frequency spectrum and bandwidth of website is ask, suitable other non-interference frequency ranges are selected.
As shown in figure 4, specifically selecting flow process to comprise the steps:
1. judge whether hotspot (AP) connects;
If be 2. not connected with, when being attached, the frequency range of STA connections is inquired about, then switching to different frequency ranges is carried out
Connection;
If 3. AP has connected, judge whether and the same frequency ranges of STA, if not same frequency range, then frequency range is fixed not
It is dynamic.
If 4. AP has connected, and is and the same frequency ranges of STA, then AP connections are disconnected, then carry out frequency range switching.
Under the not connected scene of website (STA), at this moment AP can be arbitrarily to select 2.4G and 5G frequency ranges to set up focus.It is false
As at this moment STA will be attached, need, by sending a broadcast, to inform the focus frequency range that at this moment STA is connected, afterwards flow process
Ibid.
Situation 2
STA and AP only support 2.4G frequency ranges.2.4G frequency ranges support HT20 and HT40 bandwidth, non-overlapped under different bandwidth
Channel is also different.
As shown in figure 5, STA select be HT20 bandwidth when, only 1,6,11 three channels are non-overlapped.
During in order that STA and AP using 2.4G frequency ranges at the same time, it does not interfere with each other, AP channel widths is also required to limit
System, here AP channel widths are limited to HT20 patterns.Need to set up a kind of mapping for the channel under the two patterns, mapping table is such as
Shown in table 2 below:
The channel map of STA and AP under table 2.HT20 bandwidth
As seen from the above table, if what STA selected is arbitrary channel in 1 to 6 channels, corresponding AP selects 11 channels;Such as
What fruit STA was selected is the arbitrary channel in 7 to 13 channels, and corresponding AP selects 1 channel.
STA select be HT40 patterns when, be to be combined by two HT20 channels, here again due to HT40 patterns
Divide main channel and secondary channel.Under this pattern, channel occupancy frequency range is big, and non-overlapped channel is few.
Under HT40 patterns, the occupancy situation of channel is as shown in table 3 below.
Channel occupancy table under table 3.HT40 bandwidth
Based on the channel occupancy table of the above, in order to evade HT40 under channel disturbance, AP selects the mapping table of channel as follows
Shown in table 4.
The channel map of STA and AP under table 4.HT40 bandwidth
The operation instruction of table 4 is as follows:
1. STA connection router use HT40 patterns when, need judgement be use HT40above or
Below patterns, both channels for being used have difference.
Under 2.HT40above patterns, the optional channels of AP only have 1,11,12,13.
Under 3.HT40below patterns, the optional channels of AP are also 1,11,12,13.
Under both modes, the channel of mapping has difference to 4.5~9 main channels, specifically maps referring to upper table.
It should be noted that the selection mode of above-mentioned channel, one kind that simply the application specific embodiment is proposed is preferably
Scheme, based on the core concept of the application, those skilled in the art can adopt the selection mode of other channels, and this can't shadow
Ring the protection domain of the application.
By the description of above specific embodiment, the first wifi module is set in the wireless network card of intelligent terminal
With the second wifi module, for running hotspot pattern, the second wifi module is used to run station mode the first wifi module.First
Judge whether the first wifi module and the second wifi module can use different frequency ranges;If the determination result is YES, then it is first
Wifi module selects the channel of the frequency ranges different from the frequency range that the second wifi module is used;If judged result is no, for
One wifi module selects channel of the channel without frequency overlapping region used with the second wifi module.It is achieved thereby that wireless
Simultaneously website and focus function are realized on network interface card, and reduce influencing each other for the two interchannel, improve wireless network card
Wifi performances, improve the experience of user.
In order to reach above technical purpose, the application proposes a kind of intelligent terminal, and the intelligent terminal includes wireless network card,
The wireless network card includes the first wifi module and the second wifi module, first wifi module and second wifi module
It is connected with the controller of the intelligent terminal respectively, first wifi module is used to run hotspot pattern, the 2nd wifi
Module is used to run station mode, and the intelligent terminal at least includes:
Judge module 601, before the wireless network card runs station mode and hotspot pattern simultaneously, judges described first
Whether wifi module and second wifi module can use different frequency ranges;
First choice module 602, is that first wifi module is selected and the 2nd wifi when judged result is no
Channel of the channel that module is used without frequency overlapping region;
Second selecting module 603, is that first wifi module is selected and the 2nd wifi when judged result is to be
The channel of the different frequency range of frequency range that module is used.
In specific application scenarios, the intelligent terminal receives in advance the channel of second wifi module and described
The corresponding relation of the channel of one wifi module, the first choice module specifically for:
Determine the channel that second wifi module is used;
The channel and the corresponding relation used according to second wifi module determines first wifi module
Channel.
In specific application scenarios, the corresponding relation is generated in the following manner:
Determine the frequency range of the channel of second wifi module;
The significant channel of first wifi module is determined according to the frequency range of the channel of second wifi module, with
The frequency range of the significant channel and the non-overlapping region of frequency range of the channel of second wifi module are made, wherein, institute
State significant channel identical with residing frequency range with the bandwidth of the channel of second wifi module;
The corresponding relation is generated according to the channel and the significant channel of second wifi module.
In specific application scenarios, second selecting module specifically for:
Determine the frequency range residing for the channel of second wifi module;
Judge first wifi module whether in operation;
It is no in judged result, and when needing to run the first wifi module, according to the channel institute of second wifi module
The frequency range at place is that first wifi module selects channel, so that first wifi module is made with second wifi module
Frequency range is different;
It is yes in judged result, and residing for the channel of the channel of first wifi module and second wifi module
When frequency range is identical, switch the channel of first wifi module, so that first wifi module and second wifi module
The frequency range for being used is different;
It is yes in judged result, and residing for the channel of the channel of first wifi module and second wifi module
When frequency range is differed, maintain the channel of first wifi module constant.
In specific application scenarios, second selecting module is further used for:
Judge second wifi module whether in operation;
When judged result is to be, the frequency range that the routing device being connected with second wifi module is used is inquired about;
It is no in judged result, and during second wifi module operation, to first wifi module frequency range letter is sent
Breath, the band information is used to inform the frequency range that second wifi module is adopted to first wifi module.
From the description of above concrete intelligence terminal, arrange in the wireless network card of intelligent terminal the first wifi module and
Second wifi module, the first wifi module is used to run hotspot pattern, and the second wifi module is used to run station mode.Sentence first
Whether disconnected first wifi module and the second wifi module can use different frequency ranges;If the determination result is YES, then it is a wifi
Module selects the channel of the frequency ranges different from the frequency range that the second wifi module is used;If judged result is no, for first
Wifi module selects channel of the channel without frequency overlapping region used with the second wifi module.It is achieved thereby that in wireless network
Simultaneously website and focus function are realized on card, and reduce influencing each other for the two interchannel, improve wireless network card
Wifi performances, improve the experience of user.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Cross hardware realization, it is also possible to realize by the mode of software plus necessary general hardware platform.Based on such understanding, this
Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, portable hard drive etc.), including some instructions are used so that a computer equipment (can be
Personal computer, server, or network equipment etc.) perform method described in each implement scene of the invention.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or
Flow process is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device in implement scene can according to implement scene describe into
Row is distributed in the device of implement scene, it is also possible to carry out one or more dresses that respective change is disposed other than this implement scene
In putting.The module of above-mentioned implement scene can merge into a module, it is also possible to be further split into multiple submodule.
The invention described above sequence number is for illustration only, does not represent the quality of implement scene.
Disclosed above is only that the several of the present invention are embodied as scene, but, the present invention is not limited to this, Ren Heben
What the technical staff in field can think change should all fall into protection scope of the present invention.
Claims (10)
1. a kind of system of selection of channel, it is characterised in that in being applied to the intelligent terminal comprising wireless network card, the wireless network
Card includes the first wifi module and the second wifi module, first wifi module and second wifi module respectively with it is described
The controller of intelligent terminal is connected, and first wifi module is used to run hotspot pattern, and second wifi module is used to transport
Row station mode, methods described at least includes:
Before the wireless network card runs station mode and hotspot pattern simultaneously, first wifi module and described second are judged
Whether wifi module can use different frequency ranges;
If judged result is no, the channel used with second wifi module is selected without frequency by first wifi module
The channel of rate overlapping region;
If the determination result is YES, then it is different from the frequency range that second wifi module is used by first wifi module selection
Frequency range channel.
2. the method for claim 1, it is characterised in that in advance the 2nd wifi moulds are stored in the intelligent terminal
The corresponding relation of the channel of the channel of block and first wifi module, it is described to select and described for first wifi module
Channel of the channel that two wifi modules are used without frequency overlapping region, specially:
Determine the channel that second wifi module is used;
The channel and the corresponding relation that are used according to second wifi module determine the channel of first wifi module.
3. method as claimed in claim 2, it is characterised in that the corresponding relation, generates in the following manner:
Determine the frequency range of the channel of second wifi module;
The significant channel of first wifi module is determined according to the frequency range of the channel of second wifi module, so that institute
The frequency range of significant channel and the non-overlapping region of frequency range of the channel of second wifi module are stated, wherein, the spy
Reference road is identical with residing frequency range with the bandwidth of the channel of second wifi module;
The corresponding relation is generated according to the channel and the significant channel of second wifi module.
4. the method for claim 1, it is characterised in that described to select for first wifi module and described second
The channel of the different frequency range of frequency range that wifi module is used, specially:
Determine the frequency range residing for the channel of second wifi module;
Judge first wifi module whether in operation;
If judged result is no, when needing to run the first wifi module, according to residing for the channel of second wifi module
Frequency range be first wifi module select channel so that first wifi module is used with second wifi module
Frequency range it is different;
If the determination result is YES, the frequency range and residing for the channel of the channel of first wifi module and second wifi module
It is identical, then switch the channel of first wifi module, so that first wifi module is made with second wifi module
Frequency range is different;
If the determination result is YES, the frequency range and residing for the channel of the channel of first wifi module and second wifi module
Differ, then maintain the channel of first wifi module constant.
5. method as claimed in claim 4, it is characterised in that the frequency residing for the channel of the determination second wifi module
Section, specially:
Judge second wifi module whether in operation;
If the determination result is YES, then the frequency range that the routing device being connected with second wifi module is used is inquired about;
If judged result is no, when second wifi module is run, band information is sent to first wifi module,
The band information is used to inform the frequency range that second wifi module is adopted to first wifi module.
6. a kind of intelligent terminal, it is characterised in that the intelligent terminal includes wireless network card, the wireless network card includes first
Wifi module and the second wifi module, first wifi module and second wifi module respectively with the intelligent terminal
Controller is connected, and first wifi module is used to run hotspot pattern, and second wifi module is used to run station mode,
The intelligent terminal at least includes:
Judge module, before the wireless network card runs station mode and hotspot pattern simultaneously, judges first wifi module
Whether different frequency ranges can be used with second wifi module;
First choice module, is that first wifi module is selected and the second wifi module institute when judged result is no
Channel of the channel for using without frequency overlapping region;
Second selecting module, is that first wifi module is selected and the second wifi module institute when judged result is to be
The channel of the different frequency range of the frequency range that uses.
7. intelligent terminal as claimed in claim 6, it is characterised in that the intelligent terminal receives in advance the 2nd wifi moulds
The corresponding relation of the channel of the channel of block and first wifi module, the first choice module specifically for:
Determine the channel that second wifi module is used;
The channel and the corresponding relation that are used according to second wifi module determine the channel of first wifi module.
8. intelligent terminal as claimed in claim 7, it is characterised in that the corresponding relation, generates in the following manner:
Determine the frequency range of the channel of second wifi module;
The significant channel of first wifi module is determined according to the frequency range of the channel of second wifi module, so that institute
The frequency range of significant channel and the non-overlapping region of frequency range of the channel of second wifi module are stated, wherein, the spy
Reference road is identical with residing frequency range with the bandwidth of the channel of second wifi module;
The corresponding relation is generated according to the channel and the significant channel of second wifi module.
9. intelligent terminal as claimed in claim 6, it is characterised in that second selecting module specifically for:
Determine the frequency range residing for the channel of second wifi module;
Judge first wifi module whether in operation;
It is no in judged result, and when needing to run the first wifi module, according to residing for the channel of second wifi module
Frequency range is that first wifi module selects channel, so that what first wifi module and second wifi module were used
Frequency range is different;
It is yes, and the frequency range residing for the channel of the channel of first wifi module and second wifi module in judged result
When identical, switch the channel of first wifi module, so that first wifi module is made with second wifi module
Frequency range is different;
It is yes, and the frequency range residing for the channel of the channel of first wifi module and second wifi module in judged result
When differing, maintain the channel of first wifi module constant.
10. intelligent terminal as claimed in claim 9, it is characterised in that second selecting module is further used for:
Judge second wifi module whether in operation;
When judged result is to be, the frequency range that the routing device being connected with second wifi module is used is inquired about;
It is no in judged result, and during second wifi module operation, to first wifi module band information, institute is sent
Band information is stated for informing the frequency range that second wifi module is adopted to first wifi module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610928363.0A CN106572510A (en) | 2016-10-31 | 2016-10-31 | Channel selection method and intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610928363.0A CN106572510A (en) | 2016-10-31 | 2016-10-31 | Channel selection method and intelligent terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106572510A true CN106572510A (en) | 2017-04-19 |
Family
ID=58534429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610928363.0A Pending CN106572510A (en) | 2016-10-31 | 2016-10-31 | Channel selection method and intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106572510A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107580359A (en) * | 2017-09-29 | 2018-01-12 | 努比亚技术有限公司 | Hotspot sharing method, mobile terminal and computer-readable recording medium |
CN107770842A (en) * | 2017-09-29 | 2018-03-06 | 努比亚技术有限公司 | Hotspot connection method, mobile terminal and computer-readable recording medium |
CN108282907A (en) * | 2018-01-29 | 2018-07-13 | 深圳市同科联赢科技有限公司 | Electronic equipment, wireless networking system, device and its control method and storage device |
CN108990155A (en) * | 2018-06-20 | 2018-12-11 | 青岛海信电器股份有限公司 | A kind of method and terminal selecting channel |
CN109274378A (en) * | 2017-07-17 | 2019-01-25 | 西安中兴新软件有限责任公司 | A kind of radio circuit, communication terminal and radio frequency transmit-receive method |
CN111200877A (en) * | 2020-03-12 | 2020-05-26 | 深圳康佳电子科技有限公司 | Network connection method, terminal and storage medium |
WO2020164519A1 (en) * | 2019-02-12 | 2020-08-20 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for data transmission and related products |
WO2021031853A1 (en) * | 2019-08-21 | 2021-02-25 | Oppo广东移动通信有限公司 | Wireless fidelity (wi-fi) access point selection method and related apparatus |
CN112511875A (en) * | 2020-11-20 | 2021-03-16 | 四川长虹电器股份有限公司 | Method for sharing WIFI on Android-based smart television |
CN113259948A (en) * | 2021-07-14 | 2021-08-13 | 广州朗国电子科技股份有限公司 | Method for simultaneously working STA and AP and related equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104254114A (en) * | 2013-06-27 | 2014-12-31 | 华为终端有限公司 | Network access method, device and system |
CN105704725A (en) * | 2016-03-09 | 2016-06-22 | 青岛海信电器股份有限公司 | Method and device for preventing mutual interference between WIFI communication and Bluetooth communication |
CN105898795A (en) * | 2016-03-28 | 2016-08-24 | 联想(北京)有限公司 | Method for realizing dual-mode coexistence on WIFI chip and electronic device |
-
2016
- 2016-10-31 CN CN201610928363.0A patent/CN106572510A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104254114A (en) * | 2013-06-27 | 2014-12-31 | 华为终端有限公司 | Network access method, device and system |
CN105704725A (en) * | 2016-03-09 | 2016-06-22 | 青岛海信电器股份有限公司 | Method and device for preventing mutual interference between WIFI communication and Bluetooth communication |
CN105898795A (en) * | 2016-03-28 | 2016-08-24 | 联想(北京)有限公司 | Method for realizing dual-mode coexistence on WIFI chip and electronic device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109274378A (en) * | 2017-07-17 | 2019-01-25 | 西安中兴新软件有限责任公司 | A kind of radio circuit, communication terminal and radio frequency transmit-receive method |
CN107580359A (en) * | 2017-09-29 | 2018-01-12 | 努比亚技术有限公司 | Hotspot sharing method, mobile terminal and computer-readable recording medium |
CN107770842A (en) * | 2017-09-29 | 2018-03-06 | 努比亚技术有限公司 | Hotspot connection method, mobile terminal and computer-readable recording medium |
CN107580359B (en) * | 2017-09-29 | 2020-11-03 | 新沂市摩尔网络科技有限公司 | Wireless hotspot sharing method, mobile terminal and computer readable storage medium |
CN108282907A (en) * | 2018-01-29 | 2018-07-13 | 深圳市同科联赢科技有限公司 | Electronic equipment, wireless networking system, device and its control method and storage device |
CN108990155A (en) * | 2018-06-20 | 2018-12-11 | 青岛海信电器股份有限公司 | A kind of method and terminal selecting channel |
WO2020164519A1 (en) * | 2019-02-12 | 2020-08-20 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for data transmission and related products |
US11197335B2 (en) | 2019-02-12 | 2021-12-07 | Shenzhen Heytap Technology Corp., Ltd. | Method for data transmission and related products |
WO2021031853A1 (en) * | 2019-08-21 | 2021-02-25 | Oppo广东移动通信有限公司 | Wireless fidelity (wi-fi) access point selection method and related apparatus |
CN111200877A (en) * | 2020-03-12 | 2020-05-26 | 深圳康佳电子科技有限公司 | Network connection method, terminal and storage medium |
CN112511875A (en) * | 2020-11-20 | 2021-03-16 | 四川长虹电器股份有限公司 | Method for sharing WIFI on Android-based smart television |
CN113259948A (en) * | 2021-07-14 | 2021-08-13 | 广州朗国电子科技股份有限公司 | Method for simultaneously working STA and AP and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106572510A (en) | Channel selection method and intelligent terminal | |
EP2587874B1 (en) | Method and device for obtaining carrier information and carrier information indication | |
CN108418667A (en) | Measure the method and indicating means of CSI-RS, the network equipment, terminal | |
JP6812631B2 (en) | Spectral resource allocation method and equipment for complete spectrum sharing | |
CN109803421A (en) | Accidental access method, terminal and the network equipment | |
JP2015513265A5 (en) | ||
JPS6259940B2 (en) | ||
CN110034836A (en) | Method and wireless data communication system for allowing to wirelessly communicate | |
CN104869589B (en) | A kind of information measurement and report method, device and terminal device | |
CN107078879A (en) | System, user equipment and base station for the carrier wave selection in radio telecommunications system | |
CN104219677B (en) | A kind of method of Physical Cell Identifier planning | |
CN101765119B (en) | Dynamic fractional frequency reuse method based on OFDMA wireless cellular network | |
CN105978600A (en) | Processor and mobile terminal for supporting carrier aggregation | |
US10708786B2 (en) | Dynamic frequency planning in shared spectrum | |
WO2016065992A1 (en) | Spectrum allocating method and device | |
CN107548101B (en) | Message processing method and device, AP and computer storage medium | |
CN106793106B (en) | uplink signal configuration method, sending method, base station and user terminal | |
CN103024913A (en) | Method for direct-through self-adaptive grouping and resource allocating of cellular communication system terminals | |
CN106921991A (en) | Double-mode and double-standby terminal interface-free resources distribution method and double-mode and double-standby terminal | |
CN105165091B (en) | Channel width selection method and equipment | |
CN107733830A (en) | Method, apparatus and system caused by a kind of multi-carrier signal | |
CN110012472A (en) | The centralised allocation method and device of channel and bandwidth | |
CN105264828A (en) | Channel scan method and apparatus | |
CN105163389B (en) | A kind of more radio frequency multi-channel wireless mesh network portion intersection method for channel allocation | |
CN108234683A (en) | PCI methods of adjustment and device under inter-frequency networking |
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 | ||
CB02 | Change of applicant information |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant after: Hisense Video Technology Co., Ltd Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant before: HISENSE ELECTRIC Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170419 |