CN106792993A - Channel scanning method and mobile terminal - Google Patents

Channel scanning method and mobile terminal Download PDF

Info

Publication number
CN106792993A
CN106792993A CN201611143062.3A CN201611143062A CN106792993A CN 106792993 A CN106792993 A CN 106792993A CN 201611143062 A CN201611143062 A CN 201611143062A CN 106792993 A CN106792993 A CN 106792993A
Authority
CN
China
Prior art keywords
access point
base station
mobile terminal
station cell
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611143062.3A
Other languages
Chinese (zh)
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 CN201611143062.3A priority Critical patent/CN106792993A/en
Publication of CN106792993A publication Critical patent/CN106792993A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of channel scanning method and mobile terminal, including:The historical connection information of the first access point is obtained, the first access point is any one in the access point set of history connection, and the historical connection information of the first access point includes the channel number of the first access point;The channel number of the first access point is selected to be scanned;When scanning is to the first access point, the first access point is accessed.The embodiment of the present invention can improve the speed that mobile terminal connects access point.

Description

Channel scanning method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of channel scanning method and mobile terminal.
Background technology
Current most mobile-terminal platform (such as ios platform, Android platform etc.) is all equipped with WiFi chip, props up Connection access point (Access Point, AP) is held to surf the Net.Generally, mobile terminal can be carried out complete after WiFi is opened Band scan (being scanned to each channel in full frequency band) finds AP, when AP is found, accesses the net of AP connections Network.However, because each scan channel is required for the regular hour, therefore the method for full band scan can cause mobile terminal to connect The speed of upper AP is slower.
The content of the invention
A kind of channel scanning method and mobile terminal are the embodiment of the invention provides, connects AP's to solve mobile terminal Slow problem.
Embodiment of the present invention first aspect provides a kind of channel scanning method, including:
The historical connection information of the first access point is obtained, first access point is in the access point set of history connection Any one, the historical connection information of first access point includes the channel number of first access point;
The channel number of first access point is selected to be scanned;
When scanning is to first access point, first access point is accessed.
Embodiment of the present invention second aspect provides a kind of mobile terminal, including:Processing unit and communication unit, wherein:
The processing unit is used to obtain the historical connection information of the first access point, and first access point is connected for history Access point set in any one, the historical connection information of first access point includes the channel of first access point Number;And select the channel number of first access point to be scanned;And when scanning is to first access point, using institute State communication unit and access first access point.
The embodiment of the present invention third aspect provides a kind of mobile terminal, including:
Processor, memory, communication interface, the processor are connected with the memory and the communication interface;
The memory storage has executable program code, and the communication interface is used for radio communication;
The processor is used to call the executable program code in the memory, performs the embodiment of the present invention the On the one hand the method described by.
In the embodiment of the present invention, mobile terminal, can going through according to the access point of history connection when scan channel is carried out History link information, selects the channel number of the access point of above-mentioned history connection to be scanned, and access the access of above-mentioned history connection Point in any one.The history connection of the access point that the embodiment of the present invention can be connected according at least one history of mobile terminal Information selection is scanned to the channel number of access point of above-mentioned at least one history connection, so as to quickly access it is above-mentioned at least Any one in the access point of one history connection, the embodiment of the present invention improves mobile terminal without be scanned to full frequency band Connect the speed of access point.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of channel scanning method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another channel scanning method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another channel scanning method provided in an embodiment of the present invention;
Fig. 4 A are a kind of functional unit composition block diagrams of mobile terminal disclosed in the embodiment of the present invention;
Fig. 4 B are a kind of structural representations of mobile terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another mobile terminal disclosed in the embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are for distinguishing Different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and their any deformations, it is intended that It is to cover non-exclusive including.Process, method, system, product or the equipment for for example containing series of steps or unit do not have The step of having listed or unit are defined in, but alternatively also include the step of not listing or unit, or alternatively also wrapped Include for these processes, method, product or other intrinsic steps of equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Generally speaking, mobile terminal of the prior art open WiFi after, using the method for full band scan, for example, For example, in 2.4G frequency ranges, mobile terminal can channel be scanned one by one on full frequency band (i.e. channel number 1- channel numbers 14), when When finding access point (Access Point, AP) on certain channel, the network of AP connections is accessed.Because each scan channel is needed Want the regular hour, thus full band scan method can cause mobile terminal connect AP speed it is slower.The embodiment of the present invention Whether cell that can be according to where mobile terminal itself enters the access point of some or multiple history connections to speculate Coverage, if it is, the channel number of the access point of selection above-mentioned some or the connection of multiple history is scanned, so as to fast Speed is linked into the access point of above-mentioned some or the connection of multiple history, because the embodiment of the present invention to full frequency band without sweep Retouch, the speed that mobile terminal connects access point can be improved.
Additionally, the mobile terminal involved by the embodiment of the present invention can include it is various with the hand-held of wireless communication function Equipment, mobile unit, wearable device, computing device are connected to other processing equipments of radio modem, and respectively The user equipment (User Equipment, UE) of the form of kind, mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
The embodiment of the present invention is described in detail below.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of channel scanning method provided in an embodiment of the present invention, such as figure institute Show, the channel scanning method comprises the following steps.
S101, the historical connection information of the access point of acquisition for mobile terminal first, the first access point is the access of history connection Any one in point set, the historical connection information of the first access point includes the channel number of the first access point.
In the embodiment of the present invention, mobile terminal is connected to after access point (Access Point, AP) each time, can all remember Record the link information (for example, the channel number for the channel that this AP is used) of this AP.In the nonvolatile memory of mobile terminal The history connection letter such as APN, channel number of access point of all of access point that can be connected with memory mobile terminal history Breath.When mobile terminal needs connection WiFi, all of access point of history connection is obtained first from nonvolatile memory The historical connection information such as APN, the channel number of access point.
Optionally, step S101 can include:
Mobile terminal obtains the historical connection information of the first access point from network log.
Wherein, after mobile terminal connects access point each time, all can the link information of this access point (access point Title, channel number of access point etc.) on network log, subsequent movement terminal needs to obtain the link information of access point record When, can from network log direct access.Network log can be stored in the nonvolatile memory of mobile terminal.
S102, mobile terminal selects the channel number of the first access point to be scanned.
S103, when scanning is to the first access point, mobile terminal accesses the first access point.
In the embodiment of the present invention, after the channel number of the access point of acquisition for mobile terminal first, the letter of the first access point is selected Taoist monastic name is scanned.If the channel number of the first access point AP1 is 1, (frequency range of channel 1 is mobile terminal selection channel 1 2401-2423MHz, centre frequency is 2412MHz) it is scanned, when mobile terminal is scanned to the first access point AP1 in channel 1 When, you can access the first access point AP1.It is mobile whole if mobile terminal is not scanned to the first access point AP1 in channel 1 End is scanned one by one to other channel numbers on full frequency band in addition to channel 1.
Implement the method shown in Fig. 1, the history of the access point that can be connected according at least one history of mobile terminal connects Information selection is connect to be scanned the channel number of access point of above-mentioned at least one history connection, so as to quickly access it is above-mentioned extremely Any one in the access point of few history connection.The embodiment of the present invention improves mobile whole without being scanned to full frequency band End connects the speed of access point.
Fig. 2 is referred to, Fig. 2 is the schematic flow sheet of another channel scanning method provided in an embodiment of the present invention, such as schemed Shown, the channel scanning method comprises the following steps.
The channel number of S201, the corresponding base station cell mark of the access point of acquisition for mobile terminal first and the first access point, First access point is any one in the access point set of history connection.
In the embodiment of the present invention, mobile terminal is connected to after access point (Access Point, AP) each time, can all remember Record the channel number of the channel that corresponding base station cells mark (CellID) of this AP and this AP are used.Mobile terminal it is non-easily APN, the corresponding base of access point of all of access point that can be connected with memory mobile terminal history in the property lost memory Stand the channel number of cell ID and access point.When mobile terminal needs connection WiFi, first from nonvolatile memory Obtain the letter of the APN, the corresponding base station cell mark of access point and access point of all of access point of history connection Taoist monastic name.Table 1 is referred to, table 1 is the link information table of the access point set that the present invention implements a kind of disclosed history connection.
Table 1
APN The corresponding base station cell mark of access point The channel number of access point
AP1 CellID1 1
AP2 CellID2 4
AP3 CellID3 7
AP4 CellID4 11
AP5 CellID1 13
AP6 CellID1 7
AP7 CellID5 5
The corresponding base station cell marks of AP can be understood as:When the geographical position where AP is in the covering of certain base station cell When lower, the corresponding base station cells of the AP are designated the mark of above-mentioned certain base station cell;The corresponding base station cell marks of AP may be used also To be interpreted as:As the upper AP of mobile terminal connection, it is small that the base station cell mark where mobile terminal is the corresponding base stations of the AP Area identifies.For example, if the access point set of mobile terminal history connection includes AP1, AP2, AP3 and AP4, AP1 is corresponding Base station cell is designated CellID1, and the corresponding base station cells of AP2 are designated CellID2, and the corresponding base station cells of AP3 are designated The corresponding base station cell of CellID3, AP4 is designated CellID4.
The channel number of the channel that the channel number of AP, i.e. AP are used.For example, in 2.4G frequency ranges, a total of 14 letters of full frequency band Road (channel 1, channel 2, channel 3 ... channel 14), AP can use any one in 14 channels.In general, when one After AP is installed, the channel number that this AP is used is changeless.For example, the access point set of mobile terminal history connection Including AP1, AP2, AP3 and AP4, (frequency range of channel 1 is 2401-2423MHz, and centre frequency is for 1 for the channel number of AP1 2412MHz), the channel number of AP2 is 4 (frequency range of channel 4 is 2416-2438MHz, and centre frequency is 2427MHz), AP3 Channel number (frequency range of channel 7 is 2431-2453MHz, and centre frequency is 2442MHz), the channel number of AP4 are 11 for 7 (frequency range of channel 11 is 2451-2473MHz, and centre frequency is 2462MHz).
Optionally, step S201 can include:
Mobile terminal obtains the first access point corresponding base station cell mark and the first access point from network log Channel number.
Wherein, after mobile terminal connects access point each time, all can the link information of this access point (access point The corresponding base station cell mark of title, access point, channel number of access point etc.) record on network log, subsequent movement terminal Need obtain access point link information when, can from network log direct access.Network log can be stored mobile whole In the nonvolatile memory at end.
S202, mobile terminal judges that the base station cell of current connection identifies base station cell mark corresponding with the first access point It is whether identical;If so, step S203- step S204 are then performed, if it is not, then performing step S205.
S203, mobile terminal selects the channel number of the first access point to be scanned.
S204, when scanning is to the first access point, mobile terminal accesses the first access point.
In the embodiment of the present invention, mobile terminal can obtain the base station cell mark of itself current connection, and judge current Any one access point (such as the first access point AP1) in the access point that the base station cell mark of connection is connected with mobile terminal history Corresponding base station cell identifies whether identical.If identical, show that mobile terminal is highly likely to enter some of history connection The coverage of access point.If the access point that the base station cell mark of mobile terminal currently connection is connected with mobile terminal history In the first access point AP1 base station cell mark it is identical, then mobile terminal connects the possibility of upper first access point AP1 most Greatly.If the channel number of the first access point AP1 is 1, (frequency range of channel 1 is 2401- to mobile terminal selection channel 1 2423MHz, centre frequency is 2412MHz) it is scanned, when mobile terminal is scanned to the first access point AP1 in channel 1, i.e., Can access the first access point AP1.If mobile terminal is not scanned to the first access point AP1 in channel 1, mobile terminal is to complete Other channel numbers in frequency range in addition to channel 1 are scanned one by one.
S205, mobile terminal is scanned one by one to all channel numbers on full frequency band.
In the embodiment of the present invention, when mobile terminal judges that the base station cell mark of current connection is connected with mobile terminal history All access points corresponding all base station cells mark when being different from, then show that mobile terminal is not at appointing for history connection One coverage of access point, mobile terminal uses common full frequency band channel scanning method, to all letters on full frequency band Taoist monastic name is scanned one by one.For example, in 2.4G frequency ranges, a total of 14 channels of full frequency band (channel 1, channel 2, channel 3 ... letter Road 14), then mobile terminal is scanned one by one from channel 1 to channel 14, until scanning to AP, you can access the AP.
Implement the method shown in Fig. 2, cell that can be according to where mobile terminal speculates it is a certain whether itself enters The coverage of the access point of individual or multiple history connection, if it is, selection above-mentioned some or multiple history connections connect The channel number of access point is scanned, and to quickly access the access point of above-mentioned some or the connection of multiple history, the present invention is real Example is applied without being scanned to full frequency band, the speed that mobile terminal connects access point is improved.
Fig. 3 is referred to, Fig. 3 is the schematic flow sheet of another channel scanning method provided in an embodiment of the present invention.Fig. 3 is Further optimize what is obtained on the basis of Fig. 2, as shown in figure 3, the channel scanning method comprises the following steps.
The channel number of S301, the corresponding base station cell mark of the access point of acquisition for mobile terminal first and the first access point, First access point is any one in the access point set of history connection.
S302, mobile terminal judges that the base station cell of current connection identifies base station cell mark corresponding with the first access point It is whether identical;If so, step S303- step S305 are then performed, if it is not, then performing step S306.
S303, if the base station cell mark of current connection base station corresponding with least two access points accessed in point set Cell ID is identical, and the first access point is determined from least two access points, wherein, the first access point is at least two access points The access point of middle highest priority.
During the present invention is implemented, if in the base station cell access point set that is connected with history of mark of mobile terminal currently connection At least two access points corresponding base station cell mark it is identical, then determine highest priority from above-mentioned at least two access point Access point.For example, by taking table 1 as an example, if the base station cell mark of current connection and AP1, the AP5 accessed in point set and The corresponding base station cell marks of AP6 are identical, then the access point of highest priority is determined from AP1, AP5 and AP6, if AP1 Highest priority, the channel number (channel 1) of mobile terminal selection AP1 is scanned.If mobile terminal is on the channel number of AP1 Without scanning to AP1, then it is scanned on the channel number of AP5 and AP6 (for example, the highest priority first in AP5 and AP6 Access point channel number on be scanned, or in AP5 and AP6 randomly choose an access point channel number swept Retouch), until scanning to AP.
Wherein, the priority of access point can be based on the accumulative connection number of times of access point, add up connection duration, is most recently connected One or more determinations in time.For example, the priority of access point can be determined according to the accumulative connection number of times of access point, tire out The highest priority of the most access point of meter connection number of times;Or access point can be determined according to the accumulative connection duration of access point Priority, add up the highest priority of connection duration access point most long;Or it is most recently connected time gap current time most The highest priority of near access point.
S304, mobile terminal selects the channel number of the first access point to be scanned.
S305, when scanning is to the first access point, mobile terminal accesses the first access point.
S306, mobile terminal is scanned one by one to all channel numbers on full frequency band.
Step 301 to step 302 in the embodiment of the present invention may refer to step 201 shown in Fig. 2 to step 202, step Rapid 304 to step 306 may refer to step 203 shown in Fig. 2 to step 205, and the embodiment of the present invention is repeated no more.
Method shown in implementing Fig. 3, cell that can be according to where mobile terminal speculates it is a certain whether itself enters The coverage of the access point of individual or multiple history connection, if it is, selection above-mentioned some or multiple history connections connect The channel number of the access point of highest priority is scanned in access point, to quickly access the highest priority that history is connected Access point, the embodiment of the present invention improves the speed that mobile terminal connects access point without being scanned to full frequency band.
It is above-mentioned that the scheme of the embodiment of the present invention is described from the angle of method side implementation procedure mainly.It is appreciated that , mobile terminal in order to realize above-mentioned functions, it comprises perform the corresponding hardware configuration of each function and/or software mould Block.Those skilled in the art should be readily appreciated that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, it is of the invention to be realized with the combining form of hardware or hardware and computer software.Certain function actually with Hardware or computer software drive the mode of hardware to perform, depending on the application-specific and design constraint bar of technical scheme Part.Professional and technical personnel can realize described function using distinct methods to each specific application, but this reality Now it is not considered that beyond the scope of this invention.
The embodiment of the present invention can carry out the division of functional unit according to above method example to mobile terminal, for example, can Each functional unit is divided to correspond to each function, it is also possible to which two or more functions are integrated in a processing unit In.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.Need It is noted that the division in the embodiment of the present invention to unit is schematical, only a kind of division of logic function, it is actual real There can be other dividing mode now.
Using in the case of integrated unit, Fig. 4 A show one kind of involved mobile terminal in above-described embodiment Possible structural representation.Mobile terminal 400 includes:Processing unit 402 and communication unit 403.Processing unit 402 is used for moving The action of dynamic terminal is controlled management, for example, processing unit 402 is used to support that mobile terminal performs the step S101 in Fig. 1 Step S301 to 306 in step S201 to S205, Fig. 3 into S103, Fig. 2 and/or for techniques described herein Other processes.Communication unit 403 is used to support the communication of mobile terminal and other equipment, for example with mobile communications network in base Communication between standing.Mobile terminal can also include memory cell 401, for the program code and data of memory mobile terminal.
Wherein, processing unit 402 can be processor or controller, for example, can be central processing unit (Central Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP), Application specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array It is (Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hard Part part or its any combination.What it can realize or perform with reference to described by the disclosure of invention various exemplary patrols Collect square frame, module and circuit.The processor can also be the combination for realizing computing function, such as comprising one or more micro- places Reason device combination, combination of DSP and microprocessor etc..Communication unit 403 can be communication interface, transceiver, transmission circuit etc., Wherein, communication interface is to be referred to as, and can include one or more interfaces.Memory cell 401 can be memory.
When processing unit 402 is processor, communication unit 403 is communication interface, when memory cell 401 is memory, this Mobile terminal involved by inventive embodiments can be the mobile terminal shown in Fig. 4 B.
Refering to shown in Fig. 4 B, the mobile terminal 410 includes:Processor 412, communication interface 413, memory 411.It is optional , mobile terminal 410 can also include bus 414.Wherein, communication interface 413, processor 412 and memory 411 can lead to Bus 414 is crossed to be connected with each other;Bus 414 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or EISA (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The bus 414 can be divided into address bus, data/address bus, controlling bus etc.. For ease of representing, only represented with a thick line in Fig. 4 B, it is not intended that only one bus or a type of bus.
Mobile terminal shown in above-mentioned Fig. 4 A or Fig. 4 B is it can be appreciated that a kind of device for mobile terminal, the present invention Embodiment is not limited.
The embodiment of the present invention additionally provides another mobile terminal, as shown in figure 5, for convenience of description, illustrate only with The related part of the embodiment of the present invention, particular technique details is not disclosed, and refer to present invention method part.The movement Terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that mobile terminal is as mobile phone as an example:
Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 5 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit 940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980, And the grade part of power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 5 is not constituted to mobile phone Limit, part more more or less than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 5:
RF circuits 910 can be used for the reception of information and transmission.Generally, RF circuits 910 include but is not limited to antenna, at least one Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 910 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is many Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used to store software program and module, and processor 980 is by running storage in memory 920 Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 920 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (program of scan channel etc.) etc.;Storage data field can be stored and use created data (such as history company according to mobile phone Access point set for connecing etc.) etc..Additionally, memory 920 can include high-speed random access memory, can also include non-volatile Property memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 930 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with And the relevant key signals input of function control.Specifically, input block 930 may include fingerprint recognition module 931 and other are defeated Enter equipment 932.Fingerprint recognition module 931, can gather user's finger print data thereon.Except fingerprint recognition module 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control One kind in screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Or it is various.
Display unit 940 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 941.Although in Figure 5, fingerprint recognition module 931 and display screen 941 are to realize mobile phone as two independent parts Input and input function, but it is in some embodiments it is possible to fingerprint recognition module 931 is integrated and real with display screen 941 The input of existing mobile phone and playing function.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 951, proximity transducer can when mobile phone is moved in one's ear, close display screen 951 and/or Backlight.Used as one kind of motion sensor, (generally three axles) acceleration is big in the detectable all directions of accelerometer sensor It is small, size and the direction of gravity are can detect that when static, can be used to recognize application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Be can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data conversion that road 960 will can receive, is transferred to loudspeaker 961, and sound is converted to by loudspeaker 961 Signal is played;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to voice data, then after voice data playback process device 980 is processed, through RF circuits 910 to be sent to such as another mobile phone, Or play to memory 920 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform software program of the storage in memory 920 and/or module, and call storage in memory 920 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can be wrapped Include one or more processing units;Preferably, processor 980 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone also includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe Reason system is logically contiguous with processor 980, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..
In embodiment shown in 1~Fig. 3 of earlier figures, the structure that each step method flow can be based on the mobile phone is realized.
In embodiment shown in earlier figures 4A, the structure that each unit function can be based on the mobile phone is realized.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, the part or all of step including any channel scanning method described in the above method embodiment when program is performed Suddenly.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of described unit is only one kind Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces, Can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use When, can store in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part or technical scheme contributed to prior art all or part can in the form of software product body Reveal and, the computer software product is stored in a memory, including some instructions are used to so that a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the invention Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable memory, memory Can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to principle of the invention and Implementation method is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept; Simultaneously for those of ordinary skill in the art, according to thought of the invention, can in specific embodiments and applications There is change part, in sum, this specification content should not be construed as limiting the invention.

Claims (13)

1. a kind of channel scanning method, it is characterised in that including:
The historical connection information of the first access point is obtained, first access point is any in the access point set of history connection Individual, the historical connection information of first access point includes the channel number of first access point;
The channel number of first access point is selected to be scanned;
When scanning is to first access point, first access point is accessed.
2. method according to claim 1, it is characterised in that the historical connection information of first access point includes described The corresponding base station cell mark of first access point, after the historical connection information for obtaining the first access point, methods described is also Including:
Judge that the current base station cell mark base station cell corresponding with first access point for connecting identifies whether identical;
If so, the step of channel number for then performing selection first access point is scanned.
3. method according to claim 2, it is characterised in that the base station cell mark of the judgement currently connection with it is described The corresponding base station cell of first access point identify whether it is identical after, methods described also includes:
If the base station cell of current connection identifies base station cell corresponding with least two access points in described access point set Mark is identical, and first access point is determined from least two access point, wherein, first access point for it is described extremely The access point of highest priority in few two access points.
4. method according to claim 3, it is characterised in that the priority of described access point is based on the accumulative company of access point Connect number of times, accumulative connection duration, one or more determinations being most recently connected in the time.
5. the method according to claim any one of 1-4, it is characterised in that the history connection of the access point of the acquisition first Information, including:
The historical connection information of first access point is obtained from network log.
6. the method according to claim any one of 2-5, it is characterised in that methods described also includes:
If the base station cell of current connection identifies base station cell mark corresponding with first access point and differs, select right All channel numbers on full frequency band are scanned one by one.
7. a kind of mobile terminal, it is characterised in that including:Processing unit and communication unit, wherein:
The processing unit is used to obtain the historical connection information of the first access point, and first access point is connecing for history connection Enter any one in point set, the historical connection information of first access point includes the channel number of first access point;With And select the channel number of first access point to be scanned;And when scanning is to first access point, using described logical Letter unit accesses first access point.
8. mobile terminal according to claim 7, it is characterised in that the historical connection information of first access point includes The corresponding base station cell mark of first access point, the processing unit is additionally operable to obtain the history connection letter of the first access point After breath, judge that the current base station cell mark base station cell corresponding with first access point for connecting identifies whether identical; And when the base station cell of the current connection identifies base station cell mark corresponding with first access point and differs, choosing The channel number for selecting first access point is scanned.
9. mobile terminal according to claim 8, it is characterised in that the processing unit is additionally operable to the base that ought currently connect When cell ID of standing base station cell mark corresponding with least two access points in described access point set is identical, from it is described to Determine first access point in few two access points, wherein, first access point is excellent at least two access point First level highest access point.
10. mobile terminal according to claim 9, it is characterised in that the priority of described access point is based on access point Accumulative connection number of times, accumulative connection duration, one or more determinations being most recently connected in the time.
11. mobile terminal according to claim any one of 7-10, it is characterised in that the processing unit obtains first and connects The mode of the historical connection information of access point is specially:
The processing unit obtains the historical connection information of first access point from network log.
12. mobile terminal according to claim any one of 8-11, it is characterised in that the processing unit is additionally operable to work as When the base station cell mark base station cell mark corresponding with first access point of preceding connection is differed, select on full frequency band All channel numbers be scanned one by one.
A kind of 13. mobile terminals, it is characterised in that including:
Processor, memory, communication interface, the processor are connected with the memory and the communication interface;
The memory storage has executable program code, and the communication interface is used for radio communication;
The processor is used to call the executable program code in the memory, performs as claim 1-6 is any Method described by.
CN201611143062.3A 2016-12-07 2016-12-07 Channel scanning method and mobile terminal Pending CN106792993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611143062.3A CN106792993A (en) 2016-12-07 2016-12-07 Channel scanning method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611143062.3A CN106792993A (en) 2016-12-07 2016-12-07 Channel scanning method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106792993A true CN106792993A (en) 2017-05-31

Family

ID=58880553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611143062.3A Pending CN106792993A (en) 2016-12-07 2016-12-07 Channel scanning method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106792993A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995672A (en) * 2017-12-13 2018-05-04 乐鑫信息科技(上海)有限公司 A kind of Wi-Fi selects the method and its system of optimal access point
CN108271142A (en) * 2018-01-04 2018-07-10 广东欧珀移动通信有限公司 Wireless Fidelity Wi-Fi scan methods and Related product
CN108419283A (en) * 2018-01-22 2018-08-17 宇龙计算机通信科技(深圳)有限公司 A kind of method and mobile terminal of WIFI hot spot scanning
CN108471622A (en) * 2018-06-12 2018-08-31 Oppo广东移动通信有限公司 WiFi connections method of adjustment, device, mobile terminal and storage medium
CN108668341A (en) * 2018-04-20 2018-10-16 Oppo广东移动通信有限公司 Method of controlling antenna and Related product
CN108811045A (en) * 2018-06-12 2018-11-13 Oppo广东移动通信有限公司 WiFi channel scanning methods, device, mobile terminal and storage medium
CN108924908A (en) * 2018-06-12 2018-11-30 Oppo广东移动通信有限公司 WiFi scan method, device and electronic device
CN112437500A (en) * 2020-11-03 2021-03-02 北京海林智能科技有限公司 Intelligent switch panel connection method, system, terminal and readable storage medium
CN114071653A (en) * 2020-07-29 2022-02-18 阿里巴巴集团控股有限公司 Gateway device, router scanning method and device, and electronic device
CN116761230A (en) * 2023-08-17 2023-09-15 Tcl通讯科技(成都)有限公司 Equipment network access method and device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448187A (en) * 2011-10-29 2012-05-09 华为终端有限公司 Method and terminal capable of automatically accessing Wi-Fi (Wireless Fidelity) network
CN104202834A (en) * 2014-09-22 2014-12-10 联想(北京)有限公司 Control method, controller and electronic equipment
CN105704770A (en) * 2016-04-20 2016-06-22 广东欧珀移动通信有限公司 Method and apparatus for intelligent access of wireless network
CN106162829A (en) * 2016-09-19 2016-11-23 青岛海信电器股份有限公司 WIFI method of attachment and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448187A (en) * 2011-10-29 2012-05-09 华为终端有限公司 Method and terminal capable of automatically accessing Wi-Fi (Wireless Fidelity) network
CN104202834A (en) * 2014-09-22 2014-12-10 联想(北京)有限公司 Control method, controller and electronic equipment
CN105704770A (en) * 2016-04-20 2016-06-22 广东欧珀移动通信有限公司 Method and apparatus for intelligent access of wireless network
CN106162829A (en) * 2016-09-19 2016-11-23 青岛海信电器股份有限公司 WIFI method of attachment and device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995672A (en) * 2017-12-13 2018-05-04 乐鑫信息科技(上海)有限公司 A kind of Wi-Fi selects the method and its system of optimal access point
CN108271142A (en) * 2018-01-04 2018-07-10 广东欧珀移动通信有限公司 Wireless Fidelity Wi-Fi scan methods and Related product
CN108419283A (en) * 2018-01-22 2018-08-17 宇龙计算机通信科技(深圳)有限公司 A kind of method and mobile terminal of WIFI hot spot scanning
CN108419283B (en) * 2018-01-22 2021-06-18 宇龙计算机通信科技(深圳)有限公司 WIFI hotspot scanning method and mobile terminal
CN108668341A (en) * 2018-04-20 2018-10-16 Oppo广东移动通信有限公司 Method of controlling antenna and Related product
CN108668341B (en) * 2018-04-20 2020-12-22 Oppo广东移动通信有限公司 Antenna control method and related product
CN108924908A (en) * 2018-06-12 2018-11-30 Oppo广东移动通信有限公司 WiFi scan method, device and electronic device
CN108811045A (en) * 2018-06-12 2018-11-13 Oppo广东移动通信有限公司 WiFi channel scanning methods, device, mobile terminal and storage medium
CN108811045B (en) * 2018-06-12 2021-03-02 Oppo广东移动通信有限公司 WiFi channel scanning method and device, mobile terminal and storage medium
CN108471622A (en) * 2018-06-12 2018-08-31 Oppo广东移动通信有限公司 WiFi connections method of adjustment, device, mobile terminal and storage medium
CN108471622B (en) * 2018-06-12 2021-08-17 Oppo广东移动通信有限公司 WiFi connection adjustment method and device, mobile terminal and storage medium
CN114071653A (en) * 2020-07-29 2022-02-18 阿里巴巴集团控股有限公司 Gateway device, router scanning method and device, and electronic device
CN112437500A (en) * 2020-11-03 2021-03-02 北京海林智能科技有限公司 Intelligent switch panel connection method, system, terminal and readable storage medium
CN116761230A (en) * 2023-08-17 2023-09-15 Tcl通讯科技(成都)有限公司 Equipment network access method and device, electronic equipment and computer readable storage medium
CN116761230B (en) * 2023-08-17 2023-12-15 Tcl通讯科技(成都)有限公司 Equipment network access method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106792993A (en) Channel scanning method and mobile terminal
CN107146616A (en) Apparatus control method and Related product
CN107332757A (en) Delete the method and Related product of PUSH message
CN107896119A (en) Antenna duplexer circuit and mobile terminal
CN106686626A (en) Setting method for Wi-Fi roaming and terminal equipment
CN107231159A (en) A kind of Radio frequency interference processing method, device, storage medium and terminal
CN106604314A (en) Network access method for Wi-Fi roaming and terminal device
CN106455027A (en) Network standard adjustment method and mobile terminal
CN106792819A (en) A kind of method and device of the power consumption for reducing mobile terminal
CN107071147A (en) A kind of parameter regulation means and equipment
CN106845422A (en) A kind of fingerprint recognition module, fingerprint identification method and mobile terminal
CN106569910A (en) Data backup and transmission method, and mobile terminal
CN108271142A (en) Wireless Fidelity Wi-Fi scan methods and Related product
CN107682825A (en) Scan frequency control method and Related product
CN107454640A (en) Network insertion switching method and Related product
CN106793010A (en) A kind of method for network access and equipment
CN106961710A (en) A kind of method for network access and terminal
CN106714277A (en) Network connection method and terminal
CN106708633A (en) Method for increasing WiFi workstation mode disabling speed of terminal, and mobile terminal
CN107977261A (en) Method, equipment, mobile terminal and the computer-readable storage medium of limiting process
CN107466015A (en) Access control method and Related product
CN106535188A (en) Access control method and mobile terminal
CN107181872A (en) Push message management method and related product
CN106454979A (en) Network type switching method and mobile terminal
CN106507447A (en) A kind of Wi Fi hotspot connection methods and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531