CN106332238B - A kind of scanning wireless local area network (LAN) channels method, device and mobile terminal - Google Patents

A kind of scanning wireless local area network (LAN) channels method, device and mobile terminal Download PDF

Info

Publication number
CN106332238B
CN106332238B CN201610695858.3A CN201610695858A CN106332238B CN 106332238 B CN106332238 B CN 106332238B CN 201610695858 A CN201610695858 A CN 201610695858A CN 106332238 B CN106332238 B CN 106332238B
Authority
CN
China
Prior art keywords
frequency range
channel
information
band information
channels
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.)
Active
Application number
CN201610695858.3A
Other languages
Chinese (zh)
Other versions
CN106332238A (en
Inventor
肖龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610695858.3A priority Critical patent/CN106332238B/en
Publication of CN106332238A publication Critical patent/CN106332238A/en
Application granted granted Critical
Publication of CN106332238B publication Critical patent/CN106332238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [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 kind of scanning wireless local area network (LAN) channels method, device and mobile terminal, wherein this method includes:When detecting mobile terminal and currently carrying out default voice calling service, the first band information is obtained, first band information is band information used in default voice calling service;The second band information and the corresponding channel information of the second band information are obtained, second band information is the working frequency range information of WLAN;Determine the frequency range spacing between the first band information and the second band information;If the frequency range is smaller than predetermined threshold value, destination channel is determined in channel information and is scanned.The embodiment of the present invention is analyzed by the frequency range spacing between the band information and the band information of WLAN to voice call, to judge both annoyance levels, the problem of solving to impact user's communication during mobile terminal WLAN active scan wireless access points, it is ensured that user's communication effect and speech quality.

Description

A kind of scanning wireless local area network (LAN) channels method, device and mobile terminal
Technical field
The invention belongs to communication technical field, more particularly to a kind of scanning wireless local area network (LAN) channels method, device and shifting Dynamic terminal.
Background technology
In recent years, with the fast development of mobile communication technology, the function of terminal device also increasingly present variation and Complicate, in particular with the development of 3rd generation mobile communication technology (3G) and forth generation mobile communication technology (4G) technology, city Field is growing day by day to the demand of intelligent terminal.Generally it may require that within one device while supporting a variety of wireless access technologys, such as: Long Term Evolution (LTE, Long Term Evolution) network and WLAN (WLAN, Wireless Local Area Networks) etc..Because these access technologies are that in same or like frequency range, such as LTE frequency spectrum is very close to WLAN 2.4GHz portions of the spectrum, particularly B40, B41, B7 etc., B40 are located at the lower section of WLAN frequency ranges, and B41 and B7 are located at WLAN frequency ranges Top, when LTE is in above band operation, is all inevitably present and disturbs with WLAN.
The mode of current mobile terminal scanning wireless access points (AP, Wireless Access Point) has actively Scanning and two kinds of drive sweep, active scan be mobile terminal (work station STA) in an active manner, send on each channel Probe requests thereby (Probe Request) frame, asks some ad hoc wireless networks to be responded, thus in scanning, mobile terminal Request signal can be launched.Mobile terminal is in connection AP not successfully (such as without AP keys), and mobile terminal at regular intervals will Available AP around active scan, and attempt connection.If now user is led to using B7, B40 or B41 progress LTE voices During words, then adjacent frequency will certainly be caused to disturb, have influence on user's normal talking, so as to cause communication effect and speech quality poor.
The content 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 to impact user's communication during WLAN active scans, the problem of causing communication effect and poor speech quality.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
In a first aspect, the present invention provides a kind of scanning wireless local area network (LAN) channels method, including:
When detecting mobile terminal and currently carrying out default voice calling service, the first band information, described first are obtained Band information is band information used in the default voice calling service;
The second band information and the corresponding channel information of the second band information are obtained, second band information is The working frequency range information of WLAN;
Determine the frequency range spacing between first band information and second band information;
If the frequency range is smaller than predetermined threshold value, corresponding destination channel is determined in the channel information, and it is right The destination channel is scanned.
Second aspect, the present invention provides a kind of scanning wireless local area network (LAN) channels device, including:
First acquisition unit, for when detecting mobile terminal and currently carrying out default voice calling service, obtaining first Band information, first band information is band information used in the default voice calling service;
Second acquisition unit, for obtaining the second band information and the corresponding channel information of the second band information, Second band information is the working frequency range information of WLAN;
Spacing determining unit, for determining between the frequency range between first band information and second band information Away from;
Channels determining unit, if being smaller than predetermined threshold value for the frequency range, phase is determined in the channel information The destination channel answered;
First scanning element, for being scanned to the destination channel.
The third aspect, the present invention provides a kind of mobile terminal, including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, 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 is detecting the default voice calling service of mobile terminal progress first When, obtain its used band information;Also, obtain the band information and corresponding channel information of WLAN; Then, the frequency range spacing between the band information of voice call and the band information of WLAN is calculated;If frequency range spacing Less than predetermined threshold value, then determine corresponding destination channel in the channel of WLAN and destination channel be scanned, To connect wireless access points, i.e., by between the band information and the band information of WLAN to voice call Frequency range spacing is analyzed, to judge both annoyance levels, so that the destination channel of scanning is determined according to analysis result, The problem of solving to impact user's communication during mobile terminal WLAN active scan wireless access points, it is ensured that User's communication effect and speech quality.
Brief description of the drawings
Below in conjunction with the accompanying drawings, it is described in detail by the embodiment to the present invention, technical scheme will be made And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of scanning wireless local area network (LAN) channels method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of scanning wireless local area network (LAN) channels method provided in an embodiment of the present invention;
Fig. 3 is the frequency range dividing condition schematic diagram of Radio Access Network provided in an embodiment of the present invention;
Fig. 4 is the structural representation of scanning wireless local area network (LAN) channels device provided in an embodiment of the present invention;
Fig. 5 is another structural representation of scanning wireless local area network (LAN) channels device provided in an embodiment of the present invention;
Fig. 6 is the structural representation of mobile terminal provided in an embodiment of the present invention.
Embodiment
It refer to schema, wherein identical element numbers represent identical component, principle of the invention is to implement one Illustrated in appropriate computing environment.The following description is that, based on the illustrated specific embodiment of the invention, it should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiment of the invention is by with reference to as the step performed by one or multi-section computer And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is performed by computer, this paper institutes The computer of finger, which is performed, to be included by representing with the computer processing unit of the electronic signal of the data in a structuring pattern Operation.This operation is changed at the data or the position being maintained in the memory system of the computer, and its is reconfigurable Or change the running of the computer in the way of known to the tester of this area in addition.The data structure that the data are maintained For the provider location of the internal memory, it has the particular characteristics as defined in the data format.But, the principle of the invention is with above-mentioned text Word illustrates, it is not represented as a kind of limitation, and this area tester will appreciate that plurality of step as described below and behaviour Also it may be implemented among hardware.
The principle of the present invention is grasped using many other wide usages or specific purpose computing, communication environment or configuration Make.The example of the known arithmetic system for being suitable for the present invention, environment and configuration may include the hand-held phone of (but not limited to), Personal computer, server, multicomputer system, system, body frame configuration computer and distributed arithmetic ring based on micro computer Border, which includes any said system or device.
It will be described in detail respectively below.
In the present embodiment, it will be carried out from the angle of scanning wireless local area network (LAN) channels device (abbreviation channel scanning device) Description, the scanning wireless local area network (LAN) channels device can be specifically integrated in such as tablet personal computer, in the mobile terminal such as mobile phone.
A kind of scanning wireless local area network (LAN) channels method, including:Lead to when detecting the default voice of mobile terminal currently progress During call business, the first band information is obtained, first band information is frequency range used in the default voice calling service Information;The second band information and the corresponding channel information of the second band information are obtained, second band information is nothing The working frequency range information of line LAN;Determine between the frequency range between first band information and second band information Away from;If the frequency range is smaller than predetermined threshold value, corresponding destination channel is determined in the channel information, and to the mesh Mark channel is scanned.
Referring to Fig. 1, Fig. 1 is the flow signal of scanning wireless local area network (LAN) channels method provided in an embodiment of the present invention Figure.Methods described includes:
In step S101, when detecting mobile terminal and currently carrying out default voice calling service, the first frequency range is obtained Information, first band information is band information used in the default voice calling service.
In the embodiment of the present invention, the default voice calling service can be specially Long Term Evolution LET speech businesses, mainly Refer between artificial speech and user or communication or the business exchanged are waited between user and user.
Such as, when detecting that mobile terminal is current to carry out LET speech businesses, LET frequencies used in the call are obtained 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, the second band information and the corresponding channel information of the second band information are obtained, it is described Second band information is the working frequency range information of WLAN.
It is understood that because according to the division of frequency spectrum and service condition instantly, LTE frequency spectrum is very close to WLAN 2.4GHz portions of the spectrum, therefore when LTE is also operated in 2.4GHz portions of the spectrum, both inevitably exist 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 2.4GHz portions of the spectrum (i.e. 2402MHz to 2483.5MHz), the corresponding channel information of working frequency range information (Channel) include CH1, CH2 ... CH13 totally 13 channels.
It is contemplated that term " first ", " second " in the present invention etc. is to be used to distinguish different objects, rather than use In description particular order, illustrate herein and do not constitute limitation of the invention.
In step s 103, the frequency range spacing between first band information and second band information is determined.
Such as, the second band information obtained according to step S101 the first band informations obtained and step S102, comes Frequency range spacing between the two is calculated, if LTE band information is 2300MHz, WLAN band information is 2402M Hz, then Frequency range spacing between them is 102MHz.
In some embodiments, if the frequency range is smaller than predetermined threshold value, step S104 is performed.
In some embodiments, first band information and second band information are determined in channel scanning device Between frequency range spacing after, can also include:
If the frequency range spacing is more than or equal to predetermined threshold value, whole channels indicated in the 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, that is, presets and disturb smaller or in the absence of interference between voice calling service and WLAN, because Whole channels indicated by the corresponding channel information of second band information can be scanned by this.
In step S104, if the frequency range is smaller than predetermined threshold value, determined in the channel information corresponding Destination channel, and the destination channel is scanned.
In the embodiment of the present invention, determined in the channel information corresponding destination channel implementation have a lot, than Such as, following steps can be specifically included:
(1) according to the frequency range spacing, it is determined that corresponding default interference rank.
(2) the default interference rank is based on, the number and corresponding interference channel of interference channel is determined.
(3) in the channel indicated by the channel information, the interference channel is excluded, it is determined that needing the target letter scanned Road.
That is, channel scanning device in advance can be stored interference rank, determined according to frequency range spacing corresponding Interference rank, such as frequency range spacing is bigger, disturbs bigger, and corresponding interference rank is also higher;Further, each interference level The number and specific interference channel being possible to presetting the channel that speech business is interfered all are not pre-set.Finally, In whole channels, remaining channel is defined as destination channel by exclusive PCR channel.
In some embodiments, it is described according to the frequency range spacing, it is determined that corresponding default interference rank can be specific Including:
(11) multiple default sub- threshold values are obtained, it is described to preset sub- threshold value less than the predetermined threshold value.
(12) the frequency range spacing is compared with the multiple default sub- threshold value, obtains comparative result.
(13) corresponding default interference rank is determined according to the comparative result.
Such as, in this embodiment, after determining that frequency range is smaller than predetermined threshold value, then multiple default sub- thresholds are passed through Value divides several intervals, and the 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 interval interference rank accordingly.
In some embodiments, default voice call industry is not carried out currently when channel scanning device detects mobile terminal During business, it can specifically include:
(a) when detecting mobile terminal and not carrying out default voice calling service currently, the work of WLAN is obtained Make the corresponding channel information of band information.
(b) whole channels indicated in the channel information are scanned.
It is understood that when mobile terminal does not carry out default voice calling service currently, it is believed that default voice leads to Interference is not present between call business and WLAN, therefore, can be to complete 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 is provided, is detecting movement eventually first When end carries out default voice calling service, its used band information is obtained;Also, obtain the frequency range letter of WLAN Breath and corresponding channel information;Then, calculate between the band information of voice call and the band information of WLAN Frequency range spacing;If frequency range is smaller than predetermined threshold value, corresponding destination channel is determined in the channel of WLAN And destination channel is scanned, to connect wireless access points, that is, pass through the band information to voice call and wireless office Frequency range spacing between the band information of domain network is analyzed, to judge both annoyance levels, so that according to analysis result To determine the destination channel of scanning, to user during solution mobile terminal WLAN active scan wireless access points The problem of call is impacted, it is ensured that user's communication effect and speech quality.
Citing, is described in further detail by the method according to described by above-described embodiment below.
Firstly, since according to the division of existing frequency spectrum and service condition, the frequency of LTE frequency spectrum very close to WLAN2.4GHz Part, particularly frequency band B40, B41, B7 etc. are composed, B40 is located at the lower section of WLAN frequency ranges, and B41 and B7 are located at the upper of WLAN frequency ranges Side, therefore when LTE is in above band operation, is all inevitably present and disturbs with WLAN, and according to current process water Flat, coexisting filter, which is not ensured that, eliminates the interference of adjacent frequency section.
Such as, when mobile terminal scans wireless access points AP in the way of active scan, it can send out on each channel Go out probe request, ask some ad hoc wireless networks to be responded, thus in scanning, mobile terminal can launch request letter Number.Mobile terminal is in connection AP not successfully (such as without AP keys), and mobile terminal at regular intervals will be around active scan Available AP, and attempt connection.But if when now user carries out LTE voice calls using B7, B40 or B41, can draw Adjacent frequency interference is played, user's normal talking is had influence on.
Based on this, the embodiment of the present invention provides a kind of new scan mechanism and WLAN channel is scanned, with Avoid LTE and WLAN interference.Referring to Fig. 2, Fig. 2 is scanning wireless local area network (LAN) channels method provided in an embodiment of the present invention Another schematic flow sheet.Methods described includes:
In step s 201, whether detection mobile terminal currently carries out LTE speech businesses.
Such as, it can go whether detection mobile terminal is currently carried out every a prefixed time interval (such as 30 seconds, 1 minute) LTE speech businesses, when detecting mobile terminal and currently carrying out LTE speech businesses, directly perform step S202;When detecting shifting When dynamic terminal does not currently carry out LTE speech businesses, step S209 is directly performed.
In step S202, LET band informations used in LTE speech businesses are determined.
In step S203, WLAN band information and corresponding channel information is obtained.
It is understood that because according to the division of frequency spectrum and service condition instantly, LTE frequency spectrum is very close to WLAN 2.4GHz portions of the spectrum, therefore when LTE is also operated in 2.4GHz portions of the spectrum, both inevitably exist dry Disturb.
Therefore, when detecting mobile terminal and currently carrying out LTE speech businesses, obtain respectively current LET band informations with And WLAN working frequency range information, so as to the working frequency range information according to LET band informations and WLAN, in mobile terminal active Interference is avoided around scanning during available AP.
Please also refer to Fig. 3, Fig. 3 illustrates for the frequency range dividing condition of Radio Access Network provided in an embodiment of the present invention Figure, wherein, in the embodiment of the present invention, WLAN working frequency range information can be specially 2.4GHz portions of the spectrum (i.e. 2402MHz To 2483.5MHz), the corresponding channel information of working frequency range information (Channel) include CH1, CH2 ... CH13 totally 13 Channel.
It is frequency band B40, B41, B7 etc. respectively with LTE more close frequency spectrums, B40 is located under WLAN frequency ranges such as Fig. 3 Side, B41 and B7 are located at the top of WLAN frequency ranges, wherein, B40 band informations mainly include 2300-2400MHz, B41 band informations Mainly include 2496-2690MHz, B7 band informations are 2600MHz.
In step S204, the frequency range spacing between LET band informations and WLAN band information is determined.
Such as, believed according to the step S202 LET band informations obtained and step the S203 WLAN obtained working frequency range Breath, to calculate frequency range spacing between the two, if LTE band information is 2300MHz, WLAN band information is 2402M Hz, then the frequency range spacing between them is 102MHz.
In step S205, judge whether the frequency range spacing is less than predetermined threshold value.
If the frequency range is smaller than predetermined threshold value, step S206 is directly performed;If the frequency range spacing is more than or waited In predetermined threshold value, then step S209 is directly performed.
It is understood that the predetermined threshold value can be determined according to concrete scene, if scene requirement is more accurate, The predetermined threshold value can set relatively small, if scene requirement is not high, and the predetermined threshold value can set relatively large, this Place is not construed as limiting to its specific value.
In step S206, multiple default sub- threshold values are obtained, the frequency range spacing is entered with the multiple default sub- threshold value Row compares, and obtains comparative result.
In step S207, corresponding default interference rank is determined according to the comparative result.
In step S208, based on the default interference rank, it is determined that needing destination channel and the scanning scanned.
In step S209, whole channels indicated in WLAN band information are scanned.
Can be specifically, such as, when LTE is in voice call, the presently used LTE frequency ranges of acquisition for mobile terminal be believed Breath, if frequency range used in LTE and the spacing of WLAN 2.4GHz band limits are more than or equal to predetermined threshold value, WLAN is complete Channel (CH1, CH2 ... CH13) be scanned.
Again such as, if band information used in LTE and WLAN 2.4GHz band limits are smaller than predetermined threshold value, Then WLAN is by the way of local channel scanning.The low channel in B41 has been used such as LTE, to avoid interference, WLAN can be set CH13, CH12, CH11 etc. can just exclude, be defined as interference channel.
It should be noted that, the quantity of specific interference channel can determine according to the degree of mutual interference, therefore it is determined that spacing is small When predetermined threshold value, in addition it is also necessary to set many sub- threshold values to distinguish multiple ranks, the degree being disturbed is distinguished with this.It is described pre- If threshold value can be as threshold value 1, being defined with this needs all channel scanning or local channel scanning, and many sub- threshold values respectively can be with Threshold value 2, threshold value 3 ... are set to, wherein, threshold value 1>Threshold value 2>Threshold value 3 ....
That is, judging WLAN interference channels according to mutual interference, and interference channel is excluded, other channels is scanned, To solve influence during available AP around mobile terminal WLAN active scans to user's communication, it is to avoid interference, user's body is lifted Test.
In addition, when detecting mobile terminal and currently not carrying out LET speech businesses, it is believed that default voice calling service with Interference is not present between WLAN, therefore, WLAN all channels can be scanned.
From the foregoing, the scanning wireless local area network (LAN) channels method that the present embodiment is provided, is detecting movement eventually first When end carries out default voice calling service, its used band information is obtained;Also, obtain the frequency range letter of WLAN Breath and corresponding channel information;Then, calculate between the band information of voice call and the band information of WLAN Frequency range spacing;If frequency range is smaller than predetermined threshold value, corresponding destination channel is determined in the channel of WLAN And destination channel is scanned, to connect wireless access points, that is, pass through the band information to voice call and wireless office Frequency range spacing between the band information of domain network is analyzed, to judge both annoyance levels, so that according to analysis result To determine the destination channel of scanning, to user during solution mobile terminal WLAN active scan wireless access points The problem of call is impacted, it is ensured that user's communication effect and speech quality.That is, WLAN interference channels are judged according to mutual interference, And interference channel is excluded, other channels are scanned, to solve during available AP around mobile terminal WLAN active scans pair The influence of user's communication, it is to avoid interference, lifts Consumer's Experience.
For ease of preferably implementing scanning wireless local area network (LAN) channels method provided in an embodiment of the present invention, the present invention is implemented Example also provides 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 It is identical in the method for domain network channel scanning, implement details and may be referred to explanation in embodiment of the method.
Referring to Fig. 4, Fig. 4 is the structural representation of scanning wireless local area network (LAN) channels device provided in an embodiment of the present invention Figure, described device may include first acquisition unit 301, second acquisition unit 302, spacing determining unit 303, channels determining unit 304 and first scanning element 305.
Wherein described first acquisition unit 301, for currently voice calling service to be preset in progress when detecting mobile terminal When, the first band information is obtained, first band information is band information used in the default voice calling service.
In the embodiment of the present invention, the default voice calling service can be specially Long Term Evolution LET speech businesses, mainly Refer between artificial speech and user or communication or the business exchanged are waited between user and user.
Such as, when detecting that mobile terminal is current to carry out LET speech businesses, LET frequencies used in the call are obtained 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 the corresponding channel letter of second band information Breath, second band information is the working frequency range information of WLAN.
It is understood that because according to the division of frequency spectrum and service condition instantly, LTE frequency spectrum is very close to WLAN 2.4GHz portions of the spectrum, therefore when LTE is also operated in 2.4GHz portions of the spectrum, both inevitably exist 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 2.4GHz portions of the spectrum (i.e. 2402MHz to 2483.5MHz), the corresponding channel information of working frequency range information (Channel) include CH1, CH2 ... CH13 totally 13 channels.
It is contemplated that term " first ", " second " in the present invention etc. is to be used to distinguish different objects, rather than use In description particular order, illustrate herein and do not constitute limitation of the invention.
Spacing determining unit 303, for determining the frequency range between first band information and second band information Spacing.
Such as, the second band information obtained according to step S101 the first band informations obtained and step S102, comes Frequency range spacing between the two is calculated, if LTE band information is 2300MHz, WLAN band information is 2402M Hz, then Frequency range spacing between them is 102M Hz.
Channels determining unit 304, if being smaller than predetermined threshold value for the frequency range, is determined in the channel information Corresponding destination channel;First scanning element 305, for being scanned to the destination channel.
Please refer to fig. 5, Fig. 5 is another knot of scanning wireless local area network (LAN) channels device provided in an embodiment of the present invention Structure schematic diagram, wherein described device can also include:
Second scanning element 306, if being more than or equal to predetermined threshold value for the frequency range spacing, to the channel information In indicated whole channels be 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, that is, presets and disturb smaller or in the absence of interference between voice calling service and WLAN, because Whole channels indicated by the corresponding channel information of second band information can be scanned by this.
As shown in figure 5, the channels determining unit 304 can be specifically included:
(1) rank determination subelement 3041, for according to the frequency range spacing, it is determined that corresponding default interference rank.
(2) interference channel determination subelement 3042, for based on the default interference rank, determining the number of interference channel And corresponding interference channel.
(3) destination channel determination subelement 3043, it is described dry in the channel indicated by the channel information, excluding Channel is disturbed, it is determined that needing the destination channel scanned.
That is, channel scanning device in advance can be stored interference rank, determined according to frequency range spacing corresponding Interference rank, such as frequency range spacing is bigger, disturbs bigger, and corresponding interference rank is also higher;Further, each interference level The number and specific interference channel being possible to presetting the channel that speech business is interfered all are not pre-set.Finally, In whole channels, remaining channel is defined as destination channel by exclusive PCR channel.
In some embodiments, wherein the rank determination subelement 3041 specifically for:Obtain multiple default sub- thresholds Value, it is described to preset sub- threshold value less than the predetermined threshold value;The frequency range spacing is compared with the multiple default sub- threshold value, Obtain comparative result;Corresponding default interference rank is determined according to the comparative result.
Such as, in this embodiment, after determining that frequency range is smaller than predetermined threshold value, then multiple default sub- thresholds are passed through Value divides several intervals, and the 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 interval interference rank accordingly.
As shown in figure 5, described device can also include:3rd scanning element 307, for current when detecting mobile terminal When not carrying out default voice calling service, the corresponding channel information of working frequency range information of WLAN is obtained, to described Indicated whole channels are scanned in channel information.
It is understood that when mobile terminal does not carry out default voice calling service currently, it is believed that default voice leads to Interference is not present between call business and WLAN, therefore, can be to complete indicated by the channel information of WLAN Portion's channel is scanned.
It when it is implemented, above unit can be realized as independent entity, can also be combined, be made Realized for same or several entities, the specific implementation of above unit can be found in embodiment of the method above, herein not Repeat again.
The scanning wireless local area network (LAN) channels device can be specifically integrated in such as tablet personal computer, in the mobile terminal such as mobile phone.
From the foregoing, the scanning wireless local area network (LAN) channels device that the present embodiment is provided, is detecting movement eventually first When end carries out default voice calling service, its used band information is obtained;Also, obtain the frequency range letter of WLAN Breath and corresponding channel information;Then, calculate between the band information of voice call and the band information of WLAN Frequency range spacing;If frequency range is smaller than predetermined threshold value, corresponding destination channel is determined in the channel of WLAN And destination channel is scanned, to connect wireless access points, that is, pass through the band information to voice call and wireless office Frequency range spacing between the band information of domain network is analyzed, to judge both annoyance levels, so that according to analysis result To determine the destination channel of scanning, to user during solution mobile terminal WLAN active scan wireless access points The problem of call is impacted, it is ensured that user's communication effect and speech quality.
Referring to Fig. 6, Fig. 6 is mobile terminal structure schematic diagram provided in an embodiment of the present invention.Described in the present embodiment Mobile terminal, including:At least one input equipment 1000;At least one output equipment 2000;At least one processor 3000, Such as central processing unit (CPU, Central Processing Unit);With memory 4000, it is above-mentioned input equipment 1000, defeated Go out equipment 2000, processor 3000 and memory 4000 to connect by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely camera, contact panel, physical button or mouse etc..
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high random access memory body (RAM, Random Access Memory) storage Device, or non-labile memory (non-volatile memory), such as magnetic disk storage.Above-mentioned memory 4000 For storing batch processing code, above-mentioned input equipment 1000, output equipment 2000 and processor 3000 are used to call memory The program code stored in 4000, performs following operation:
When detecting mobile terminal and currently carrying out default voice calling service, the first band information, described first are obtained Band information is band information used in the default voice calling service;Obtain the second band information and second frequency The corresponding channel information of segment information, second band information is the working frequency range information of WLAN;Determine described Frequency range spacing between one band information and second band information;If the frequency range is smaller than predetermined threshold value, in institute State and corresponding destination channel is determined in channel information, and the destination channel is scanned.
In some embodiments, code can also carry out by processor 3000, if the frequency range spacing is more than or waited In predetermined threshold value, then whole channels indicated in the channel information are scanned.
In some embodiments, code can also carry out by processor 3000, according to the frequency range spacing, determines phase The default interference rank answered;Based on the default interference rank, the number and corresponding interference channel of interference channel are determined; In channel indicated by the channel information, the interference channel is excluded, it is determined that needing the destination channel scanned.
In some embodiments, code can also carry out by processor 3000, obtains multiple default sub- threshold values, it is described Preset sub- threshold value and be less than the predetermined threshold value;The frequency range spacing is compared with the multiple default sub- threshold value, compared Relatively result;Corresponding default interference rank is determined according to the comparative result.
In some embodiments, code can also carry out by processor 3000, it is current not when detecting mobile terminal When carrying out default voice calling service, the corresponding channel information of working frequency range information of WLAN is obtained;To the letter Indicated whole channels are scanned in road information.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, the detailed description above with respect to scanning wireless local area network (LAN) channels method is may refer to, here is omitted.
The scanning wireless local area network (LAN) channels device provided in an embodiment of the present invention is for example computer, tablet personal computer, Mobile phone with touch function etc., the scanning wireless local area network (LAN) channels device and the WLAN in foregoing embodiments Network channel scanning method belongs to same design, and the wireless office can be run on the scanning wireless local area network (LAN) channels device The either method provided in the network channel scan method embodiment of domain, it implements process and refers to the 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 to realize all or part of flow of scanning wireless local area network (LAN) channels method described in the embodiment of the present invention, and being can To control the hardware of correlation to complete by computer program, the computer program can be stored in an embodied on computer readable and deposit In storage media, such as store in a memory in the mobile terminal, and by least one computing device in the mobile terminal, holding It may include the flow of the embodiment of scanning wireless local area network (LAN) channels method as described during row.Wherein, described storage is situated between Matter can be magnetic disc, CD, read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For the scanning wireless local area network (LAN) channels device of the embodiment of the present invention, its each functional module can be with integrated In a process chip or modules are individually physically present, can also two or more modules be integrated in In one module.Above-mentioned integrated module can both be realized in the form of hardware, it would however also be possible to employ the shape of software function module Formula is realized.If the integrated module is realized using in the form of software function module and as independent production marketing or used When, can also be stored in a computer read/write memory medium, the storage medium for example be read-only storage, disk or CD etc..
A kind of scanning wireless local area network (LAN) channels method, device and mobile terminal provided above the embodiment of the present invention It is described in detail, specific case used herein is set forth to the principle and embodiment of the present invention, and the above is real The explanation for applying example is only intended to the method and its core concept for helping to understand the present invention;Simultaneously for those skilled in the art, According to the thought of the present invention, it will change in specific embodiments and applications, in summary, in this specification Appearance should not be construed as limiting the invention.

Claims (10)

1. a kind of scanning wireless local area network (LAN) channels method, it is characterised in that including:
When detecting mobile terminal and currently carrying out default voice calling service, the first band information, first frequency range are obtained Information is band information used in the default voice calling service;
The second band information and the corresponding channel information of the second band information are obtained, second band information is wireless The working frequency range information of LAN;
Determine the frequency range spacing between first band information and second band information;
If the frequency range is smaller than predetermined threshold value, according to the frequency range spacing, it is determined that corresponding default interference rank, is based on The default interference rank, determines the number and corresponding interference channel of interference channel, indicated by the channel information In channel, the interference channel is excluded, it is determined that needing the destination channel scanned, and the destination channel is scanned.
2. scanning wireless local area network (LAN) channels method according to claim 1, it is characterised in that the determination described first After frequency range spacing between band information and second band information, in addition to:
If the frequency range spacing is more than or equal to predetermined threshold value, whole channels indicated in the channel information are swept Retouch.
3. scanning wireless local area network (LAN) channels method according to claim 1, it is characterised in that described according to the frequency range Spacing, it is determined that corresponding default interference rank includes:
Multiple default sub- threshold values are obtained, it is described to preset sub- threshold value less than the predetermined threshold value;
The frequency range spacing is compared with the multiple default sub- threshold value, comparative result is obtained;
Corresponding default interference rank is determined according to the comparative result.
4. the scanning wireless local area network (LAN) channels method according to any one of claims 1 to 3, it is characterised in that the side Method also includes:
When detecting mobile terminal and not carrying out default voice calling service currently, the working frequency range letter of WLAN is obtained Cease corresponding channel information;
Whole channels indicated in the channel information are scanned.
5. a kind of scanning wireless local area network (LAN) channels device, it is characterised in that including:
First acquisition unit, for when detecting mobile terminal and currently carrying out default voice calling service, obtaining the first frequency range Information, first band information is band information used in the default voice calling service;
Second acquisition unit, it is described for obtaining the second band information and the corresponding channel information of the second band information Second band information is the working frequency range information of WLAN;
Spacing determining unit, for determining the frequency range spacing between first band information and second band information;
Channels determining unit, if being smaller than predetermined threshold value for the frequency range, is determined corresponding in the channel information Destination channel;
First scanning element, for being scanned to the destination channel;
Wherein described channels determining unit includes:
Rank determination subelement, for according to the frequency range spacing, it is determined that corresponding default interference rank;
Interference channel determination subelement, for based on the default interference rank, determining the number of interference channel and corresponding Interference channel;
Destination channel determination subelement, in the channel indicated by the channel information, excluding the interference channel, it is determined that Need the destination channel of scanning.
6. scanning wireless local area network (LAN) channels device according to claim 5, it is characterised in that described device also includes:
Second scanning element, if being more than or equal to predetermined threshold value for the frequency range spacing, to signified in the channel information The whole channels shown are scanned.
7. scanning wireless local area network (LAN) channels device according to claim 5, it is characterised in that the rank determines that son is single Member specifically for:Multiple default sub- threshold values are obtained, it is described to preset sub- threshold value less than the predetermined threshold value;By the frequency range spacing with The multiple default sub- threshold value is compared, and obtains comparative result;Default interference level accordingly is determined according to the comparative result Not.
8. the scanning wireless local area network (LAN) channels device according to any one of claim 5 to 7, it is characterised in that the dress Putting also includes:
3rd scanning element, for when detecting mobile terminal and not carrying out default voice calling service currently, obtaining wireless office Whole channels indicated in the channel information are scanned by the corresponding channel information of working frequency range information of domain network.
9. a kind of mobile terminal, it is characterised in that including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the method described in 4 any one.
10. a kind of computer-readable recording medium, it stores the computer program for scanning wireless local area network (LAN) channels, its In, the computer program causes computer to perform the method as described in claim 1.
CN201610695858.3A 2016-08-19 2016-08-19 A kind of scanning wireless local area network (LAN) channels method, device and mobile terminal Active CN106332238B (en)

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 CN106332238A (en) 2017-01-11
CN106332238B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851690A (en) * 2017-02-28 2017-06-13 广东欧珀移动通信有限公司 wireless network scanning method, device and computer equipment
CN108055687B (en) * 2018-01-31 2020-01-14 Oppo广东移动通信有限公司 Wireless network connection method and device and terminal equipment
CN111148182B (en) * 2019-12-30 2022-02-22 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device
CN113453364A (en) * 2021-06-29 2021-09-28 展讯通信(天津)有限公司 Communication method, chip and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874151A (en) * 2005-06-03 2006-12-06 鸿富锦精密工业(深圳)有限公司 Method for scanning channels
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)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201427421A (en) * 2012-12-19 2014-07-01 Sunplus Technology Co Ltd A fast blind scan method insensitive to adjacent channel interference

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874151A (en) * 2005-06-03 2006-12-06 鸿富锦精密工业(深圳)有限公司 Method for scanning channels
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)

Also Published As

Publication number Publication date
CN106332238A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN106332238B (en) A kind of scanning wireless local area network (LAN) channels method, device and mobile terminal
JP7252377B2 (en) PRS resource allocation method, measurement interval allocation method and related equipment
CN106385675B (en) Multi-card multi-standby single-pass mobile terminal paging instruction method of reseptance and device
JP2022527742A (en) Positioning reference signal placement method, network equipment and terminals
JP7373568B2 (en) Uplink signal transmission method and equipment
US20130331098A1 (en) Automatically Determining and Alerting Users to Available Wireless Networks
CN106375962A (en) Network searching method and mobile terminal
CN108334539A (en) Object recommendation method, mobile terminal and computer readable storage medium
JP2024500171A (en) Positioning measurement method, device, equipment and readable storage medium
EP3902316B1 (en) Signal resource measurement method and terminal
CN113316206B (en) Cell reselection method, device, terminal equipment and storage medium
JP7354430B2 (en) Resource allocation method, device, equipment and storage medium
CN107820322B (en) Network access method, terminal and device with storage function
CN105979566A (en) Network connecting method and device and mobile terminal
JP7447248B2 (en) Listen-before-talk LBT subband segmentation method, device, equipment and medium
CN113315685B (en) Accelerated interaction method and system for intelligent equipment and intelligent terminal
WO2018196337A1 (en) Method for transmitting sounding reference signal (srs), related device, and system
US10292057B2 (en) Network identification and display based on local information
CN107613115A (en) Event-prompting method, device, mobile terminal and readable storage medium storing program for executing
Kaushik et al. Cognitive relay: Detecting spectrum holes in a dynamic scenario
CN105517075B (en) A kind of persistent district method of adjustment and user equipment
CN114268523A (en) Method and device for determining time domain correlation, signal receiving end and storage medium
CN104423867A (en) Character input method and character input device
CN104244313A (en) Method for determining wireless local area network and mobile terminal thereof
CN112770372B (en) Method, device, equipment and storage medium for scanning wireless access point

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

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.

CP01 Change in the name or title of a patent holder