CN107708141A - A kind of scan method of wireless network, mobile terminal and storage medium - Google Patents

A kind of scan method of wireless network, mobile terminal and storage medium Download PDF

Info

Publication number
CN107708141A
CN107708141A CN201711202658.0A CN201711202658A CN107708141A CN 107708141 A CN107708141 A CN 107708141A CN 201711202658 A CN201711202658 A CN 201711202658A CN 107708141 A CN107708141 A CN 107708141A
Authority
CN
China
Prior art keywords
wireless network
currently connected
wireless
wireless networks
hardware address
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
CN201711202658.0A
Other languages
Chinese (zh)
Other versions
CN107708141B (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 CN201711202658.0A priority Critical patent/CN107708141B/en
Publication of CN107708141A publication Critical patent/CN107708141A/en
Application granted granted Critical
Publication of CN107708141B publication Critical patent/CN107708141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The application is applied to wireless communication technology field, there is provided a kind of scan method of wireless network, mobile terminal and storage medium, including:After wireless network is successfully connected to, the signal strength values of the wireless network currently connected are monitored;If the signal strength values of the wireless network currently connected are less than signal strength threshold, for the wireless network for confirming currently to connect with the presence or absence of associated other wireless networks, other wireless networks are the wireless network outside the wireless network currently connected;If the wireless network currently connected has associated other wireless networks, initiate to scan the event of other wireless networks, invalid scan event can be avoided by the application, so as to save electricity.

Description

A kind of scan method of wireless network, mobile terminal and storage medium
Technical field
The application belongs to wireless communication technology field, more particularly to a kind of scan method of wireless network, mobile terminal and Storage medium.
Background technology
With the development of information technology, the application of mobile terminal is more and more extensive.Mobile terminal can be wireless by connecting Network is surfed the Net, and realizes the functions such as shopping, consumption, Query Information, video communication.At present, WLAN compares main flow A kind of wireless networking mode.
WLAN has certain coverage, can be wireless by connecting in the coverage of WLAN LAN realizes function of surfing the Net, once mobile terminal leaves the coverage of WLAN, just occur poor signal or The problem of disconnection, this just needs to rescan other WLANs, to be connectable to other WLANs, however, mesh The mode of preceding Wlan scanning, it can additionally increase the internal memory of system.
The content of the invention
In view of this, the embodiment of the present application provides a kind of scan method of wireless network, mobile terminal and storage medium, To solve the problems, such as that the method for current mobile scanning terminal wireless network additionally increases Installed System Memory.
The first aspect of the embodiment of the present application provides a kind of scan method of wireless network, including:
After wireless network is successfully connected to, the signal strength values of the wireless network currently connected are monitored;
If the signal strength values of the wireless network currently connected are less than signal strength threshold, confirm currently to connect wireless For network with the presence or absence of associated other wireless networks, other wireless networks are the nothing outside the wireless network currently connected Gauze network;
If the wireless network currently connected has associated other wireless networks, initiate to scan other wireless networks The event of network.
The second aspect of the embodiment of the present application provides a kind of mobile terminal, including:
Monitoring modular, for after wireless network is successfully connected to, monitoring the signal intensity of the wireless network currently connected Value;
Confirm module, if the signal strength values of the wireless network for currently connecting are less than signal strength threshold, confirm For the wireless network currently connected with the presence or absence of associated other wireless networks, other wireless networks are the nothing currently connected Wireless network outside gauze network;
Scan module, if associated other wireless networks be present for the wireless network currently connected, initiate Scan the event of other wireless networks.
The third aspect of the embodiment of the present application provides a kind of mobile terminal, including memory, processor and is stored in In the memory and the computer program that can run on the processor, described in the computing device during computer program The step of realizing the methods described that the embodiment of the present application first aspect provides.
The fourth aspect of the embodiment of the present application provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, and the computer program realizes the embodiment of the present application when being executed by one or more processors On the one hand the step of methods described provided.
5th aspect of the embodiment of the present application provides a kind of computer program product, and the computer program product includes Computer program, the computer program realize that the embodiment of the present application first aspect provides when being executed by one or more processors Methods described the step of.
The embodiment of the present application monitors the signal intensity of the wireless network currently connected after wireless network is successfully connected to Value, if the signal strength values of the wireless network currently connected are less than signal strength threshold, confirms the wireless network currently connected With the presence or absence of associated other wireless networks, other wireless networks are the wireless network outside the wireless network currently connected Network, if the wireless network currently connected has associated other wireless networks, initiate to scan other wireless networks Event, due to when the signal loudness value of the wireless network currently connected is less than signal strength threshold, and indirect scanning is other Wireless network, but first determine the wireless network that currently connects with the presence or absence of associated other wireless networks, if in the presence of sending out The event of the other wireless networks of scanning is played, if being not present, other wireless networks need not be scanned, so, in the absence of can connect Wireless network in the case of, just without scanning, the problem of avoiding extra consumption Installed System Memory increase power consumption.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical scheme in the embodiment of the present application In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description are only some of the application Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of implementation process schematic diagram of the scan method for wireless network that the embodiment of the application one provides;
Fig. 2 is a kind of implementation process schematic diagram of the scan method for wireless network that the another embodiment of the application provides;
Fig. 3 is the schematic block diagram for the mobile terminal that the embodiment of the application one provides;
Fig. 4 is the schematic block diagram for the mobile terminal that the another embodiment of the application provides.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present application.However, it will be clear to one skilled in the art that there is no these specific The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
It should be appreciated that ought be in this specification and in the appended claims in use, special described by the instruction of term " comprising " Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As used in present specification and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical scheme described herein, illustrated below by specific embodiment.
Fig. 1 is the implementation process schematic diagram of the scan method for the wireless network that the embodiment of the application one provides, as shown in the figure This method may comprise steps of:
Step S101, after wireless network is successfully connected to, monitor the signal strength values of the wireless network currently connected.
In the embodiment of the present application, wireless network can be WLAN, when mobile terminal is successfully connected to wireless network Network represents that the mobile terminal accesses any one wireless access points (Wireless Access Point, AP), due to nothing Gauze network can all have certain coverage, and in the coverage of wireless network, mobile terminal is possible to be successfully connected institute State wireless network, when not in the coverage of the wireless network, may will because of signal intensity it is too weak the reason for without Method is successfully connected the wireless network.The distance change of the transmitting terminal of mobile terminal and wireless access points is likely to result in shifting The signal intensity value changes for the wireless network that dynamic terminal is connected, the signal strength values represent the nothing that the mobile terminal receives Line signal strength values (Received Signal Strength Indicator, RSSI).
Step S102, if the signal strength values of the wireless network currently connected are less than signal strength threshold, confirm current For the wireless network of connection with the presence or absence of associated other wireless networks, other wireless networks are the wireless network currently connected Wireless network outside network.
In the embodiment of the present application, can be with setting signal intensity threshold, the signal strength values of the wireless network currently connected During more than signal strength threshold, mobile terminal can be surfed the Net by the wireless network currently connected, the wireless network currently connected Signal strength values when being less than signal strength threshold, mobile terminal occurs when may be surfed the Net by the wireless network currently connected Unstable phenomenon.It is less than signal strength threshold in the signal strength values of the wireless network currently connected, it is necessary to confirm current The wireless network of connection is with the presence or absence of associated other wireless networks.The wireless network currently connected is associated other wireless Network can be the wireless network set in advance, for example, when mobile terminal and wireless network A are under connection status, it is mobile Terminal can also scan wireless network B, wireless network C, wireless network D, and wireless network B and wireless network D are the movements Terminal history connects into the wireless network of merits and demerits, then wireless network B and wireless network D can be arranged into wireless network A associates Other wireless networks.
It should be noted that the signal strength values of the wireless network currently connected do not mean that the wireless network currently connected The signal strength values of transmitting terminal, and refer to the signal strength values for the wireless network that mobile terminal receives, mobile terminal is with working as The distance between wireless network of preceding connection changes, and the signal strength values for the wireless network that mobile terminal receives can be caused to become Change.
Step S103, if the wireless network currently connected has associated other wireless networks, initiate scanning The event of other wireless networks.
In the embodiment of the present application, if wireless network A has the wireless network B and Wi-Fi D of association, can send out Play scan event, in order to be able to which scanning to wireless network B and wireless network D with wireless network B and wireless network D so as to establish Wireless connection, if other wireless networks that wireless network A is not associated, it may allow to scanning and arrive other wireless networks Network (such as wireless network E and wireless network F), but because user cannot connect to wireless network E and wireless network F, cause Unnecessary scan event, additionally increases Installed System Memory.
As an example, under domestic environment, the attachable wireless network of user only has the wireless network A of own home, and neighbours The wireless network E of family, user can not be successfully established with the wireless network E of neighbour's and be connected due to that can not know password, this In the case of, wireless network A can be not provided with other wireless networks of association, and the mobile terminal of instant user currently connects wireless The signal loudness value of network A is less than signal strength threshold, without scan event is initiated, because even the nothing of neighbour's is arrived in scanning Gauze network, can not also be successfully established wireless connection, can avoid the unnecessary scan event of mobile terminal by this way.
The embodiment of the present application is and non-straight due to when the signal loudness value of the network currently connected is less than signal strength threshold The other wireless networks of scanning are connect, but the wireless network for first determining currently to connect whether there is associated other wireless networks, If in the presence of initiation scans the event of other wireless networks, if being not present, other wireless networks need not be scanned, so, not In the case of attachable wireless network being present, just without scanning, extra consumption Installed System Memory increase power consumption is avoided Problem.
Fig. 2 is the schematic flow sheet of the scan method for the wireless network that the another embodiment of the application provides, and as shown in the figure should Method may comprise steps of:
Step S201, obtains the hardware address of other wireless networks associated by the wireless network currently connected, and will obtain The hardware address of the hardware address taken and the wireless network currently connected and the wireless network associated storage being currently connected.
In the embodiment of the present application, set wireless network associate other wireless networks when, can by with The media access control address of unique mark is used for representing each wireless network.Media access control (the Media Access Control or Medium Access Control, MAC) address, also referred to as physical address, hardware address.First Other wireless networks of the wireless network association currently connected are obtained, then obtain the hardware of other wireless networks of the association Address, the hardware address of the hardware address of other wireless networks of the association of acquisition and the wireless network currently connected is equal As the hardware address associated by the wireless network currently connected.
It is described to obtain other wireless networks associated by the wireless network that currently connects as the another embodiment of the application Hardware address includes:
Obtain the history scanning result being in the wireless network being currently connected under connection status;
Other wireless networks associated by the wireless network currently connected are obtained from the history scanning result Hardware address.
In the embodiment of the present application, other wireless networks of association can be set manually by user, can also be by working as When the wireless network of preceding connection is under connection status with mobile terminal, association is obtained in the history scanning result of mobile terminal Other wireless networks.
It is described that the wireless network currently connected is obtained from the history scanning result as the another embodiment of the application The hardware address of other wireless networks associated by network includes:
Obtained from the history scanning result homogeneous with the name and cipher mode of the wireless network being currently connected The hardware address of same other wireless networks.
In the embodiment of the present application, the name with the wireless network being currently connected can be obtained from history scanning result The hardware address of word and other wireless networks of cipher mode all same.For example, in some roaming scannings, it can roam and sweep The title and cipher mode for the wireless access points retouched are arranged to identical.So, when the accessing wirelessly access currently connected When the signal of point is deteriorated, it is possible to roam into the more preferable wireless access points of signal.However, this kind of roaming scanning needs The name of wireless access points that is mutually related and cipher mode are arranged to identical.So can be by from the history Obtained in scanning result and other wireless networks of the name of the wireless network being currently connected and cipher mode all same Hardware address is so as to associated with the wireless network currently connected.
It is described that the wireless network currently connected is obtained from the history scanning result as the another embodiment of the application The hardware address of other wireless networks associated by network includes:
The hardware address for the other wireless networks that can be connected automatically is obtained from the history scanning result, person saves The hardware address of other wireless networks of password or once connect into merits and demerits other wireless networks hardware address.
In the embodiment of the present application, the roaming scanning described in above-described embodiment can also be not restricted to, as long as current When the wireless network of connection is under connection status with mobile terminal, in the history scanning result of mobile terminal, it can connect automatically The other wireless networks connect, the other wireless networks for saving other wireless networks of password or being once successfully connected To be used as other wireless networks associated by the wireless network currently connected.Because above-mentioned three kinds of wireless networks are possible to current Application scenarios under successful connection.In this manner it is possible to by the hardware address for the other wireless networks that can be connected automatically, save The hardware address of other wireless networks of password or once connect into merits and demerits other wireless networks hardware address as work as The hardware address of the wireless network association of preceding connection.
By foregoing description, other wireless networks associated by the wireless network currently connected represent should in current With under scene, it is possible to can be with other wireless networks of mobile terminal successful connection.
Step S202, monitor the signal strength values of the wireless network currently connected.
The step is consistent with step S101 contents, specifically can refer to the description in step S101, will not be repeated here.
Step S203, if the signal strength values of the wireless network currently connected are less than signal strength threshold, confirm current Whether the number of the hardware address of the associated storage of the wireless network of connection is more than 1.
In the embodiment of the present application, due to by the wireless network currently connected with associated other wireless networks Hardware address is associated together, also, with not only including the hardware of other wireless networks of association in the hardware address associated Location further comprises the hardware address of the wireless network currently connected, it is therefore desirable to confirm associated by the wireless network that currently connects Whether the number of the hardware address of storage is more than 1, to be confirmed whether associated other wireless networks to be present.
Step S204, if the number of the hardware address associated by the wireless network currently connected is more than 1, initiate to scan it The event of its wireless network.
In the embodiment of the present application, due to by the hard of the hardware address of acquisition and the wireless network currently connected When part address is with the wireless network associated storage being currently connected, associated storage for the hardware address of the wireless network currently connected And the hardware address of other wireless networks associated by the wireless network currently connected, so, if what is currently connected is wireless Network exist association other wireless networks, then the hardware address at least two stored (wireless network currently connected it is hard The hardware address of other wireless networks of part address and at least one association), i.e., it is hard associated by the wireless network currently connected The number of part address is more than 1, and the wireless network for representing currently to connect has other Wi-Fis of association, then it is other to initiate scanning The event of wireless network.If the number of the hardware address associated by the wireless network currently connected is 0 or 1, table Show that the wireless network currently connected does not have related other wireless networks, the event of other wireless networks just scanned without initiation, If the number of the hardware address associated by the wireless network currently connected is 0, the not wireless network to currently connecting is represented Network carried out the associated storage of the hardware address of other wireless networks of association.If associated by the wireless network currently connected The number of hardware address is 1, although representing to carry out associated storage to the wireless network currently connected, due to no phase Other wireless networks of association, only store the MAC Address of the wireless network currently connected in itself.
Certainly, can also be only by other wireless networks associated by the wireless network currently connected in practical application Hardware address stores, when the wireless network for so confirming currently to connect is with the presence or absence of associated other wireless networks, only Only confirm how the hardware address of associated storage, specifically set, be not limited herein if whether there is.
Step S205, if other wireless networks that scanning associates to the wireless network currently connected, described in detection The signal strength values of other wireless networks of association.
Step S206, if the signal strength values of related other wireless networks are more than the letter of the wireless network currently connected Number intensity level, then the other wireless networks maximum into the signal strength values of other wireless networks of association initiate connection request.
In the embodiment of the present application, after initiating scan event, if associated by scanning to the wireless network currently connected Whether other wireless networks, the then signal strength values of the other wireless networks for the association for needing to confirm to scan are more than currently The signal strength values of the wireless network of connection, if the signal strength values of other wireless networks of the association scanned are small In the signal strength values of the wireless network currently connected, then connection request need not be initiated, if related other wireless networks Signal strength values are more than the signal strength values of wireless network currently connected, then to association other wireless networks signal intensity Maximum other wireless networks initiate connection request in value.
It is mobile whole when the embodiment of the present application from the wireless network currently connected with mobile terminal by being under connection status The hardware address of the acquisition other wireless networks associated with the wireless network currently connected in the history scanning record at end, and with The wireless network associated storage currently connected, it is less than signal strength threshold in the signal strength values of the wireless network currently connected When, whether the MAC Address associated by wireless network for confirming currently to connect contains other MAC Address, other MAC Address The hardware address of other wireless networks outside the hardware address for the wireless network that expression currently connects.If what is currently connected is wireless Whether the MAC Address associated by network contains other MAC Address, then it represents that nearby exist can successful connection other wireless networks Network, just initiate scan event.Also, the embodiment of the present application not only includes how to confirm nearby whether deposit under roaming scanning scene In attachable other wireless networks, it further comprises under non-roaming scanning scene, how to confirm nearby with the presence or absence of attachable Other wireless networks.So, by being confirmed whether attachable other wireless networks be present in advance, once current connection is avoided Wireless network signal intensity it is poor when just initiate scan event.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present application forms any limit with its function and internal logic It is fixed.
Fig. 3 is the schematic block diagram for the mobile terminal that the embodiment of the application one provides, and for convenience of description, is only shown and this Shen Please the related part of embodiment.
The mobile terminal 3 can be the software unit, hard being built in the mobile terminals such as mobile phone, tablet personal computer, notebook Part unit or the unit of soft or hard combination, the mobile phone, tablet personal computer, notebook etc. can also be integrated into as independent suspension member In mobile terminal.
The mobile terminal 3 includes:
Monitoring modular 31, for after wireless network is successfully connected to, the signal for monitoring the wireless network currently connected to be strong Angle value;
Module 32 is confirmed, if the signal strength values of the wireless network for currently connecting are less than signal strength threshold, really Recognize the wireless network currently connected currently to connect with the presence or absence of associated other wireless networks, other wireless networks Wireless network outside wireless network;
Scan module 33, if associated other wireless networks be present for the wireless network currently connected, send out Play the event of the other wireless networks of scanning.
Optionally, the mobile terminal 3 also includes:
Relating module 34, for obtaining the hardware address of other wireless networks associated by the wireless network currently connected, And the hardware address of the hardware address of acquisition and the wireless network currently connected is closed with the wireless network being currently connected Connection storage;
The confirmation module 32 is specifically used for:
Whether the number of the hardware address for the associated storage of wireless network for confirming currently to connect is more than 1;
The scan module 33 is specifically used for:
If the number of the hardware address associated by the wireless network currently connected is more than 1, initiate to scan other wireless networks The event of network.
Optionally, the relating module 34 includes:
History scanning result acquiring unit 341, it is in for obtaining with the wireless network being currently connected under connection status History scanning result;
Hardware address acquiring unit 342, for obtaining the wireless network currently connected from the history scanning result The hardware address of other wireless networks associated by network;
Associative cell 343, for by the hardware address of the hardware address of acquisition and the wireless network currently connected With the wireless network associated storage being currently connected.
Optionally, the hardware address acquiring unit 342 is additionally operable to:
Obtained from the history scanning result homogeneous with the name and cipher mode of the wireless network being currently connected The hardware address of same other wireless networks.
Optionally, the mobile terminal 3 also includes:
Detection module 35, if for scanning other wireless networks to the wireless network association currently connected, examine Survey the signal strength values of other wireless networks of the association;
Link block 36, if the signal strength values for related other wireless networks are more than the wireless network currently connected The signal strength values of network, the then other wireless networks maximum into the signal strength values of other wireless networks of association initiation connection Request.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, will the internal structure of the mobile terminal be divided into different functional units or module, to complete All or part of function described above.Each functional unit, module in embodiment can be integrated in a processing unit, Can also be that unit is individually physically present, can also two or more units it is integrated in a unit, above-mentioned collection Into unit can both have been realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function Unit, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Above-mentioned dress Middle unit, the specific work process of module are put, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
Fig. 4 is the schematic block diagram for the mobile terminal that the another embodiment of the application provides.As shown in figure 4, the shifting of the embodiment Dynamic terminal 4 includes:One or more processors 40, memory 41 and it is stored in the memory 41 and can be in the processing The computer program 42 run on device 40.The processor 40 realizes above-mentioned each wireless network when performing the computer program 42 Step in the scan method embodiment of network, such as the step S101 to S103 shown in Fig. 1.Or the processor 40 performs The function of each module/unit in above-mentioned mobile terminal embodiment, such as module 31 shown in Fig. 3 are realized during the computer program 42 To 33 function.
Exemplary, the computer program 42 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 41, and are performed by the processor 40, to complete the application.Described one Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for Implementation procedure of the computer program 42 in the mobile terminal 4 is described.For example, the computer program 42 can be divided It is cut into monitoring modular, confirms module, scan module.
The monitoring modular, for after wireless network is successfully connected to, monitoring the signal of the wireless network currently connected Intensity level;
The confirmation module, if the signal strength values of the wireless network for currently connecting are less than signal strength threshold, For the wireless network for confirming currently to connect with the presence or absence of associated other wireless networks, other wireless networks are current connection Wireless network outside wireless network;
The scan module, if associated other wireless networks be present for the wireless network currently connected, Initiate the event of the other wireless networks of scanning.
Other modules or unit can refer to the description in the embodiment shown in Fig. 3, will not be repeated here.
The mobile terminal includes but are not limited to processor 40, memory 41.It will be understood by those skilled in the art that figure 4 be only an example of mobile terminal 4, does not form the restriction to mobile terminal 4, can be included more more or less than illustrating Part, either combine some parts or different parts, such as the mobile terminal can also include input equipment, defeated Go out equipment, network access equipment, bus etc..
The processor 40 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 41 can be the internal storage unit of the mobile terminal 4, such as the hard disk of mobile terminal 4 or interior Deposit.The memory 41 can also be the External memory equipment of the mobile terminal 4, such as be equipped with the mobile terminal 4 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the mobile terminal 4 Member also includes External memory equipment.The memory 41 is used to store needed for the computer program and the mobile terminal Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method, it can be passed through Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list The division of member, only a kind of division of logic function can have an other dividing mode when actually realizing, for example, multiple units or Component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show Show or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, between device or unit Coupling or communication connection are connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown 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 selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-mentioned implementation All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to foregoing reality Example is applied the application is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application, all should Within the protection domain of the application.

Claims (10)

  1. A kind of 1. scan method of wireless network, it is characterised in that including:
    After wireless network is successfully connected to, the signal strength values of the wireless network currently connected are monitored;
    If the signal strength values of the wireless network currently connected are less than signal strength threshold, the wireless network currently connected is confirmed With the presence or absence of associated other wireless networks, other wireless networks are the wireless network outside the wireless network currently connected Network;
    If the wireless network currently connected has associated other wireless networks, initiate to scan other wireless networks Event.
  2. 2. the scan method of wireless network as claimed in claim 1, it is characterised in that in the wireless network that confirmation currently connects Before associated other wireless networks, in addition to:
    The hardware address of other wireless networks associated by the wireless network currently connected is obtained, and by the hardware of acquisition The hardware address of location and the wireless network currently connected and the wireless network associated storage being currently connected;
    The wireless network for confirming currently to connect includes with the presence or absence of associated other wireless networks:
    Whether the number of the hardware address for the associated storage of wireless network for confirming currently to connect is more than 1;
    If the wireless network currently connected has associated other wireless networks, initiate to scan other wireless networks The event of network includes:
    If the number of the hardware address associated by the wireless network currently connected is more than 1, initiate to scan other wireless networks Event.
  3. 3. the scan method of wireless network as claimed in claim 2, it is characterised in that described to obtain the wireless network currently connected The hardware address of other wireless networks associated by network includes:
    Obtain the history scanning result being in the wireless network being currently connected under connection status;
    The hardware of other wireless networks associated by the wireless network currently connected is obtained from the history scanning result Address.
  4. 4. the scan method of wireless network as claimed in claim 3, it is characterised in that described from the history scanning result Obtaining the hardware address of other wireless networks associated by the wireless network currently connected includes:
    Obtained from the history scanning result and the name of the wireless network being currently connected and cipher mode all same The hardware address of other wireless networks.
  5. 5. the scan method of the wireless network as described in any one of Claims 1-4, it is characterised in that scanning is other initiating After the event of wireless network, in addition to:
    If scanning other wireless networks to the wireless network association currently connected, the other wireless of the association is detected The signal strength values of network;
    If the signal strength values of related other wireless networks are more than the signal strength values of the wireless network currently connected, to Maximum other wireless networks initiate connection request in the signal strength values of other wireless networks of association.
  6. A kind of 6. mobile terminal, it is characterised in that including:
    Monitoring modular, for after wireless network is successfully connected to, monitoring the signal strength values of the wireless network currently connected;
    Confirm module, if the signal strength values of the wireless network for currently connecting are less than signal strength threshold, confirm current For the wireless network of connection with the presence or absence of associated other wireless networks, other wireless networks are the wireless network currently connected Wireless network outside network;
    Scan module, if associated other wireless networks be present for the wireless network currently connected, initiate scanning The event of other wireless networks.
  7. 7. mobile terminal as claimed in claim 6, it is characterised in that also include:
    Relating module, for obtaining the hardware address of other wireless networks associated by the wireless network currently connected, and it will obtain The hardware address of the hardware address taken and the wireless network currently connected and the wireless network associated storage being currently connected;
    The confirmation module is specifically used for:
    Whether the number of the hardware address for the associated storage of wireless network for confirming currently to connect is more than 1;
    The scan module is specifically used for:
    If the number of the hardware address associated by the wireless network currently connected is more than 1, initiate to scan other wireless networks Event.
  8. 8. mobile terminal as claimed in claim 7, it is characterised in that the relating module includes:
    History Scan Architecture acquiring unit, for obtaining the history scanning being in the wireless network being currently connected under connection status As a result;
    Hardware address acquiring unit, for being obtained from the history scanning result associated by the wireless network currently connected Other wireless networks hardware address;
    The associative cell, for by the hardware address of the hardware address of acquisition and the wireless network currently connected with work as The wireless network associated storage of preceding connection.
  9. 9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program The step of any one methods described.
  10. 10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has computer journey Sequence, realized when the computer program is executed by one or more processors such as the step of any one of claim 1 to 5 methods described Suddenly.
CN201711202658.0A 2017-11-27 2017-11-27 Wireless network scanning method, mobile terminal and storage medium Active CN107708141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711202658.0A CN107708141B (en) 2017-11-27 2017-11-27 Wireless network scanning method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711202658.0A CN107708141B (en) 2017-11-27 2017-11-27 Wireless network scanning method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107708141A true CN107708141A (en) 2018-02-16
CN107708141B CN107708141B (en) 2020-01-10

Family

ID=61185856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711202658.0A Active CN107708141B (en) 2017-11-27 2017-11-27 Wireless network scanning method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107708141B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337707A (en) * 2018-04-17 2018-07-27 Oppo广东移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium
CN108632470A (en) * 2018-07-26 2018-10-09 维沃移动通信有限公司 A kind of display methods and mobile terminal of wireless network signal
CN110392412A (en) * 2019-07-23 2019-10-29 歌尔科技有限公司 Network distribution method, device, equipment and medium for Internet of things equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150040196A1 (en) * 2013-07-31 2015-02-05 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Network connecting device, system and method for same
CN104602308A (en) * 2013-10-30 2015-05-06 国际商业机器公司 Method and system for switching terminals among multiple wireless access points (AP)
CN105898814A (en) * 2016-06-20 2016-08-24 美的智慧家居科技有限公司 Network connection switching method and device
US20160366624A1 (en) * 2010-10-01 2016-12-15 Nokia Solutions And Networks Oy Establishing And Maintenance Of A Neighbour Relationship Between Access Nodes In A Wireless Communications Network
US9655037B2 (en) * 2014-04-07 2017-05-16 Qualcomm Incorporated Method and apparatus for an improved mechanism for selecting an access point
CN106793011A (en) * 2017-01-16 2017-05-31 广东欧珀移动通信有限公司 WIFI hot spot cut-in method and device
CN107277878A (en) * 2017-08-08 2017-10-20 广东欧珀移动通信有限公司 Method for switching network, device and mobile terminal
CN107277877A (en) * 2017-08-07 2017-10-20 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160366624A1 (en) * 2010-10-01 2016-12-15 Nokia Solutions And Networks Oy Establishing And Maintenance Of A Neighbour Relationship Between Access Nodes In A Wireless Communications Network
US20150040196A1 (en) * 2013-07-31 2015-02-05 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Network connecting device, system and method for same
CN104602308A (en) * 2013-10-30 2015-05-06 国际商业机器公司 Method and system for switching terminals among multiple wireless access points (AP)
US20170006516A1 (en) * 2013-10-30 2017-01-05 International Business Machines Corporation Handing off a terminal among wireless access points
US9655037B2 (en) * 2014-04-07 2017-05-16 Qualcomm Incorporated Method and apparatus for an improved mechanism for selecting an access point
CN105898814A (en) * 2016-06-20 2016-08-24 美的智慧家居科技有限公司 Network connection switching method and device
CN106793011A (en) * 2017-01-16 2017-05-31 广东欧珀移动通信有限公司 WIFI hot spot cut-in method and device
CN107277877A (en) * 2017-08-07 2017-10-20 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN107277878A (en) * 2017-08-08 2017-10-20 广东欧珀移动通信有限公司 Method for switching network, device and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337707A (en) * 2018-04-17 2018-07-27 Oppo广东移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium
CN108632470A (en) * 2018-07-26 2018-10-09 维沃移动通信有限公司 A kind of display methods and mobile terminal of wireless network signal
CN108632470B (en) * 2018-07-26 2021-05-28 维沃移动通信有限公司 Wireless network signal display method and mobile terminal
CN110392412A (en) * 2019-07-23 2019-10-29 歌尔科技有限公司 Network distribution method, device, equipment and medium for Internet of things equipment
CN110392412B (en) * 2019-07-23 2022-05-13 歌尔科技有限公司 Network distribution method, device, equipment and medium for Internet of things equipment

Also Published As

Publication number Publication date
CN107708141B (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN104871598B (en) Wap
CN108337707B (en) Wireless network switching method, mobile terminal and storage medium
CN109618373A (en) Link choosing method and relevant apparatus
CN109089327B (en) Wireless network connection method, device, terminal and storage medium
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
CN107949031A (en) A kind of scan method of wireless network, mobile terminal and storage medium
CN107708141A (en) A kind of scan method of wireless network, mobile terminal and storage medium
CN107277878B (en) Method for switching network, device and mobile terminal
CN104967970A (en) Terminal equipment pairing and connecting method and system
CN104333913A (en) Electronic device and online setting method of external network and electronic device
CN111132267A (en) Network distribution method and device and terminal equipment
CN107484190A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN104869621B (en) A kind of Network Recognition method and apparatus
CN108513716A (en) The method and apparatus for establishing connection
CN107404752A (en) Frequency choosing method and internet-of-things terminal based on signal intensity
CN107645789A (en) The method, apparatus and system of networking
CN107248890A (en) Wireless communications method, device, storage medium and terminal
CN107222937A (en) A kind of data transmission method, device and terminal
CN107968848A (en) A kind of method, terminal device and storage medium for obtaining IP address
CN107396316B (en) Method for switching network, device and terminal device
CN107484165A (en) Wireless local network access control method and device
CN107343326A (en) A kind of data transmission method and device
CN107148035A (en) Method, device and the wireless device of Frequency Band Selection
CN108337706A (en) A kind of switching method of wireless network, mobile terminal and storage medium
CN107820298A (en) Wireless network management method, wireless network management device and intelligent 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant