CN107708190A - Wi Fi control methods, mobile terminal and computer-readable recording medium - Google Patents

Wi Fi control methods, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107708190A
CN107708190A CN201710912790.4A CN201710912790A CN107708190A CN 107708190 A CN107708190 A CN 107708190A CN 201710912790 A CN201710912790 A CN 201710912790A CN 107708190 A CN107708190 A CN 107708190A
Authority
CN
China
Prior art keywords
antennas
power consumption
network
current power
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710912790.4A
Other languages
Chinese (zh)
Inventor
叶思超
吴国钿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710912790.4A priority Critical patent/CN107708190A/en
Publication of CN107708190A publication Critical patent/CN107708190A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 – G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 – G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • 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 discloses a kind of Wi Fi control methods, the mobile terminal for including two-way Wi Fi antennas, when triggering power consumption control, the current power consumption of two Wi FI antennas is got first, and be compared;If the current power consumption of a Wi Fi antennas is more than another Wi Fi antennas, the Network that the larger Wi Fi antennas of current power consumption are carried is migrated to another Wi Fi antennas, it is ensured that this subnetwork business is not interrupted;After the migration of Network is completed, the larger Wi Fi antennas of current power consumption are closed, to reach the purpose for reducing power consumption.The invention also discloses a kind of mobile terminal and computer-readable storage media.The present invention can be carried out power consumption control to mobile terminal, reduce the power consumption of mobile terminal under the premise of ensuring that Network is unbroken.

Description

Wi-Fi control methods, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of Wi-Fi control methods, mobile terminal and computer Readable storage medium storing program for executing.
Background technology
With the raising of modern standard of living, the mobile terminal such as smart mobile phone, PAD (tablet personal computer) turns into life Necessity, one important function of these mobile terminals is exactly to pass through Wi-Fi (Wireless Fidelity, Wireless Fidelity) Network access is realized with internet communication.With the quick evolution of mobile terminal technology, to improve the network access of mobile terminal Efficiency, mobile terminal is from initial support list Wi-Fi, the double Wi-Fi of support till now, and significantly increase mobile terminal can Use bandwidth.However, the support to double Wi-Fi brings bigger power consumption simultaneously, prior art is when carrying out power consumption control, often The network function (including Wi-Fi and data network) of direct turning-off mobile terminal, causes Network to be interrupted.
The content of the invention
The present invention provides a kind of Wi-Fi control methods, mobile terminal and computer-readable recording medium, it is intended to ensures network Under the premise of business is unbroken, power consumption control is carried out to mobile terminal, reduces the power consumption of mobile terminal.
For achieving the above object, the present invention provides a kind of Wi-Fi control methods, applied to mobile terminal, the movement The Wi-Fi module of terminal is configured with the first MAC Address and the second MAC Address, and the Wi-Fi module includes the first Wi-Fi antennas With the 2nd Wi-Fi antennas, the Wi-Fi module passes through the first Wi-Fi antennas and the first nothing based on first MAC Address Line focus establishes connection, and the Wi-Fi module passes through the 2nd Wi-Fi antennas and the second nothing based on second MAC Address Line focus establishes connection, and the Wi-Fi control methods include:
When triggering power consumption control, the current power consumption of the first Wi-Fi antennas is obtained, and obtain the 2nd Wi- The current power consumption of Fi antennas;
Compare the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas;
The Network that the larger Wi-Fi antennas of current power consumption are carried is migrated to another Wi-Fi antennas, and closes and works as The larger Wi-Fi antennas of preceding power consumption.
Further, the present invention also provides a kind of mobile terminal, and the mobile terminal includes:
It is stored with the memory of Wi-Fi control programs;
Wi-Fi module, the Wi-Fi module are configured with the first MAC Address and the second MAC Address, the Wi-Fi module bag The first Wi-Fi antennas and the 2nd Wi-Fi antennas are included, the Wi-Fi module passes through described first based on first MAC Address Wi-Fi antennas and the first hotspot, which are established, to be connected, and the Wi-Fi module passes through described second based on second MAC Address Wi-Fi antennas and the second hotspot, which are established, to be connected;
It is stored with the memory of Wi-Fi control programs;
Processor, with the memory communication and being configured to perform the Wi-Fi control programs to realize following steps:
When triggering power consumption control, the current power consumption of the first Wi-Fi antennas is obtained, and obtain the 2nd Wi- The current power consumption of Fi antennas;
Compare the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas;
The Network that the larger Wi-Fi antennas of current power consumption are carried is migrated to another Wi-Fi antennas, and closes and works as The larger Wi-Fi antennas of preceding power consumption.
Further, the present invention also provides a kind of computer-readable recording medium, applied to mobile terminal, the mobile terminal Wi-Fi module be configured with the first MAC Address and the second MAC Address, the Wi-Fi module includes the first Wi-Fi antennas and the Two Wi-Fi antennas, the Wi-Fi module are based on first MAC Address and pass through the first Wi-Fi antennas and the first wireless heat Point establishes connection, and the Wi-Fi module is based on second MAC Address and passes through the 2nd Wi-Fi antennas and the second wireless heat Point establishes connection, is stored with Wi-Fi control programs on the computer-readable recording medium, the Wi-Fi control programs are processed Device realizes following steps when performing:
When triggering power consumption control, the current power consumption of the first Wi-Fi antennas is obtained, and obtain the 2nd Wi- The current power consumption of Fi antennas;
Compare the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas;
The Network that the larger Wi-Fi antennas of current power consumption are carried is migrated to another Wi-Fi antennas, and closes and works as The larger Wi-Fi antennas of preceding power consumption.
Wi-Fi control methods, mobile terminal and computer-readable recording medium proposed by the present invention, by triggering power consumption During control, the current power consumption of two Wi-FI antennas is got first, and is compared;If the current power consumption of a Wi-Fi antennas is more than Another Wi-Fi antennas, then the Network that the larger Wi-Fi antennas of current power consumption are carried is migrated to another Wi-Fi antennas, Ensure that this subnetwork business is not interrupted;After the migration of Network is completed, the larger Wi-Fi antennas of current power consumption are closed, To reach the purpose for reducing power consumption.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the logical layered architecture schematic diagram of mobile terminal Wi-Fi module;
Fig. 3 is a kind of communications network system Organization Chart of mobile terminal as shown in Figure 1;
Fig. 4 is the schematic flow sheet of Wi-Fi control methods first embodiment of the present invention;
Fig. 5 is the exemplary plot of " consumption reduction " control in Wi-Fi control methods first embodiment of the present invention;
Fig. 6 is that first Wi-Fi antennas and the 2nd Wi-Fi antennas be each in Wi-Fi control methods first embodiment of the present invention The Network schematic diagram of carrying;
Fig. 7 is that the Network of the first Wi-Fi antennas is migrated in Wi-Fi control methods first embodiment of the present invention to second The schematic diagram of Wi-Fi antennas;
Fig. 8 is the network that 2nd Wi-Fi antennas carry after completing to migrate in Wi-Fi control methods first embodiment of the present invention Business schematic diagram;
Fig. 9 is that a kind of output prompts the user whether to carry out power consumption control in Wi-Fi control methods first embodiment of the present invention Prompt message exemplary plot;
Figure 10 is that another output prompts the user whether to carry out power consumption control in Wi-Fi control methods first embodiment of the present invention The exemplary plot of the prompt message of system.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device (such as Intelligent bracelet), pedometer Deng mobile terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware configuration signal for each one optional mobile terminal of embodiment of the realization present invention Figure, the mobile terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, Wi-Fi module 102, audio are defeated Go out unit 103, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, connect The parts such as mouth unit 108, memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that in Fig. 1 The mobile terminal structure shown does not form the restriction to mobile terminal, and mobile terminal can include more more or less than illustrating Part, either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
Wi-Fi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch by Wi-Fi module 102 Email, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.It refer to figure 2, corresponding to the layering logic layers of Android system, Wi-Fi module 102 includes Wi-Fi chips 1021, Wi-Fi dual-port drive modules 1022nd, Wi-Fi dual-ports protocol module 1023, Wi-Fi dual-ports frame module 1024 and display module 1025.
Wi-Fi chips 1021, support double MAC technologies, can two different MAC Address of burning simultaneously, be responsible for realizing most The data communication of bottom.
Wi-Fi dual-ports drive module 1022, on the basis of existing Wi-Fi drivings only support this port of wlan0, increase The support to port wlan1 is added, and two MAC Address has been bound with port wlan0 and port wlan1 respectively, together When put up the passage of communication, ensure that drive command can be smoothly sent in Wi-Fi chips 1021.
Wi-Fi dual-ports protocol module 1023, including two protocol stacks, it is respectively used to support port wlan0 and port Wlan1, and relatively independent configuration file is contained, for the preservation of hotspot information and the guarantor of protocol stack arrangement information Deposit.Information in two ports wlan0 and wlan1 can be synchronized by single service in protocol stack, ensure that user exists Operation on any path can preserve, and during Wi-Fi is opened, can be opened respectively when starting protocol stack The protocol stack of two ports is moved, while is notified that Wi-Fi dual-ports drive module 1022 enables two ports, the two of bottom After individual wlan ports are enabled, then bottom layer driving part and following really possess double Wi-Fi functions.Wi-Fi dual-port agreement moulds The common interface that block 1023 is provided by Wi-Fi dual-ports drive module 1022, protocol stack and the binding of bottom port are completed, is entered And completion message passage is built.
Wi-Fi dual-ports frame module 1024, the place different from former single Wi-Fi frameworks is, has increased newly to wlan1 ends Mouthful support, it is constant to maintain original Wi-Fi frameworks and message mechanism, has individually built a set of new message passing mechanism, and Two socket are enabled to bind different protocol stacks simultaneously, keep the normal communication of levels.Wi-Fi dual-port frame modules 1024 belong to wlan0 or wlan1 by port numbers to distinguish the order issued.
Display module 1025, for showing user interface, and the operating user interface of triggering is received, there are other respective modules Responded.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or Wi-Fi module 102 it is receiving or It is sound that the voice data that person stores in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 can also provide performed to mobile terminal 100 the related audio output of specific function (for example, call signal reception sound, Message sink sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or Wi-Fi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Near-field communication (NearFieldCommunication, hereinafter referred to as NFC) is a kind of radio of short distance high frequency Technology, it is allowed to contactless Point-to-Point Data Transmission is carried out between electronic equipment and exchanges data, is identified by non-contact radio-frequency (RFID) develop.NFC working frequencies are 13.56Hz, and effective range is that its transmission speed has 106Kbit/ within 20cm Three kinds of second, 212Kbit/ seconds or 424Kbit/ seconds.NFC has 3 kinds of mode of operations:Card reader pattern, ad hoc mode, snap gauge are intended Pattern.In card reader pattern, NFC device produces radiofrequency field and reads and writes data from the outside NFC label using identical standard. In ad hoc mode, NFC can communicate with other NFC devices, carry out point-to-point data transfer.In snap gauge simulation models, read Card device is active devices, produces radiofrequency field;NFC device is passive equipment, simulates a non-contact card for meeting NFC standard Interacted with card reader.Mobile terminal 100 realizes NFC function by NFC controller 111, such as realizes that NFC is paid.Although Fig. 1 shows NFC controller 111, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be with Omitted as needed in the essential scope for do not change invention.
Mobile terminal 100 can also include the power supply 112 (such as battery) to all parts power supply, it is preferred that power supply 112 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 3, Fig. 3 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned mobile terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each implementation of mobile terminal of the present invention is proposed Example.
Fig. 1 is refer to, in the first embodiment of mobile terminal of the present invention, the mobile terminal includes:
Wi-Fi module 102, Wi-Fi module 102 are configured with the first MAC Address and the second MAC Address, and Wi-Fi module includes First Wi-Fi antennas and the 2nd Wi-Fi antennas, Wi-Fi module pass through the first Wi-Fi antennas and first based on the first MAC Address Hotspot establishes connection, and Wi-Fi module is based on the second MAC Address and established by the 2nd Wi-Fi antennas and the second hotspot Connection;
It is stored with the memory 109 of Wi-Fi control programs;
Processor 110, communicated with memory 109 and be configured to perform the Wi-Fi control programs to realize following steps:
When triggering power consumption control, the current power consumption of the first Wi-Fi antennas is obtained, and obtain the 2nd Wi-Fi antennas Current power consumption;
Compare the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas;
The Network that the larger Wi-Fi antennas of current power consumption are carried is migrated to another Wi-Fi antennas, and closes and works as The larger Wi-Fi antennas of preceding power consumption.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
When the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas is identical, compare the first Wi-Fi antennas and The network traffic of two Wi-Fi antennas carrying;
The Network that the less Wi-Fi antennas of bearer network portfolio are carried is migrated to another Wi-Fi antennas, and Close the less Wi-Fi antennas of bearer network portfolio.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
When the network traffic that the first Wi-Fi antennas and the 2nd Wi-Fi antennas carry is identical, compare the first Wi-Fi days The data traffic size of line and the 2nd Wi-Fi antennas;
The Network that the less Wi-Fi antennas of data traffic are carried is migrated to another Wi-Fi antennas, and closes number According to the less Wi-Fi antennas of flow.
Further, when the first hotspot is operated in 2.4G frequency ranges, the second hotspot is operated in 5G frequency ranges, or When the first hotspot is operated in 5G frequency ranges, the second hotspot is operated in 2.4G frequency ranges.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
When triggering power consumption control, output prompts the user whether to carry out the prompt message of power consumption control;
When receiving the confirmation that display interface of the user based on prompt message is inputted, the first is obtained Wi-Fi days The current power consumption of line, and obtain the current power consumption of the 2nd Wi-Fi antennas.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
Current total power consumption is obtained, and judges whether total power consumption is less than default power consumption;
When total power consumption is more than or equal to default power consumption, power consumption control is triggered.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
The dump energy of battery is obtained, and judges whether the dump energy of battery is more than default electricity;
When the dump energy of battery is less than or equal to default electricity, power consumption control is triggered.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
When the dump energy for detecting battery is more than default electricity, the Wi-Fi antennas of open and close, and move back and have moved Network.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
When the available bandwidth for detecting the hotspot currently connected is less than the demand bandwidth of current each Network, open The Wi-Fi antennas of closing are opened, and recover the connection of the hotspot with being connected before closing, the Network having moved of moving back.
Further, the present invention also provides a kind of Wi-Fi control methods, applied to the mobile terminal shown in Fig. 1, reference picture 4, in the first embodiment of Wi-Fi control methods of the present invention, the Wi-Fi control methods include:
Step S10, when triggering power consumption control, the current power consumption of the first Wi-Fi antennas is obtained, and obtain the 2nd Wi- The current power consumption of Fi antennas;
Step S20, compare the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas;
Step S30, the Network that the larger Wi-Fi antennas of current power consumption are carried is migrated to another Wi-Fi antennas, And close the larger Wi-Fi antennas of current power consumption.
Based on the associated description previously with regard to mobile terminal hardware configuration, in the present embodiment, mobile terminal also includes the One Wi-Fi antennas and the 2nd Wi-Fi antennas, its Wi-Fi module 102 can pass through the first Wi-Fi antennas and the 2nd Wi-Fi days simultaneously Line is attached with two hotspot, acquiescence, when Wi-Fi module be based on the first MAC Address by the first Wi-Fi antennas with When first hotspot establishes connection, Wi-Fi module is based on the second MAC Address and passes through the 2nd Wi-Fi antennas and the second wireless heat Point establishes connection.Wherein, when the first hotspot is operated in 2.4G frequency ranges, the second hotspot is operated in 5G frequency ranges, or When the first hotspot is operated in 5G frequency ranges, the second hotspot is operated in 2.4G frequency ranges.For example, the Wi-Fi of mobile terminal For module after the hotspot foundation connection with being operated in 2.4G frequency ranges, acquiescence is operated in the wireless heat of 5G frequency ranges with another Point establishes connection.It should be noted that in other embodiments, the Wi-Fi module of mobile terminal can connect two works simultaneously Make the hotspot in 2.4G frequency ranges, two hotspot for being operated in 5G frequency ranges can also be connected simultaneously.
Can use it should be noted that in the present embodiment, being not specifically limited for the mode for triggering power consumption control Family operation triggering or mobile terminal trigger automatically.For example, refer to Fig. 5, mobile terminal is provided with for triggering power consumption " consumption reduction " control of control, when user clicks on the consumption reduction control, triggering mobile terminal is subjected to power consumption control.
When triggering power consumption control, mobile terminal gets the current power consumption and the 2nd Wi- of the first Wi-Fi antennas first The current power consumption of Fi antennas.It is easily understood that because the first Wi-Fi antennas in the present embodiment and the 2nd Wi-Fi antennas are distinguished Being established from different hotspot has connection, the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas necessarily have size it Point.For example, the signal intensity ratio of the first hotspot is relatively low, in order to maintain the connection with the first hotspot, mobile terminal meeting Increase the transmitting-receiving power of the first Wi-Fi antennas, cause the current power consumption of the first Wi-Fi antennas to be more than working as the 2nd Wi-Fi antennas Preceding power consumption.
Because this programme mainly lowers consumption by way of closing Wi-Fi antennas all the way to realize, therefore obtaining the first Wi- The current power consumption of Fi antennas and after getting the current power consumption of the 2nd Wi-Fi antennas, to the first Wi-Fi antennas and second The current power consumption of Wi-Fi antennas is compared, to determine which Wi-Fi antenna closed.Specifically, mobile terminal is closed currently The larger Wi-Fi antennas of power consumption, certainly, for avoid close Wi-Fi antennas cause its carrying previous Network interruption, it is necessary to Before the larger Wi-Fi antennas of current power consumption are closed, the Network that the larger Wi-Fi antennas of current power consumption are carried is moved Another Wi-Fi antennas are moved to, that is to say the less Wi-Fi antennas of current power consumption.Such as when the current power consumption of the first Wi-Fi antennas is big When the current power consumption of the 2nd Wi-Fi antennas, then the Network that the first Wi-Fi antennas are carried is migrated to the 2nd Wi-Fi Antenna, and the first Wi-Fi antennas are closed after the completion of migration;When the current power consumption of the 2nd Wi-Fi antennas is more than the first Wi-Fi days During the current power consumption of line, then the Network that the 2nd Wi-Fi antennas are carried is migrated to the first Wi-Fi antennas, and migrated After the completion of close the 2nd Wi-Fi antennas.
For example, refer to Fig. 6, the first Wi-Fi antennas carry " wechat " and " QQ " Network, the 2nd Wi-Fi days Line carries the Network of " Netease's cloud music " and " UC browsers ";Fig. 7 is refer to, mobile terminal is comparing the first Wi-Fi The current power consumption of antenna and the 2nd Wi-Fi antennas, however, it is determined that the current power consumption of the first Wi-Fi antennas is more than the 2nd Wi-Fi antennas Current power consumption, then the Network of " wechat " and " QQ " that is carried the first Wi-Fi antennas migrated to the 2nd Wi-Fi days Line, and the first Wi-Fi antennas are closed after completing to migrate, finally, " wechat ", " QQ ", " Netease are carried on the 2nd Wi-Fi antennas The Network of cloud music " and " UC browsers ", as shown in Figure 8.
Alternatively, in the present embodiment, before step S10, in addition to:
When triggering power consumption control, output prompts the user whether to carry out the prompt message of power consumption control;
When receiving the confirmation that display interface of the user based on prompt message is inputted, step S10 is performed.
Now consider following scene, user is because accidentally touching mobile terminal offer, for triggering " the drop of power consumption control Consumption " control, if mobile terminal now directly carries out power consumption control, because mobile terminal keeps the hotspot of connection to carry more More Network so that hotspot can not perform the Network of its carrying well, cause bad Consumer's Experience.For This, the present embodiment is confirmed whether to carry out power consumption control first, to avoid producing maloperation before power consumption control is carried out by user. For example, refer to Fig. 9, for mobile terminal when automatic triggering carries out power consumption control, whether output prompt message " carries out power consumption control System ", user can click on control "Yes" input validation information according to selection is actually needed, confirm to carry out power consumption control, Huo Zhexuan Select and click on control "No" input refusal information, refusal carries out power consumption control;In another example refer to Figure 10, user is touched by clicking on Hair carries out power consumption control, and mobile terminal prompts the user whether to carry out power consumption control by directly displaying control "Yes" and control "No" System, user can click on control "Yes" input validation information according to selection is actually needed, confirm to carry out power consumption control, or selection Control "No" input refusal information is clicked on, refusal carries out power consumption control.
Alternatively, in the present embodiment, after step S20, in addition to:
When the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas is identical, compare the first Wi-Fi antennas and The network traffic of two Wi-Fi antennas carrying;
The Network that the less Wi-Fi antennas of bearer network portfolio are carried is migrated to another Wi-Fi antennas, and Close the less Wi-Fi antennas of bearer network portfolio.
It is easily understood that in practical application scene, although seldom occurring, the first Wi-Fi antennas are there will still likely be With the 2nd Wi-Fi antenna current power consumption identical situations.To realize power consumption control in such case, mobile terminal further compares The network traffic of first Wi-Fi antennas and the 2nd Wi-Fi antennas;When the network traffic of the 2nd Wi-Fi antennas is more than first During the network traffic of Wi-Fi antennas, then the Network that the first Wi-Fi antennas are carried is migrated to the 2nd Wi-Fi antennas, Business migration is reduced on the influence that may be present of existing network business, and the first Wi-Fi antennas are closed after the completion of migration;When When the network traffic of one Wi-Fi antennas is more than the network traffic of the 2nd Wi-Fi antennas, then the 2nd Wi-Fi antennas are held The Network of load is migrated to the first Wi-Fi antennas, reduces business migration to the influence that may be present of existing network business, and The 2nd Wi-Fi antennas are closed after the completion of migration.
Alternatively, in the present embodiment, the network industry of the foregoing Wi-Fi antennas of comparison the first and the 2nd Wi-Fi antennas carrying After the step of business amount, in addition to:
When the network traffic that the first Wi-Fi antennas and the 2nd Wi-Fi antennas carry is identical, compare the first Wi-Fi days The data traffic size of line and the 2nd Wi-Fi antennas;
The Network that the less Wi-Fi antennas of data traffic are carried is migrated to another Wi-Fi antennas, and closes number According to the less Wi-Fi antennas of flow.
It is easily understood that in practical application scene, although seldom occurring, the first Wi-Fi antennas are there will still likely be With the 2nd Wi-Fi aerial network portfolio identical situations.To realize power consumption control in such case, mobile terminal further compares Compared with the data traffic size of the first Wi-Fi antennas and the 2nd Wi-Fi antennas;When the data traffic of the 2nd Wi-Fi antennas is more than the During the data traffic of one Wi-Fi antennas, then the Network that the first Wi-Fi antennas are carried is migrated to the 2nd Wi-Fi antennas, Business migration is reduced on the influence that may be present of existing network business, and the first Wi-Fi antennas are closed after the completion of migration;When When the data traffic of one Wi-Fi antennas is more than the data traffic of the 2nd Wi-Fi antennas, then the 2nd Wi-Fi antennas are carried Network is migrated to the first Wi-Fi antennas, reduces business migration to the influence that may be present of existing network business, and migrating After the completion of close the 2nd Wi-Fi antennas.
If in addition, the data traffic of the first Wi-Fi antennas and the 2nd Wi-Fi antennas is still identical, mobile terminal is random A Wi-Fi antennas are selected to close, and before the Wi-Fi antennas of selection are closed, network industry that the Wi-Fi antennas of selection are carried Business is migrated to another Wi-Fi antennas, completes to turn off the Wi-Fi antennas of selection after migrating;
Or when the data traffic of the first Wi-Fi antennas and the 2nd Wi-Fi antennas is identical, mobile terminal display selection Interface, and based on the selection information of selection interface reception user's input, the Wi-Fi antennas for selecting information to specify are carried Network is migrated to another Wi-Fi antennas, and the Wi-Fi antennas that selection information is specified are closed after completing to migrate.
The Wi-Fi control methods that the embodiment of the present invention proposes, the mobile terminal for including two-way Wi-Fi antennas, touching When sending out power consumption control, the current power consumption of two Wi-FI antennas is got first, and be compared;If the current work(of a Wi-Fi antennas Consumption is more than another Wi-Fi antennas, then migrates the Network that the larger Wi-Fi antennas of current power consumption are carried to another Wi- Fi antennas, it is ensured that this subnetwork business is not interrupted;After the migration of Network is completed, the larger Wi- of current power consumption is closed Fi antennas, to reach the purpose for reducing power consumption.
Further, based on first embodiment, the second embodiment of Wi-Fi control methods of the present invention is proposed, in this implementation In example, before step S10, in addition to:
Current total power consumption is obtained, and judges whether current total power consumption is less than default power consumption;
When total power consumption is more than or equal to default power consumption, power consumption control is triggered.
It should be noted that the present embodiment is on the basis of aforementioned first embodiment, it is proposed that one kind triggering power consumption control Concrete mode, be only explained below, other can refer to aforementioned first embodiment, and here is omitted.
In embodiments of the present invention, mobile terminal total power consumption current to its in real time detects, and gets and works as in detection After preceding total power consumption, determine whether the total power consumption is less than default power consumption, wherein, default power consumption is used for preset The power consumption of power consumption control, the setting for its specific size are triggered, the embodiment of the present invention is not limited, specifically can be by this area skill Art personnel are according to the hardware performance of different mobile terminal, relative set.
When completing to compare and determine that current total power consumption is more than or equal to default power consumption, illustrate that current power consumption is too high, need Power consumption control is carried out to reduce power consumption, now mobile terminal triggering power consumption control;Complete to compare and determining current total work When consumption is less than default power consumption, illustrate that current power consumption is fine, without triggering power consumption control.
Further, based on first embodiment, the 3rd embodiment of Wi-Fi control methods of the present invention is proposed, in this implementation In example, before step S10, in addition to:
The dump energy of battery is obtained, and judges whether the dump energy of battery is more than default electricity;
When the dump energy of battery is less than or equal to default electricity, power consumption control is triggered.
It should be noted that the embodiment of the present invention is on the basis of aforementioned first embodiment, it is proposed that another kind triggering work( The concrete mode of control is consumed, is only explained below, other can refer to the associated description of previous embodiment, no longer superfluous herein State.
It is easily understood that high power consumption means the quick consumption of electricity, in the not enough power supply of mobile terminal, if still Maintain high power consumption state, then its electricity will be depleted quickly, and user to charge for it even without time enough, causes Mobile terminal automatic shutdown and can not use.Therefore, in the present embodiment, mobile terminal is in real time to its battery (i.e. shown in Fig. 1 Power supply 112) dump energy detected.Wherein, can be different according to use is actually needed for the measurement of dump energy Metric form, as the present embodiment measures dump energy by the way of percentage.
After detection gets the dump energy of battery, mobile terminal determines whether is the dump energy that gets More than default electricity.Wherein, electricity is preset as the electricity set in advance for being used to trigger power consumption control, specifically can be by this area skill Art personnel are configured according to being actually needed, and the present invention is not particularly limited, for example, the present embodiment is set to 15%.
If judging, the dump energy for obtaining battery is less than or equal to default electricity, illustrates that battery electric quantity will exhaust, mobile Terminal now triggers power consumption control, reduces power consumption to extend service time of battery;If the dump energy for judging to obtain battery is more than Default electricity, illustrate that the remaining enough electricity of electricity are available for consuming, without carrying out power consumption control.
Alternatively, in the present embodiment, while power consumption control is triggered, following steps are also performed:
The prompt message of output prompting user's charging.
Based on above description, it will be appreciated by persons skilled in the art that mobile terminal is in not enough power supply in the present embodiment When trigger power consumption control, can now export simultaneously prompting user charging prompt message, with prompt user to mobile terminal charge, Mobile terminal is avoided to shut down.Wherein, the mode of the content for prompt message and output prompt message, the present embodiment, which is not done, to be had Body limits, and can be configured by those skilled in the art according to being actually needed.
Alternatively, in the present embodiment, after step S30, in addition to:
When the dump energy for detecting battery is more than default electricity, the Wi-Fi antennas of open and close, and recover and close The connection of the hotspot of preceding connection, the Network having moved of moving back.
In the present embodiment, when the dump energy for detecting battery is more than default electricity, battery current residual foot is illustrated Enough electricity are available for consuming, and without carrying out power consumption control, the Wi-Fi antennas that power consumption control is closed are carried out before now opening, And recover the connection of the hotspot with being connected before closing, the Network having moved of moving back, so as to provide more preferable network clothes Business.If for example, closing the first Wi-Fi antennas in power consumption control, it is more than default electricity in the dump energy for detecting battery When, the first Wi-Fi antennas of open and close, and control Wi-Fi module be based on the first MAC Address by the first Wi-Fi antennas with First hotspot re-establishes connection, after connection is successfully established, then the network industry that will be moved out before from the first Wi-Fi antennas Business is moved back to the first Wi-Fi antennas, provides network service by the first hotspot again.
Further, based on first embodiment, the fourth embodiment of Wi-Fi control methods of the present invention is proposed, in this implementation In example, after step S30, in addition to:
When the available bandwidth for detecting the hotspot currently connected is less than the demand bandwidth of current each Network, open The Wi-Fi antennas of closing are opened, and recover the connection of the hotspot with being connected before closing, the Network having moved of moving back.
It should be noted that the present embodiment on the basis of aforementioned first embodiment, add carry out power consumption control after it is extensive The operation of multiple double Wi-Fi connections, is only explained, other can refer to aforementioned first embodiment, and here is omitted below.
In the present embodiment, meet the transmission demand of Network has higher priority compared to power consumption control, with Progress power consumption control is avoided to have influence on Consumer's Experience.Therefore, mobile terminal is carrying out power consumption control, i.e., current power consumption is larger The Network that Wi-Fi antennas are carried is migrated to another Wi-Fi antennas, and close the larger Wi-Fi antennas of current power consumption it Afterwards, whether the available bandwidth for the hotspot that detecting real-time currently connects is more than or equal to the demand band of current each Network It is wide.It is easily understood that the available bandwidth in the hotspot currently connected is more than or equal to the demand of current each Network During bandwidth, illustrate that the hotspot can provide normal network service;If the available bandwidth of the hotspot currently connected is small In the demand bandwidth of current each Network, illustrate that the hotspot can not provide normal network service, now open The Wi-Fi antennas that power consumption control is closed are carried out before, and recover the connection of the hotspot with being connected before closing, and are moved back and have been moved The Network of shifting.If, can detect the 2nd Wi-Fi antennas for example, close the first Wi-Fi antennas in power consumption control When being less than the demand bandwidth of current each Network with bandwidth, the first Wi-Fi antennas of open and close, and control Wi-Fi module 102 are re-established with the first hotspot by the first Wi-Fi antennas based on the first MAC Address and are connected, and are being successfully established connection Afterwards, then by the Network moved out before from the first Wi-Fi antennas move back to the first Wi-Fi antennas, so as to by the first wireless heat Point and the second hotspot share each Network on mobile terminal, to meet the transmission demand of Network.
In addition, the present invention also proposes a kind of computer-readable recording medium, applied to the mobile terminal shown in Fig. 1, the shifting Dynamic terminal includes Wi-Fi module 102, and Wi-Fi module 102 is configured with the first MAC Address and the second MAC Address, Wi-Fi module bag Include the first Wi-Fi antennas and the 2nd Wi-Fi antennas, Wi-Fi module is based on the first MAC Address and passes through the first Wi-Fi antennas and the One hotspot establishes connection, and Wi-Fi module is built based on the second MAC Address by the 2nd Wi-Fi antennas with the second hotspot It is vertical to connect, Wi-Fi control programs are stored with the computer-readable recording medium, the Wi-Fi control programs are held by processor 110 Following operation is realized during row:
When triggering power consumption control, the current power consumption of the first Wi-Fi antennas is obtained, and obtain the 2nd Wi-Fi antennas Current power consumption;
Compare the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas;
The Network that the larger Wi-Fi antennas of current power consumption are carried is migrated to another Wi-Fi antennas, and closes and works as The larger Wi-Fi antennas of preceding power consumption.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
When the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas is identical, compare the first Wi-Fi antennas and The network traffic of two Wi-Fi antennas carrying;
The Network that the less Wi-Fi antennas of bearer network portfolio are carried is migrated to another Wi-Fi antennas, and Close the less Wi-Fi antennas of bearer network portfolio.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
When the network traffic that the first Wi-Fi antennas and the 2nd Wi-Fi antennas carry is identical, compare the first Wi-Fi days The data traffic size of line and the 2nd Wi-Fi antennas;
The Network that the less Wi-Fi antennas of data traffic are carried is migrated to another Wi-Fi antennas, and closes number According to the less Wi-Fi antennas of flow.
Further, when the first hotspot is operated in 2.4G frequency ranges, the second hotspot is operated in 5G frequency ranges, or When the first hotspot is operated in 5G frequency ranges, the second hotspot is operated in 2.4G frequency ranges.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
When triggering power consumption control, output prompts the user whether to carry out the prompt message of power consumption control;
When receiving the confirmation that display interface of the user based on prompt message is inputted, the first is obtained Wi-Fi days The current power consumption of line, and obtain the current power consumption of the 2nd Wi-Fi antennas.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
Current total power consumption is obtained, and judges whether total power consumption is less than default power consumption;
When total power consumption is more than or equal to default power consumption, power consumption control is triggered.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
The dump energy of battery is obtained, and judges whether dump energy is more than default electricity;
When dump energy is less than or equal to default electricity, power consumption control is triggered.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
When the dump energy for detecting battery is more than default electricity, the Wi-Fi antennas of open and close, and move back and have moved Network.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
When the available bandwidth for detecting the hotspot currently connected is less than the demand bandwidth of current each Network, open The Wi-Fi antennas of closing are opened, and recover the connection of the hotspot with being connected before closing, the Network having moved of moving back.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are make it that it is each that mobile terminal performs the present invention Method described in individual embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of Wi-Fi control methods, it is characterised in that the Wi-Fi module of mobile terminal is configured with the first MAC Address and second MAC Address, the Wi-Fi module include the first Wi-Fi antennas and the 2nd Wi-Fi antennas, and the Wi-Fi module is based on described the One MAC Address is established by the first Wi-Fi antennas and the first hotspot and connected, and the Wi-Fi module is based on described the Two MAC Address are established by the 2nd Wi-Fi antennas and the second hotspot and connected, and the Wi-Fi control methods include:
When triggering power consumption control, the current power consumption of the first Wi-Fi antennas is obtained, and obtain the described 2nd Wi-Fi days The current power consumption of line;
Compare the current power consumption of the first Wi-Fi antennas and the 2nd Wi-Fi antennas;
The Network that the larger Wi-Fi antennas of current power consumption are carried is migrated to another Wi-Fi antennas, and closes current work( Consume larger Wi-Fi antennas.
2. Wi-Fi control methods according to claim 1, it is characterised in that the first Wi-Fi antennas and After the step of current power consumption of the 2nd Wi-Fi antennas, in addition to:
When the first Wi-Fi antennas are identical with the current power consumption of the 2nd Wi-Fi antennas, the first Wi-Fi Antenna and the network traffic of the 2nd Wi-Fi antennas carrying;
The Network that the less Wi-Fi antennas of bearer network portfolio are carried is migrated to another Wi-Fi antennas, and closed The less Wi-Fi antennas of bearer network portfolio.
3. Wi-Fi control methods according to claim 2, it is characterised in that the first Wi-Fi antennas and After the step of network traffic of the 2nd Wi-Fi antennas carrying, in addition to:
When the first Wi-Fi antennas are identical with network traffic that the 2nd Wi-Fi antennas carry, more described first The data traffic size of Wi-Fi antennas and the 2nd Wi-Fi antennas;
The Network that the less Wi-Fi antennas of data traffic are carried is migrated to another Wi-Fi antennas, and closes data flow Measure less Wi-Fi antennas.
4. Wi-Fi control methods according to claim 1, it is characterised in that acquisition the first Wi-Fi antennas Before current power consumption, and the step of current power consumption of acquisition the 2nd Wi-Fi antennas, in addition to:
When triggering power consumption control, output prompts the user whether to carry out the prompt message of power consumption control;
When receiving the confirmation that display interface of the user based on the prompt message is inputted, the first Wi- is obtained The current power consumption of Fi antennas, and obtain the current power consumption of the 2nd Wi-Fi antennas.
5. according to the Wi-Fi control methods described in claim any one of 1-4, it is characterised in that described that current power consumption is larger The Network that is carried of Wi-Fi antennas migrate to another Wi-Fi antennas, and close the larger Wi-Fi antennas of current power consumption The step of after, in addition to:
When the available bandwidth for detecting the hotspot currently connected is less than the demand bandwidth of current each Network, opens and close The Wi-Fi antennas closed, and recover the connection of the hotspot with being connected before closing, the Network having moved of moving back.
6. according to the Wi-Fi control methods described in claim any one of 1-4, it is characterised in that described in triggering power consumption control When, the step of obtaining the current power consumption of the first Wi-Fi antennas, and obtain the current power consumption of the 2nd Wi-Fi antennas Before, in addition to:
Current total power consumption is obtained, and judges whether the total power consumption is less than default power consumption;
When the total power consumption is more than or equal to the default power consumption, power consumption control is triggered.
7. according to the Wi-Fi control methods described in claim any one of 1-4, it is characterised in that described in triggering power consumption control When, the step of obtaining the current power consumption of the first Wi-Fi antennas, and obtain the current power consumption of the 2nd Wi-Fi antennas Before, in addition to:
The dump energy of battery is obtained, and judges whether the dump energy is more than default electricity;
When the dump energy is less than or equal to the default electricity, power consumption control is triggered.
8. Wi-Fi control methods according to claim 7, it is characterised in that described by larger Wi-Fi days of current power consumption The Network that line is carried is migrated to another Wi-Fi antennas, and the step of close current power consumption larger Wi-Fi antennas it Afterwards, in addition to:
When the dump energy for detecting battery is more than the default electricity, the Wi-Fi antennas of open and close, and recover and close The connection of the hotspot of preceding connection, the Network having moved of moving back.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Wi-Fi module, the Wi-Fi module are configured with the first MAC Address and the second MAC Address, and the Wi-Fi module includes the One Wi-Fi antennas and the 2nd Wi-Fi antennas, the Wi-Fi module pass through the first Wi-Fi based on first MAC Address Antenna and the first hotspot, which are established, to be connected, and the Wi-Fi module passes through the 2nd Wi-Fi based on second MAC Address Antenna and the second hotspot, which are established, to be connected;
It is stored with the memory of Wi-Fi control programs;
Processor, with the memory communication and being configured to perform the Wi-Fi control programs to realize in claim 1 to 8 The step of Wi-Fi control methods described in any one.
A kind of 10. computer-readable recording medium, applied to mobile terminal, it is characterised in that the Wi-Fi moulds of the mobile terminal Block is configured with the first MAC Address and the second MAC Address, and the Wi-Fi module includes the first Wi-Fi antennas and the 2nd Wi-Fi days Line, the Wi-Fi module are based on first MAC Address and establish company by the first Wi-Fi antennas and the first hotspot Connect, the Wi-Fi module is based on second MAC Address and establishes company by the 2nd Wi-Fi antennas and the second hotspot Connect, Wi-Fi control programs are stored with the computer-readable recording medium, the Wi-Fi control programs are executed by processor The step of Wi-Fi control methods of the Shi Shixian as any one of claim 1 to 8.
CN201710912790.4A 2017-09-29 2017-09-29 Wi Fi control methods, mobile terminal and computer-readable recording medium Pending CN107708190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710912790.4A CN107708190A (en) 2017-09-29 2017-09-29 Wi Fi control methods, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710912790.4A CN107708190A (en) 2017-09-29 2017-09-29 Wi Fi control methods, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107708190A true CN107708190A (en) 2018-02-16

Family

ID=61174699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710912790.4A Pending CN107708190A (en) 2017-09-29 2017-09-29 Wi Fi control methods, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107708190A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722118A (en) * 2016-01-27 2016-06-29 努比亚技术有限公司 Data service communication processing method and device
CN105744597A (en) * 2014-12-12 2016-07-06 华为终端(东莞)有限公司 Terminal and wireless connection method
CN105759937A (en) * 2016-02-03 2016-07-13 努比亚技术有限公司 Method for lowering terminal power consumption and terminal
CN107148060A (en) * 2017-05-23 2017-09-08 维沃移动通信有限公司 A kind of method for connecting network and its mobile terminal of application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744597A (en) * 2014-12-12 2016-07-06 华为终端(东莞)有限公司 Terminal and wireless connection method
CN105722118A (en) * 2016-01-27 2016-06-29 努比亚技术有限公司 Data service communication processing method and device
CN105759937A (en) * 2016-02-03 2016-07-13 努比亚技术有限公司 Method for lowering terminal power consumption and terminal
CN107148060A (en) * 2017-05-23 2017-09-08 维沃移动通信有限公司 A kind of method for connecting network and its mobile terminal of application

Similar Documents

Publication Publication Date Title
CN107635248A (en) Network accelerating method, mobile terminal and computer-readable recording medium
CN107635263A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107343083A (en) One kind lifting game experiencing method, apparatus and computer-readable recording medium
CN107222613A (en) A kind of display methods and terminal
CN107580359A (en) Hotspot sharing method, mobile terminal and computer-readable recording medium
CN107436779A (en) A kind of application management method, equipment and computer-readable recording medium
CN107787006A (en) Hotspot network quality detection method, mobile terminal and storage medium
CN107770841A (en) Hotspot connection method, mobile terminal and computer-readable recording medium
CN108307432A (en) WiFi control methods, mobile terminal and computer readable storage medium
CN107390856A (en) A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption
CN107885448A (en) Using the control method of touch operation, mobile terminal and readable storage medium storing program for executing
CN107249183A (en) Electrically connect method, mobile terminal and computer-readable medium
CN107682882A (en) Data transmission method, mobile terminal and computer-readable recording medium
CN107635232A (en) A kind of network share method, terminal and computer-readable recording medium
CN107613489A (en) A kind of wireless charging method, hotspot equipment, terminal and storage medium
CN107220049A (en) Notifier processes method, mobile terminal and computer-readable recording medium in a kind of informing
CN107770840A (en) Focus signal display method, mobile terminal and computer-readable recording medium
CN107632886A (en) A kind of switching method, terminal and the computer-readable recording medium of terminal operating pattern
CN107708224A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107770842A (en) Hotspot connection method, mobile terminal and computer-readable recording medium
CN108307433A (en) Hotspot sharing method, mobile terminal and computer readable storage medium
CN107635234A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107466081A (en) A kind of wireless switching method and terminal
CN107608629A (en) A kind of data migration method, terminal and computer-readable recording medium
CN107423065A (en) Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else

Legal Events

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

Application publication date: 20180216