CN110234152A - Channel scanning method, device, storage medium and electronic equipment - Google Patents

Channel scanning method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110234152A
CN110234152A CN201910476025.1A CN201910476025A CN110234152A CN 110234152 A CN110234152 A CN 110234152A CN 201910476025 A CN201910476025 A CN 201910476025A CN 110234152 A CN110234152 A CN 110234152A
Authority
CN
China
Prior art keywords
channel
scan
website
scanning
access point
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
Application number
CN201910476025.1A
Other languages
Chinese (zh)
Other versions
CN110234152B (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 CN201910476025.1A priority Critical patent/CN110234152B/en
Publication of CN110234152A publication Critical patent/CN110234152A/en
Application granted granted Critical
Publication of CN110234152B publication Critical patent/CN110234152B/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

Abstract

The embodiment of the present application discloses a kind of channel scanning method, device, storage medium and electronic equipment, belongs to wireless communication field.Preset short cycle sweep time then, the channel set after station for acquiring last time scan channel;Access point is scanned on the website channel that channel parameter information meets screening conditions in the channel set after the last time scan channel;Screening conditions include not scanning the number of access point continuously on channel less than preset times, and such website does not need to be carried out all channel scanning every time during scan channel, to reduce the time of scan channel.

Description

Channel scanning method, device, storage medium and electronic equipment
Technical field
This application involves wireless communication fields more particularly to a kind of channel scanning method, device, storage medium and electronics to set It is standby.
Background technique
In Wireless Fidelity (wireless fidelity, Wi-Fi) communication system, website is in order to find newly deployed connect Access point, website (station) can periodically scan for channel, to detect in each channel with the presence or absence of access point.Scan channel Method include: station for acquiring itself support channel, be successively scanned on each channel according to certain scanning sequency, The mode of scanning can with active scan or drive sweep, how to optimize scanning channel time be current urgent problem to be solved.
Summary of the invention
Channel scanning method, device, storage medium and the website that the embodiment of the present application provides, can be in scanning access point During reduce scan channel time.The technical solution is as follows:
In a first aspect, the embodiment of the present application provides a kind of channel scanning method, which comprises
Preset short cycle sweep time then, the channel set after station for acquiring last time scan channel;
Website channel parameter information in the channel set after the last time scan channel meets the letter of screening conditions Access point is scanned on road;
The website updates each channel in the channel set after the last time scan channel according to channel scan results Channel parameter information, the channel set after this described scan channel is obtained after update.
Second aspect, this application provides a kind of channel scanning methods, which comprises
Preset short cycle sweep time then, the channel set after station for acquiring last time scan channel;
Website scans access point on each channel in the channel set after last time scan channel;
Website meets according to channel parameter information in the channel set after channel scan results removal last time scan channel to be moved Channel set except the channel of condition, after this scan channel is obtained after removal;Wherein, the removal condition includes on channel The number for not scanning access point continuously is greater than preset times.
In a kind of possible design, further includes:
If this scan channel be long period scan channel, station for acquiring all channel set and according to all channel set into The time of this scan channel, is recorded as the time of long period scan channel, according to scan channel by row long period scan channel As a result the parameter information for updating each channel in all channel set obtains the channel set after this scan channel.
In a kind of possible design, channel parameter information includes the first parameter, and the initial value expression of the first parameter is being believed The maximum value of access point is not scanned on road continuously;
Wherein, website is full according to channel parameter information in the channel set after channel scan results removal last time scan channel Foot removes the channel of condition, the channel set after this scan channel is obtained after removal, comprising:
First parameter of each channel in channel set after updating the last time scan channel according to channel scan results Value;
The value of the first parameter is not more than the letter of first threshold in channel set after selecting updated last time scan channel Road;Wherein, the initial value is greater than the first threshold;
Obtained after channel set after the channel of selection to be removed out to the updated last time scan channel it is described this Channel set after scan channel.
In a kind of possible design, channel parameter information includes the second parameter, and the second parameter indicates continuous on channel The number of access point is not scanned;
Wherein, website is full according to channel parameter information in the channel set after channel scan results removal last time scan channel Foot removes the channel of condition, the channel set after this scan channel is obtained after removal, comprising:
Second parameter of each channel in channel set after updating the last time scan channel according to channel scan results Value;
The value of the second parameter is not less than the letter of second threshold in channel set after selecting updated last time scan channel Road;
This described scan channel is obtained after channel set after the channel of selection to be removed out to the last time scan channel Channel set afterwards.
In a kind of possible design, the acquisition all channel set and according to all channel set carry out long period The time of this scan channel is recorded as the time of long period scan channel by scan channel;According to channel scan results The channel parameter information for updating each channel in all channel set obtains the channel set packet after this described scan channel It includes:
Obtain all channel set;Wherein, the value of the first parameter of each channel is first equal to described in all channel set Initial value;
Access point is scanned on each channel in all channel set;
If detecting access point on channel, the value of the first parameter of the channel is reset into the initial value;
If access point is not detected on channel, the value of the first parameter of the channel is reduced into the preset step-length value.
In a kind of possible design, the acquisition all channel set and according to all channel set carry out long period The time of this scan channel is recorded as the time of long period scan channel by scan channel;According to channel scan results The channel parameter information for updating each channel in all channel set obtains the channel set packet after this described scan channel It includes:
Obtain all channel set;Wherein, the value of the second parameter of each channel is described initial in all channel set Value;
Long period scan channel is carried out according to all channel set;
If access point is arrived in scanning on channel, the value of the second parameter of the channel is set to the initial value;
If not scanning access point on channel, the value of the second parameter of the channel is increased into preset step-length value.
The third aspect, the embodiment of the present application provide a kind of channel scanning device, and the channel scanning device includes:
Acquiring unit, then for preset short cycle sweep time, the channel set after station for acquiring last time scan channel It closes;
Scanning element, in the channel set after last time scan channel channel parameter information meet the letters of screening conditions Access point is scanned on road;Wherein, the screening conditions include not scanning the number of access point continuously on channel less than default Number.
The third aspect, this application provides a kind of channel scanning methods, comprising:
Detection reaches the time of this scan channel, determines the number of this scan channel;
Channel is selected from all channel set according to the number of this scan channel;Wherein, the number of the channel of selection Quantity of the amount less than channel in all channel set;
Scan channel is carried out on the channel of selection.
In a kind of possible design, all channel set includes that the first channel subset is closed and second channel subclass;
Wherein, the number of this scan channel according to selects channel from all channel set, comprising:
If the number of this scan channel is odd number, first channel subset is selected to close;
If the number of this scan channel is even number, the second channel subclass is selected.
In a kind of possible design, all channel set includes that the first channel subset is closed and second channel subclass;
Wherein, the number according to this scan channel selects channel from all channel set, comprising:
If the number of this scan channel is even number, the second channel subclass is selected;
If the number of this scan channel is odd number, the second channel subclass is selected.
In a kind of possible design, the number of each signal is since initial number in all channel set, with pre- If step value carry out it is incremental, first channel subset close in the number of each channel be odd number, the second channel subclass In the number of each channel be even number.
The third aspect, the embodiment of the present application provide a kind of computer storage medium, and the computer storage medium is stored with A plurality of instruction, described instruction are suitable for being loaded by processor and executing above-mentioned method and step.
Fourth aspect, the embodiment of the present application provide a kind of website, it may include: processor and memory;Wherein, the storage Device is stored with computer program, and the computer program is suitable for being loaded by the processor and executing above-mentioned method and step.
The technical solution bring beneficial effect that some embodiments of the application provide includes at least:
Website is selected continuous based on the channel set after last time scan channel from the channel set after last time scan channel The number for not scanning access point is less than the channel of preset times, carries out access point detection on this channel, website is achieved During periodically carrying out scan channel, do not need to carry out all channel scanning every time, to reduce scan channel Time.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the architecture diagram of wireless communication system provided by the embodiments of the present application;
Fig. 2 is a kind of another flow diagram of channel scanning method provided by the embodiments of the present application;
Fig. 3 is a kind of another schematic diagram of channel scanning method provided by the embodiments of the present application;
Fig. 4 is a kind of another schematic diagram of channel scanning method provided by the embodiments of the present application;
Fig. 5 is a kind of another schematic diagram of channel scanning method provided by the embodiments of the present application;
Fig. 6 is a kind of another schematic diagram of channel scanning method provided by the embodiments of the present application;
Fig. 7 is a kind of another schematic diagram of channel scanning method provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of channel scanning device provided by the present application;
Fig. 9 is a kind of structural schematic diagram of website provided by the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the embodiment of the present application Mode is described in further detail.
It is the network architecture diagram of wireless communication system with reference to Fig. 1, Fig. 1.Wireless communication system includes website and at least one Access point.Such as: Wireless Fidelity communication system includes website 10, access point 11, access point 12 and access point 13.Website 10 does not have Before establishing connection with any one access point, website 10 selects an access point by way of drive sweep or active scan It is attached, such as: website 10 and access point 11 establish connection.In the case that website 10 and access point 11 establish connection, website 10, which trigger periodic all channel according to application triggers or frame, scans.Website 10 carries out all channel according to all channel set Scanning, all channel set includes multiple channels, and all channel set is related with area with the tenability of terminal.Such as: terminal branch Hold the Wireless Fidelity channel of 2.4G and 5G, terminal (subscriber from subscriber identification card in booting Identification module, SIM) in read area code and read communication capacity information from local memory, obtain Take all channel set of area code and communication capacity information association, all channel set include 14 2.4G Wireless Fidelity channel and The Wireless Fidelity channel of the Wireless Fidelity channel of 24 5G, 2.4GHz has 13 channels, 13 channel distribution situations such as 1 institute of table Show:
Table 1
The planning information of the Wireless Fidelity channel of 5G is referring to the description in 802.11 received texts, and details are not described herein again.It stands Point 10 periodically successively executes all channel scanning according to all channel set, and the time for scanning 38 channels takes around 1 second~2 Second, with the increase of channel quantity, the duration maximum possible for scanning channel increases to 4S, and such website 10 is scanned in all channel Business datum can not be transmitted in the process, cause the increase of time delay.
The embodiment of the present application provides a kind of channel scanning method, and the channel scanning method can be applied in website.Institute Stating website can be smart phone, tablet computer, game station, AR (AugmentedReality, augmented reality) equipment, vapour Vehicle, data storage device, audio playing apparatus, video play device, notebook, Desktop computing device, wearable device are such as The equipment such as electronic watch, electronic glasses, electronic helmet, electronic bracelet, electronics necklace, electronic clothes.
Below in conjunction with attached drawing 2- attached drawing 7, describe in detail to channel scanning method provided by the embodiments of the present application.Its In, the channel scanning device based on wireless network in the embodiment of the present application can be Fig. 2-website shown in Fig. 7.
Fig. 2 is referred to, provides a kind of flow diagram of channel scanning method for the embodiment of the present application.As shown in Fig. 2, The embodiment of the present application the method may include following steps:
S201, preset short cycle sweep time then, the channel set after station for acquiring last time scan channel.
In the embodiment of the present application, website can periodically or aperiodically execute scan channel, and website executes channel The type of scanning is divided into long period scan channel and short cycle scan channel, and the time of each executive chairman's periodic channel scanning is known as Long period channel scan time, the time for executing short cycle scan channel every time are known as short cycle channel scan time.Judge short The method of periodic channel sweep time and long period channel scan time includes: the time that website may determine that this scan channel Whether it is less than duration threshold value with the time of last long period scan channel, if it has, then this scan channel is short cycle letter Road scanning, is otherwise long period scan channel.The period of long period scan channel is greater than the period of short cycle scan channel, for the first time Scan channel is long period scan channel.Such as: the time of long period scan channel be followed successively by t0, t0+60s ..., t0+ (60 × N) s, the time of short cycle scanning be followed successively by t0+3s, t0+ (3 × 2) s ..., t0 (3 × n), i.e. website executes primary every 60s Long period scan channel executes a short cycle scan channel every 3s.
Wherein, website can whether there is access point in the scanning channel of connection state periodical to detect in channel, The mode of website driver sweep channel includes application triggers or frame triggering, and application triggers indicate that website receives user By the triggering command of application program, periodic scan channel is carried out in response to triggering command;Frame triggering indicates website certainly Dynamic periodically scanning channel, is not need to rely on the triggering of application program.Connection state indicates that one of website and surrounding connects Access point establishes Wireless Fidelity connection, can be with transmission services data between website and access point.In the scan channel for executing the application During method, website is in connection state always.
In general, scan channel is usually website booting or the scan channel for restarting execution later for the first time;If this secondary channel Secondary channel scans headed by scanning, and the scanning of website executive chairman's periodic channel records the time of long period scan channel.Website is pre-stored Or it is pre-configured with the period of scan channel, the size in the period is also determined according to actual needs, such as: period of scan channel is 3 seconds, website was every the scan channel of progress in 3 seconds.Long period scan channel, that is, all channel scanning, long period scan channel indicate Website carries out scan channel, the corresponding letter of all channel set according to each channel in all channel set that is pre-stored or being pre-configured The general channel supported with website of road quantity and area are related, such as: website is located at the area A, the 2.4G and 5G that website is supported Wireless Fidelity channel, corresponding 30 channels of all channel set are carrying out long period scan channel website, and website is in 30 channels Last time carries out whether there is access point on scan channel detection channel.
In general, website is pre-stored or is pre-configured with duration threshold value, duration threshold value can determine according to actual needs, duration Threshold value is greater than the period of scan channel, such as: duration threshold value is the positive integer times in the period of scan channel, and duration threshold value is 1 point Clock, the period of scan channel are 3 seconds.Last time scan channel be based on this scan channel before adjacent scan channel, Last time scan channel can be long period scan channel, be also possible to short cycle scan channel.Channel after last time scan channel Collection be combined into the channel set obtained after last time scan channel, the channel set after this scan channel be this scan channel after The channel set arrived.The channel set after channel set and this scan channel after last time scan channel is a kind of data knot Structure, the quantity of corresponding channel and complete in the channel set after channel set and this scan channel after last time scan channel The quantity of the corresponding channel of channel set is identical, and difference is that each channel may have different channel parameter informations, channel Parameter information is used to describe to scan the result of access point on channel.In the application the type of channel set can be bivariate table, Chained list, array, structural body or storehouse etc., the application is with no restriction.
It should be understood that channel set between this scan channel and last time scan channel and after this scan channel and It can mutually be converted between channel set after last time scan channel.Such as: the n-th scan channel executed for website, (n+1)th secondary channel is scanned and is scanned with n+2 secondary channel, and n is the integer greater than 1;If the scanning of the (n+1)th secondary channel is this secondary channel Scanning obtains the channel set after this scan channel after the scanning of the (n+1)th secondary channel, then n-th scan channel is last time letter Road scans, and obtains the channel set after last time scan channel after n-th scan channel;If the scanning of the n-th+2 secondary channel is this Scan channel, obtains the channel set after this scan channel after the scanning of the n-th+2 secondary channel, the scanning of the (n+1)th secondary channel is last time Scan channel obtains the channel set after last time scan channel after the scanning of the (n+1)th secondary channel.
On S202, the website channel that channel parameter information meets screening conditions in the channel set after last time scan channel Scan access point.
In general, including multiple elements in channel set after last time scan channel, each element may include channel mark Know and channel parameter information, channel logo are used to indicate the identity of channel, such as: channel logo is indicated using number.Channel Parameter information be used for indicate on channel carry out access point detection as a result, channel parameter information includes the credit angle value of channel, number According to handling capacity, data transmission rate, the signal strength indication of channel, the number of continuous scanning to access point, continuously do not scan access One of number of point is a variety of.
Screening conditions are eligible for being selected from the channel set after last time scan channel according to channel parameter information One or more channels, screening conditions can be configured according to actual needs, and the application is with no restriction;Such as: screening item Part includes not scanning the number of access point continuously on channel less than preset times.Website is swept on the channel screened Access point is retouched, scans and whether there is access point on channel, the mode of scan channel can be active scan or drive sweep, actively The process of scanning and drive sweep can refer to website in the prior art and be under broken string state the process for scanning access point, herein not It repeats again.
Wherein, the method for station scans access point may is that the signal strength indication of website measurement access point, if signal strength In the case that value is less than signal strength threshold, it is determined that do not scan access point, otherwise determine that access point is arrived in scanning;Signal strength Threshold value can determine according to actual needs, and the application is with no restriction.
For example, corresponding 5 channels of the channel set after last time scan channel, representation are as follows:
{ ID:0, number:1;
ID:1, number:4;
ID:2, number:2;
ID:3, number:0;
ID:4, number:3 },
Wherein, ID indicates the number of channel, and number indicates the number for not scanning access point continuously.Screening conditions are Number is less than 3, then meeting the channel of screening conditions in channel set after last time scan channel are as follows: channel 0,2 and of channel Channel 3, website carry out scan channel on 3 above-mentioned channels, scan and whether there is access point on channel.
In one embodiment, the method also includes:
Website updates the channel parameter information of the channel set after last time scan channel according to channel scan results, after update Channel set after obtaining this scan channel.
Such as: according to the example of S202, it is assumed that website does not scan access point on channel 0, then the number of channel 0 It is updated to 2;Website is scanned on channel 2 to access point, then the number of channel 2 is updated to 0;Website is not swept on channel 3 Access point is retouched, the number of channel 3 is updated to 1.Channel set after this scan channel obtained after present scan are as follows:
{ ID:0, number:2;
ID:2, number:0;
ID:3, number:1 }
In the embodiment of the present application, it in the case that website is in connection state, is arrived and present scan in the present scan time When time interval between the time of time gap last time long period scan channel is less than duration threshold value, last time scan channel is obtained The channel set obtained afterwards selects one or more letters according to screening conditions in the channel set obtained after last time scan channel Road scans access point on one or more channels of selection, updates the channel that last time scan channel obtains according to scanning result Set, to obtain the channel set of present scan.
Wherein, it can be realized in the WifiScanningService of frame (framework) in the embodiment of the present application, It can be realized in driver layers of WIFI, the application is with no restriction.
When implementing the embodiment of the present invention, during website starts scan channel under connection state, website is being held every time The channel parameter information of meeting statistical channel after row scan channel, in this scan channel, if the channel parameter information of channel is not After meeting specified requirements, this can skip the channel when executing scan channel, and the quantity of the channel of station scans can be reduced, that is, be stood Point does not need to be carried out all channel scanning every time during scan channel, so that the time of station scans channel is also corresponding Reduce, such website carries out scan channel under connection state can reduce the time of broken string, thus reduce data transmit when Prolong and increase the handling capacity of data transmission.
Fig. 3 is referred to, provides a kind of flow diagram of channel scanning method for the embodiment of the present application.The present embodiment with Channel scanning method is applied to illustrate in website.The channel scanning method may comprise steps of:
S301, detect that the time of this scan channel arrives.
In the embodiment of the present application, website can trigger periodically or aperiodically scan channel under connection state, with Scan channel whether there is access point, website triggering scan channel mode can be application program (application) triggering or Frame (framework) triggering.Such as: for the terminal of Android system, the process of application triggers may include: website The instruction of the opening Wireless Fidelity list of user's triggering is received, terminal utilizes after responding the instruction WifiScanningService periodically carries out scan channel;It is periodical on backstage that the process of frame triggering can be website Utilize WifiScanningService carry out scan channel.
Wherein, website, which is in connection state, indicates that an access point of website and surrounding establishes Wireless Fidelity connection, website Can be with transmission services data between access point, in the channel scan procedure of the application, website is in connection state always.
Wherein, the period of scan channel can determine according to actual needs, such as: the period of scan channel is 3 seconds, website Every 3 seconds progress scan channels.The reference time point of website can for website booting, restart or be switched to unlocked state when Between, website can be using the reference time point as the time of scan channel for the first time.A website scan channel of every progress, record letter The time of road scanning, when website detects the arrival scan period between current time and the time of currently stored scan channel, Determine that this channel scan time arrives, website starts this scan channel.
S302, specified channel or access point whether are scanned.
In the embodiment of the present application, website judges whether to need to scan specified channel or access point, such as: user needs When the access point that connection is specified, user, which triggers, opens Wireless Fidelity list, and a SSID is selected in Wireless Fidelity list (Service Set Identifier, server set mark) is attached, then website can scan the corresponding access of the SSID Point.Another example is: website is stored with Wireless Fidelity connection history table, each in history table connect is connected according to Wireless Fidelity The channel that access point uses carries out scan channel on this channel.
S303, scanning specified channel or access point.
Time interval between S304, the time for calculating this scan channel and the time of last time long period scan channel.
In general, long period scan channel, which refers to, carries out scan channel on website channel all in all channel set, The corresponding channel quantity of all channel set is related with channel and area that website is supported, such as: website is located at the area A, website Support the Wireless Fidelity channel of 2.4G and 5G, website is pre-stored or all channel set that is pre-configured includes 0~channel of channel 29, and one Totally 30 channels, website scan access point on 30 channels according to certain scanning sequency.Website carries out long period letter every time Road records the time of the long period scan channel when scanning, the time of long period scan channel can be the time started.
S305, judge whether time interval is less than duration threshold value.
In general, duration threshold value can determine according to actual needs, website is pre-stored or is pre-configured with duration threshold value, website Whether the time interval compared between the time of this scan channel and the time of last time long period scan channel is less than duration threshold Value.If the determination result is YES, short cycle scan channel is executed, i.e., when the time of this scan channel is short cycle scan channel Between;If judging result is no, executive chairman's periodic channel scanning, i.e., when the time of this scan channel is long period scan channel Between.
Such as: duration threshold value is 60 seconds, and channel scan period is 3 seconds, and the time of this scan channel is t1, upper vice-minister's week The time of phase scan channel is t1+6s, and website calculated between the time of this scan channel and the time of last time scan channel Time interval be 6 seconds, the time interval be less than duration threshold value 60 seconds.
Another example is: duration threshold value is 60 seconds, channel scan period is 3 seconds, and the time of this scan channel is t1, and website obtains The time for taking the last time scan channel of storage is t1+60s, and website calculates time and the last time scan channel of this scan channel Time between time interval be 60s, be equal to duration threshold value 60s, judging result be not less than duration threshold value.
In general, duration threshold value is greater than the period of scan channel, duration threshold value can be the integral multiple of channel scan period, I.e. website carries out short cycle scan channel according to the period 1, carries out long period scan channel, second round according to second round The integral multiple of period 1 when greater than period 1 and second round, the time of non-long period scan channel and long period channel are swept The time retouched is overlapped.Such as: the period 1 is 3 seconds, and second round is 60 seconds, and scan channel is long period scan channel for the first time, Website is every the short cycle scan channel of progress in 3 seconds, every the long period scan channel of progress in 60 seconds.
Channel set after the last time scan channel obtained after S306, station for acquiring last time scan channel.
Wherein, scan channel of the every progress of website will record the time of scan channel, and the time of scan channel can be Time started, last time scan channel can be long period scan channel, be also possible to short cycle scan channel, and website is believed in storage When the time of road scanning, long period scan channel and short cycle scan channel can be distinguished by different flag bits.
Such as: the time of website storage scan channel can be expressed as { time:8:00:00, type:1 }, another example is: station Point storage scan channel time can be expressed as { time:8:00:03, type:0 }, wherein time indicate scan channel when Between, it is indicated using Hour Minute Second;Type indicates the type of scan channel, and 1 indicates that scan channel is long period scan channel, 0 table Show that scan channel is short cycle scan channel.
Wherein, the channel set after last time scan channel is the channel set obtained after last time scan channel, this secondary channel Channel set after scanning is the channel set obtained after this scan channel, channel set after last time scan channel and this Channel set after scan channel is a kind of data structure, the representation of channel set can be bivariate table, chained list, array, Structural body or storehouse.The channel set after channel set and this scan channel after last time scan channel is not related to the increasing of channel Add or removes, the channel corresponding with the channel set after this scan channel of the channel set after last time scan channel and all channel It is identical to gather corresponding channel.
It should be understood that after between this scan channel and last time scan channel being opposite concept and last time scan channel Channel set and this scan channel after channel set between be also opposite concept, this scan channel and upper secondary channel It can mutually be converted between the channel set after channel set and this scan channel after scanning and last time scan channel.
For example: n-th scan channel, the scanning of the (n+1)th secondary channel and the n-th+2 secondary channel executed for website scans For, n is the integer greater than 1;If the scanning of the (n+1)th secondary channel is this scan channel, n-th scan channel is upper secondary channel It scans, the channel set after last time scan channel is obtained after n-th scan channel, obtains this letter after the scanning of the (n+1)th secondary channel Channel set after road scanning;If the scanning of the n-th+2 secondary channel is this scan channel, the scanning of the (n+1)th secondary channel is upper Secondary channel scanning, the (n+1)th secondary channel scan to obtain the channel set after last time scan channel, and the n-th+2 secondary channel scans to obtain this Channel set after secondary channel scanning.
S307, website select the value of the first parameter greater than the letter of first threshold in the channel set after last time scan channel Road.
Wherein, the channel set after last time scan channel includes multiple elements, and each element includes channel logo and first The value of parameter, the initial value of the value of the first parameter are the maximum time for not scanning access point continuously that website is pre-stored or is pre-configured Number, the size of initial value can according to actual needs depending on, initial value is greater than first threshold.Website is pre-stored or prewired is set to the One threshold value, the size of first threshold can according to actual needs depending on.
Such as: corresponding 6 channels of channel set after last time scan channel, representation are as follows:
ID:0, number:1;
ID:1, number:0;
ID:2, number:2;
ID:3, number:0;
ID:4, number:2;
ID:5, number:0;, wherein number indicates the value of the first parameter, and ID indicates channel logo;Assuming that the first threshold Value is 0, and website selects the channel greater than 0 in the first channel list are as follows: channel 0, channel 2 and channel 4.
S308, website scan access point on the channel of selection.
For example: according to the example of S307, website successively scans access point on channel 0, and access is scanned on channel 2 It puts and scans access point on channel 4.Website scans on channel 0 arrives access point, and website does not scan access point on channel 2, Website 3 does not scan access point on channel 4.
S309, website obtain this according to the value that channel scan results update the first parameter of each channel in the first channel Channel set after scan channel.
Wherein, if access point is arrived in scanning on the channel of S308 selection, website resets the value of the first parameter of the channel For initial value;If not scanning access point on the channel of S308 selection, website reduces the value of the first parameter of the channel pre- If step value.The size of initial value and preset step-length value can according to actual needs depending on, the application is with no restriction.
It should be understood that website only updates the first parameter of the channel that S308 is selected in the channel set after last time scan channel Value, the value of the first parameter of other channels remains unchanged in this scan channel.
For example: initial value 3, preset step-length value are 1, and according to the channel scan results of S308, website is on channel 0 Access point is scanned, the value of the first parameter of channel 0 is reset to initial value 3 by website;Website does not scan access on channel 2 Point, website become 1 after the value 2 of 2 first parameter of channel is reduced 1, website becomes 1 after the value 2 of 4 first parameter of channel is reduced 1. Channel set after this scan channel obtained after so updating can indicate are as follows:
ID:0, number:3;
ID:1, number:0;
ID:2, number:1;
ID:3, number:0;
ID:4, number:1;
ID:5, number:0;}.
S310, station for acquiring all channel set.
Wherein, the time interval between the time of this scan channel and the time of last time long period scan channel is not small In the case where duration threshold value, station for acquiring all channel set includes multiple channels, the letter of all channel set in all channel set Road quantity is related with the channel tenability of website and location, and the distribution situation of its different national Wireless Fidelity channels is not Together, website can obtain corresponding all channel set according to the area at place.Such as: website is detected according to geographical location information It is currently located at the area B, determines corresponding 30 channels in the area B according to preset mapping relations.Each channel in all channel set The value of first parameter is initial value.
For example, according to the example of S307, corresponding 6 channels of all channel set, initial value 3, representation are as follows:
{ ID:0, number:3;
ID:1, number:3;
ID:2, number:3;
ID:3, number:3;
ID:4, number:3;
ID:5, number:3;}.
The time of this scan channel is recorded as the time of long period scan channel by S311, website.
Wherein, website can distinguish long period scan channel in the time record for storing scan channel and long period channel is swept It retouches, such as: it is distinguished using different bits.
S312, website are scanned according to all channel set executive chairman's periodic channel.
Wherein, website scans access point in the channel set after last time scan channel and obtains scan channel on each channel As a result.
For example: according to the example of S311, website successively carries out scan channel on 0~channel of channel 5, it is assumed that channel Scanning result includes: that website is scanned on channel 0 to access point, and website scans on channel 1 arrives access point, and website is in channel 2 Access point is arrived in upper scanning, and website does not scan access point on 3~channel of channel 5.
S313, website obtain the channel set after this scan channel according to channel scan results.
Wherein, if access point is arrived in scanning on channel, the value of the first parameter of the channel is reset into initial value;If believing Access point is not scanned on road, the value of the first parameter of the channel is reduced into preset step-length value.
For example: according to the channel detection result of S312, website resets the value of the first parameter of 0~channel of channel 2 It is 3, the value of the first parameter of 3~channel of channel 5 is subtracted 1 and obtains 2 by website, the channel after this scan channel obtained after update Set expression are as follows:
{ ID:0, number:3;
ID:1, number:3;
ID:2, number:3;
ID:3, number:2;
ID:4, number:2;
ID:5, number:2;}.
When being executed, website starts this scan channel, station for acquiring to the scheme of the embodiment of the present application under connection state The channel set of last time scan channel selects the number not scanned continuously to access point from the channel set of last time scan channel Less than the channel of preset times, scan channel is carried out according to the channel of selection, last time is then updated according to the result of scan channel The channel set of scan channel obtains the channel set of this scan channel.Website does not need every time under connection state in this way All channel scanning is executed, the time of scan channel is reduced, the corresponding dormancy time for reducing website reduces the time delay of data transmission With the handling capacity for increasing data transmission.
Fig. 4 is referred to, provides a kind of flow diagram of channel scanning method for the embodiment of the present application.The present embodiment with Channel scanning method is applied to illustrate in website.The channel scanning method may comprise steps of:
S401, the time for detecting this scan channel arrive.
Wherein, the detailed process of S401 can refer to the description of the S301 in Fig. 3, and details are not described herein again.
S402, specified channel or access point whether are scanned.
Wherein, the detailed process of S402 can refer to the description of the S302 in Fig. 3, and details are not described herein again.
S403, scanning specified channel or access point.
Time interval between S404, the time for calculating this scan channel and the time of last time long period scan channel.
Wherein, the detailed process of S404 can refer to the description of the S304 in Fig. 3, and details are not described herein again.
S405, judge whether time interval is less than duration threshold value.
Wherein, the detailed process of S405 can refer to the description of the S305 in Fig. 3, and details are not described herein again.
S406, the channel set after the last time scan channel that last time scan channel obtains is obtained.
Wherein, the detailed process of S406 can refer to the description in S306, and details are not described herein again.On in the embodiment of the present application Each element in channel set after secondary channel scanning may include the value of channel logo and the second parameter, the value of the second parameter Indicate the number for not scanning access point continuously.
S407, website select the value of the second parameter less than the letter of second threshold in the channel set after last time scan channel Road.
Wherein, the channel set after last time scan channel includes multiple elements, and each element includes channel logo and second The value of parameter, the initial value of the value of the second parameter are less than second threshold, and the size of initial value and second threshold can be according to reality Demand is determined, and the application is with no restriction.
Such as: corresponding 6 channels of channel set after last time scan channel, representation are as follows:
ID:0, number:1;
ID:1, number:3;
ID:2, number:2;
ID:3, number:4;
ID:4, number:0;
ID:5, number:5;, wherein number indicates the value of the second parameter, and ID indicates channel logo;Assuming that the second threshold Value is 3, and website selects the channel less than 3 in the first channel list are as follows: channel 0, channel 2 and channel 4.
S408, website scan access point on the channel of selection.
For example: website successively scans access point on channel 0, channel 2 and channel 4 according to the example of S407, website.
S409, website are according to second of each channel in the channel set after channel scan results update last time scan channel The value of parameter, the channel set after this scan channel is obtained after update.
Wherein, if access point is arrived in scanning on the channel of S408 selection, website resets the value of the second parameter of the channel For initial value;If not scanning access point on the channel of S408 selection, website increases the value of the second parameter of the channel pre- If step value.The size of initial value and preset step-length value can according to actual needs depending on, the application is with no restriction.
It should be understood that website only updates the second parameter of the channel that S408 is selected in the channel set after last time scan channel Value, the value of the second parameter of other channels remains unchanged in this scan channel.
For example: initial value 0, preset step-length value are 1, and according to the channel scan results of S408, website is on channel 0 Access point is scanned, the value of the first parameter of channel 0 is reset to initial value 0 by website.Website does not scan access on channel 2 Point, website become 3 after the value of the first parameter of channel 2 is increased by 1.Website does not scan access point on channel 4, and website will be believed The value of second parameter in road 4 becomes 1 after increasing by 1.Channel set after this scan channel obtained after so updating can indicate Are as follows:
{ ID:0, number:0;
ID:1, number:3;
ID:2, number:3;
ID:3, number:4;
ID:4, number:1;
ID:5, number:5;}
S410, station for acquiring all channel set.
Wherein, the time interval between the time of this scan channel and the time of last time scan channel is not less than duration In the case where threshold value, station for acquiring all channel set, all channel set includes one or more channels, the channel of all channel set Quantity is related with the channel tenability of website and location, such as: website detects present bit according to geographical location information In the area B, corresponding 30 channels in the area B are determined according to preset mapping relations.Second of each channel in all channel set The value of parameter is initial value.
The time of this scan channel is recorded as the time of long period scan channel by S411, website.
For example, according to the example of S407, corresponding 6 channels of all channel set, initial value 0, representation can With are as follows:
{ ID:0, number:0;
ID:1, number:0;
ID:2, number:0;
ID:3, number:0;
ID:4, number:0;
ID:5, number:0;}.
S412, website are scanned according to all channel set executive chairman's periodic channel.
Wherein, website scans access point in the channel set after last time scan channel and obtains scan channel on each channel As a result.
For example: according to the example of S411, website successively carries out scan channel on 0~channel of channel 5, it is assumed that channel Scanning result includes: that website is scanned on channel 0 to access point, and website scans on channel 1 arrives access point, and website is in channel 2 Access point is arrived in upper scanning, and website does not scan access point on 3~channel of channel 5.
S413, website obtain this according to the value that channel scan results update the second parameter of each channel in all channel set Channel set after secondary channel scanning.
Wherein, if access point is arrived in scanning on channel, the value of the second parameter of the channel is reset into initial value;If believing Access point is not scanned on road, the value of the second parameter of the channel is increased into preset step-length value.
For example: according to the channel detection result of S412, website resets the value of the second parameter of 0~channel of channel 2 It is 0, the value of the first parameter of 3~channel of channel 5 is increased by 1 and obtains 1 by website, the letter after this scan channel obtained after update Road set is expressed as:
{ ID:0, number:0;
ID:1, number:0;
ID:2, number:0;
ID:3, number:1;
ID:4, number:1;
ID:5, number:1;}.
When being executed, website starts this scan channel, station for acquiring to the scheme of the embodiment of the present application under connection state The channel set of last time scan channel selects the number not scanned continuously to access point from the channel set of last time scan channel Less than the channel of preset times, scan channel is carried out according to the channel of selection, last time is then updated according to the result of scan channel The channel set of scan channel obtains the channel set of this scan channel.Website does not need every time under connection state in this way All channel scanning is executed, the time of scan channel is reduced, the corresponding dormancy time for reducing website reduces the time delay of data transmission With the handling capacity for increasing data transmission.
It is a kind of flow diagram of channel scanning method provided by the embodiments of the present application referring to Fig. 5, as shown in figure 5, this The method of application embodiment may comprise steps of:
S501, preset short cycle channel scan time arrive, and the upper secondary channel that station for acquiring last time scan channel generates is swept Channel set after retouching.
In the embodiment of the present application, the time of each executive chairman's periodic channel scanning is known as long period channel scan time, The time for executing short cycle scan channel every time is known as short cycle channel scan time.Website is in connection state periodical or non- Channel is periodically scanned for, to detect with the presence or absence of access point in channel, the mode of website driver sweep channel can be application Program triggering or frame triggering, application triggers indicate that website receives triggering command of the user by application program, in response to Triggering command carries out periodic scan channel, and application program can be the included application program of operating system, is also possible to the The application program of tripartite.Frame triggering indicates the scanning channel of website automated periodic, is not need to rely on the touching of application program Hair.Connection state indicates that an access point of website and surrounding establishes Wireless Fidelity connection, can pass between website and access point Defeated business datum.It should be noted that website is in line shape always during executing the channel scanning method of the application State.
In general, scan channel is usually the scan channel opened or executed after long-term for the first time, if this scan channel Headed by secondary channel scan, website can executive chairman's periodic channel scanning, record long period scan channel time.Website it is pre-stored or It is pre-configured with the period of scan channel, the size in the period of scan channel can determine according to actual needs, such as: scan channel Period be 3 seconds, website is every the scan channel of progress in 3 seconds.Long period scan channel indicates website according to pre-stored or pre- Each channel in all channel set of configuration carries out scan channel, and the corresponding channel quantity of all channel set is general and website Channel tenability and location are related.Such as: website supports the Wireless Fidelity communication capacity of 2.4G and 5G, and website is located at The area A, according to corresponding 30 channels of determining all channel set, website scans this 30 channels successively to determine in channel whether sweep Retouch access point.
In general, website periodically executes scan channel, the type that website executes scan channel is divided into long period channel Scanning and short cycle scan channel, website may determine that this scan channel time and last long period scan channel when Between whether be less than duration threshold value, if it has, then this scan channel be short cycle scan channel, otherwise swept for long period channel It retouches.The period of long period scan channel is greater than the period of short cycle scan channel, and scan channel is considered as long period channel and sweeps for the first time It retouches.Such as: the time of long period scan channel be followed successively by t0, t0+60s ..., t0+ (60 × n) s, short cycle scanning time according to It is secondary for t0+3s, t0+ (3 × 2) s ..., t0 (3 × n), i.e., website every 60s execute a long period scan channel, held every 3s Short cycle scan channel of row.Website is pre-stored or is pre-configured with duration threshold value, and duration threshold value can be come according to actual needs Fixed, duration threshold value is greater than the period of scan channel, such as: duration threshold value is the positive integer times of channel scan period, duration threshold value It is 1 minute, channel scan period is 3 seconds.Last time scan channel be based on this scan channel before adjacent channel sweep It retouches, the type of last time scan channel may be long period scan channel, it is also possible to short cycle scan channel.
Wherein, the channel set after last time scan channel and the channel set after this scan channel are a kind of data knot Structure, corresponding channel quantity is possibly less than in the channel set after channel set and this scan channel after last time scan channel To one channel quantity in all channel set.The corresponding channel ginseng of each channel in channel set after last time scan channel Number information, channel parameter information can indicate the result that access point is scanned on channel.The type of the channel set of the application can be with It is bivariate table, chained list, array, structural body or storehouse etc., the application is with no restriction.
It should be understood that can mutually be converted between this scan channel and last time scan channel, correspondingly, this scan channel It can also mutually be converted between the channel set after channel set and last time scan channel afterwards.
For example, n-th scan channel, the scanning of the (n+1)th secondary channel and the n-th+2 secondary channel that website executes are scanned For, n is the integer greater than 1.If the scanning of the (n+1)th secondary channel is this scan channel, n-th scan channel is last time Scan channel obtains the channel set after last time scan channel after n-th scan channel, and the (n+1)th secondary channel scans to obtain this Channel set after scan channel;If the scanning of the n-th+2 secondary channel is this scan channel, the scanning of the (n+1)th secondary channel is Last time scan channel obtains the channel set after last time scan channel, after the scanning of the n-th+2 secondary channel after the scanning of the (n+1)th secondary channel Channel set after obtaining this scan channel.
S502, website scan access point on each channel in the channel set after last time scan channel.
In general, including multiple elements in channel set after last time scan channel, each element may include channel mark Know and channel parameter information, channel logo are used to indicate the identity of channel, such as: channel logo indicated using number, channel Parameter be used for indicate on channel carry out access point detection as a result, channel parameter information include: data throughout, data transmission Rate, signal strength indication, the number of continuous scanning to access point and not scan one of number of access point or more continuously Kind.Wherein, the mode of station scans access point can be active scan or drive sweep, the process of active scan or drive sweep It can refer to website in the prior art and be under broken string state the process for scanning access point, details are not described herein again.
For example, corresponding 5 channels of the channel set after last time scan channel, representation are as follows:
{ ID:0, number:1;
ID:1, number:1;
ID:2, number:2;
ID:3, number:1;
ID:4, number:2 }.
Wherein, ID indicates the number of channel, and number indicates not scanning the number of access point continuously, then website according to Channel set after above-mentioned last time scan channel successively scans access point on 0~channel of channel 5 and obtains channel scan results, Assuming that channel scan results are as follows: website is scanned on channel 0, Xinda 1 and channel 3 to access point, and website is in channel 2 and channel 4 On do not scan access point.
S503, website are full according to channel parameter information in the channel set after channel scan results removal last time scan channel Foot removes the channel of condition, the channel set after this scan channel is obtained after removal.
Wherein, removing condition indicates according to channel parameter information from the channel set after updated last time scan channel Remove one or more channels, the channel set after obtaining this scan channel.Website is pre-stored or is pre-configured with removal condition, Removal condition can determine according to actual needs, and the application is with no restriction.Such as: removal condition include: on channel it is continuous not The number for scanning access point is greater than preset times.
Website updates the ginseng of the channel in the channel set after last time scan channel according to the channel scan results in S502 Number information, then sweeps the channel for meeting removal condition in the channel set after updated last time scan channel from upper secondary channel It is removed in channel set after retouching.
For example, the channel in channel set after last time scan channel is updated according to the channel scan results of S502 is joined After number information, the channel set after last time scan channel is indicated are as follows:
{ ID:0, number:0;
ID:1, number:0;
ID:2, number:3;
ID:3, number:0;
ID:4, number:3 }.
Removal condition is that number is not less than 3, it can thus be appreciated that channel 2 and channel 4 meet removal condition, website is by channel 2 Channel set after this scan channel obtained after removing in the channel set after last time scan channel with channel 4 indicates Are as follows:
{ ID:0, number:0;
ID:1, number:0;
ID:3, number:0;}.
Implement the embodiment of the present invention, during website starts scan channel under connection state, website is being held every time The channel parameter information of meeting statistical channel after row scan channel, in this scan channel, if the channel parameter information of channel is not After meeting specified requirements, the channel can be skipped when executing scan channel next time, the quantity of the channel of station scans can be reduced, i.e., Website does not need to be carried out all channel scanning every time during scan channel, so that the time of station scans channel is also corresponding Reduction, such website carries out scan channel under connection state can reduce the time of broken string, thus reduce data transmission Time delay and the handling capacity for increasing data transmission
Fig. 6 is participated in, is a kind of flow diagram of channel scanning method provided by the embodiments of the present application, as shown in figure 5, this The method of application embodiment may comprise steps of:
S601, detect that the time of this scan channel arrives.
In the embodiment of the present application, website triggers periodically or aperiodically scan channel under connection state, to sweep It retouches with the presence or absence of access point in channel, the mode of website triggering scan channel can be application triggers or frame triggering.Example Such as: by taking Android system as an example, the process of application triggers may include: the opening Wireless Fidelity that website receives user's triggering The instruction of list, website respond the carry out scan channel after the instruction using WifiScanningService seeervice cycle property, answer It can be the included application program of system with program, be also possible to third party application;Frame triggering can be website rear Platform periodically carries out scan channel using WifiScanningService.
Wherein, website, which is in connection state, indicates that an access point of website and surrounding establishes Wireless Fidelity connection, website Can be with transmission services data between access point, in the channel scan procedure of the application, website is in connection state always.
Wherein, the period of scan channel can determine according to actual needs, such as: the period of scan channel is 2 descriptions, is stood O'clock every 2 seconds progress scan channels.The reference time point of website can be website booting, restart or be switched to unlocked state when Between, website can be using the reference time point as the time of scan channel for the first time.A website scan channel of every progress, will record The time of scan channel, website, which detects, reaches the scan period between current time and the time of currently stored scan channel When, determine that this channel scan time arrives, website starts this scan channel.
S602, specified channel or access point whether are scanned.
In the embodiment of the present application, website judges whether to need to scan specified channel or access point, such as: user needs When the access point that connection is specified, user, which triggers, opens Wireless Fidelity list, selects a SSID to carry out in Wireless Fidelity list Connection, then website can scan the corresponding access point of the SSID, i.e. the website scanning that carries out specified access point.Another example is: website It is stored with Wireless Fidelity connection history table, includes the SSID connected before in Wireless Fidelity connection history table, close Code and channel logo, website carry out access point on the channel of the channel logo instruction in Wireless Fidelity connection history table Scanning, i.e. website carry out the scanning of designated channel.
S603, scanning specified channel or access point.
Time interval between S604, the time for calculating this scan channel and the time of last time long period scan channel.
In general, long period scan channel, which refers to, carries out scan channel on website channel all in all channel set, The corresponding channel quantity of all channel set is related with channel and area that website is supported, such as: website is located at the area A, website Support the Wireless Fidelity channel of 2.4G and 5G, website is pre-stored or has all channel set of configuration to include 30 channels, website root Access point successively is scanned on 30 channels according to certain scanning sequency.It is that record should that website carries out long period scan channel every time The time of the time of long period scan channel, long period scan channel can be the time started.
S605, judge whether time interval is less than duration threshold value.
In general, duration threshold value can determine according to actual needs, website is pre-stored or is pre-configured with duration threshold value.If sentencing Disconnected result be it is yes, then website executes short cycle scan channel, i.e. the time of this scan channel is short cycle channel scan time; If judging result be it is no, execute executive chairman's periodic channel scanning, i.e., the time of this scan channel be long period scan channel Time.
Such as: duration threshold value is 60 seconds, and channel scan period is 3 seconds, and the time of this scan channel is t1, upper vice-minister's week The time of phase scan channel is t1+6s, and website calculated between the time of this scan channel and the time of last time scan channel Time interval be 6 seconds, the time interval be less than duration threshold value 60 seconds, judging result is yes.
Another example is: duration threshold value is 60 seconds, channel scan period is 3 seconds, and the time of this scan channel is t1, and website obtains The time for taking last time scan channel is t1+60s, and website calculates the time of this scan channel and the time of last time scan channel Between time interval be 60 seconds, be equal to duration threshold value 60 seconds, judging result is no.
In general, duration threshold value is greater than the period of scan channel, duration threshold value can be the integral multiple of channel scan period, I.e. website carries out short cycle scan channel according to the period 1, carries out long period scan channel, second round according to second round Greater than the period 1, and second round is the integral multiple of period 1, the time of non-long period scan channel and long period channel The time of scanning is overlapped.Such as: the period 1 is 2 seconds, and second round is 40 seconds, and scan channel is that long period channel is swept for the first time It retouches, website is every the short cycle scan channel of progress in 3 seconds, every the long period scan channel of progress in 60 seconds.
S606, the channel set after the last time scan channel obtained after last time scan channel is obtained.
Wherein, scan channel of the every progress of website will record the time of scan channel, and the time of scan channel can be Time started, last time scan channel can be long period scan channel, be also possible to short cycle scan channel, and website is believed in storage When the time of road scanning, long period scan channel and short cycle scan channel can be distinguished by different flag bits.
Such as: the time of website storage scan channel can be expressed as { time:8:00:00, type:1 }, another example is: station Point storage scan channel time can be expressed as { time:8:00:03, type:0 }, wherein time indicate scan channel when Between, it is indicated using Hour Minute Second;Type indicates the type of scan channel, and 1 indicates that scan channel is long period scan channel, 0 table Show that scan channel is short cycle scan channel.
Wherein, the channel set after last time scan channel is the channel set obtained after last time scan channel, this secondary channel Channel set after scanning is the channel set obtained after this scan channel, channel set after last time scan channel and this Channel set after scan channel is a kind of data structure, and the type of channel set includes but is not limited to bivariate table, chained list, number Group, structural body or storehouse.Corresponding letter in the channel set after channel set and this scan channel after last time scan channel Road quantity is less than or equal to the corresponding channel quantity of all channel set.
It should be understood that after between this scan channel and last time scan channel being opposite concept and last time scan channel Channel set and this scan channel after channel set between be also opposite concept, this scan channel and upper secondary channel It can mutually be converted between the channel set after channel set and this scan channel after scanning and last time scan channel.
For example: n-th scan channel, the scanning of the (n+1)th secondary channel and the n-th+2 secondary channel executed for website scans For, n is the integer greater than 1;If being this scan channel for the scanning of n+1 secondary channel, n-th scan channel is last time letter Road scans, and the channel set after last time scan channel is obtained after n-th scan channel, obtains this after the scanning of the (n+1)th secondary channel Channel set after scan channel.If the scanning of the n-th+2 secondary channel is this scan channel, the scanning of the (n+1)th secondary channel is Last time scan channel, the (n+1)th secondary channel scan to obtain the channel set after last time scan channel, and the n-th+2 secondary channel scans to obtain It is the channel set after this scan channel.
Wherein, the channel set after last time scan channel includes multiple elements, and each element includes channel logo and first The value of parameter, the initial value of the value of the first parameter are the maximum time for not scanning access point continuously that website is pre-stored or is pre-configured Number, the size of initial value can according to actual needs depending on.
Such as: corresponding 6 channels of channel set after last time scan channel, representation are as follows:
ID:0, number:1;
ID:1, number:2;
ID:2, number:1;
ID:3, number:1;
ID:4, number:1;
ID:5, number:2;}.
S607, website scan access point on each channel in the channel set after last time scan channel.
For example, according to the example of S606, website carries out scan channel on 0~channel of channel 5 and detects whether exist Access point, channel scan results are as follows: website does not scan access point on channel 0, channel 2 and channel 4, and website is in channel 1, letter Access point is arrived in scanning on road 3 and channel 5.
S608, website update first of each channel in the channel set after this scan channel according to channel scan results The value of parameter.
Wherein, if access point is arrived in scanning on channel, the value of the first parameter of the channel is reset into initial value;If not existing Access point is arrived in scanning on channel, and the value of the first parameter of the channel is reduced preset step-length value.Initial value and preset step-length value can To determine according to actual needs, the application is with no restriction.
For example: initial value 3, preset step-length value are 1, and according to the channel scan results of S607, website is on channel 0 Access point is not scanned, and website obtains 0 after subtracting 1 for the value of the first parameter of channel 0.Website is scanned on channel 1 to access point, The value of first parameter of channel 1 is reset to 3 by website.Website does not scan access point on channel 2, and website is by the of channel 2 The value of one parameter obtains 0 after subtracting 1.Website scans on channel 3 arrives access point, and website resets the value of the first parameter of channel 3 It is 3.Website does not scan access point on channel 4, and website obtains 0 after subtracting 1 for the value of the first parameter of channel 4.Website is being believed Access point is arrived in scanning on road 5, and the value of the first parameter of channel 5 is reset to 3 by website.Letter after updated last time scan channel Road set can indicate are as follows:
{ ID:0, number:0;
ID:1, number:3;
ID:2, number:0;
ID:3, number:3;
ID:4, number:0;
ID:5, number:3;}.
This is obtained after being not more than the channel of first threshold in channel set after S609, website removal last time scan channel Channel set after scan channel.
Wherein, it removes the value that condition is the first parameter and is not more than first threshold, website is pre-stored or is pre-configured with the first threshold Value, first threshold are less than initial value.
For example: first threshold 0, website according to the channel set after last time scan channel updated in S608, The channel set after this scan channel is obtained after channel in channel set after removing last time scan channel less than or equal to 0 It closes, the channel set after this scan channel may be expressed as:
{ ID:1, number:3;
ID:3, number:3;
ID:5, number:3;}.
S610, station for acquiring all channel set.
Wherein, the time interval between the time of this scan channel and the time of last time scan channel is not less than duration threshold In the case where value, station for acquiring all channel set includes multiple channels in all channel set, the channel quantity of all channel set with The channel tenability of website is related with area, and the distribution situation of its different national Wireless Fidelity channels is different.Such as: website Support the Wireless Fidelity channel of 2.4G and 5G, website is determined according to geographical location information is located at the area B, closes according to preset mapping It is to determine that the Wireless Fidelity channel of 2.4G and 5G on the area B is 0~channel of channel 29,0~channel of channel 29 is all channel set In include multiple channels.The value of the first parameter of each channel is initial value in all channel set.
For example, according to the example of S607, corresponding 6 channels of all channel set, initial value 3, representation are as follows:
{ ID:0, number:3;
ID:1, number:3;
ID:2, number:3;
ID:3, number:3;
ID:4, number:3;
ID:5, number:3;}.
The time of this scan channel is recorded as the time of long period scan channel by S611, website.
Wherein, website storage scan channel time when, can distinguish scan channel type be long period scan channel also It is short cycle scan channel, such as distinguished using different bits.
S612, website are scanned according to all channel set executive chairman's periodic channel.
For example, for all channel set as shown in S610, website scans access point on 0~channel of channel 5 respectively, it is assumed that Channel scan results include: that website does not scan access point on channel 0, and access point is arrived in scanning on channel 1, on channel 2 Access point is not scanned, and access point is arrived in scanning on channel 3, does not scan access point on channel 4, scans and arrive on channel 5 Access point.
S613, website obtain this according to the value that channel scan results update the first parameter of each channel in all channel set Channel set after secondary channel scanning.
Wherein, if access point is arrived in scanning on channel, the value of the first parameter of the channel is reset into initial value;If not existing Access point is arrived in scanning on channel, and the value of the first parameter of the channel is reduced preset step-length value.Initial value and preset step-length value can It is identical in initial value and preset step-length value and S608 to determine according to actual needs.
For example: initial value 3, preset step-length value is 1, according to the channel detection result of S612, to complete in S611 The value of first parameter of channel set is updated: website obtains after subtracting 1 for the value of the first parameter of channel 0, channel 2 and channel 4 To 2, the value of the first parameter of channel 1, channel 3 and channel 5 is reset to 3 by website.This scan channel obtained after update Second channel parameter sets may be expressed as:
{ ID:0, number:2;
ID:1, number:3;
ID:2, number:2;
ID:3, number:3;
ID:4, number:2;
ID:5, number:3;}.
When being executed, website starts this scan channel, station for acquiring to the scheme of the embodiment of the present application under connection state The channel set of last time scan channel carries out scan channel according to the channel set of last time scan channel, is then swept according to channel The result retouched updates the channel set of last time scan channel, removes and does not scan access point in the last time channel set of update continuously Number be greater than preset times channel, the channel set of this scan channel is obtained after removal.Website is in connection state in this way Under do not need to be carried out all channel scanning every time, reduce the time of scan channel, the corresponding dormancy time for reducing website is reduced The time delay of data transmission and the handling capacity for increasing data transmission.
Referring to Fig. 7, a kind of flow diagram of channel scanning method is provided for the embodiment of the present application.The present embodiment is to believe Road scan method is applied to illustrate in website.The channel scanning method may comprise steps of:
S701, detect that the time of this scan channel arrives.
Wherein, the detailed process of S701 can refer to the description of the S601 in Fig. 6, and details are not described herein again.
It S702, is scanning specified channel or access point.
Wherein, the detailed process of S702 can refer to the description of the S602 in Fig. 6, and details are not described herein again.
S703, scanning specified channel or access point.
Wherein, the detailed process of S703 can refer to the description of the S603 in Fig. 6, and details are not described herein again.
S704, the time of the time for calculating this scan channel and last time long period scan channel.
Wherein, the detailed process of S704 can refer to the description of S604 in Fig. 6, and details are not described herein again.
S705, judge whether time interval is less than duration threshold value.
Wherein, the detailed process of S705 can refer to the description of S605 in Fig. 6, and details are not described herein again.
S706, the channel set after the last time scan channel obtained after last time scan channel is obtained.
Wherein, scan channel of the every progress of website will record the time of scan channel, and the time of scan channel can be Time started, last time scan channel can be long period scan channel, be also possible to short cycle scan channel, and website is believed in storage When the time of road scanning, long period scan channel and short cycle scan channel can be distinguished by different flag bits.
Such as: the time of website storage scan channel can be expressed as { time:8:00:00, type:1 }, another example is: station Point storage scan channel time can be expressed as { time:8:00:03, type:0 }, wherein time indicate scan channel when Between, when use/point/second indicate;Type indicate scan channel type, 1 indicate scan channel be long period scan channel, 0 Expression scan channel is short cycle scan channel.
Wherein, the channel set after last time scan channel is the channel set obtained after last time scan channel, this secondary channel Channel set after scanning is the channel set obtained after this scan channel, channel set after last time scan channel and this Channel set after scan channel is a kind of data structure, and the type of channel set includes but is not limited to bivariate table, chained list, number Group, structural body or storehouse.Corresponding letter in the channel set after channel set and this scan channel after last time scan channel Road quantity is less than or equal to the corresponding channel quantity of all channel set.
It should be understood that after between this scan channel and last time scan channel being opposite concept and last time scan channel Channel set and this scan channel after channel set between be also opposite concept, this scan channel and upper secondary channel It can mutually be converted between the channel set after channel set and this scan channel after scanning and last time scan channel.
For example, n-th scan channel, the scanning of the (n+1)th secondary channel and the n-th+2 secondary channel that website executes are scanned For, n is the integer greater than 1;If being this scan channel for the scanning of n+1 secondary channel, n-th scan channel is last time letter Road scans, and the channel set after last time scan channel is obtained after n-th scan channel, obtains this after the scanning of the (n+1)th secondary channel Channel set after scan channel.If the scanning of the n-th+2 secondary channel is this scan channel, the scanning of the (n+1)th secondary channel is Last time scan channel, the (n+1)th secondary channel scan to obtain the channel set after last time scan channel, and the n-th+2 secondary channel scans to obtain It is the channel set after this scan channel.
Wherein, the channel set after last time scan channel includes multiple elements, and each element includes channel logo and second The value of parameter, the initial value of the value of the second parameter are the maximum time for not scanning access point continuously that website is pre-stored or is pre-configured Number, the size of initial value can according to actual needs depending on.
Such as: corresponding 6 channels of channel set after last time scan channel, representation are as follows:
ID:0, number:2;
ID:1, number:0;
ID:2, number:2;
ID:3, number:1;
ID:4, number:2;
ID:5, number:1;}.
S707, website scan access point on each channel in the channel set after last time scan channel.
For example, according to the example of S706, website carries out scan channel on 0~channel of channel 5 and detects whether exist Access point, the result of scan channel are as follows: website does not scan access point on channel 0, channel 2 and channel 4, website channel 1, Access point is arrived in scanning on channel 3 and channel 5.
S708, website are according to the second of channel each in the channel set after channel scan results more last time scan channel the ginseng Several values.
It, if access point is arrived in scanning on channel, the value of the second parameter of the channel is reset to initial value by website;If Access point is not scanned on channel, the value of the second parameter of the channel is increased preset step-length value by website.Initial value and default step Long value can be determined according to actual needs.
For example, initial value 0, preset step-length value are 1, and according to the channel scan results of S707, website is on channel 0 Access point is not scanned, and website obtains 3 after the value of the first parameter of channel 0 is added 1.Website is scanned on channel 1 to access point, The value of second parameter of channel 1 is reset to 0 by website.Website does not scan access point on channel 2, and website is by the of channel 2 The value of two parameters obtains 3 after adding 1.Website scans on channel 3 arrives access point, and website resets the value of the second parameter of channel 3 It is 0.Website does not scan access point on channel 4, and website obtains 3 after the value of the second parameter of channel 4 is added 1.Website is being believed Access point is arrived in scanning on road 5, and the value of the second parameter of channel 5 is reset to 0 by website.Letter after updated last time scan channel Road set is expressed as:
{ ID:0, number:3;
ID:1, number:0;
ID:2, number:3;
ID:3, number:0;
ID:4, number:3;
ID:5, number:0;}.
This is obtained after being not less than the channel of first threshold in channel set after S709, website removal last time scan channel Channel set after scan channel.
Wherein, it removes the value that condition is the first parameter and is not less than first threshold, website is pre-stored or is pre-configured with the first threshold Value, first threshold are greater than initial value.
For example, first threshold 3, website according to the channel set after last time scan channel updated in S708, The channel set after this scan channel is obtained after channel in channel set after removing last time scan channel more than or equal to 3 It closes, the channel set after this scan channel may be expressed as:
{ ID:1, number:0;
ID:3, number:0;
ID:5, number:0;}.
S710, station for acquiring all channel set.
Wherein, the time interval between the time of this scan channel and the time of last time scan channel is not less than duration threshold In the case where value, station for acquiring all channel set includes multiple channels in all channel set, the channel quantity of all channel set with The channel tenability of website is related with area, and the distribution situation of its different national Wireless Fidelity channels is different.Such as: website Support the Wireless Fidelity channel of 2.4G and 5G, website is determined according to geographical location information is located at the area B, closes according to preset mapping It is to determine that the Wireless Fidelity channel of 2.4G and 5G on the area B is 0~channel of channel 29,0~channel of channel 29 is all channel set In include multiple channels.The value of the first parameter of each channel is initial value in all channel set.
For example, according to the example of S607, corresponding 6 channels of all channel set, initial value 3, representation are as follows:
{ ID:0, number:0;
ID:1, number:0;
ID:2, number:0;
ID:3, number:0;
ID:4, number:0;
ID:5, number:0;}.
The time of this scan channel is recorded as the time of long period scan channel by S711, website.
Wherein, website storage scan channel time when, can distinguish scan channel type be long period scan channel also It is short cycle scan channel, such as: it is distinguished using different bits.
S712, website are scanned according to all channel set executive chairman's periodic channel.
For example, for all channel set as shown in S710, website scans access point on 0~channel of channel 5 respectively, it is assumed that Channel scan results include: that website does not scan access point on channel 0, and access point is arrived in scanning on channel 1, on channel 2 Access point is not scanned, and access point is arrived in scanning on channel 3, does not scan access point on channel 4, scans and arrive on channel 5 Access point.
S713, website obtain this according to the value that channel scan results update the second parameter of each channel in all channel set The second channel parameter sets of secondary channel scanning.
Wherein, if access point is arrived in scanning on channel, the value of the first parameter of the channel is reset into initial value;If not existing Access point is arrived in scanning on channel, and the value of the first parameter of the channel is reduced preset step-length value.Initial value and preset step-length value can It is identical in initial value and preset step-length value and S608 to determine according to actual needs.
For example, initial value 0, preset step-length value is 1, according to the channel detection result of S612, to complete in S611 The value of first parameter of channel set is updated: website obtains after the value of the first parameter of channel 0, channel 2 and channel 4 is added 1 To 1, the value of the first parameter of channel 1, channel 3 and channel 5 is reset to 0 by website.This scan channel obtained after update Second channel parameter sets may be expressed as:
{ ID:0, number:1;
ID:1, number:0;
ID:2, number:1;
ID:3, number:0;
ID:4, number:1;
ID:5, number:0;}.
When being executed, website starts this scan channel, station for acquiring to the scheme of the embodiment of the present application under connection state The channel set of last time scan channel carries out scan channel according to the channel set of last time scan channel, is then swept according to channel The result retouched updates the channel set of last time scan channel, removes and does not scan access point in the last time channel set of update continuously Number be greater than preset times channel, the channel set of this scan channel is obtained after removal.Website is in connection state in this way Under do not need to be carried out all channel scanning every time, reduce the time of scan channel, the corresponding dormancy time for reducing website is reduced The time delay of data transmission and the handling capacity for increasing data transmission.
Wherein, the embodiment of the present application provides a kind of channel scanning method again, and the channel scanning method includes but unlimited In following steps:
Step A, detection reaches the time of this scan channel, determines the number of this scan channel.
Wherein, website periodically executes scan channel, and scan channel is stood for detecting in channel with the presence or absence of access point The mode that point scans access point in the channel may is that the signal strength indication of station scans access point, be less than in signal strength indication In the case where signal strength threshold, determine that the access point is not detected in website;Otherwise, it determines website detection is with the access point.? In the case that the signal strength of all access points is respectively less than signal strength threshold in signal, website determination is not swept on this channel Retouch access point.
In general, the period that website executes scan channel can determine according to actual needs, such as: site channel scanning Period is 3s.Website is the number for starting to calculate scan channel with scan channel for the first time, and scan channel can be website and open for the first time Scan channel for the first time, website after machine switch the scan channel for the first time after being in working condition from dormant state.Scan channel for the first time Scanning times be initialized as 1, then with 1 for step-length carry out it is incremental.
Step B, channel is selected from all channel set according to the number of this scan channel.
It wherein, include multiple channels in all channel set, the channel quantity of all channel set and the channel of website support energy Power is related with location, and the distribution situation of its different national Wireless Fidelity channels is different, and website can be according to the ground at place Area obtains corresponding all channel set.Such as: website is detected according to geographical location information is currently located at the area B, according to default Mapping relations determine corresponding 30 channels in the area B.The letter selected from all channel set according to the number of this scan channel The quantity in road is less than the quantity of channel in all channel set, such as: the channel of half is selected in each all channel set of website, to It is not identical to measure the channel selected twice,
In some embodiments, all channel set includes the conjunction of the first channel subset and second channel subclass, according to this The number of scan channel selects channel from all channel set, comprising:
If the number of this scan channel is odd number, first channel subset is selected to close;
If the number of this scan channel is even number, the second channel subclass is selected.
Wherein, the first channel subset is closed and second channel subset is combined into all channel set, such as: all channel set includes 0~channel of channel 29, totally 30 channels, the first channel subset are closed comprising 0~channel of channel 14, and second channel subclass includes letter 15~channel of road 29.First channel subset is closed equal or roughly equal with the channel quantity of second channel subclass.All channel collection Closing to be divided into the first channel subset and close can determine with the mode of second channel subclass according to actual needs, and the application does not limit System.
Such as: the number of this scan channel is 100, is even number, and website selects 0~channel of channel 14;Another example is: this The number of scan channel is 101, is odd number, and website selects 15~channel of channel 29.
In some embodiments, all channel set includes that the first channel subset is closed and second channel subclass;
Wherein, the number according to this scan channel selects channel from all channel set, comprising:
If the number of this scan channel is even number, the second channel subclass is selected;
If the number of this scan channel is odd number, the second channel subclass is selected.
In some embodiments, the number of each signal is since initial number in all channel set, with default step Long value carry out it is incremental, first channel subset close in the number of each channel be odd number, it is each in the second channel subclass The number of a channel is even number.
Wherein, initial number and preset step-length value can determine according to actual needs, such as: initial number 1 presets step Long value is 1.
Step C, scan channel is carried out on the channel of selection.
Wherein, for detecting with the presence or absence of access point on channel, the method for station scans access point may is that scan channel Website measures the signal strength indication of access point, if in the case that signal strength indication is less than signal strength threshold, it is determined that do not scan To access point, otherwise determine that access point is arrived in scanning;Signal strength threshold can determine according to actual needs, and the application does not limit System.
Implement the embodiment of the present application, website selects one or more according to the number of this scan channel from all channel set A channel is scanned, and the channel of adjacent twice sweep selection is different, and the quantity for the channel selected is less than in all channel set The quantity of channel, i.e. website complete long period scan channel in two scan periods, and each scanning compared with the existing technology is all The scanning of executive chairman's periodic channel is compared, and can be improved the efficiency of scan channel and be reduced the time of each scan channel.
Wherein, the embodiment of the present application provides a kind of channel scanning method again, and channel scanning method includes: in this secondary channel The time of scanning then, if this scan channel is the scanning of short cycle odd-numbered channels, obtains the first of last time odd-numbered channels scanning Channel subset is closed, and selection meets the channel of screening conditions in the first channel subset after the scanning of last time odd-numbered channels is closed, and is being selected Scan channel is carried out on the channel selected, and updates the first channel subset after the scanning of last time odd-numbered channels according to channel scan results It closes, the first channel subset after obtaining the scanning of this odd-numbered channels is closed;If or this scan channel is that short cycle even-numbered channels is swept It retouches, the second channel subclass after obtaining the scanning of last time even-numbered channels, the second channel subset after the scanning of last time even-numbered channels Selection meets the channel of screening conditions in conjunction, and second channel after the scanning of last time even-numbered channels is updated according to channel scan results Set, the second channel subclass after the scanning of this even-numbered channels is obtained after update.
Wherein, the scanning of short cycle odd-numbered channels and the scanning of long period odd-numbered channels indicate that scanning times are that the channel of odd number is swept It retouches.The period of long period odd-numbered channels scanning is greater than the period of short cycle scan channel.The scanning of short cycle even-numbered channels and long week The scanning of phase even-numbered channels indicates that scanning times are the scan channel of even number, and the period of long period even-numbered channels scanning is greater than short cycle The period of even-numbered channels scanning.
In some embodiments, if this scan channel is the scanning of long period odd-numbered channels, initial first channel is obtained Set, carries out scan channel on each channel that initial first channel subset is closed, and updates initial first according to scanning result Channel subset closes to obtain the first channel subset conjunction after the scanning of this odd-numbered channels;If or this scan channel is long period even number Scan channel obtains initial second channel subclass, carries out scan channel on each channel in initial second channel subclass, Initial second channel subclass, which is updated, according to channel scan results obtains the second channel subclass of this even-numbered channels scanning.
It should be understood that initial first channel subset is closed and initial second channel subset is combined into all channel set, initial first Channel subset conjunction is equal or roughly equal with the quantity of channel in initial second channel subclass, such as: initial first channel Include the channel that number is odd number in set, includes the channel that number is even number in initial second channel subclass.Believe first Road subclass, second channel subclass, initial first channel subset are closed and the update method of initial second channel subclass can join According to the method for updating channel set in Fig. 2~Fig. 7, details are not described herein again.
For example: all channel set includes 1~channel of channel 30, and it includes channel 1~letter that initial first channel subset, which is closed, Road 15, initial second channel subclass include 16~channel of channel 30.Website starts upon start: website carried out one every 3 seconds Secondary channel scanning, it is assumed that the period of the scanning of short cycle odd-numbered channels and the scanning of short cycle even-numbered channels is 6s, long period odd number The period of scan channel and the scanning of long period even-numbered channels is 30s.The first odd-numbered channels that website executes after being switched on or restarting Scanning can be closed according to initial first channel subset and be executed, first even-numbered channels scanning or according to initial second channel subclass come It executes.
For website in 2n-1 execution odd-times scan channel, n is the integer greater than 1;When n=1, website is in the 1st basis Initial first channel subset, which is closed, executes the scanning of long period odd-numbered channels, i.e., executes scan channel on 1~channel of channel 15;N= 2,3,4 when, website execute short cycle odd-numbered channels scanning;When n=5, website executes the scanning of long period odd-numbered channels again, successively Analogize.
For website in 2n execution even-times scan channel, n is the integer greater than 1;When n=1, website is at the 2nd time according to just Beginning second channel subclass executes the scanning of long period even-numbered channels, i.e., scan channel is carried out on 16~channel of channel 30;N=2, When 3 and 4, website executes short cycle even-line interlace, and when n=5, website executes the scanning of long period even-numbered channels again, and so on.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 8 is referred to, it illustrates the structural representations for the channel scanning device that one exemplary embodiment of the application provides Figure.The device can by software, hardware or both be implemented in combination with as terminal all or part of.Scan channel dress Setting 8 includes acquiring unit 801 and scanning element 802.
Acquiring unit 801, then for preset short cycle sweep time, the channel set after obtaining last time scan channel It closes;
Scanning element 802, for the channel parameter information satisfaction screening in the channel set after the last time scan channel Access point is scanned on the channel of condition;Wherein, screening conditions include continuously not scanning the number of access point on channel to be less than Preset times.
In one embodiment, further includes:
Updating unit, for updating each letter in the channel set after the last time scan channel according to channel scan results The channel parameter information in road, the channel set after this scan channel is obtained after update.
In one embodiment, updating unit is also used to:
Preset long period channel scan time then, obtains all channel set and is carried out according to all channel set Long period scan channel;It is obtained according to the channel parameter information that channel scan results update each channel in all channel set Channel set after this described scan channel;Wherein, long period channel scan time be executive chairman's periodic channel scanning when Between, the period of the long period scan channel is greater than the period of short cycle scan channel.
In one embodiment, the channel parameter information includes the first parameter, and the initial value of first parameter indicates The maximum value of access point is not scanned continuously on channel;
Updating unit is for each letter in the channel set after updating the last time scan channel according to channel scan results The channel parameter information in road, comprising:
If access point is arrived in scanning on channel, the value of the first parameter of the channel is reset into the initial value;
If not scanning access point on channel, the value of the first parameter of the channel is reduced into preset step-length value.
In one embodiment, scanning element 802 is used for the channel ginseng in the channel set after the last time scan channel Number information, which meets, scans access point on the channel of screening conditions, comprising:
The value of the first parameter is selected to be greater than the channel of first threshold in the channel set after the last time scan channel;Its In, the first threshold is less than the initial value of first parameter;
Access point is scanned on the channel of selection.
In one embodiment, updating unit is for obtaining all channel set and being grown according to all channel set The time of this scan channel, is recorded as the time of long period scan channel by periodic channel scanning;According to scan channel As a result the channel parameter information for updating each channel in all channel set obtains the channel set after this described scan channel Conjunction includes:
Obtain all channel set;Wherein, the value of the first parameter of each channel is first equal to described in all channel set Initial value;
Access point is scanned on each channel in all channel set;
If detecting access point on channel, the value of the first parameter of the channel is reset into the initial value;
If access point is not detected on channel, the value of the first parameter of the channel is reduced into the preset step-length value.
In one embodiment, the channel parameter information includes the second parameter, and the value expression of second parameter is being believed The number of access point is not scanned on road continuously;
Scanning element 802 is used for according to each channel in the channel set after channel scan results update last time scan channel Channel parameter, comprising:
If not scanning access point on channel, the value of the second parameter of the channel is increased into preset step-length value;
If access point is arrived in scanning on channel, the value of the second parameter of the channel is reset into initial value.
In one embodiment, updating unit is used for the channel parameter information satisfaction in the channel set of last time scan channel Access point is scanned on the channel of screening conditions, comprising:
The website selects the value of the second parameter to be less than second threshold in the channel set after the last time scan channel Channel;Wherein, the second threshold is greater than the initial value of second parameter;
Access point is scanned on the channel of selection.
In one embodiment, updating unit is for obtaining all channel set and being grown according to all channel set The time of this scan channel, is recorded as the time of long period scan channel by periodic channel scanning;According to scan channel As a result the channel parameter information for updating each channel in all channel set obtains the channel set after this described scan channel Conjunction includes:
Obtain all channel set;Wherein, the value of the second parameter of each channel is described initial in all channel set Value;
Long period scan channel is carried out according to all channel set;
If access point is arrived in scanning on channel, the value of the second parameter of the channel is set to the initial value;
If not scanning access point on channel, the value of the second parameter of the channel is increased into preset step-length value.
In one embodiment, the website is connection state.
In one embodiment, scanning element 802 is also used to: if secondary channel scans headed by this described scan channel, It is scanned according to all channel set executive chairman's periodic channel.
It should be noted that channel scanning device 8 provided by the above embodiment is when executing channel scanning method, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, touch operation responding device provided by the above embodiment belongs to touch operation response method embodiment Same design embodies realization process and is detailed in embodiment of the method, and which is not described herein again.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
The embodiment of the present application also provides a kind of computer storage medium, the computer storage medium can store more Item instruction, described instruction are suitable for being loaded by processor and being executed the method and step such as above-mentioned Fig. 2-embodiment illustrated in fig. 7, specifically hold Row process may refer to Fig. 2-embodiment illustrated in fig. 7 and illustrate, herein without repeating.
Present invention also provides a kind of computer program product, which is stored at least one instruction, At least one instruction is loaded as the processor and is executed to realize channel scanning method described in as above each embodiment.
Referring to Fig. 9, it illustrates the structural schematic diagram of website 9 involved in the embodiment of the present application, which can be used for The channel scanning method provided in above-described embodiment is provided.Specifically:
Website 9 includes memory 920, processor 980 and WiFi module 970, and WiFi module 970 is the wireless mould of the application Block.
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, thereby executing various function application and data processing.Memory 920 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal device According to (such as audio data, phone directory etc.) etc..In addition, memory 920 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 920 can also include Memory Controller, to provide processor 980 and input unit 930 to memory 920 access.
Processor 980 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part, by running or execute the software program and/or module that are stored in memory 920, and using being stored in storage Data in device 920 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.It can Choosing, processor 980 may include one or more processing cores;Wherein, processor 980 can integrate application processor and modulatedemodulate Adjust processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
WiFi belongs to short range wireless transmission technology, and terminal device can help user to receive and dispatch electricity by WiFi module 970 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.
Specifically in the present embodiment, website 9 includes memory and one or more than one program, wherein one A perhaps more than one program is stored in memory and is configured to state one by one or the execution of more than one processor Or more than one program includes for executing channel scanning method described in Fig. 2 to Fig. 7.
The embodiment of the present application and the embodiment of the method for Fig. 2 to Fig. 7 are based on same design, bring technical effect also phase Together, detailed process can refer to the embodiment of the method for method Fig. 2 to Fig. 7, and details are not described herein again.
Optionally, website 9 further includes display unit 940.Display unit 940 can be used for showing information input by user or The information of user and the various graphical user interface of terminal device are supplied to, these graphical user interface can be by figure, text Sheet, icon, video and any combination thereof are constituted.Display unit 940 may include display panel 941, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, it is organic Light emitting diode) etc. forms configure display panel 941.Further, touching device 931 can cover display panel 941, work as touching After touching the touch operation that device 931 detects on it or nearby, processor 980 is sent to determine the type of touch event, It is followed by subsequent processing device 980 and provides corresponding visual output on display panel 941 according to the type of touch event.Although in Fig. 9, Touching device 931 and display panel 941 are to realize input and input function as two independent components, but in certain realities It applies in example, touching device 931 and display panel 941 can be integrated and realizes and output and input function.
Optionally, website 9 further include: input unit 930.Input unit 930 can be used for receiving the number or character of input Information, and generate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal Input.Specifically, input unit 930 may include touching device 931 (such as: touch screen, touch tablet or touching box).Touching device 931, also referred to as touch display screen or Trackpad, collect user on it or nearby touch operation (such as user use The operation of any suitable object or attachment such as finger, stylus on touching device 931 or near touching device 931), and root Corresponding attachment device is driven according to preset formula.Optionally, touching device 931 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinate, then gives processor 980, and can receive order that processor 980 is sent and be executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touching device 931.
Optionally, website may include RF (Radio Frequency, radio frequency) circuit 910, include one or one with Memory 920, input unit 930, display unit 940, the sensor 950, voicefrequency circuit of upper computer readable storage medium 960, WiFi (wireless fidelity, Wireless Fidelity) module 960, include one or more than one processing core The components such as processor 980 and power supply 990.It will be understood by those skilled in the art that terminal device structure shown in Fig. 9 is simultaneously The restriction to terminal device is not constituted, may include perhaps combining certain components or not than illustrating more or fewer components Same component layout.Wherein:
RF circuit 910 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 980 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 910 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 910 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, including but not limited to 3GPP (3rd Generation Partnership Project, third For partner program, abbreviation 3GPP), 3GPP2 ((3rd Generation Partnership Project 2, the third generation close Make Partnership Program 2, abbreviation 3GPP2)), UMTS (Universal Mobile Telecommunications System, it is general Mobile communication system, abbreviation UMTS), LTE (Long Term Evolution, long term evolution, abbreviation LTE), LTE-A (LTE- Advanced, long-term evolution upgrading version, abbreviation LTE-A), WIMAX ((Worldwide Interoperability for Microwave Access, worldwide interoperability for microwave accesses, abbreviation WIMAX), HSDPA (High Speed Downlink Packet Access, high-speed slender body theory, abbreviation HSDPA), HSUPA (High Speed Uplink Packet Access, high speed Upstream packet access, abbreviation HSUPA), TDMA (Time Division Multiple Access, time division multiple acess access, referred to as TDMA), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access, abbreviation WCDMA), GSM (Global System for Mobile Communication, global system for mobile communications, abbreviation GSM, electricity Sub- mail, SMS (Short Messaging Service, short message service) etc..
Optionally, website 9 may also include at least one sensor 950, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 941, and proximity sensor can close when terminal device is moved in one's ear Display panel 941 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect (one in all directions As be three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify terminal device posture It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function Hit) etc.;Other biographies such as gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as terminal device Sensor, details are not described herein.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the audio interface between user and terminal device.Sound Electric signal after the audio data received conversion can be transferred to loudspeaker 961, be converted to by loudspeaker 961 by frequency circuit 960 Voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is received by voicefrequency circuit 960 After be converted to audio data, then by after the processing of audio data output processor 980, be sent to through RF circuit 910 such as another Terminal device, or audio data is exported to memory 920 to be further processed.Voicefrequency circuit 960 is also possible that ear Tip jack, to provide the communication of peripheral hardware earphone and terminal device.
Optionally, website 9 further includes the power supply 990 (such as battery) powered to all parts, wherein power supply can pass through Power-supply management system and processor 980 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.Power supply 990 can also include one or more direct current or AC power source, recharging system, power supply The random components such as fault detection circuit, power adapter or inverter, power supply status indicator.
Optionally, website 9 can also include camera 991, bluetooth module etc., wherein camera 991 is used for ring around Border is exposed to obtain frame image, and in a kind of mode, which passes to processing for the parameter for the frame image that exposure obtains Device 980 generates the picture that can show user so that the processor 980 processing such as denoises, enhances to the frame image;Again In a kind of optional scheme, which has carried image processor chip, which can be to the frame image Preliminary treatment is done, processed data is being passed into the processor 980 so that the processing after doing preliminary treatment to the frame image 980 final production of device can show the image of user.Further, the quantity of the camera 991 can also be with for one It is multiple.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the application, cannot limit the power of the application with this certainly Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the application Benefit requires made equivalent variations, still belongs to the scope covered by the invention.

Claims (14)

1. a kind of channel scanning method, which is characterized in that the described method includes:
Preset short cycle sweep time then, obtain last time scan channel after channel set;Wherein, the short cycle channel Sweep time is the time for executing short cycle scan channel;
Access is scanned on the channel that channel parameter information meets screening conditions in the channel set after the last time scan channel Point;Wherein, the screening conditions include not scanning the number of access point continuously on channel less than preset times.
2. the method according to claim 1, wherein further include:
The channel parameter information of each channel in channel set after updating the last time scan channel according to channel scan results, Channel set after obtaining this scan channel after update.
3. method according to claim 1 or 2, which is characterized in that further include:
Preset long period sweep time then, obtains all channel set and carries out long period letter according to all channel set Road scanning;This secondary channel is obtained according to the channel parameter information that channel scan results update each channel in all channel set Channel set after scanning;Wherein, the long period channel scan time is the time of executive chairman's periodic channel scanning, the length The period of periodic channel scanning is greater than the period of the short cycle scan channel.
4. according to the method described in claim 2, it is characterized in that, the channel parameter information includes the first parameter, described the The initial value of one parameter indicates the maximum value for not scanning access point continuously on channel;
The channel parameter of each channel in the channel set updated according to channel scan results after the last time scan channel Information, comprising:
If access point is arrived in scanning on channel, the value of the first parameter of the channel is reset into the initial value;
If not scanning access point on channel, the value of the first parameter of the channel is reduced into preset step-length value.
5. according to the method described in claim 4, it is characterized in that, in the channel set after the last time scan channel Channel parameter information, which meets, scans access point on the channel of screening conditions, comprising:
The value of the first parameter is selected to be greater than the channel of first threshold in the channel set after the last time scan channel;Wherein, The first threshold is less than the initial value of first parameter;
Access point is scanned on the channel of selection.
6. method according to claim 4 or 5, feature exist, the acquisition all channel set and according to the full letter Road set carries out long period scan channel;The channel ginseng of each channel in all channel set is updated according to channel scan results Number information obtain the channel set after this scan channel
Obtain all channel set;Wherein, the value of the first parameter of each channel is equal to the initial value in all channel set;
Access point is scanned on each channel in all channel set;
If detecting access point on channel, the value of the first parameter of the channel is reset into the initial value;
If access point is not detected on channel, the value of the first parameter of the channel is reduced into the preset step-length value.
7. according to the method described in claim 2, it is characterized in that, the channel parameter information includes the second parameter, described the The value of two parameters indicates the number for not scanning access point continuously on channel;
The channel parameter of each channel, packet in channel set after the update last time scan channel according to channel scan results It includes:
If not scanning access point on channel, the value of the second parameter of the channel is increased into preset step-length value;
If access point is arrived in scanning on channel, the value of the second parameter of the channel is reset into initial value.
8. the method according to the description of claim 7 is characterized in that the channel in the channel set of last time scan channel is joined Number information, which meets, scans access point on the channel of screening conditions, comprising:
The value of the second parameter is selected to be less than the channel of second threshold in the channel set after the last time scan channel;Wherein, The second threshold is greater than the initial value of second parameter;
Access point is scanned on the channel of selection.
9. method according to claim 7 or 8, which is characterized in that the acquisition all channel set and according to described complete Channel set carries out long period scan channel;The channel of each channel in all channel set is updated according to channel scan results Parameter information obtains the channel set after this scan channel
Obtain all channel set;Wherein, the value of the second parameter of each channel is the initial value in all channel set;
Long period scan channel is carried out according to all channel set;
If access point is arrived in scanning on channel, the value of the second parameter of the channel is set to the initial value;
If not scanning access point on channel, the value of the second parameter of the channel is increased into preset step-length value.
10. according to claim 1 to method described in 9 any one, which is characterized in that execute short cycle scan channel or long week The website of phase scan channel is in connection state.
11. according to claim 1 to method described in 10 any one, which is characterized in that further include:
If secondary channel scans headed by this scan channel, scanned according to all channel set executive chairman's periodic channel.
12. a kind of channel scanning device characterized by comprising
Acquiring unit, then for preset short cycle sweep time, the channel set after obtaining last time scan channel;Wherein, The short cycle channel scan time is the time for executing short cycle scan channel;
Scanning element, in the channel set after last time scan channel channel parameter information meet the channels of screening conditions Scan access point;Wherein, the screening conditions include not scanning the number of access point continuously on channel less than preset times.
13. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with a plurality of instruction, the finger It enables and is suitable for being loaded by processor and being executed the method and step such as claim 1~11 any one.
14. a kind of electronic equipment characterized by comprising processor, memory and wireless module;Wherein, the memory is deposited Computer program is contained, the computer program is suitable for being loaded by the processor and being executed as claim 1~11 is any one The method and step of item.
CN201910476025.1A 2019-06-03 2019-06-03 Channel scanning method, device, storage medium and electronic equipment Active CN110234152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910476025.1A CN110234152B (en) 2019-06-03 2019-06-03 Channel scanning method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910476025.1A CN110234152B (en) 2019-06-03 2019-06-03 Channel scanning method, device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110234152A true CN110234152A (en) 2019-09-13
CN110234152B CN110234152B (en) 2021-06-18

Family

ID=67859210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910476025.1A Active CN110234152B (en) 2019-06-03 2019-06-03 Channel scanning method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110234152B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698742A (en) * 2020-06-08 2020-09-22 锐捷网络股份有限公司 Data communication method, terminal device, electronic device, and computer storage medium
CN111970181A (en) * 2020-08-27 2020-11-20 深圳市欧瑞博科技股份有限公司 Network distribution method and device for intelligent household equipment, electronic equipment and storage medium
WO2022056883A1 (en) * 2020-09-18 2022-03-24 Arris Enterprises Llc Single-carrier quadrature amplitude modulation (sc-qam) downstream channel fast pre-scanning
WO2022174722A1 (en) * 2021-02-19 2022-08-25 Oppo广东移动通信有限公司 Wifi signal scanning method and apparatus, and terminal and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123552A (en) * 2007-09-20 2008-02-13 杭州华三通信技术有限公司 An access point and wireless scanning method for this access point
CN101662796A (en) * 2009-09-08 2010-03-03 杭州华三通信技术有限公司 Method and device for scanning wireless local area network (LAN) channels
CN101772980A (en) * 2007-07-31 2010-07-07 日本电气株式会社 Wireless LAN terminal and access point searching method
CN102457942A (en) * 2010-10-29 2012-05-16 中兴通讯股份有限公司 Method and system for scanning channel in wireless network
US20130188621A1 (en) * 2007-02-28 2013-07-25 Qualcomm Incorporated Neighbor discovery in a wireless system
US20130308512A1 (en) * 2012-05-17 2013-11-21 Samsung Electronics Co. Ltd. Portable terminal and method for scanning access points
US20140010157A1 (en) * 2012-07-06 2014-01-09 Htc Corporation Method and wireless communication device for conveying neighbor access point information
CN104602324A (en) * 2015-01-27 2015-05-06 广东欧珀移动通信有限公司 Wireless access point scanning method and device and terminal device
CN106412326A (en) * 2016-10-28 2017-02-15 广东欧珀移动通信有限公司 Parameter adjusting method of terminal equipment and terminal equipment
CN107094315A (en) * 2017-04-24 2017-08-25 北京星网锐捷网络技术有限公司 Scan channel collocation method and device
CN109660990A (en) * 2019-02-18 2019-04-19 上海连尚网络科技有限公司 Method and apparatus for scanning wireless access point

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130188621A1 (en) * 2007-02-28 2013-07-25 Qualcomm Incorporated Neighbor discovery in a wireless system
CN101772980A (en) * 2007-07-31 2010-07-07 日本电气株式会社 Wireless LAN terminal and access point searching method
CN101123552A (en) * 2007-09-20 2008-02-13 杭州华三通信技术有限公司 An access point and wireless scanning method for this access point
CN101662796A (en) * 2009-09-08 2010-03-03 杭州华三通信技术有限公司 Method and device for scanning wireless local area network (LAN) channels
CN102457942A (en) * 2010-10-29 2012-05-16 中兴通讯股份有限公司 Method and system for scanning channel in wireless network
US20130308512A1 (en) * 2012-05-17 2013-11-21 Samsung Electronics Co. Ltd. Portable terminal and method for scanning access points
US20140010157A1 (en) * 2012-07-06 2014-01-09 Htc Corporation Method and wireless communication device for conveying neighbor access point information
CN104602324A (en) * 2015-01-27 2015-05-06 广东欧珀移动通信有限公司 Wireless access point scanning method and device and terminal device
CN106412326A (en) * 2016-10-28 2017-02-15 广东欧珀移动通信有限公司 Parameter adjusting method of terminal equipment and terminal equipment
CN107094315A (en) * 2017-04-24 2017-08-25 北京星网锐捷网络技术有限公司 Scan channel collocation method and device
CN109660990A (en) * 2019-02-18 2019-04-19 上海连尚网络科技有限公司 Method and apparatus for scanning wireless access point

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698742A (en) * 2020-06-08 2020-09-22 锐捷网络股份有限公司 Data communication method, terminal device, electronic device, and computer storage medium
CN111970181A (en) * 2020-08-27 2020-11-20 深圳市欧瑞博科技股份有限公司 Network distribution method and device for intelligent household equipment, electronic equipment and storage medium
WO2022056883A1 (en) * 2020-09-18 2022-03-24 Arris Enterprises Llc Single-carrier quadrature amplitude modulation (sc-qam) downstream channel fast pre-scanning
WO2022174722A1 (en) * 2021-02-19 2022-08-25 Oppo广东移动通信有限公司 Wifi signal scanning method and apparatus, and terminal and storage medium

Also Published As

Publication number Publication date
CN110234152B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN110234152A (en) Channel scanning method, device, storage medium and electronic equipment
CN104252341B (en) The client device of the skin change method of application program, device and application program
EP3793264A1 (en) Method for selecting nsa and sa networking modes and terminal device
CN105828145A (en) Interaction method and interaction device
CN109361592A (en) A kind of instant communication message processing method, device, equipment and storage medium
CN104199596B (en) scene interface switching method and device
CN103559731B (en) Method and terminal for displaying lyrics under screen locking state
CN108702605A (en) A kind of method and apparatus that wireless communication connection is established
CN109788546A (en) A kind of transmission method of timing-advance information, the network equipment and terminal
CN106293738A (en) The update method of a kind of facial expression image and device
CN109756977A (en) Accidental access method and user terminal
CN110209245A (en) Face identification method and Related product
CN106203459A (en) Image processing method and device
CN106453597B (en) The method of adjustment of data synchronizing cycles, apparatus and system
CN103677944B (en) A kind of method for making locking screen interface, device and terminal device
CN106951139A (en) Message notifying frame display methods and device
CN106332023A (en) Unread information display method and device, and mobile terminal
CN109062643A (en) A kind of display interface method of adjustment, device and terminal
CN105744600B (en) Communication network cut-in method and user equipment
CN106294108A (en) Applied program testing method and device
CN105635553A (en) Image shooting method and device
CN107635083A (en) The tinkle of bells method to set up, mobile terminal and readable storage medium storing program for executing
CN110493771A (en) Connection method, device, storage medium and the terminal device of data network
CN103473030B (en) A kind of method of process instruction, device and terminal device
CN110022405A (en) Radio frequency parameter method of adjustment, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant