CN107509237A - A kind of wireless network connecting method, mobile terminal and readable storage medium storing program for executing - Google Patents

A kind of wireless network connecting method, mobile terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107509237A
CN107509237A CN201710787772.8A CN201710787772A CN107509237A CN 107509237 A CN107509237 A CN 107509237A CN 201710787772 A CN201710787772 A CN 201710787772A CN 107509237 A CN107509237 A CN 107509237A
Authority
CN
China
Prior art keywords
network
wireless network
attribute information
power consumption
mobile terminal
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
CN201710787772.8A
Other languages
Chinese (zh)
Other versions
CN107509237B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710787772.8A priority Critical patent/CN107509237B/en
Publication of CN107509237A publication Critical patent/CN107509237A/en
Application granted granted Critical
Publication of CN107509237B publication Critical patent/CN107509237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • 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

Abstract

The invention provides a kind of wireless network connecting method, mobile terminal and readable storage medium storing program for executing.Methods described includes:Obtain the network attribute information of multiple wireless networks;According to the network attribute information of the multiple wireless network, the minimum target radio network of at least one power consumption is selected from the multiple wireless network;Connect the target radio network.The present invention is attached for the wireless network that mobile terminal selects power consumption minimum, extends the cruising time of mobile terminal, improves Consumer's Experience.

Description

A kind of wireless network connecting method, mobile terminal and readable storage medium storing program for executing
Technical field
The present invention relates to communication technical field, more particularly to a kind of wireless network connecting method, mobile terminal and readable deposit Storage media.
Background technology
Existing mobile terminal is provided with connection Wi-Fi (Wireless-Fidelity, wireless network) function substantially, And as Wi-Fi network popularization degree more and more higher, user can search for multiple Wi-Fi networks in the same area, this is just meaned The system of wearing will be selected this multiple Wi-Fi, and the Wi-Fi network for being preferably best suitable for user is attached.
Prior art provides the function of switching Wi-Fi network, i.e., in the case where Wi-Fi network has connected, judgement is It is no to need to disconnect existing Wi-Fi network and be switched in other Wi-Fi networks.The existing main base of Wi-Fi network handover scheme The wish that is connected manually in network security, signal intensity, user, can normal cluster, AP centre frequencies carry out, it will usually exist The defects of power consumption of mobile terminal is larger.
The content of the invention
The embodiment of the present invention provides a kind of wireless network connecting method, mobile terminal and readable storage medium storing program for executing, existing to solve There is the problem of technology does not consider heterogeneous networks power consumption difference when carrying out Wi-Fi network marking switching.
One side according to the embodiment of the present invention, there is provided a kind of wireless network connecting method, applied to mobile terminal, institute The method of stating includes:
Obtain the network attribute information of multiple wireless networks;
According to the network attribute information of the multiple wireless network, at least one consumption is selected from the multiple wireless network The minimum target radio network of electricity;
Connect the target radio network.
Another aspect according to the embodiment of the present invention, there is provided a kind of mobile terminal, the mobile terminal include:
Network attribute information acquisition module, for obtaining the network attribute information of multiple wireless networks;
Target radio network selecting module, for the network attribute information according to the multiple wireless network, from described more The minimum target radio network of at least one power consumption is selected in individual wireless network;
Target radio network link block, for connecting the target radio network.
Another aspect according to the embodiment of the present invention, there is provided a kind of mobile terminal, including:
Processor and memory;
The memory is used to store the program for performing above-mentioned wireless network connecting method;
The processor is configurable for performing the program stored in the memory.
Another aspect according to the embodiment of the present invention, there is provided a kind of computer-readable recording medium, the computer can Read to be stored with wireless network linker in storage medium, the wireless network linker is realized above-mentioned when being executed by processor Wireless network connecting method the step of.
According to the embodiment of the present invention, the network attribute information of the multiple wireless networks of acquisition for mobile terminal;Then according to multiple The network attribute information of wireless network, the minimum target radio network of at least one power consumption is selected from multiple wireless networks; Finally, linking objective wireless network.The embodiment of the present invention is that the wireless network that mobile terminal selects power consumption minimum is attached, The cruising time of mobile terminal is extended, improves Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of step flow chart of wireless network connecting method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of wireless network connecting method of the embodiment of the present invention two;
Fig. 3 is a kind of one of block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 is the two of the block diagram of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 5 is the block diagram of the mobile terminal of the embodiment of the present invention four;
Fig. 6 is the structural representation of the mobile terminal of the embodiment of the present invention five.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Embodiment one
A kind of wireless network connecting method provided in an embodiment of the present invention is discussed in detail.
Reference picture 1, a kind of step flow chart of wireless network connecting method in the embodiment of the present invention is shown, is applied to Mobile terminal, methods described include:
Step 101, the network attribute information of multiple wireless networks is obtained.
In the present embodiment, mobile terminal searches for wireless network first, determined after search it is multiple can be used for connection it is wireless Network.For example, mobile terminal to search, to 3 wireless networks, wherein Wi-FiA, Wi-FiB is public network, and Wi-FiC is family Network, 3 wireless networks searched may be incorporated for connecting.Mobile terminal can be mobile phone, PAD, notebook computer etc., this Inventive embodiments do not limit this in detail, can be configured according to actual conditions.Then acquisition for mobile terminal is multiple can be with Network attribute information for the wireless network of connection.The network attribute information of wireless network can include network type, bandwidth, Signal intensity etc..For example, wireless network is public network or home network, or wireless network is 2.4G bandwidth or 5G bands Width, the signal strength values of wireless network etc..The embodiment of the present invention does not limit network attribute information in detail, can be according to reality Border situation is configured.
Step 102, according to the network attribute information of the multiple wireless network, from the multiple wireless network selection to The minimum target radio network of few power consumption.
In the present embodiment, the network attribute information of wireless network influences the power consumption of wireless network.For example, public network with Home network is compared, and the packet of public network is more, and it is higher to wake up the possibility of mobile terminal, more power consumption relatively;Monitor letter Current impulse during (beacon) broadcast frame is marked, 5G frequency ranges AP (Access Point, access point) is compared with 2.4G frequency ranges AP, 5G Frequency range AP current impulse is higher, relatively more power consumption.
According to influence size evaluating to each wireless network of the network attribute information to wireless network power consumption.Example Such as, to this 3 wireless networks of Wi-FiA, Wi-FiB, Wi-FiC, Wi-FiA, Wi-FiB are public network, and Wi-FiC is home network Network, Wi-FiA, Wi-FiB, Wi-FiC power consumption are evaluated according to the network attribute information, evaluation score can be obtained 90 points, 90 points, 100 points;Power consumption grade one-level, one-level, two level can also be obtained.The embodiment of the present invention does not limit this in detail It is fixed, it can be configured according to actual conditions.
For each wireless network power consumption evaluate after, minimum wireless of power consumption is selected according to evaluation result Network is as target radio network.For example, the evaluation score of the power consumption of this 3 wireless networks of Wi-FiA, Wi-FiB, Wi-FiC Respectively 90 points, 90 points, 100 points, the minimum Wi-FiC of power consumption is selected as objective network according to the height of evaluation score.
Step 103, the target radio network is connected.
In the present embodiment, after determining target radio network, mobile terminal linking objective wireless network.If mobile terminal is worked as The wireless network of preceding connection differs with target radio network, then disconnects the wireless network currently connected, linking objective wireless network Network.If the wireless network that mobile terminal currently connects is exactly target radio network, the shape of linking objective wireless network is maintained State.
In summary, in the embodiment of the present invention, the network attribute information of the multiple wireless networks of acquisition for mobile terminal;Then root According to the network attribute information of multiple wireless networks, the minimum Target Wireless of at least one power consumption is selected from multiple wireless networks Network;Finally, linking objective wireless network.The embodiment of the present invention is that mobile terminal selects the minimum wireless network of power consumption to carry out Connection, extends the cruising time of mobile terminal, improves Consumer's Experience.
Embodiment two
Reference picture 2, show a kind of step flow chart of wireless network connecting method in another embodiment of the present invention. Applied to mobile terminal, methods described includes:
Step 201, the network attribute information of multiple wireless networks is obtained.
Step 202, the evaluation score of the power consumption of each wireless network is generated respectively according to the network attribute information.
In the present embodiment, for a wireless network, according to the network attribute information got, the wireless network is generated The evaluation score of power consumption;For multiple wireless networks that can be used for connection, the power consumption of each wireless network is generated respectively Evaluation score.Generation evaluation score specifically may include steps of:
Sub-step one, according to the network attribute information of each wireless network, it is determined that corresponding with each wireless network Deduction number.
In the present embodiment, alternatively, the network attribute information include setting time in detection number, public network and Set at least one of bandwidth.According to the network attribute information of each wireless network, deduction number corresponding to each wireless network is determined.Tool Body, detect that detection number of the wireless network in setting time is more than the network attribute information of preset value, i.e. wireless network Include the detection number in setting time, it is determined that corresponding deduction number is connection failure fraction;Detect wireless network for public affairs The network attribute information of common network network, i.e. wireless network includes public network, it is determined that corresponding deduction number is public network fraction; It is 5G bandwidth to detect wireless network, i.e., the network attribute information of wireless network includes setting bandwidth, it is determined that corresponding deduction Number is bandwidth fraction.The embodiment of the present invention does not limit preset value and setting bandwidth in detail, can be carried out according to actual conditions Set.
Sub-step two, according to deduction number corresponding to each wireless network, obtain the power consumption of each wireless network Evaluation score.
In the present embodiment, it is determined that after deduction number, the initial score of wireless network is subtracted into deduction number, obtains wireless network Power consumption evaluation score.For example, initial score is 100 points, however, it is determined that deduction number divides comprising connection failure fraction 10, be public Network fraction 10 divides, bandwidth fraction 10 divides, then the evaluation of the power consumption of wireless network is obtained after initial score subtracts deduction number Fraction is 70 points;If it is determined that deduction number divides comprising bandwidth fraction 10, then wireless network is obtained after initial score subtracts deduction number Power consumption evaluation score be 90 points.The embodiment of the present invention to connection failure fraction, public network fraction and bandwidth fraction not Make to limit in detail, can be configured according to actual conditions.
Sub-step three, according to the network attribute information of each wireless network, it is determined that corresponding with each wireless network Bonus point number.
In the present embodiment, alternatively, the network attribute information is included at least one in listening intervals time and signal intensity Kind.According to the network attribute information of each wireless network, it may be determined that bonus point number corresponding to each wireless network.For example, detect prison It is 1s to wait for information target interval time, i.e., the network attribute information of wireless network includes the listening intervals time, it is determined that corresponding to add Fraction is interval time fraction;It is -40dBm to detect signal strength values, i.e., the network attribute information of wireless network includes signal Intensity, it is determined that corresponding bonus point number is signal intensity fraction.Wherein, when interval time fraction is listening intervals time and interval Between arranges value product, signal intensity fraction is the product of signal strength values and signal intensity arranges value, the embodiment of the present invention pair Interval time arranges value and signal intensity arranges value do not limit in detail, can be configured according to actual conditions.
Sub-step four, according to bonus point number corresponding to each wireless network, obtain the power consumption of each wireless network Evaluation score.
In the present embodiment, it is determined that after bonus point number, the initial score of wireless network is added into bonus point number, obtains wireless network Power consumption evaluation score.For example, initial score is 100 points, bonus point number divides comprising interval time fraction 5, signal intensity point Number 5 divides, then the evaluation score for the power consumption for obtaining wireless network after initial score adds bonus point number is 110 points;Bonus point number bag Fraction containing interval time 5 divides, then the evaluation score for the power consumption for obtaining wireless network after initial score adds bonus point number is 105 Point.
If the network attribute information got does not include detection number, public network and setting band in setting time It is wide, it is determined that without deduction number, not perform deduction operation.If the network attribute information got do not include the listening intervals time and Signal intensity, it is determined that without bonus point number, do not perform bonus point operation.It is wireless in generation if existing bonus point number also has deduction number During the evaluation score of the power consumption of network, bonus point operation was both performed or had performed deduction operation.The embodiment of the present invention operates to bonus point Do not limit, can be configured according to actual conditions in detail with the order of deduction operation.
Step 203, select at least one fraction highest wireless network minimum as power consumption from the evaluation score Target radio network.
In the present embodiment, the evaluation score of wireless network corresponds to the evaluation of power consumption, and evaluation score is higher, corresponding power consumption Fewer, evaluation score is lower, and corresponding power consumption is more.The minimum wireless network of power consumption is selected, that is, selects evaluation score highest Wireless network as target radio network.If the evaluation score of multiple wireless networks is identical and is all highest score, One of wireless network can be selected according to actual conditions as target radio network.
Step 204, the target radio network is connected.
In summary, in the embodiment of the present invention, mobile terminal first obtains the network attribute information of multiple wireless networks;According to Network attribute information generates the evaluation score of the power consumption of each wireless network respectively;At least one fraction is selected from evaluation score The highest wireless network target radio network minimum as power consumption;Finally, linking objective wireless network.By of the invention real Example is applied, the power consumption of each wireless network is fully taken into account when selecting wireless network for mobile terminal, selects power consumption minimum Wireless network, extend the cruising time of mobile terminal, improve Consumer's Experience.
It should be noted that for foregoing embodiment of the method, 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 is not limited by described sequence of movement, because according to According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know, Embodiment described in this description belongs to preferred embodiment, and involved action is not necessarily essential to the invention.
Embodiment three
A kind of mobile terminal provided in an embodiment of the present invention is discussed in detail, can realize that embodiment one is wireless into embodiment two The details of method for connecting network, and reach identical effect.
Reference picture 3, shows a kind of block diagram of mobile terminal in the embodiment of the present invention, and the mobile terminal includes network Attribute information acquisition module 301, target radio network selecting module 302, target radio network link block 303:
Network attribute information acquisition module 301, for obtaining the network attribute information of multiple wireless networks;
Target radio network selecting module 302, for the network attribute information according to the multiple wireless network, from described The minimum target radio network of at least one power consumption is selected in multiple wireless networks;
Target radio network link block 303, for connecting the target radio network.
On the basis of Fig. 3, alternatively, the target radio network selecting module 302 includes evaluation score generation submodule Block 3021, target radio network selection submodule 3022, are shown in Fig. 4:
Evaluation score generates submodule 3021, for generating the consumption of each wireless network respectively according to the network attribute information The evaluation score of electricity;
Target radio network selects submodule 3022, for selecting at least one fraction highest from the evaluation score The wireless network target radio network minimum as power consumption.
On the basis of Fig. 3, alternatively, the network attribute information includes the detection number in setting time, public network At least one of network and setting bandwidth;
The evaluation score generation submodule 3021 includes:
Deduction number determining unit, for the network attribute information according to each wireless network, it is determined that with it is each described wireless Deduction number corresponding to network;
First evaluation score generation unit, for the deduction number according to corresponding to each wireless network, obtain each nothing The evaluation score of the power consumption of gauze network.
On the basis of Fig. 3, alternatively, the network attribute information is included in listening intervals time and signal intensity at least It is a kind of;
The evaluation score generation submodule 3021 includes:
Bonus point number determining unit, for the network attribute information according to each wireless network, it is determined that with it is each described wireless Bonus point number corresponding to network;
Second evaluation score generation unit, for the bonus point number according to corresponding to each wireless network, obtain each nothing The evaluation score of the power consumption of gauze network.
In summary, in the embodiment of the present invention, mobile terminal first obtains the network attribute information of multiple wireless networks;Then According to the network attribute information of multiple wireless networks, selected from multiple wireless networks the minimum target of at least one power consumption without Gauze network;Finally, linking objective wireless network.By the embodiment of the present invention, when selecting wireless network for mobile terminal, fully In view of the power consumption of each wireless network, the minimum wireless network of power consumption is selected, extends the cruising time of mobile terminal, Improve Consumer's Experience.
Example IV
The embodiments of the invention provide a kind of mobile terminal, including:Processor and memory;
The memory is used to store the wireless network connection side described in perform claim requirement embodiment one to embodiment two The program of method;
The processor is configurable for performing the program stored in the memory.
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in Fig. 5 includes:At least One processor 501, memory 502, at least one network interface 504 and user interface 503.It is each in mobile terminal 500 Component is coupled by bus system 505.It is understood that bus system 505 is used to realize that the connection between these components is led to Letter.Bus system 505 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But it is For the sake of clear explanation, in Figure 5 various buses are all designated as bus system 505.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or flexible screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synch Link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 502 be intended to including but not limited to these With the memory of any other suitable type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 5022, include various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 502, specifically, can be application The program stored in program 5022 or instruction, processor 501 are used for the network attribute information for obtaining multiple wireless networks;According to institute The network attribute information of multiple wireless networks is stated, the minimum target of at least one power consumption is selected from the multiple wireless network Wireless network;Connect the target radio network.
The method that the embodiments of the present invention disclose can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the operational order of software form.Above-mentioned Processor 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special collection Into 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.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 502, processor 501 read the information in memory 502, with reference to the step of its hardware completion above method.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place Manage in device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can To realize within a processor or outside processor.
Alternatively, the processor 501 is additionally operable to:Generate the consumption of each wireless network respectively according to the network attribute information The evaluation score of electricity;Select at least one fraction highest wireless network as power consumption minimum from the evaluation score Target radio network.
Alternatively, the network attribute information is including in the detection number in setting time, public network and setting bandwidth It is at least one;The processor 501 is additionally operable to:According to the network attribute information of each wireless network, it is determined that with each nothing Deduction number corresponding to gauze network;According to deduction number corresponding to each wireless network, the power consumption of each wireless network is obtained Evaluation score.
Alternatively, the network attribute information includes at least one of listening intervals time and signal intensity;The processing Device 501 is additionally operable to:According to the network attribute information of each wireless network, it is determined that bonus point corresponding with each wireless network Number;According to bonus point number corresponding to each wireless network, the evaluation score of the power consumption of each wireless network is obtained.
Mobile terminal 500 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.In the embodiment of the present invention, the network attribute information of the multiple wireless networks of acquisition for mobile terminal;Then according to multiple nothings The network attribute information of gauze network, the minimum target radio network of at least one power consumption is selected from multiple wireless networks;Most Afterwards, linking objective wireless network.By the embodiment of the present invention, when selecting wireless network for mobile terminal, fully take into account each The power consumption of individual wireless network, the minimum wireless network of power consumption is selected, the cruising time of mobile terminal is extended, improves use Experience at family.
Embodiment five
Fig. 6 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6 Can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input block 630th, display unit 640, processor 660, voicefrequency circuit 670, Wi-Fi module 680 and power supply 690.
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 630 can be with Including contact panel 631.Contact panel 631, collecting touch operation of the user on or near it, (for example user uses hand The operation of any suitable object such as finger, stylus or annex on contact panel 631), and driven according to formula set in advance Corresponding attachment means.Optionally, contact panel 631 may include both touch detecting apparatus and touch controller.Wherein, Touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch control Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 660, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray with And the polytype such as surface acoustic wave realizes contact panel 631.Except contact panel 631, input block 630 can also include other Input equipment 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 640 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal.Display unit 640 may include display panel 641, optionally, can use LCD or organic light emission The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.Touch display screen includes application program Interface display area and conventional control viewing area.The arrangement mode of the Application Program Interface viewing area and the conventional control viewing area is simultaneously Do not limit, can be arranged above and below, left-right situs etc. can distinguish the arrangement modes of two viewing areas.The Application Program Interface shows Show that area is displayed for the interface of application program.Each interface can include at least one application program icon and/or The interface elements such as widget desktop controls.The Application Program Interface viewing area can also be the empty interface not comprising any content. The conventional control viewing area is used to show the higher control of utilization rate, for example, settings button, interface numbering, scroll bar, phone directory Application icons such as icon etc..
Wherein processor 660 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone Individual part, by running or performing the software program and/or module that are stored in first memory 621, and call and be stored in Data in second memory 622, the various functions and processing data of mobile terminal are performed, it is overall so as to be carried out to mobile terminal Monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, processor 660 are used for the network attribute information for obtaining multiple wireless networks;According to institute The network attribute information of multiple wireless networks is stated, the minimum target of at least one power consumption is selected from the multiple wireless network Wireless network;Connect the target radio network.
Alternatively, the processor 660 is additionally operable to:Generate the consumption of each wireless network respectively according to the network attribute information The evaluation score of electricity;Select at least one fraction highest wireless network as power consumption minimum from the evaluation score Target radio network.
Alternatively, the network attribute information is including in the detection number in setting time, public network and setting bandwidth It is at least one;The processor 660 is additionally operable to:According to the network attribute information of each wireless network, it is determined that with each nothing Deduction number corresponding to gauze network;According to deduction number corresponding to each wireless network, the power consumption of each wireless network is obtained Evaluation score.
Alternatively, the network attribute information includes at least one of listening intervals time and signal intensity;The processing Device 660 is additionally operable to:According to the network attribute information of each wireless network, it is determined that bonus point corresponding with each wireless network Number;According to bonus point number corresponding to each wireless network, the evaluation score of the power consumption of each wireless network is obtained.
It can be seen that in the embodiment of the present invention, the network attribute information of the multiple wireless networks of acquisition for mobile terminal;Then according to more The network attribute information of individual wireless network, the Target Wireless net that at least one power consumption is minimum is selected from multiple wireless networks Network;Finally, linking objective wireless network.By the embodiment of the present invention, when selecting wireless network for mobile terminal, take into full account To the power consumption of each wireless network, the minimum wireless network of power consumption is selected, the cruising time of mobile terminal is extended, improves Consumer's Experience.
For the embodiment of above-mentioned mobile terminal, because it is substantially similar to embodiment of the method, so the ratio of description Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is deposited on the computer-readable recording medium Wireless network linker is contained, the wireless network linker realizes wireless network as described above when being executed by processor The step of connection method.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It would have readily occurred to a person skilled in the art that be:Any combination application of above-mentioned each embodiment is all feasible, therefore Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
Wireless network connection scheme is not intrinsic with any certain computer, virtual system or miscellaneous equipment provided herein It is related.Various general-purpose systems can also be used together with teaching based on this.As described above, construction has the present invention Structure required by the system of scheme is obvious.In addition, the present invention is not also directed to any certain programmed language.Should be bright In vain, various programming languages can be utilized to realize the content of invention described herein, and that is done above to language-specific retouches State is to disclose the preferred forms of the present invention.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the embodiment, wherein the conduct of each claim in itself The separate embodiments of the present invention.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit 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 present invention 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.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, wireless networking techniques scheme of the invention The part substantially to be contributed in other words to prior art or the part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with The medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of wireless network connecting method, it is characterised in that applied to mobile terminal, methods described includes:
Obtain the network attribute information of multiple wireless networks;
According to the network attribute information of the multiple wireless network, at least one power consumption is selected from the multiple wireless network Minimum target radio network;
Connect the target radio network.
2. according to the method for claim 1, it is characterised in that described to be believed according to the network attribute of the multiple wireless network Breath, selects the minimum target radio network of at least one power consumption from the multiple network, including:
Generate the evaluation score of the power consumption of each wireless network respectively according to the network attribute information;
The Target Wireless net that at least one fraction highest wireless network is minimum as power consumption is selected from the evaluation score Network.
3. according to the method for claim 2, it is characterised in that the network attribute information includes the detection in setting time At least one of number, public network and setting bandwidth;
The evaluation score of the power consumption for generating each wireless network respectively according to the network attribute information, including:
According to the network attribute information of each wireless network, it is determined that deduction number corresponding with each wireless network;
According to deduction number corresponding to each wireless network, the evaluation score of the power consumption of each wireless network is obtained.
4. according to the method for claim 2, it is characterised in that the network attribute information includes listening intervals time and letter At least one of number intensity;
The evaluation score of the power consumption for generating each wireless network respectively according to the network attribute information, including:
According to the network attribute information of each wireless network, it is determined that bonus point number corresponding with each wireless network;
According to bonus point number corresponding to each wireless network, the evaluation score of the power consumption of each wireless network is obtained.
5. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Network attribute information acquisition module, for obtaining the network attribute information of multiple wireless networks;
Target radio network selecting module, for the network attribute information according to the multiple wireless network, from the multiple nothing The minimum target radio network of at least one power consumption is selected in gauze network;
Target radio network link block, for connecting the target radio network.
6. mobile terminal according to claim 5, it is characterised in that the target radio network selecting module includes:
Evaluation score generates submodule, and the power consumption for generating according to the network attribute information each wireless network respectively is commented Valency fraction;
Target radio network selects submodule, for selecting at least one fraction highest wireless network from the evaluation score The target radio network minimum as power consumption.
7. mobile terminal according to claim 6, it is characterised in that the network attribute information is included in setting time Detect at least one of number, public network and setting bandwidth;
The evaluation score generation submodule includes:
Deduction number determining unit, for the network attribute information according to each wireless network, it is determined that with each wireless network Corresponding deduction number;
First evaluation score generation unit, for the deduction number according to corresponding to each wireless network, obtain each wireless network The evaluation score of the power consumption of network.
8. mobile terminal according to claim 6, it is characterised in that the network attribute information includes the listening intervals time At least one of with signal intensity;
The evaluation score generation submodule includes:
Bonus point number determining unit, for the network attribute information according to each wireless network, it is determined that with each wireless network Corresponding bonus point number;
Second evaluation score generation unit, for the bonus point number according to corresponding to each wireless network, obtain each wireless network The evaluation score of the power consumption of network.
A kind of 9. mobile terminal, it is characterised in that including:
Processor and memory;
The memory is used to store the wireless network connecting method any one of perform claim requirement 1 to claim 4 Program;
The processor is configurable for performing the program stored in the memory.
10. a kind of computer-readable recording medium, it is characterised in that be stored with wireless network on the computer-readable recording medium Network linker, realized when the wireless network linker is executed by processor as any one of Claims 1-4 The step of wireless network connecting method.
CN201710787772.8A 2017-09-04 2017-09-04 Wireless network connection method, mobile terminal and readable storage medium Active CN107509237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710787772.8A CN107509237B (en) 2017-09-04 2017-09-04 Wireless network connection method, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710787772.8A CN107509237B (en) 2017-09-04 2017-09-04 Wireless network connection method, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN107509237A true CN107509237A (en) 2017-12-22
CN107509237B CN107509237B (en) 2021-05-14

Family

ID=60695795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710787772.8A Active CN107509237B (en) 2017-09-04 2017-09-04 Wireless network connection method, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN107509237B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654824A (en) * 2020-05-29 2020-09-11 Oppo广东移动通信有限公司 Network condition prompting method and device, electronic equipment and storage medium
CN112511335A (en) * 2020-11-02 2021-03-16 珠海格力电器股份有限公司 IT equipment control method and device and data center management system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090068969A1 (en) * 2007-09-10 2009-03-12 Bengt Lindoff Power-Aware Selection of Radio Access Technology
CN102076060A (en) * 2011-01-19 2011-05-25 北京航空航天大学 ZigBee-based Wi-Fi access point discovering and selecting method
US20120207023A1 (en) * 2011-02-14 2012-08-16 Sony Corporation Information processing method, information processing device, and communication system
CN105050167A (en) * 2015-06-10 2015-11-11 广东欧珀移动通信有限公司 Communication method and terminal under mixed network mode
CN105246114A (en) * 2014-06-20 2016-01-13 中兴通讯股份有限公司 Network reselection method, network reselection device and wireless terminal
CN105357404A (en) * 2015-11-28 2016-02-24 广东欧珀移动通信有限公司 Network switching method, device and communication terminal
US20170048744A1 (en) * 2015-08-06 2017-02-16 Dell Products, Lp Method and apparatus for optimizing end to end radio communication management for users with multiple devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090068969A1 (en) * 2007-09-10 2009-03-12 Bengt Lindoff Power-Aware Selection of Radio Access Technology
CN102076060A (en) * 2011-01-19 2011-05-25 北京航空航天大学 ZigBee-based Wi-Fi access point discovering and selecting method
US20120207023A1 (en) * 2011-02-14 2012-08-16 Sony Corporation Information processing method, information processing device, and communication system
CN105246114A (en) * 2014-06-20 2016-01-13 中兴通讯股份有限公司 Network reselection method, network reselection device and wireless terminal
CN105050167A (en) * 2015-06-10 2015-11-11 广东欧珀移动通信有限公司 Communication method and terminal under mixed network mode
US20170048744A1 (en) * 2015-08-06 2017-02-16 Dell Products, Lp Method and apparatus for optimizing end to end radio communication management for users with multiple devices
CN105357404A (en) * 2015-11-28 2016-02-24 广东欧珀移动通信有限公司 Network switching method, device and communication terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654824A (en) * 2020-05-29 2020-09-11 Oppo广东移动通信有限公司 Network condition prompting method and device, electronic equipment and storage medium
CN112511335A (en) * 2020-11-02 2021-03-16 珠海格力电器股份有限公司 IT equipment control method and device and data center management system

Also Published As

Publication number Publication date
CN107509237B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN106201321B (en) A kind of application control method and mobile terminal
CN107466077A (en) A kind of method for switching network and mobile terminal
CN107145348B (en) A kind of application program split screen processing method and mobile terminal
CN106406656B (en) A kind of control method and mobile terminal of application tool bar
CN106951141B (en) A kind of processing method and mobile terminal of icon
CN106843732A (en) The method and mobile terminal of a kind of split screen display available
CN106909289B (en) A kind of operating method and mobile terminal of application controls
CN106325753B (en) A kind of display methods and mobile terminal of payment interface
CN106681711A (en) Method for content sharing under split screen mode and mobile terminal
CN106775252A (en) The message treatment method and mobile terminal of a kind of mobile terminal
CN107103304A (en) The display methods and mobile terminal in a kind of fingerprint recognition region
CN107147505A (en) A kind of group chat method and mobile terminal
CN106055232B (en) A kind of processing method and mobile terminal of message
CN106095296A (en) The changing method of a kind of application program and mobile terminal
CN107317608A (en) Antenna operating mode system of selection, mobile terminal and computer-readable recording medium
CN106293705A (en) A kind of collecting method and mobile terminal
CN106874046A (en) The operating method and mobile terminal of a kind of application program
CN106817484A (en) The acquisition methods and mobile terminal of a kind of session information
CN106776871A (en) The storage method and mobile terminal of a kind of multimedia file
CN106231113A (en) A kind of Dialing Method and mobile terminal
CN106953659A (en) A kind of method and device for suppressing interference
CN106775378A (en) A kind of method and mobile terminal for determining input method candidate word
CN107678642A (en) The control method and mobile terminal of a kind of application
CN106055296A (en) Control method for display brightness of terminal screen and terminal
CN107612595A (en) A kind of antenna switching method 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
GR01 Patent grant
GR01 Patent grant