CN107708224A - 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
CN107708224A
CN107708224A CN201710912787.2A CN201710912787A CN107708224A CN 107708224 A CN107708224 A CN 107708224A CN 201710912787 A CN201710912787 A CN 201710912787A CN 107708224 A CN107708224 A CN 107708224A
Authority
CN
China
Prior art keywords
hotspot
application program
bandwidth
module
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.)
Pending
Application number
CN201710912787.2A
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 CN201710912787.2A priority Critical patent/CN107708224A/en
Publication of CN107708224A publication Critical patent/CN107708224A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

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

Abstract

The invention discloses a kind of Wi Fi control methods, mobile terminal for being connected with two hotspot simultaneously, when starting application program, determine whether the application program is the default application program that bandwidth demand be present first, and when it is determined that application program is default application program, further determine that the hotspot that bandwidth is larger in two currently attached hotspot, then configuration application program is carried out data transmission by the larger hotspot of the bandwidth of determination, so as to carry out data transmission providing required available bandwidth for application program, ensure that application program can be normally carried out data transfer.The invention also discloses a kind of mobile terminal and computer-readable storage media.The present invention is able to ensure that application program is normally carried out data transfer.

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, meanwhile, the application program of types of functionality emerges in an endless stream, and enriches the function of mobile terminal.Such as various video playbacks Class application program, music class application program and net cast class application program etc., but these application programs are generally present necessarily Bandwidth demand, data traffic consumption it is larger.Therefore, user normally tends to mobile terminal being connected to hotspot to provide Network service, realize the data transfer of these application programs.But because the access bandwidth of different radio focus is different, its energy The available bandwidth enough provided is also not quite similar, if the available bandwidth of hotspot can not meet that application program carries out data transmission institute The bandwidth needed, then the data transfer of these application programs will be unable to be normally carried out.
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 to move Application program in terminal can be normally carried out data transfer.
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 is with being based on the first MAC Location is established with the first hotspot and connected, and the Wi-Fi module is based on second MAC Address and the second hotspot is established and connected Connect, the Wi-Fi control methods include:
When starting application program, judge whether the application program is the default application program that bandwidth demand be present;
When the application program is the default application program, bandwidth in two currently attached hotspot is determined Larger hotspot;
The application program is configured by the larger hotspot of the bandwidth of determination to carry out data transmission.
Further, the present invention also provides a kind of mobile terminal, and the mobile terminal includes:
Wi-Fi module, the Wi-Fi module are configured with the first MAC Address and the second MAC Address, the Wi-Fi module base Establish and connect in first MAC Address and the first hotspot, the Wi-Fi module is based on second MAC Address and the Two hotspot establish connection;
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 starting application program, judge whether the application program is the default application program that bandwidth demand be present;
When the application program is the default application program, bandwidth in two currently attached hotspot is determined Larger hotspot;
The application program is configured by the larger hotspot of the bandwidth of determination to carry out data transmission.
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 be based on first MAC Address with First hotspot establishes connection, and the Wi-Fi module is based on second MAC Address and the second hotspot is established and connected, Wi-Fi control programs are stored with the computer-readable recording medium, the Wi-Fi control programs are realized when being executed by processor Following steps:
When starting application program, judge whether the application program is the default application program that bandwidth demand be present;
When the application program is the default application program, bandwidth in two currently attached hotspot is determined Larger hotspot;
The application program is configured by the larger hotspot of the bandwidth of determination to carry out data transmission.
Wi-Fi control methods, mobile terminal and computer-readable recording medium proposed by the present invention, for being connected with simultaneously The mobile terminal of two hotspot, when starting application program, it is first determined whether the application program is bandwidth demand be present Default application program, and when it is determined that application program is default application program, further determine that two currently attached nothings The larger hotspot of bandwidth in line focus, then configure application program and line number is entered by the larger hotspot of the bandwidth of determination According to transmission, so as to carry out data transmission providing required available bandwidth for application program, it is ensured that application program can be normally carried out Data transfer.
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 a kind of communications network system Organization Chart of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of Wi-Fi control methods first embodiment of the present invention;
Fig. 4 is the hierarchy schematic diagram of Wi-Fi module in Wi-Fi control methods first embodiment of the present invention;
Fig. 5 is that Wi-Fi module connects the first hotspot and the second nothing in Wi-Fi control methods first embodiment of the present invention The schematic diagram of line focus;
Fig. 6 is setting circle of an optional bandwidth demand white list in Wi-Fi control methods first embodiment of the present invention Face exemplary plot;
Fig. 7 is the example of the hotspot of mobile terminal switching connection in Wi-Fi control methods 3rd embodiment of the present invention Figure.
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.
The primary solutions of the embodiment of the present invention are:Mobile terminal for being connected with two hotspot simultaneously, When starting application program, it is first determined the application program carries out the network environment needed for network service, and it is determined that application program After required network environment, further determine that network environment is needed for application program in two currently attached hotspot The hotspot of network environment, then configure wireless heat of the application program by network environment for network environment needed for application program Point carries out data transmission, so as to provide required network service for application program, it is ensured that application program normal operation.
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 (CodeDivision 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 data transfer.
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. 2, Fig. 2 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 an 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, Wi-Fi module 102 Established and connected based on the first MAC Address and the first hotspot, Wi-Fi module 102 is based on the second MAC Address and the second wireless heat Point establishes connection;
It is stored with the memory 109 of Wi-Fi control programs;
Processor 110, communicated with memory 109 and be configured to perform foregoing Wi-Fi control programs to realize following steps:
When starting application program, judge whether aforementioned applications program is the default application program that bandwidth demand be present;
When aforementioned applications program is default application program, determine that bandwidth is larger in two currently attached hotspot Hotspot;
Configuration aforementioned applications program is carried out data transmission by the larger hotspot of the bandwidth of determination.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
When aforementioned applications program is not to preset application program, network matter in two currently attached hotspot is determined Measure preferable hotspot;
Configuration aforementioned applications program is carried out data transmission by the preferable hotspot of network quality of determination.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
Judge whether the bandwidth of the larger hotspot of bandwidth is more than or equal to the bandwidth of aforementioned applications program requirements;
In judged result for when being, configuration aforementioned applications program carries out data by the larger hotspot of the bandwidth of determination Transmission.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
When the bandwidth of the larger hotspot of bandwidth is less than the bandwidth of aforementioned applications program requirements, Wi-Fi module is disconnected 102 with the connection of the larger hotspot of bandwidth, and determine to be operated in same frequency range, and bandwidth with the larger hotspot of bandwidth More than or equal to other hotspot of the demand bandwidth of aforementioned applications program;
Control Wi-Fi module 102 to establish with the other hotspot determined to connect, and configure aforementioned applications program and pass through this Other hotspot carry out data transmission.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
Before the connection of Wi-Fi module 102 and the larger hotspot of bandwidth is disconnected, larger wireless of bandwidth will be passed through The Network that focus is transmitted is migrated to the less hotspot of bandwidth;
Wi-Fi module 102 and the other hotspot determined are being controlled to establish after connecting, the network that will also migrate before Other hotspot that business migration connects to new foundation.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
The bag name of aforementioned applications program is obtained, and judges whether aforementioned applications program is that media class should according to the bag name of acquisition With program, wherein, when aforementioned applications program is media class application program, it is default application program to determine aforementioned applications program.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
The data traffic in preset time period when aforementioned applications program is last to be run is obtained, and judges the number got Whether it is more than or equal to preset data flow according to flow, wherein, it is more than or equal to foregoing present count in the data traffic got During according to flow, it is default application program to determine aforementioned applications program.
Further, when processor 110 performs the Wi-Fi control programs stored in memory 109, following grasp also is realized Make:
Whether aforementioned applications program is judged using default stream media protocol, wherein, use default stream in aforementioned applications program During media protocol, it is default application program to determine aforementioned applications program.
Further, the present invention also provides a kind of Wi-Fi control methods, and mobile terminal as shown in Figure 1 performs, and refer to Fig. 3, in the first embodiment of Wi-Fi control methods of the present invention, the Wi-Fi control methods include:
Step S10, when starting application program, judge whether aforementioned applications program is the default application that bandwidth demand be present Program;
Step S20, when aforementioned applications program is default application program, determine in two currently attached hotspot The larger hotspot of bandwidth;
Step S30, configuration aforementioned applications program are carried out data transmission by the larger hotspot of the bandwidth of determination.
For ease of understanding the present invention program, the hardware foundation realized first to scheme of the invention below is simply introduced.
Fig. 4 is refer to, corresponding to the layering logic layers of Android system, the Wi-Fi module 102 of mobile terminal includes Wi-Fi cores Piece 1021, Wi-Fi dual-ports drive module 1022, Wi-Fi dual-ports protocol module 1023, Wi-Fi dual-port frame modules 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, by other respective modules Responded.
Based on the associated description above with respect to mobile terminal Wi-Fi module 102, the realization to the present invention program below is carried out Describe in detail.
In the present embodiment, Wi-Fi module 102 also includes the first Wi-Fi antennas and the 2nd Wi-Fi antennas, Wi-Fi module 102 can be attached by the first Wi-Fi antennas and the 2nd Wi-Fi antennas with two hotspot simultaneously.Acquiescence, it refer to Fig. 5, when Wi-Fi module 102 based on the first MAC Address by the first Wi-Fi antennas be operated in the first frequency range it is first wireless After focus establishes connection, Wi-Fi module 102 by the 2nd Wi-Fi antennas and is operated in the second frequency range based on the second MAC Address Second hotspot establishes connection.Wherein, when the first hotspot is operated in 2.4G frequency ranges, the second hotspot is operated in 5G Frequency range, or when the first hotspot is operated in 5G frequency ranges, the second hotspot is operated in 2.4G frequency ranges.It is for example, mobile whole For the Wi-Fi module 102 at end after the hotspot foundation connection with being operated in 2.4G frequency ranges, acquiescence is operated in 5G with another The hotspot of frequency range establishes connection.It should be noted that in other embodiments, the Wi-Fi module 102 of mobile terminal can be with Two hotspot for being operated in 2.4G frequency ranges are connected simultaneously, can also connect two wireless heat for being operated in 5G frequency ranges simultaneously Point.
In real life, various public fields it is the commonly provided free wirelessly access, but these provide it is free The available bandwidth of the hotspot of wirelessly access is not quite similar, and some available bandwidths are smaller, is only available for news category application journey Sequence carries out the renewal of word/picture category news, and some available bandwidths are larger, is available for the online broadcasting of video playback class application to regard Frequently.If the larger application program of demand bandwidth is configured to the less hotspot of available bandwidth and carries out data biography by mobile terminal It is defeated, it would be possible to cause the application program can not be normally carried out data transfer, so as to can not normally provide the user service.
To avoid the generation of the above situation, mobile terminal enters to the application program of startup first when starting application program Row identification, to determine whether the application program is the default application program that bandwidth demand be present, it that is to say the application that identification starts Whether the higher available bandwidth of demand carries out data transmission program.In the present embodiment, it can judge to apply journey in several ways Whether sequence is the application program that bandwidth demand be present, judges whether aforementioned applications program is to have the default of bandwidth demand to apply journey Sequence includes:
The bag name of aforementioned applications program is obtained, and judges whether aforementioned applications program is that media class should according to the bag name of acquisition With program, wherein, when aforementioned applications program is media class application program, it is default application program to determine aforementioned applications program;
Or data traffic when obtaining the operation of aforementioned applications program last time in preset time period, and judge to obtain Whether the data traffic arrived is more than or equal to preset data flow, wherein, it is more than or equal in the data traffic got foregoing During preset data flow, it is default application program to determine aforementioned applications program;
Or whether aforementioned applications program is judged using default stream media protocol, wherein, used in aforementioned applications program pre- If during stream media protocol, it is default application program to determine aforementioned applications program.
For the present embodiment provide more than several recognition applications whether be the default application program that bandwidth demand be present, First, mobile terminal when starting application program, gets the bag name of the application program, the Bao Mingyu that then will be got first Each bag name in the media class list of application of local maintenance is compared, if comparing successfully, it is media to illustrate the application program Class application program, because media class application program (such as Tengxun's video, iqiyi.com) is usually directed to the transmission of audio, video data, need Larger available bandwidth is sought, therefore can determine that the application program is the default application program for existing bandwidth demand.
Second, when mobile terminal when starting application program, obtains the last operation of the application program first when default Between section (the specific value of the preset time period can be configured according to being actually needed by those skilled in the art, and the present embodiment is not Do concrete restriction) in data traffic, and judge the data traffic that gets whether to be more than or equal to preset data flow that (this is pre- If the specific value of data traffic can be configured according to being actually needed by those skilled in the art, the present embodiment does not do specific limit System), if so, then illustrate that the application program there may be the transmission demand of larger data flow, the i.e. larger available bandwidth of demand, Therefore it can determine that the application program is the default application program for existing bandwidth demand.Further, since need to exist according to application program Data traffic size in certain period of time judged, therefore mobile terminal is during application program is run, in real time to respectively should The data traffic carried out data transmission with program is counted respectively, and is recorded, subsequently to judge whether application program is pre- If used during application program.
Third, mobile terminal when starting application program, first determines whether the application program is assisted using default Streaming Media View, wherein, default stream media protocol includes but is not limited to RTP (Real-time Transport Protocol, real-time Transmission association View), RTCP (Real-time Transport Control Protocol, RTCP Real-time Transport Control Protocol), RTSP (Real Time Streaming Protocol, real time streaming transport protocol), RTMP (Real Time Messaging Protocol, it is real When message transmission protocol), mms (Microsoft Media Server Protocol, Microsoft Media Server agreement) and HLS (HTTP Live Streaming, the Streaming transfer protocol based on HTTP);If aforementioned applications program uses foregoing any Stream media protocol, then illustrate that the application program needs to carry out the transmission of Streaming Media, the larger available bandwidth of usual demand, therefore can It is the default application program for existing bandwidth demand to determine the application program.
In addition, in other embodiments, can also be come recognition application by way of bandwidth demand white list is set No is the default application program for existing bandwidth demand, specifically, mobile terminal identifies the application first when starting application program Whether program is application program in the bandwidth demand white list previously generated, if, it is determined that the application program is in the presence of band The default application program of wide demand.Wherein, bandwidth demand white list generates according to user input data, for example, Fig. 6 is refer to, For the setting examples of interfaces figure of bandwidth demand white list, if to think that certain application program there may be in use larger by user The data transfer of data traffic, then sliding block corresponding to the application program can be allocated to right side, the application program is added to bandwidth In demand white list, such as application program 3;If user feel certain application program be not present big data flow data transfer can Can, then sliding block corresponding to the application program is not stirred, that is, maintain its default conditions.
Certainly, those skilled in the art can be combined with the side for above-mentioned several default application programs of identification that this implementation provides Formula, realize and the synthesis for presetting application program is identified, for example, can be in application program using default stream media protocol, and should answer When data traffic when being run with program is last in preset time period is more than or equal to preset data flow, the application is determined Program is the default application program for existing bandwidth demand.
Complete to aforementioned applications program (application program being currently up) whether be default application program identification, and It is when presetting application program, to further determine that bandwidth is (i.e. in two currently attached hotspot to determine aforementioned applications program Available bandwidth) larger hotspot, then configure aforementioned applications program and pass through the larger hotspot of bandwidth of determination and carry out Data transfer.
For example, when it is determined that the application program being currently up is the default application program that bandwidth demand be present, further Determine the hotspot that bandwidth is larger in the first hotspot and the second hotspot, however, it is determined that the bandwidth of the first hotspot compared with Greatly, then configuration aforementioned applications program carried out data transmission by the first hotspot, however, it is determined that the bandwidth of the second hotspot compared with Greatly, then configuration aforementioned applications program is carried out data transmission by the second hotspot.
The Wi-Fi control methods that the embodiment of the present invention proposes, the mobile terminal for being connected with two hotspot simultaneously, When starting application program, it is first determined whether the application program is the default application program that bandwidth demand be present, and it is determined that When application program is default application program, the wireless heat that bandwidth is larger in two currently attached hotspot is further determined that Point, then configure application program and carried out data transmission by the larger hotspot of the bandwidth of determination, so as to enter for application program Row data transfer provides required available bandwidth, it is ensured that application program can be normally carried out data transfer.
Further, the first embodiment based on Wi-Fi control methods of the present invention, proposes Wi-Fi control methods of the present invention Second embodiment, in the present embodiment, after step S10, in addition to:
When aforementioned applications program is not to preset application program, network matter in two currently attached hotspot is determined Measure preferable hotspot;
Configuration aforementioned applications program is carried out data transmission by the preferable hotspot of network quality of determination.
It should be noted that the present embodiment is on the basis of aforementioned first embodiment, it is proposed that application program is not default The processing scheme of application program, is only explained below, and other can refer to aforementioned first embodiment, and here is omitted.
In the present embodiment, it that is to say foregoing answer not to preset application program in the application program for recognizing foregoing startup During with the larger available bandwidth of program requirements, the preferably wireless heat of network quality in two currently attached hotspot is determined Point, then configure aforementioned applications program and carried out data transmission by the preferable hotspot of network quality.Wherein, for using what The network quality of kind of parameter characterization hotspot, it can specifically be selected by those skilled in the art according to being actually needed, can be with The network quality of hotspot is characterized using the signal intensity of hotspot, can also use hotspot data transmit-receive into Power characterizes, and can also be characterized using the negotiated speed of hotspot.
In order to more accurately characterize the network quality of hotspot, binding signal intensity in the present embodiment, consult speed Rate and data transmit-receive success rate characterize the network quality of hotspot.Below with the network quality of the first hotspot of detection Exemplified by illustrate, the detection to the second hotspot network quality can refer to implementation.
Specifically, mobile terminal is detected by Wi-Fi module 102 to the Wi-Fi signal of the first hotspot first, Then the obtained signal intensity and negotiated speed of the first hotspot is detected according to the first hotspot Wi-Fi signal, so Afterwards the data transmit-receive success rate based on the first hotspot is got from bottom.
After signal intensity, negotiated speed and the data transmit-receive success rate of the first hotspot is got, according to letter Number intensity, negotiated speed and data transmit-receive success rate each where big minizone, determine corresponding signal intensity respectively, consult The quality score of speed and data transmit-receive success rate, then according to signal intensity, negotiated speed and data transmit-receive success rate Each self-corresponding default weight coefficient calculates the weighted sum of each quality score, using the weighted sum being calculated as the first wireless heat The network quality of point.
For example, it is assumed that signal intensity, negotiated speed and data transmit-receive success rate each self-corresponding default weight coefficient point Wei 0.4,0.2 and 0.4.
Corresponding to signal intensity, 3 intensity intervals are divided altogether, and distinguish corresponding mass score value 60,40 and 20 from big to small; Corresponding to negotiated speed, 3 rate periods are equally divided, and distinguish corresponding mass score value 60,40 and 20 from big to small;Correspond to Data transmit-receive success rate, 3 rate periods are equally divided into, and distinguish corresponding mass score value 60,40 and 20 from big to small.
If it is determined that signal intensity, negotiated speed and each self-corresponding quality score of data transmit-receive success rate be respectively 60, 40th, 40, then the network quality of the first hotspot is 60*0.4+40*0.2+40*0.4=48.
Alternatively, in other embodiments, it is not if recognizing aforementioned applications program (application program being currently up) Default application program, it is determined that the less hotspot of live load in two currently attached hotspot, then configure Aforementioned applications program is carried out data transmission by the less hotspot of live load of determination, it is ensured that aforementioned applications program can Obtain stable network service.
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 S30, in addition to:
Judge whether the bandwidth of the larger hotspot of bandwidth is more than or equal to the bandwidth of aforementioned applications program requirements;
When judged result is to be, step S30 is performed.
The secondary of hotspot is sentenced it should be noted that the present embodiment adds on the basis of aforementioned first embodiment Disconnected operation, is only explained, other to can refer to foregoing corresponding embodiment, here is omitted below.
Mobile terminal is it is determined that currently attached two hotspot (i.e. the first hotspot and the second hotspot) After the larger hotspot of middle bandwidth, determine whether the bandwidth (i.e. available bandwidth) of the larger hotspot of bandwidth is big In or equal to aforementioned applications program requirements bandwidth, to determine whether the larger hotspot of bandwidth meets aforementioned applications program Bandwidth demand, when judged result is to be, then illustrate that the enough aforementioned applications programs of bandwidth of the larger hotspot of bandwidth are carried out Data transfer, now configure aforementioned applications program and output transmission is carried out by the larger hotspot of the bandwidth of determination.
Alternatively, whether the bandwidth of the foregoing hotspot for judging that bandwidth is larger is more than or equal to aforementioned applications program requirements Bandwidth the step of after, in addition to:
When the bandwidth of the larger hotspot of bandwidth is less than the bandwidth of aforementioned applications program requirements, Wi-Fi module is disconnected 102 with the connection of the larger hotspot of bandwidth, and determine to be operated in same frequency range, and bandwidth with the larger hotspot of bandwidth More than or equal to other hotspot of the demand bandwidth of aforementioned applications program;
Control Wi-Fi module 102 to establish with the other hotspot determined to connect, and configure aforementioned applications program and pass through this Other hotspot carry out data transmission.
The larger hotspot of bandwidth bandwidth be less than aforementioned applications program requirements bandwidth when, that is to say the bandwidth compared with It is required that the bandwidth of big hotspot times can not meet that aforementioned applications program carries out data transmission, and now mobile terminal disconnects Wi- Fi modules 102 and the connection of the larger hotspot of bandwidth, and determine to be operated in same frequency range with the larger hotspot of bandwidth, And bandwidth be more than or equal to aforementioned applications program demand bandwidth other hotspot, then control Wi-Fi module 102 with really Fixed other hotspot establish connection, and configure aforementioned applications program and carried out data transmission by other hotspot.Example Such as, Fig. 7 is refer to, for mobile terminal when starting application program, it is default application program to determine the application program, and determines first The band of hotspot is wider than the bandwidth of the second hotspot;When mobile terminal determines whether that the bandwidth of the first hotspot is During no bandwidth more than or equal to aforementioned applications program requirements, determine the bandwidth of the first hotspot needs less than aforementioned applications program The bandwidth asked, mobile terminal further determines that is operated in same frequency range with the first hotspot, and bandwidth is more than or equal to foregoing Other hotspot of application requirement bandwidth, such as the 3rd hotspot, then control Wi-Fi module 102 and the 3rd wireless Focus establishes connection;After the hotspot of Wi-Fi module 102 and the 3rd establishes connection, mobile terminal configures aforementioned applications Program is carried out data transmission by newly establishing the 3rd hotspot of connection.
Further, to cause Network to be interrupted when avoiding carrying out hotspot switching, in the present embodiment, in addition to Following steps:
Before the connection of Wi-Fi module 102 and the larger hotspot of bandwidth is disconnected, larger wireless of bandwidth will be passed through The Network that focus is transmitted is migrated to the less hotspot of bandwidth;
Wi-Fi module 102 and the other hotspot determined are being controlled to establish after connecting, the network that will also migrate before Other hotspot that business migration connects to new foundation.
For example, the bandwidth of the first hotspot is larger in the first hotspot and the second hotspot, but still less than foregoing The demand bandwidth of application program, then before disconnecting Wi-Fi module 102 and being connected with the first hotspot, it will first pass through the first nothing The Network of line focus transmission is migrated to the second hotspot, disconnects the nothing of Wi-Fi module 102 and first again after the completion of migration The connection of line focus, it is then determined that same frequency range is operated in the first hotspot, and bandwidth is more than or equal to aforementioned applications journey Other hotspot of the demand bandwidth of sequence, and control Wi-Fi module 102 and other hotspot to establish after connection, will Migrate to the Network of the second hotspot and migrated to the new other hotspot for establishing connection before, by other wireless heat Point provides network service.
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 102 establish connection based on the first MAC Address and the first hotspot, and Wi-Fi module 102 is based on the second MAC Address and the second nothing Line focus establishes connection, is stored with Wi-Fi control programs on the computer-readable recording medium, the Wi-Fi control programs are located Manage and following operation is realized when device 110 performs:
When starting application program, judge whether aforementioned applications program is the default application program that bandwidth demand be present;
When aforementioned applications program is default application program, determine that bandwidth is larger in two currently attached hotspot Hotspot;
Configuration aforementioned applications program is carried out data transmission by the larger hotspot of the bandwidth of determination.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
When aforementioned applications program is not to preset application program, network matter in two currently attached hotspot is determined Measure preferable hotspot;
Configuration aforementioned applications program is carried out data transmission by the preferable hotspot of network quality of determination.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
Judge whether the bandwidth of the larger hotspot of bandwidth is more than or equal to the bandwidth of aforementioned applications program requirements;
In judged result for when being, configuration aforementioned applications program carries out data by the larger hotspot of the bandwidth of determination Transmission.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
When the bandwidth of the larger hotspot of bandwidth is less than the bandwidth of aforementioned applications program requirements, Wi-Fi module is disconnected 102 with the connection of the larger hotspot of bandwidth, and determine to be operated in same frequency range, and bandwidth with the larger hotspot of bandwidth More than or equal to other hotspot of the demand bandwidth of aforementioned applications program;
Control Wi-Fi module 102 to establish with the other hotspot determined to connect, and configure aforementioned applications program and pass through this Other hotspot carry out data transmission.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
Before the connection of Wi-Fi module 102 and the larger hotspot of bandwidth is disconnected, larger wireless of bandwidth will be passed through The Network that focus is transmitted is migrated to the less hotspot of bandwidth;
Wi-Fi module 102 and the other hotspot determined are being controlled to establish after connecting, the network that will also migrate before Other hotspot that business migration connects to new foundation.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
The bag name of aforementioned applications program is obtained, and judges whether aforementioned applications program is that media class should according to the bag name of acquisition With program, wherein, when aforementioned applications program is media class application program, it is default application program to determine aforementioned applications program.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
The data traffic in preset time period when aforementioned applications program is last to be run is obtained, and judges the number got Whether it is more than or equal to preset data flow according to flow, wherein, it is more than or equal to foregoing present count in the data traffic got During according to flow, it is default application program to determine aforementioned applications program.
Further, following operation is also realized when foregoing Wi-Fi control programs are performed by processor 110:
Whether aforementioned applications program is judged using default stream media protocol, wherein, use default stream in aforementioned applications program During media protocol, it is default application program to determine aforementioned applications program.
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 is based on first MAC Address and the first hotspot is established and connected, the Wi-Fi module Established and connected based on second MAC Address and the second hotspot, the Wi-Fi control methods include:
When starting application program, judge whether the application program is the default application program that bandwidth demand be present;
When the application program is the default application program, determine that bandwidth is larger in two currently attached hotspot Hotspot;
The application program is configured by the larger hotspot of the bandwidth of determination to carry out data transmission.
2. Wi-Fi control methods according to claim 1, it is characterised in that described to judge whether the application program deposits After the step of bandwidth demand, in addition to:
When the application program is not the default application program, network matter in two currently attached hotspot is determined Measure preferable hotspot;
The application program is configured by the preferable hotspot of network quality of determination to carry out data transmission.
3. Wi-Fi control methods according to claim 1, it is characterised in that the configuration application program passes through true Before the step of larger hotspot of fixed bandwidth carries out data transmission, in addition to:
Judge whether the bandwidth of the larger hotspot of bandwidth is more than or equal to the bandwidth of the application requirement;
Data biography is carried out by the larger hotspot of the bandwidth of determination when being, to configure the application program in judged result It is defeated.
4. Wi-Fi control methods according to claim 3, it is characterised in that the hotspot for judging that bandwidth is larger Bandwidth whether be more than or equal to the application requirement bandwidth the step of after, in addition to:
When judged result is no, the connection of the Wi-Fi module and the larger hotspot of bandwidth, and determination and bandwidth are disconnected Larger hotspot is operated in same frequency range, and bandwidth is more than or equal to the other wireless of the demand bandwidth of the application program Focus;
Control the Wi-Fi module to establish with the other hotspot determined to connect, and configure the application program and pass through Other hotspot carry out data transmission.
5. Wi-Fi control methods according to claim 4, it is characterised in that disconnect the Wi-Fi module and bandwidth compared with Before the connection of big hotspot, following steps are also performed:
The Network transmitted by the larger hotspot of bandwidth is migrated to the less hotspot of bandwidth;
After controlling the Wi-Fi module to establish connection with the other hotspot determined, following steps are also performed:
The Network migrated before is migrated to the new other hotspot for establishing connection.
6. according to the Wi-Fi control methods described in claim any one of 1-5, it is characterised in that the judgement is described to apply journey Sequence, which whether there is the step of bandwidth demand, to be included:
The bag name of the application program is obtained, and judges whether the application program is that media class should according to the bag name of acquisition With program, wherein, when the application program is media class application program, determine that the application program default applies journey to be described Sequence.
7. according to the Wi-Fi control methods described in claim any one of 1-5, it is characterised in that the judgement is described to apply journey Sequence, which whether there is the step of bandwidth demand, to be included:
The data traffic in preset time period when the application program is last to be run is obtained, and judges to get the data Whether flow is more than or equal to preset data flow, wherein, it is more than or equal to the preset data flow in the data traffic When, it is the default application program to determine the application program.
8. according to the Wi-Fi control methods described in claim any one of 1-5, it is characterised in that the judgement is described to apply journey Sequence, which whether there is the step of bandwidth demand, to be included:
Whether the application program is judged using default stream media protocol, wherein, use default Streaming Media in the application program During agreement, it is the default application program to determine the application program.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
The Wi-Fi module of the first MAC Address and the second MAC Address is configured with, the Wi-Fi module is with being based on the first MAC Location is established with the first hotspot and connected, and the Wi-Fi module is based on second MAC Address and the second hotspot is established and connected Connect;
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 is based on first MAC Address and the first wireless heat Point establishes connection, and the Wi-Fi module is based on second MAC Address and the second hotspot is established and connected, the computer Wi-Fi control programs are stored with readable storage medium storing program for executing, realize that right such as will when the Wi-Fi control programs are executed by processor The step of seeking the Wi-Fi control methods any one of 1 to 8.
CN201710912787.2A 2017-09-29 2017-09-29 Wi Fi control methods, mobile terminal and computer-readable recording medium Pending CN107708224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710912787.2A CN107708224A (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
CN201710912787.2A CN107708224A (en) 2017-09-29 2017-09-29 Wi Fi control methods, mobile terminal and computer-readable recording medium

Publications (1)

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

Family

ID=61175753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710912787.2A Pending CN107708224A (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) CN107708224A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108934025A (en) * 2018-06-12 2018-12-04 Oppo广东移动通信有限公司 Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
WO2021098533A1 (en) * 2019-11-22 2021-05-27 荣耀终端有限公司 Connection establishment method, and terminal apparatus
CN113163453A (en) * 2021-04-22 2021-07-23 Tcl通讯(宁波)有限公司 Wifi transmission speed control method, system, storage medium and mobile terminal
CN113923267A (en) * 2020-07-07 2022-01-11 达音网络科技(上海)有限公司 System and method for giving uplink instruction in real-time communication and real-time interaction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486839A (en) * 2014-12-12 2015-04-01 广东欧珀移动通信有限公司 Method and system for intelligently connecting Wi-Fi hotspots
WO2016004566A1 (en) * 2014-07-07 2016-01-14 华为技术有限公司 Bandwidth selection method of wireless fidelity technology and access point (ap)
CN105759937A (en) * 2016-02-03 2016-07-13 努比亚技术有限公司 Method for lowering terminal power consumption and terminal
CN107182098A (en) * 2016-03-11 2017-09-19 上海连尚网络科技有限公司 For realizing the method and apparatus that user equipment switches between WAP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016004566A1 (en) * 2014-07-07 2016-01-14 华为技术有限公司 Bandwidth selection method of wireless fidelity technology and access point (ap)
CN104486839A (en) * 2014-12-12 2015-04-01 广东欧珀移动通信有限公司 Method and system for intelligently connecting Wi-Fi hotspots
CN105759937A (en) * 2016-02-03 2016-07-13 努比亚技术有限公司 Method for lowering terminal power consumption and terminal
CN107182098A (en) * 2016-03-11 2017-09-19 上海连尚网络科技有限公司 For realizing the method and apparatus that user equipment switches between WAP

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108934025A (en) * 2018-06-12 2018-12-04 Oppo广东移动通信有限公司 Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
WO2021098533A1 (en) * 2019-11-22 2021-05-27 荣耀终端有限公司 Connection establishment method, and terminal apparatus
CN113923267A (en) * 2020-07-07 2022-01-11 达音网络科技(上海)有限公司 System and method for giving uplink instruction in real-time communication and real-time interaction
CN113923267B (en) * 2020-07-07 2023-11-17 达音网络科技(上海)有限公司 System and method for giving uplink instruction in real-time communication and real-time interaction
CN113163453A (en) * 2021-04-22 2021-07-23 Tcl通讯(宁波)有限公司 Wifi transmission speed control method, system, storage medium and mobile terminal

Similar Documents

Publication Publication Date Title
CN107635263A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107682882A (en) Data transmission method, mobile terminal and computer-readable recording medium
CN107343083A (en) One kind lifting game experiencing method, apparatus and computer-readable recording medium
CN107463481A (en) Data interactive method, mobile terminal and storage medium
CN107635248A (en) Network accelerating method, mobile terminal 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
CN107613489A (en) A kind of wireless charging method, hotspot equipment, terminal and storage medium
CN108307432A (en) WiFi control methods, mobile terminal and computer readable storage medium
CN107580359A (en) Hotspot sharing method, mobile terminal and computer-readable recording medium
CN107340833A (en) Terminal temperature control method, terminal and computer-readable recording medium
CN107635234A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107770842A (en) Hotspot connection method, mobile terminal and computer-readable recording medium
CN107708224A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107809767A (en) A kind of information transferring method, mobile terminal, base station and computer-readable storage medium
CN107526561A (en) Method for information display, mobile terminal and the storage medium of screen prjection
CN107506163A (en) Adjust method, terminal and the computer-readable recording medium of screen display
CN109379735A (en) ESIM card operating method, mobile terminal and eSIM card apparatus
CN108307433A (en) Hotspot sharing method, mobile terminal and computer readable storage medium
CN107360558A (en) Emergency call control method, communication terminal and computer-readable recording medium
CN107705247A (en) A kind of method of adjustment of image saturation, terminal and storage medium
CN107172605A (en) A kind of Emmergency call method, mobile terminal and computer-readable recording medium
CN107135156A (en) Call chain collecting method, mobile terminal and computer-readable recording medium
CN107706981A (en) A kind of wireless charging method and wireless charging device
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