CN106332238A - Wireless local area network channel scanning method and apparatus, and mobile terminal - Google Patents
Wireless local area network channel scanning method and apparatus, and mobile terminal Download PDFInfo
- Publication number
- CN106332238A CN106332238A CN201610695858.3A CN201610695858A CN106332238A CN 106332238 A CN106332238 A CN 106332238A CN 201610695858 A CN201610695858 A CN 201610695858A CN 106332238 A CN106332238 A CN 106332238A
- Authority
- CN
- China
- Prior art keywords
- channel
- information
- frequency range
- band information
- local area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a wireless local area network channel scanning method and apparatus, and a mobile terminal. The method comprises the following steps: when the mobile terminal is detected to carry out preset voice call business at present, obtaining first frequency band information, wherein the first frequency band information is the frequency band information used by the preset voice call business; obtaining second frequency band information and channel information corresponding to the second frequency band information, wherein the second frequency band information is the working frequency band information of a wireless local area network; determining a frequency band distance between the first frequency band information and the second frequency band information; and if the frequency band distance is smaller than a preset threshold, determining a target channel in the channel information, and scanning the target channel. According to the wireless local area network channel scanning method and apparatus disclosed by the embodiment of the invention, the frequency band distance between the frequency band information of a voice call and the frequency band information of the wireless local area network is analyzed to judge the interference degree of the both, thereby solving the problem of influencing the voice call of a user when the wireless local area network of the mobile terminal initiatively scans a wireless access point, and guaranteeing the call effect and the call quality of the user.
Description
Technical field
The invention belongs to communication technical field, particularly relate to a kind of scanning wireless local area network (LAN) channels method, device and shifting
Dynamic terminal.
Background technology
In recent years, along with the fast development of mobile communication technology, the function of terminal unit the most increasingly present variation and
Complicate, in particular with G mobile communication (3G) and the development of forth generation mobile communication technology (4G) technology, city
The demand of intelligent terminal is grown with each passing day by field.Would generally require to support multiple wireless access technology, such as the most simultaneously:
Long Term Evolution (LTE, Long Term Evolution) network and WLAN (WLAN, Wireless Local Area
Networks) etc..Owing to these access technologies are in same or like frequency range, if the frequency spectrum of LTE is very close to WLAN
The portions of the spectrum of 2.4GHz, particularly B40, B41, B7 etc., B40 is positioned at the lower section of WLAN frequency range, B41 and B7 is positioned at WLAN frequency range
Top, when LTE is at above band operation, is all inevitably present with WLAN and disturbs.
The mode of current mobile terminal scanning wireless access points (AP, Wireless Access Point) has actively
Scanning and drive sweep two kinds, active scan is that mobile terminal (work station STA) in an active manner, sends on each channel
Probe requests thereby (Probe Request) frame, asks certain ad hoc wireless networks to be responded, thus when scanning, mobile terminal
Can transmission requests signal.Mobile terminal is when unsuccessful connection AP (as without AP key), and mobile terminal at set intervals will
AP available around active scan, and attempt connecting.If now user be currently in use B7, B40 or B41 carry out LTE voice lead to
During words, then adjacent frequency will certainly be caused to disturb, have influence on user's normal talking, thus cause communication effect and speech quality poor.
Summary of the invention
It is an object of the invention to provide a kind of scanning wireless local area network (LAN) channels method, device and mobile terminal, it is intended to
Solve during WLAN active scan, user's communication to be impacted, cause communication effect and the problem of speech quality difference.
For solving above-mentioned technical problem, embodiment of the present invention offer techniques below scheme:
First aspect, the present invention provides a kind of scanning wireless local area network (LAN) channels method, including:
When detecting that mobile terminal currently carries out presetting voice calling service, obtain the first band information, described first
The band information that band information is used by described default voice calling service;
Obtaining the second band information and the described second corresponding channel information of band information, described second band information is
The working frequency range information of WLAN;
Determine the frequency range spacing between described first band information and described second band information;
If described frequency range is smaller than predetermined threshold value, then in described channel information, determine corresponding destination channel, and right
Described destination channel is scanned.
Second aspect, the present invention provides a kind of scanning wireless local area network (LAN) channels device, including:
First acquiring unit, for when detecting that mobile terminal currently carries out presetting voice calling service, obtaining first
Band information, the band information that described first band information is used by described default voice calling service;
Second acquisition unit, for obtaining the second band information and the described second corresponding channel information of band information,
Described second band information is the working frequency range information of WLAN;
Spacing determines unit, for determining between the frequency range between described first band information and described second band information
Away from;
Channels determining unit, if being smaller than predetermined threshold value for described frequency range, then determines phase in described channel information
The destination channel answered;
First scanning element, for being scanned described destination channel.
The third aspect, the present invention provides a kind of mobile terminal, including:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs the described of above-mentioned offer
Scanning wireless local area network (LAN) channels method.
Relative to prior art, the embodiment of the present invention, first detecting that mobile terminal carries out presetting voice calling service
Time, obtain its band information used;Further, the band information of WLAN and corresponding channel information are obtained;
Then, the frequency range spacing between band information and the band information of WLAN of voice call is calculated;If frequency range spacing
Less than predetermined threshold value, then in the channel of WLAN, determine corresponding destination channel and destination channel be scanned,
Connect wireless access points, i.e. by band information and the band information of WLAN to voice call between
Frequency range spacing is analyzed, and judges both annoyance levels, thus determines the destination channel of scanning according to analysis result,
The problem solving during mobile terminal WLAN active scan wireless access points, user's communication to be impacted, it is ensured that
User's communication effect and speech quality.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings, by the detailed description of the invention of the present invention is described in detail, technical scheme will be made
And other beneficial effect is apparent.
Fig. 1 is the schematic flow sheet of the scanning wireless local area network (LAN) channels method that the embodiment of the present invention provides;
The schematic flow sheet of the scanning wireless local area network (LAN) channels method that Fig. 2 provides for the embodiment of the present invention;
The frequency range dividing condition schematic diagram of the Radio Access Network that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the scanning wireless local area network (LAN) channels device that Fig. 4 provides for the embodiment of the present invention;
Another structural representation of the scanning wireless local area network (LAN) channels device that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the mobile terminal that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Refer to graphic, the most identical element numbers represents identical assembly, and the principle of the present invention is to be implemented in one
Suitable computing environment illustrates.The following description is based on the illustrated specific embodiment of the invention, and it should be by
It is considered as limiting other specific embodiment that the present invention is the most detailed herein.
In the following description, the specific embodiment of the present invention is by with reference to by the step performed by or multi-section computer
And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times and be performed by computer, institute herein
The computer referred to performs to include by the computer processing unit of the electronic signal represented with the data in a structuring pattern
Operation.This operation change these data or be maintained at the memory system of this computer in position, it is reconfigurable
Or additionally change the running of this computer in the way of known to the tester of this area.The data structure that these data are maintained
For the provider location of this internal memory, it has by particular characteristics defined in this data form.But, the principle of the invention is with above-mentioned literary composition
Word illustrates, it is not represented as a kind of restriction, and this area tester will appreciate that plurality of step and the behaviour of the following stated
Also may be implemented in the middle of hardware.
The principle of the present invention uses other wide usages many or specific purpose computing, communication environment or configuration to grasp
Make.Known be suitable for the arithmetic system of the present invention, the example of environment and configuration can include, but is not limited to hand-held phone,
Personal computer, server, multicomputer system, micro computer are main system, body frame configuration computer and distributed arithmetic ring
Border, which includes any said system or device.
To be described in detail respectively below.
In the present embodiment, will carry out from the angle of scanning wireless local area network (LAN) channels device (abbreviation channel scanning device)
Describe, in the mobile terminals such as this scanning wireless local area network (LAN) channels device specifically can be integrated in such as panel computer, mobile phone.
A kind of scanning wireless local area network (LAN) channels method, including: when detecting that mobile terminal currently carries out presetting voice and leads to
During call business, obtain the first band information, the frequency range that described first band information is used by described default voice calling service
Information;Obtaining the second band information and the described second corresponding channel information of band information, described second band information is nothing
The working frequency range information of line LAN;Determine between the frequency range between described first band information and described second band information
Away from;If described frequency range is smaller than predetermined threshold value, then in described channel information, determine corresponding destination channel, and to described mesh
Mark channel is scanned.
Refer to the flow process signal that Fig. 1, Fig. 1 are the scanning wireless local area network (LAN) channels methods that the embodiment of the present invention provides
Figure.Described method includes:
In step S101, when detecting that mobile terminal currently carries out presetting voice calling service, obtain the first frequency range
Information, the band information that described first band information is used by described default voice calling service.
In the embodiment of the present invention, described default voice calling service can be specially Long Term Evolution LET speech business, mainly
Refer to wait between artificial speech and user or between user with user communication or the business exchanged.
Such as, when detecting that mobile terminal, currently when carrying out LET speech business, obtains the LET frequency that this call is used
Segment information, wherein, in communication field, frequency range refers to the frequency range of electromagnetic wave, and unit is hertz Hz.
In step s 102, obtain the second band information and the described second corresponding channel information of band information, described
Second band information is the working frequency range information of WLAN.
It is understood that due to the division according to frequency spectrum instantly and service condition, the frequency spectrum of LTE is very close to WLAN
The portions of the spectrum of 2.4GHz, therefore when LTE is also operated in the portions of the spectrum of 2.4GHz, the most inevitably also exists dry
Disturb.
Based on this, in the embodiment of the present invention, the working frequency range information (the second band information) of WLAN can have
Body is the portions of the spectrum (i.e. 2402MHz to 2483.5MHz) of 2.4GHz, this corresponding channel information of working frequency range information
(Channel) CH1, CH2 ... CH13 totally 13 channels are included.
It is contemplated that term " first " in the present invention, " second " etc. are for distinguishing different object rather than use
In describing particular order, illustrate herein and do not constitute limitation of the invention.
In step s 103, the frequency range spacing between described first band information and described second band information is determined.
Such as, the second band information that the first band information obtained according to step S101 and step S102 obtain, comes
Calculate frequency range spacing between the two, if the band information that the band information of LTE is 2300MHz, WLAN is 2402M Hz, then
Frequency range spacing between them is 102MHz.
In some embodiments, if described frequency range is smaller than predetermined threshold value, then perform step S104.
In some embodiments, described first band information and described second band information are determined at channel scanning device
Between frequency range spacing after, it is also possible to including:
If described frequency range spacing is more than or equal to predetermined threshold value, then whole channels indicated in described channel information are entered
Row scanning.
It is understood that when frequency range spacing is more than or equal to predetermined threshold value, it is believed that the first band information and second
Band information is apart from each other, i.e. presets and disturbs less between voice calling service and WLAN or there is not interference, because of
Whole channels indicated by the second corresponding channel information of band information can be scanned by this.
In step S104, if described frequency range is smaller than predetermined threshold value, then determine corresponding in described channel information
Destination channel, and described destination channel is scanned.
In the embodiment of the present invention, in described channel information, determine that the implementation of corresponding destination channel has a lot, than
As, can specifically include following steps:
(1) according to described frequency range spacing, determine that corresponding presetting disturbs rank.
(2) based on described default interference rank, the number of interference channel and corresponding interference channel are determined.
(3) in the channel indicated by described channel information, get rid of described interference channel, determine the target letter needing scanning
Road.
It is to say, interference rank can be stored by channel scanning device in advance, determine accordingly according to frequency range spacing
Interference rank, as the biggest in frequency range spacing, disturb the biggest, corresponding interference rank is the highest;Further, each interference level
The most all pre-set number and the concrete interference channel likely to the channel that default speech business interferes.Finally,
In whole channels, exclusive PCR channel, remaining channel is defined as destination channel.
In some embodiments, described according to described frequency range spacing, determine that corresponding default interference rank can be concrete
Including:
(11) obtaining multiple default sub-threshold value, described default sub-threshold value is less than described predetermined threshold value.
(12) described frequency range spacing is compared with the plurality of default sub-threshold value, obtain comparative result.
(13) determine that corresponding presetting disturbs rank according to described comparative result.
Such as, in this embodiment, after determining that frequency range is smaller than predetermined threshold value, more sub-threshold is preset by multiple
Value divides several intervals, this frequency range spacing is compared with multiple default sub-threshold values, then can determine that frequency range spacing belongs to
Which is interval, may thereby determine that rank is disturbed in this interval accordingly.
In some embodiments, detect that mobile terminal does not currently carry out presetting voice call industry when channel scanning device
During business, can specifically include:
A (), when detecting that mobile terminal does not currently carry out presetting voice calling service, obtains the work of WLAN
Make the corresponding channel information of band information.
B whole channels indicated in described channel information are scanned by ().
It is understood that when mobile terminal does not currently carry out presetting voice calling service, it is believed that preset voice and lead to
Interference is there is not between call business and WLAN, therefore, can complete to indicated by the channel information of WLAN
Portion's channel is scanned.
From the foregoing, the scanning wireless local area network (LAN) channels method that the present embodiment provides, first detecting that movement is eventually
When end carries out presetting voice calling service, obtain its band information used;Further, the frequency range letter of WLAN is obtained
Breath and corresponding channel information;Then, calculate between band information and the band information of WLAN of voice call
Frequency range spacing;If frequency range is smaller than predetermined threshold value, then in the channel of WLAN, determine corresponding destination channel
And destination channel is scanned, connect wireless access points, i.e. by the band information of voice call and wireless office
Frequency range spacing between the band information of territory network is analyzed, and judges both annoyance levels, thus according to analysis result
Determine the destination channel of scanning, to user during solution mobile terminal WLAN active scan wireless access points
The problem that call impacts, it is ensured that user's communication effect and speech quality.
According to the method described by above-described embodiment, below citing is described in further detail.
Firstly, since according to the division of existing frequency spectrum and service condition, the frequency spectrum of LTE is very close to the frequency of WLAN2.4GHz
Spectrum part, particularly frequency band B40, B41, B7 etc., B40 is positioned at the lower section of WLAN frequency range, B41 and B7 is positioned at the upper of WLAN frequency range
Side, therefore when LTE is at above band operation, is all inevitably present with WLAN and disturbs, and according to current fresh water (FW)
Flat, coexisting filter does not ensures that and the interference of adjacent frequency section is eliminated.
Such as, when mobile terminal scans wireless access points AP in the way of active scan, can send out on each channel
Go out probe request, ask certain ad hoc wireless networks to be responded, thus when scanning, mobile terminal can transmission requests letter
Number.Mobile terminal is when unsuccessful connection AP (as without AP key), and mobile terminal at set intervals will be around active scan
Available AP, and attempt connecting.If but now user is currently in use B7, B40 or B41 when carrying out LTE voice call, can draw
Play adjacent frequency interference, have influence on user's normal talking.
Based on this, the embodiment of the present invention provides a kind of new scan mechanism to be scanned WLAN channel, with
Avoid the interference of LTE Yu WLAN.Refer to the scanning wireless local area network (LAN) channels method that Fig. 2, Fig. 2 provide for the embodiment of the present invention
Another schematic flow sheet.Described method includes:
In step s 201, the most whether detection mobile terminal carries out LTE speech business.
Such as, can go to detect the most whether mobile terminal is carried out every a prefixed time interval (such as 30 seconds, 1 minute etc.)
LTE speech business, when detecting that mobile terminal currently carries out LTE speech business, directly performs step S202;When shifting being detected
When dynamic terminal does not currently carry out LTE speech business, directly perform step S209.
In step S202, determine the LET band information that LTE speech business is used.
In step S203, obtain the band information of WLAN and corresponding channel information.
It is understood that due to the division according to frequency spectrum instantly and service condition, the frequency spectrum of LTE is very close to WLAN
The portions of the spectrum of 2.4GHz, therefore when LTE is also operated in the portions of the spectrum of 2.4GHz, the most inevitably also exists dry
Disturb.
Therefore, when detecting that mobile terminal currently carries out LTE speech business, obtain respectively current LET band information with
And the working frequency range information of WLAN, in order to according to the working frequency range information of LET band information and WLAN, at mobile terminal actively
Avoid interference during the AP that scanning around can use.
Frequency range dividing condition signal please also refer to the Radio Access Network that Fig. 3, Fig. 3 provide for the embodiment of the present invention
Figure, wherein, in the embodiment of the present invention, the working frequency range information of WLAN can be specially portions of the spectrum (the i.e. 2402MHz of 2.4GHz
To 2483.5MHz), the corresponding channel information of this working frequency range information (Channel) includes CH1, CH2 ... CH13 totally 13
Channel.
Such as Fig. 3, the frequency spectrum the most close with LTE is frequency band B40, B41, B7 etc. respectively, and B40 is positioned under WLAN frequency range
Side, B41 and B7 is positioned at the top of WLAN frequency range, and wherein, B40 band information mainly includes 2300-2400MHz, B41 band information
Mainly include that 2496-2690MHz, B7 band information is 2600MHz.
In step S204, determine the frequency range spacing between LET band information and the band information of WLAN.
Such as, the working frequency range letter of the WLAN that the LET band information obtained according to step S202 and step S203 obtain
Breath, calculates frequency range spacing between the two, if the band information that the band information of LTE is 2300MHz, WLAN is 2402M
Hz, then the frequency range spacing between them is 102MHz.
In step S205, it is judged that whether described frequency range spacing is less than predetermined threshold value.
If described frequency range is smaller than predetermined threshold value, the most directly perform step S206;If described frequency range spacing more than or etc.
In predetermined threshold value, the most directly perform step S209.
It is understood that described predetermined threshold value can determine according to concrete scene, if scene requirement is more accurate, then
This predetermined threshold value can arrange relatively small, if scene requirement is the highest, then this predetermined threshold value can arrange relatively large, this
Its concrete value is not construed as limiting by place.
In step S206, obtain multiple default sub-threshold value, described frequency range spacing is entered with the plurality of default sub-threshold value
Row compares, and obtains comparative result.
In step S207, determine that corresponding presetting disturbs rank according to described comparative result.
In step S208, based on described default interference rank, determine and need the destination channel of scanning and scan.
In step S209, whole channels indicated in the band information of WLAN are scanned.
Can be concrete, such as, when LTE is in voice call, acquisition for mobile terminal presently used LTE frequency range is believed
Breath, if the spacing of the frequency range that used of LTE and WLAN 2.4GHz band limits is more than or equal to predetermined threshold value, then WLAN is entirely
Channel (CH1, CH2 ... CH13) is scanned.
The most such as, if the band information that used of LTE and WLAN 2.4GHz band limits be smaller than predetermined threshold value,
Then WLAN uses the mode of local channel scanning.Employ the low channel in B41 such as LTE, for avoiding interference, WLAN can be set
CH13, CH12, CH11 etc. just can get rid of, be defined as interference channel.
It should be noted that, the quantity of concrete interference channel can be determined according to the degree of mutual interference, is therefore determining that spacing is little
When predetermined threshold value, in addition it is also necessary to set many sub-threshold values to distinguish multiple rank, distinguish the degree being disturbed with this.Described pre-
If threshold value can define with this need all channel scanning or local channel scanning as threshold value 1, many sub-threshold values are the most permissible
It is set to threshold value 2, threshold value 3 ..., wherein, threshold value 1 > threshold value 2 > threshold value 3 ....
It is to say, judge WLAN interference channel according to mutual interference, and get rid of interference channel, other channels be scanned,
Impact on user's communication during to solve AP available around mobile terminal WLAN active scan, it is to avoid interference, promotes user's body
Test.
It addition, when detecting that mobile terminal does not currently carry out LET speech business, it is believed that preset voice calling service with
There is not interference between WLAN, therefore, WLAN all channel can be scanned.
From the foregoing, the scanning wireless local area network (LAN) channels method that the present embodiment provides, first detecting that movement is eventually
When end carries out presetting voice calling service, obtain its band information used;Further, the frequency range letter of WLAN is obtained
Breath and corresponding channel information;Then, calculate between band information and the band information of WLAN of voice call
Frequency range spacing;If frequency range is smaller than predetermined threshold value, then in the channel of WLAN, determine corresponding destination channel
And destination channel is scanned, connect wireless access points, i.e. by the band information of voice call and wireless office
Frequency range spacing between the band information of territory network is analyzed, and judges both annoyance levels, thus according to analysis result
Determine the destination channel of scanning, to user during solution mobile terminal WLAN active scan wireless access points
The problem that call impacts, it is ensured that user's communication effect and speech quality.That is, WLAN interference channel is judged according to mutual interference,
And get rid of interference channel, other channels are scanned, during to solve around mobile terminal WLAN active scan available AP pair
The impact of user's communication, it is to avoid interference, promotes Consumer's Experience.
For ease of preferably implementing the scanning wireless local area network (LAN) channels method that the embodiment of the present invention provides, the present invention implements
Example also provides for a kind of device based on above-mentioned scanning wireless local area network (LAN) channels method.The wherein implication of noun and above-mentioned wireless office
In the method for territory network channel scanning identical, implement the explanation that details is referred in embodiment of the method.
Refer to the structural representation of the scanning wireless local area network (LAN) channels device that Fig. 4, Fig. 4 provide for the embodiment of the present invention
Figure, described device can include that the first acquiring unit 301, second acquisition unit 302, spacing determine unit 303, channels determining unit
304 and first scanning element 305.
Wherein said first acquiring unit 301, for when detecting that mobile terminal currently carries out presetting voice calling service
Time, obtain the first band information, the band information that described first band information is used by described default voice calling service.
In the embodiment of the present invention, described default voice calling service can be specially Long Term Evolution LET speech business, mainly
Refer to wait between artificial speech and user or between user with user communication or the business exchanged.
Such as, when detecting that mobile terminal, currently when carrying out LET speech business, obtains the LET frequency that this call is used
Segment information, wherein, in communication field, frequency range refers to the frequency range of electromagnetic wave, and unit is hertz Hz.
Second acquisition unit 302, for obtaining the second band information and described second band information corresponding channel letter
Breath, described second band information is the working frequency range information of WLAN.
It is understood that due to the division according to frequency spectrum instantly and service condition, the frequency spectrum of LTE is very close to WLAN
The portions of the spectrum of 2.4GHz, therefore when LTE is also operated in the portions of the spectrum of 2.4GHz, the most inevitably also exists dry
Disturb.
Based on this, in the embodiment of the present invention, the working frequency range information (the second band information) of WLAN can have
Body is the portions of the spectrum (i.e. 2402MHz to 2483.5MHz) of 2.4GHz, this corresponding channel information of working frequency range information
(Channel) CH1, CH2 ... CH13 totally 13 channels are included.
It is contemplated that term " first " in the present invention, " second " etc. are for distinguishing different object rather than use
In describing particular order, illustrate herein and do not constitute limitation of the invention.
Spacing determines unit 303, for determining the frequency range between described first band information and described second band information
Spacing.
Such as, the second band information that the first band information obtained according to step S101 and step S102 obtain, comes
Calculate frequency range spacing between the two, if the band information that the band information of LTE is 2300MHz, WLAN is 2402M Hz, then
Frequency range spacing between them is 102M Hz.
Channels determining unit 304, if being smaller than predetermined threshold value for described frequency range, then determines in described channel information
Corresponding destination channel;First scanning element 305, for being scanned described destination channel.
See also another knot of the scanning wireless local area network (LAN) channels device that Fig. 5, Fig. 5 provide for the embodiment of the present invention
Structure schematic diagram, wherein said device can also include:
Second scanning element 306, if for described frequency range spacing more than or equal to predetermined threshold value, then to described channel information
Whole channels indicated by are scanned.
It is understood that when frequency range spacing is more than or equal to predetermined threshold value, it is believed that the first band information and second
Band information is apart from each other, i.e. presets and disturbs less between voice calling service and WLAN or there is not interference, because of
Whole channels indicated by the second corresponding channel information of band information can be scanned by this.
As it is shown in figure 5, described channels determining unit 304 can specifically include:
(1) rank determines subelement 3041, for according to described frequency range spacing, determines that corresponding presetting disturbs rank.
(2) interference channel determines subelement 3042, for based on described default interference rank, determines the number of interference channel
And corresponding interference channel.
(3) destination channel determines subelement 3043, in the channel indicated by described channel information, gets rid of described dry
Disturb channel, determine the destination channel needing scanning.
It is to say, interference rank can be stored by channel scanning device in advance, determine accordingly according to frequency range spacing
Interference rank, as the biggest in frequency range spacing, disturb the biggest, corresponding interference rank is the highest;Further, each interference level
The most all pre-set number and the concrete interference channel likely to the channel that default speech business interferes.Finally,
In whole channels, exclusive PCR channel, remaining channel is defined as destination channel.
In some embodiments, wherein said rank determine subelement 3041 specifically for: obtain multiple preset sub-threshold
Value, described default sub-threshold value is less than described predetermined threshold value;Described frequency range spacing is compared with the plurality of default sub-threshold value,
Obtain comparative result;Determine that corresponding presetting disturbs rank according to described comparative result.
Such as, in this embodiment, after determining that frequency range is smaller than predetermined threshold value, more sub-threshold is preset by multiple
Value divides several intervals, this frequency range spacing is compared with multiple default sub-threshold values, then can determine that frequency range spacing belongs to
Which is interval, may thereby determine that rank is disturbed in this interval accordingly.
As it is shown in figure 5, described device can also include: the 3rd scanning element 307, for when detecting that mobile terminal is current
When not carrying out presetting voice calling service, obtain the corresponding channel information of working frequency range information of WLAN, to described
Whole channels indicated in channel information are scanned.
It is understood that when mobile terminal does not currently carry out presetting voice calling service, it is believed that preset voice and lead to
Interference is there is not between call business and WLAN, therefore, can complete to indicated by the channel information of WLAN
Portion's channel is scanned.
When being embodied as, above unit can realize as independent entity, it is also possible to carries out combination in any, makees
Realize for same or several entities, the embodiment of the method being embodied as can be found in above of above unit, at this not
Repeat again.
In the mobile terminals such as this scanning wireless local area network (LAN) channels device specifically can be integrated in such as panel computer, mobile phone.
From the foregoing, the scanning wireless local area network (LAN) channels device that the present embodiment provides, first detecting that movement is eventually
When end carries out presetting voice calling service, obtain its band information used;Further, the frequency range letter of WLAN is obtained
Breath and corresponding channel information;Then, calculate between band information and the band information of WLAN of voice call
Frequency range spacing;If frequency range is smaller than predetermined threshold value, then in the channel of WLAN, determine corresponding destination channel
And destination channel is scanned, connect wireless access points, i.e. by the band information of voice call and wireless office
Frequency range spacing between the band information of territory network is analyzed, and judges both annoyance levels, thus according to analysis result
Determine the destination channel of scanning, to user during solution mobile terminal WLAN active scan wireless access points
The problem that call impacts, it is ensured that user's communication effect and speech quality.
Refer to the mobile terminal structure schematic diagram that Fig. 6, Fig. 6 provide for the embodiment of the present invention.Described in the present embodiment
Mobile terminal, including at least one input equipment 1000;At least one outut device 2000;At least one processor 3000,
Such as central processing unit (CPU, Central Processing Unit);With memorizer 4000, above-mentioned input equipment 1000, defeated
Go out equipment 2000, processor 3000 and memorizer 4000 to be connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely photographic head, contact panel, physical button or mouse etc..
Above-mentioned outut device 2000 concretely display screen.
Above-mentioned memorizer 4000 can be high random access memory body (RAM, Random Access Memory) storage
Device, it is possible to for non-labile memorizer (non-volatile memory), such as disk memory.Above-mentioned memorizer 4000
For storing batch processing code, above-mentioned input equipment 1000, outut device 2000 and processor 3000 are used for calling memorizer
The program code of storage in 4000, performs to operate as follows:
When detecting that mobile terminal currently carries out presetting voice calling service, obtain the first band information, described first
The band information that band information is used by described default voice calling service;Obtain the second band information and described second frequency
The corresponding channel information of segment information, described second band information is the working frequency range information of WLAN;Determine described
Frequency range spacing between one band information and described second band information;If described frequency range is smaller than predetermined threshold value, then in institute
State and channel information determines corresponding destination channel, and described destination channel is scanned.
In some embodiments, can also carry out code by processor 3000, if described frequency range spacing more than or etc.
In predetermined threshold value, then whole channels indicated in described channel information are scanned.
In some embodiments, can also carry out code by processor 3000, according to described frequency range spacing, determine phase
The default interference rank answered;Based on described default interference rank, determine the number of interference channel and corresponding interference channel;?
In channel indicated by described channel information, get rid of described interference channel, determine the destination channel needing scanning.
In some embodiments, can also carry out code by processor 3000, obtain multiple default sub-threshold value, described
Preset sub-threshold value less than described predetermined threshold value;Described frequency range spacing is compared with the plurality of default sub-threshold value, is compared
Relatively result;Determine that corresponding presetting disturbs rank according to described comparative result.
In some embodiments, can also carry out code by processor 3000, when detecting that mobile terminal is current not
When carrying out presetting voice calling service, obtain the corresponding channel information of working frequency range information of WLAN;To described letter
Whole channels indicated in road information are scanned.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment
Point, may refer to the detailed description above with respect to scanning wireless local area network (LAN) channels method, here is omitted.
The embodiment of the present invention provide described scanning wireless local area network (LAN) channels device, be such as computer, panel computer,
Mobile phone with touch function etc., described scanning wireless local area network (LAN) channels device and the WLAN in foregoing embodiments
Network channel scanning method belongs to same design, can run described wireless office on described scanning wireless local area network (LAN) channels device
The either method provided in the network channel scan method embodiment of territory, it implements process and refers to described WLAN letter
Road scan method embodiment, here is omitted.
It should be noted that for scanning wireless local area network (LAN) channels method of the present invention, this area common test
Personnel are appreciated that all or part of flow process realizing scanning wireless local area network (LAN) channels method described in the embodiment of the present invention, are can
Completing with the hardware controlling to be correlated with by computer program, described computer program can be stored in an embodied on computer readable and deposit
In storage media, such as storage in a memory in the mobile terminal, and performed by least one processor in this mobile terminal, holding
The flow process of embodiment such as described scanning wireless local area network (LAN) channels method can be included during row.Wherein, described storage is situated between
Matter can be magnetic disc, CD, read only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory) etc..
For the described scanning wireless local area network (LAN) channels device of the embodiment of the present invention, its each functional module can be integrated
Process in chip at one, it is also possible to be that modules is individually physically present, it is also possible to two or more modules are integrated in
In one module.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ the shape of software function module
Formula realizes.If described integrated module realizes and as independent production marketing or use using the form of software function module
Time, it is also possible to being stored in a computer read/write memory medium, described storage medium is such as read only memory, disk or
CD etc..
A kind of scanning wireless local area network (LAN) channels method, device and the mobile terminal above embodiment of the present invention provided
Being described in detail, principle and the embodiment of the present invention are set forth by specific case used herein, above reality
The explanation executing example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for those skilled in the art,
According to the thought of the present invention, the most all will change, in sum, in this specification
Hold and should not be construed as limitation of the present invention.
Claims (10)
1. a scanning wireless local area network (LAN) channels method, it is characterised in that including:
When detecting that mobile terminal currently carries out presetting voice calling service, obtain the first band information, described first frequency range
The band information that information is used by described default voice calling service;
Obtaining the second band information and the described second corresponding channel information of band information, described second band information is wireless
The working frequency range information of LAN;
Determine the frequency range spacing between described first band information and described second band information;
If described frequency range is smaller than predetermined threshold value, then in described channel information, determine corresponding destination channel, and to described
Destination channel is scanned.
Scanning wireless local area network (LAN) channels method the most according to claim 1, it is characterised in that described determine described first
After frequency range spacing between band information and described second band information, also include:
If described frequency range spacing is more than or equal to predetermined threshold value, then whole channels indicated in described channel information are swept
Retouch.
Scanning wireless local area network (LAN) channels method the most according to claim 1, it is characterised in that described believe at described channel
Breath determining, corresponding destination channel includes:
According to described frequency range spacing, determine that corresponding presetting disturbs rank;
Based on described default interference rank, determine the number of interference channel and corresponding interference channel;
In the channel indicated by described channel information, get rid of described interference channel, determine the destination channel needing scanning.
Scanning wireless local area network (LAN) channels method the most according to claim 3, it is characterised in that described according to described frequency range
Spacing, determines that corresponding interference rank of presetting includes:
Obtaining multiple default sub-threshold value, described default sub-threshold value is less than described predetermined threshold value;
Described frequency range spacing is compared with the plurality of default sub-threshold value, obtains comparative result;
Determine that corresponding presetting disturbs rank according to described comparative result.
5. according to the scanning wireless local area network (LAN) channels method described in any one of Claims 1-4, it is characterised in that described side
Method also includes:
When detecting that mobile terminal does not currently carry out presetting voice calling service, obtain the working frequency range letter of WLAN
Cease corresponding channel information;
Whole channels indicated in described channel information are scanned.
6. a scanning wireless local area network (LAN) channels device, it is characterised in that including:
First acquiring unit, for when detecting that mobile terminal currently carries out presetting voice calling service, obtaining the first frequency range
Information, the band information that described first band information is used by described default voice calling service;
Second acquisition unit, for obtaining the second band information and the described second corresponding channel information of band information, described
Second band information is the working frequency range information of WLAN;
Spacing determines unit, for determining the frequency range spacing between described first band information and described second band information;
Channels determining unit, if being smaller than predetermined threshold value for described frequency range, then determines corresponding in described channel information
Destination channel;
First scanning element, for being scanned described destination channel.
Scanning wireless local area network (LAN) channels device the most according to claim 6, it is characterised in that described device also includes:
Second scanning element, if for described frequency range spacing more than or equal to predetermined threshold value, then to indication in described channel information
The whole channels shown are scanned.
Scanning wireless local area network (LAN) channels device the most according to claim 6, it is characterised in that described channels determining unit
Including:
Rank determines subelement, for according to described frequency range spacing, determines that corresponding presetting disturbs rank;
Interference channel determines subelement, for based on described default interference rank, determines the number of interference channel and corresponding
Interference channel;
Destination channel determines subelement, in the channel indicated by described channel information, gets rid of described interference channel, determines
Need the destination channel of scanning;
Wherein said rank determine subelement specifically for: obtain and multiple preset sub-threshold value, described preset sub-threshold value less than described
Predetermined threshold value;Described frequency range spacing is compared with the plurality of default sub-threshold value, obtains comparative result;According to described comparison
Result determines that corresponding presetting disturbs rank.
9. according to the scanning wireless local area network (LAN) channels device described in any one of claim 6 to 8, it is characterised in that described dress
Put and also include:
3rd scanning element, for when detecting that mobile terminal does not currently carry out presetting voice calling service, obtaining wireless office
Whole channels indicated in described channel information are scanned by the corresponding channel information of working frequency range information of territory network.
10. a mobile terminal, it is characterised in that including:
Storage has the memorizer of executable program code;
The processor coupled with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, performs if claim 1 is to right
Require the method described in 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610695858.3A CN106332238B (en) | 2016-08-19 | 2016-08-19 | A kind of scanning wireless local area network (LAN) channels method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610695858.3A CN106332238B (en) | 2016-08-19 | 2016-08-19 | A kind of scanning wireless local area network (LAN) channels method, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106332238A true CN106332238A (en) | 2017-01-11 |
CN106332238B CN106332238B (en) | 2017-08-01 |
Family
ID=57743386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610695858.3A Active CN106332238B (en) | 2016-08-19 | 2016-08-19 | A kind of scanning wireless local area network (LAN) channels method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106332238B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851690A (en) * | 2017-02-28 | 2017-06-13 | 广东欧珀移动通信有限公司 | wireless network scanning method, device and computer equipment |
CN108055687A (en) * | 2018-01-31 | 2018-05-18 | 广东欧珀移动通信有限公司 | Wireless network connecting method, device, terminal device and storage medium |
CN113453364A (en) * | 2021-06-29 | 2021-09-28 | 展讯通信(天津)有限公司 | Communication method, chip and electronic device |
EP4064760A4 (en) * | 2019-12-30 | 2023-01-04 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Device control method and apparatus, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1874151A (en) * | 2005-06-03 | 2006-12-06 | 鸿富锦精密工业(深圳)有限公司 | Method for scanning channels |
US20140173668A1 (en) * | 2012-12-19 | 2014-06-19 | Sunplus Technology Co., Ltd. | Fast blind scan method insensitive to adjacent channel interference |
WO2015088766A1 (en) * | 2013-12-13 | 2015-06-18 | Motorola Solutions, Inc. | Apparatus and method for enabling efficient handover of a receiving radio between radio frequency sites |
CN104902545A (en) * | 2015-05-27 | 2015-09-09 | 厦门盈趣科技股份有限公司 | Coexisting method for Zigbee and WiFi (Wireless Fidelity) |
-
2016
- 2016-08-19 CN CN201610695858.3A patent/CN106332238B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1874151A (en) * | 2005-06-03 | 2006-12-06 | 鸿富锦精密工业(深圳)有限公司 | Method for scanning channels |
US20140173668A1 (en) * | 2012-12-19 | 2014-06-19 | Sunplus Technology Co., Ltd. | Fast blind scan method insensitive to adjacent channel interference |
WO2015088766A1 (en) * | 2013-12-13 | 2015-06-18 | Motorola Solutions, Inc. | Apparatus and method for enabling efficient handover of a receiving radio between radio frequency sites |
CN104902545A (en) * | 2015-05-27 | 2015-09-09 | 厦门盈趣科技股份有限公司 | Coexisting method for Zigbee and WiFi (Wireless Fidelity) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851690A (en) * | 2017-02-28 | 2017-06-13 | 广东欧珀移动通信有限公司 | wireless network scanning method, device and computer equipment |
CN108055687A (en) * | 2018-01-31 | 2018-05-18 | 广东欧珀移动通信有限公司 | Wireless network connecting method, device, terminal device and storage medium |
EP4064760A4 (en) * | 2019-12-30 | 2023-01-04 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Device control method and apparatus, storage medium and electronic device |
CN113453364A (en) * | 2021-06-29 | 2021-09-28 | 展讯通信(天津)有限公司 | Communication method, chip and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN106332238B (en) | 2017-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9143413B1 (en) | Presenting wireless-spectrum usage information | |
KR101599178B1 (en) | Detecting neighboring access points in a network | |
US10371790B2 (en) | Calibration-free location determination using wireless communication | |
CN106332238A (en) | Wireless local area network channel scanning method and apparatus, and mobile terminal | |
CN103974369B (en) | A kind of channel selecting method and its system based on WLAN wireless channel scorings | |
Dou et al. | Optimizing sensor network coverage and regional connectivity in industrial IoT systems | |
US8180367B2 (en) | Cluster-based fingerprinting algorithms | |
JP5927133B2 (en) | Wireless communication terminal, wireless communication method, program, and wireless communication system | |
CN110535578A (en) | Method for transmitting signals and device | |
JP2024500171A (en) | Positioning measurement method, device, equipment and readable storage medium | |
CN105979566B (en) | A kind of method for connecting network, device and mobile terminal | |
JP2023169404A (en) | Communication apparatus, control method, and program | |
CN113727399A (en) | Target cell determination method and device | |
CN106604402A (en) | Channel selection method and system of wireless router | |
CN105792301A (en) | Terminal, method and system for network switching | |
JP7447248B2 (en) | Listen-before-talk LBT subband segmentation method, device, equipment and medium | |
CN113055901B (en) | Terminal positioning method and device | |
Goovaerts et al. | Improving privacy through fast passive Wi-Fi scanning | |
Lieckfeldt et al. | An algorithm for distributed beacon selection | |
CN111432453A (en) | Communication channel determination method, device and equipment | |
KR20120039641A (en) | Method for adjusting channels in cognitive wireless communication, and cognitive wireless communication system capable of implementing the method | |
CN115374852A (en) | Abnormal data detection method, device, equipment and storage medium | |
JP2017106798A (en) | Positioning program, positioning method and positioning device | |
US20190121569A1 (en) | Scalability improvements of people-counting sensor networks | |
CN108430075B (en) | Method and device for filtering Wi-Fi access equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |