CN107770842A - Hotspot connection method, mobile terminal and computer-readable recording medium - Google Patents

Hotspot connection method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107770842A
CN107770842A CN201710915412.1A CN201710915412A CN107770842A CN 107770842 A CN107770842 A CN 107770842A CN 201710915412 A CN201710915412 A CN 201710915412A CN 107770842 A CN107770842 A CN 107770842A
Authority
CN
China
Prior art keywords
focus
module
frequency range
mobile terminal
modules
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
CN201710915412.1A
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 CN201710915412.1A priority Critical patent/CN107770842A/en
Publication of CN107770842A publication Critical patent/CN107770842A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of hotspot connection method, the hotspot connection method comprises the following steps:Detect currently accessible multiple focuses;User's the first Wi Fi module link orders in double Wi Fi modules that display interface triggers are received, the first Wi Fi modules are connected to corresponding focus;It is determined that being connected the frequency range of focus with the first Wi Fi modules, and the 2nd Wi Fi modules in double Wi Fi modules are connected to the focus of other frequency ranges in currently accessible focus.The invention also discloses a kind of mobile terminal and computer-readable recording medium.The present invention supports the hot spot networks of connection different frequency range, the characteristics of so as to combine the hot spot networks of different frequency range, while mobile terminal Wi Fi network speeds are ensured, improve the stability of mobile terminal Wi Fi networks, situation unstable mobile terminal Wi Fi, improves being tested with dictyosome for user when avoiding the focus signal from being obstructed by barrier.

Description

Hotspot connection method, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of hotspot connection method, 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.
But existing double Wi-Fi mobile terminals, all it is often the hot spot networks for connecting same frequency range.In such feelings Under condition, if user's hand-held mobile terminal moves, hot spot networks signal is easily weakened by building (such as wall) even to be blocked, Now network will become unstable, reduce being tested with dictyosome for user.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide a kind of hotspot connection method, mobile terminal and computer-readable storage medium Matter, it is intended to solve the technical problem of unstable networks during mobile terminal pair Wi-Fi connection.
To achieve the above object, the present invention provides a kind of hotspot connection method, and the hotspot connection method is applied to movement Terminal, the mobile terminal include double Wi-Fi modules, and the hotspot connection method comprises the following steps:
Detect currently accessible multiple focuses;
User's first Wi-Fi module link order in double Wi-Fi modules that display interface triggers is received, by described in First Wi-Fi module is connected to corresponding focus;
It is determined that be connected the frequency range of focus with the first Wi-Fi module, and by the 2nd Wi-Fi moulds in double Wi-Fi modules Block is connected to the focus of other frequency ranges in currently accessible focus.
Alternatively, the mobile terminal includes first antenna and the second antenna, the first antenna and the first Wi-Fi Module relation, second antenna associate with second Wi-Fi module, the step of the currently accessible multiple focuses of the detection Include before rapid:
First Wi-Fi module and the second Wi-Fi module are scanned by corresponding first antenna and the second antenna, Obtain currently accessible multiple focuses.
Alternatively, reception user first Wi-Fi module in double Wi-Fi modules that display interface triggers connects The step of instructing, first Wi-Fi module is connected into corresponding focus also includes before:
Can access corresponding to first Wi-Fi module and the second Wi-Fi module is shown respectively in the display interface Focus.
Alternatively, the frequency range for determining to be connected focus with the first Wi-Fi module, and by double Wi-Fi modules Second Wi-Fi module, which is connected to the step of focus of other frequency ranges in currently accessible focus, also to be included:
Corresponding to being connected in first Wi-Fi module during focus, determine that first Wi-Fi module connects focus Frequency range, be defined as the first frequency range;
By the focus in currently accessible focus corresponding to second Wi-Fi module with the first frequency range similar frequency bands Filtering, obtain the focus of the second frequency range;
By the second Wi-Fi module currently accessible frequency range of focus second corresponding with second Wi-Fi module Focus connects.
Alternatively, it is described by second Wi-Fi module currently accessible focus corresponding with second Wi-Fi module The step of focus connection of second frequency range, includes:
Generate the hotspot list of the second frequency range;
Second Wi-Fi module is connected with focus in the hotspot list of the second frequency range.
Alternatively, it is described by second Wi-Fi module with focus is connected in the list of the second frequency range focus the step of wrap Include:
Determine the quality of each focus in the list of the second frequency range focus;
Second Wi-Fi module is connected to the focus that quality in the list of the second frequency range focus is more than predetermined threshold value.
Alternatively, include in the list for determining the second frequency range focus the step of the quality of each focus:
Determine the signal intensity of each focus, negotiated speed and the number based on each focus in the list of the second frequency range focus According to transmitting-receiving success rate;
The second frequency range heat is determined according to the signal intensity, the negotiated speed and the data transmit-receive success rate The network quality of each focus in the list of point.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes double Wi-Fi Module;The mobile terminal also includes processor, memory and is stored on the memory and can be by the computing device Focus linker, wherein when the focus linker is by the computing device, realize following steps:
Detect currently accessible multiple focuses;
User's first Wi-Fi module link order in double Wi-Fi modules that display interface triggers is received, by described in First Wi-Fi module is connected to corresponding focus;
It is determined that be connected the frequency range of focus with the first Wi-Fi module, and by the 2nd Wi-Fi moulds in double Wi-Fi modules Block is connected to the focus of other frequency ranges in currently accessible focus.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Focus linker is stored with storage medium, the focus linker realizes following steps when being executed by processor:
Detect currently accessible multiple focuses;
User's first Wi-Fi module link order in double Wi-Fi modules that display interface triggers is received, by described in First Wi-Fi module is connected to corresponding focus;
It is determined that be connected the frequency range of focus with the first Wi-Fi module, and by the 2nd Wi-Fi moulds in double Wi-Fi modules Block is connected to the focus of other frequency ranges in currently accessible focus.
The present invention is by detecting currently accessible multiple focuses;Receive double Wi- that user triggers in display interface First Wi-Fi module link order in Fi modules, first Wi-Fi module is connected to corresponding focus;It is determined that with first Wi-Fi module connects the frequency range of focus, and the second Wi-Fi module in double Wi-Fi modules is connected to currently accessible The focus of other frequency ranges in focus.By the way that with upper type, mobile terminal of the invention can be supported to connect the focus net of different frequency range Network, so that the characteristics of combining the hot spot networks of different frequency range, while mobile terminal Wi-Fi network speed is ensured, improves mobile whole The stability of Wi-Fi network is held, mobile terminal Wi-Fi unstable situation when focus signal is obstructed by barrier is avoided, carries High user's is tested with dictyosome.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal that scheme of the embodiment of the present invention is related to;
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 focus signal display method first embodiment of the present invention;
Fig. 4 is the logical layered architecture schematic diagram of mobile terminal Wi-Fi module;
Fig. 5 determines to be connected the frequency range of focus with the first Wi-Fi module described in Fig. 3, and by double Wi-Fi modules Second Wi-Fi module is connected to the refinement schematic flow sheet of the focus of other frequency ranges in currently accessible focus.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
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.
The main solution method of the embodiment of the present invention is:Detect currently accessible multiple focuses;User is received to show First Wi-Fi module link order in double Wi-Fi modules of interface triggering, first Wi-Fi module is connected to corresponding Focus;It is determined that being connected the frequency range of focus with the first Wi-Fi module, and the second Wi-Fi module in double Wi-Fi modules is connected It is connected to the focus of other frequency ranges in currently accessible focus.
Mobile terminal of the embodiment of the present invention can be realized by various ways.For example, mobile terminal can be mobile phone, flat board electricity Brain, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable matchmaker Body player (Portable Media Player, PMP), guider, wearable device (such as Intelligent bracelet), pedometer Mobile terminal.
Mobile terminal in subsequent descriptions will illustrate by taking mobile phone as an example, it will be appreciated by those skilled in the art that removing Outside the element for being used in particular for moving purpose, construction according to the embodiment of the present invention can also apply to fixed type Terminal.
Fig. 1 is the hardware architecture diagram for the mobile terminal that scheme of the embodiment of the present invention is related to.As shown in figure 1, the movement Terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, Wi-Fi module 102, audio output unit 103, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108, The parts such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that the movement shown in Fig. 1 Terminal structure does not form the restriction to mobile terminal, and mobile terminal can include parts more more or less than diagram, or 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 (TimeDivision-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.
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, focus signal display method of the present invention is proposed Each embodiment.
The present invention provides a kind of hotspot connection method.
Reference picture 3, Fig. 3 are the schematic flow sheet of hotspot connection method first embodiment of the present invention.
In the present embodiment, the focus hotspot connection method is applied to mobile terminal, and the mobile terminal includes double Wi-Fi Module, the hotspot connection method comprise the following steps:
Step S10, detect currently accessible multiple focuses;
Focus signal display method in the present embodiment is applied to mobile terminal, and the mobile terminal employs double Wi-Fi moulds Block (is referred to as the first Wi-Fi module and the second Wi-Fi module), so as to support connect two different Wi-Fi, for Family provides convenient.
For the logic realization of this pair of Wi-Fi module, Fig. 4 is refer to, Fig. 4 is the logic of the double Wi-Fi modules of mobile terminal Hierarchy schematic diagram.According to the layering logic layers of Android system, double Wi-Fi modules include Wi-Fi chips 1021 (hardware layer), Wi-Fi dual-ports drive module 1022 (driving layer), Wi-Fi dual-ports protocol module 1023 (protocol layer), Wi-Fi dual-port frames Frame module 1024 (ccf layer) and display module 1025 (application layer).
Wherein Wi-Fi chips 1021, support double MAC technologies, can two different MAC Address of burning simultaneously, be responsible for real The data communication of the existing 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 complete building for data channel.
Wi-Fi dual-ports frame module 1024, the place different from the single Wi-Fi frameworks of tradition is, has increased newly to wlan1 The support of port, 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 simultaneously to bind different protocol stacks, keep the normal communication of levels.Wi-Fi dual-port framework moulds Block 1024 belongs 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.
In the present embodiment, when needing to start double Wi-Fi functions, mobile terminal will be searched to the focus signal of surrounding Rope, to detect focus signal accessible near current mobile terminal.
Wherein, the search and detection for focus signal, can be realized by the antenna of mobile terminal.Specifically, In order to preferably support double Wi-Fi functions, mobile terminal correspondingly employs the design of double antenna, has first antenna and second day Line;First antenna and the first module relation, the second antenna and the second module relation.First Wi-Fi module passes through corresponding first Antenna is scanned, and the second Wi-Fi module is scanned by corresponding second antenna, currently accessible multiple so as to obtain Focus.
Step S20, receive user's the first Wi-Fi module connection in double Wi-Fi modules that display interface triggers and refer to Order, corresponding focus is connected to by first Wi-Fi module;
In the present embodiment, two MAC Address that Wi-Fi chips are supported are represented with PHY0 and PHY1 respectively.Mobile terminal First antenna and the second antenna when Scanning Detction is to focus wireless signal, the focus wireless communication that respectively can arrive Scanning Detction PHY0 and PHY1 corresponding to number sending to;PHY0 and PHY1 convert thereof into corresponding signal message after wireless signal is received, Wlan0 and wlan1 ports corresponding to being sent to, driving are received after signal message again by protocol stack and framework for difference Port wlan0, wlan1 binding continue to feed back to the display module on upper strata, and display module is receiving related focus signal letter After breath, will according to the information display interface carry out classification show (be divided into the first Wi-Fi module detection focus and second The Wi-Fi module detection class of focus two is shown);When being shown, the focus signal message of display can include focus signal name Claim (SSID) and its corresponding focus signal intensity, the security type, encryption type, radio class of focus can also be included certainly Type etc..
When display can access focus, user can select the hot spot networks that will be accessed in the focus of display.Now, use The focus signal that family will first select the first Wi-Fi module to connect;Mobile terminal is receiving user in display interface triggering The first Wi-Fi module link order when, can according to the instruction to corresponding hot spot networks (can be described as the first hot spot networks) send out Connection request is sent, to attempt to be attached with first hot spot networks.The process of certain connection can also include authentication, Such as input the connection password of the first hot spot networks.
Step S30, it is determined that the frequency range of focus is connected with the first Wi-Fi module, and by second in double Wi-Fi modules Wi-Fi module is connected to the focus of other frequency ranges in currently accessible focus.
In the present embodiment, it is contemplated that the network speed of low-frequency range (2.4G) hotspot compares the net of high band (5G) hotspot Speed is relatively low, but its ability through walls is higher;, can will by double Wi-Fi modules of mobile terminal according to the characteristics of the focus of two frequency ranges The focus signal network of different frequency range is connected, i.e. the second Wi-Fi module will connect and the focus of the first hot spot networks different frequency range Network, so as to while mobile terminal Wi-Fi network speed is ensured, improve the stability of mobile terminal Wi-Fi network.
Specifically, request reference picture 5, Fig. 5 determine to be connected the frequency range of focus with the first Wi-Fi module described in Fig. 3, and Second Wi-Fi module in double Wi-Fi modules is connected to the refinement stream of the focus of other frequency ranges in currently accessible focus Journey schematic diagram.
Wherein, step S30 includes:
Step S31, when first Wi-Fi module is connected to corresponding focus, determine the first Wi-Fi module institute The frequency range of focus is connected, is defined as the first frequency range;
Step S32, by currently accessible focus corresponding to second Wi-Fi module with the first frequency range same frequency The focus filtering of section, obtain the focus of the second frequency range;
Step S33, by second Wi-Fi module currently accessible focus corresponding with second Wi-Fi module The focus connection of two frequency ranges.
In the present embodiment, when the first Wi-Fi module and the first hot spot networks successful connection, it will to the first hot spot networks The first frequency range confirmed;When confirming to finish, by the first frequency range according to the first hot spot networks to the second Wi-Fi module institute The focus signal detected is filtered, and filters out the hot spot networks with the first hot spot networks different frequency range, and generates the second frequency The hotspot list of section, is then connected automatically to the net in second frequency band list by the second Wi-Fi module in double Wi-Fi modules Network focus.For example, the first hot spot networks of the first Wi-Fi module connection, its first frequency range is 2.4G frequency ranges;Then now second Wi-Fi module can screen to the hot spot networks detected, cross the focus that frequency range is 2.4G frequency ranges, so as to obtain 5G frequencies The hotspot list of section;Then the second Wi-Fi module carries out the focus that a 5G frequency range is selected in the 5G frequency range hotspot lists Connection.Certainly, in order to ensure the signal quality (intensity) of the hot spot networks of the second Wi-Fi module connection, the first frequency is being screened out During the focus of section, the network quality in the hotspot list of remaining second frequency range will be detected and assessed first, then chosen Select hot spot networks of the quality more than predetermined threshold value (predetermined threshold value can be by user oneself set), then by the 2nd Wi-Fi Module is attached with the hot spot networks.
Further, can be by signal intensity, negotiated speed and number based on each focus for hot spot networks quality Assessed according to transmitting-receiving success rate.Specifically, mobile terminal detection is to the hotspot in the hotspot list of the second frequency range WiFi signal, and the signal intensity and negotiated speed of the hotspot are detected according to the WiFi signal, while got from bottom Data transmit-receive success rate based on the hotspot;It is determined that the signal intensity of each focus, negotiated speed and data are received in list Send out success rate when, according to the signal intensity, the negotiated speed and the data transmit-receive success rate each place size Section, the quality score of the corresponding signal intensity, the negotiated speed and the data transmit-receive success rate is determined respectively;So Afterwards further according to the signal intensity, the negotiated speed and each self-corresponding default weight coefficient of the data transmit-receive success rate Calculate the weighted sum of each quality score, and the network quality using the weighted sum as the hotspot.Need to illustrate , the intensity interval and quality score of signal intensity, negotiated speed and data transmit-receive success rate, and default weight coefficient It can be configured by those skilled in the art according to being actually needed, the present embodiment is not limited.
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.3,0.3 and 0.4.Corresponding to signal intensity, 3 intensity intervals are divided altogether, and distinguish corresponding mass score value from big to small 60th, 40 and 20;Corresponding to negotiated speed, 3 rate periods are equally divided, and distinguish corresponding mass score value 60,40 from big to small With 20;Corresponding to data transmit-receive success rate, be equally divided into 3 rate periods, and distinguish from big to small corresponding mass score value 60, 40 and 20.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 hotspot is 60*0.3+40*0.3+40*0.4=46.
When the second hot area network for meeting to require is determined in the hotspot list of the second frequency range through the above way, you can will Second Wi-Fi module is established with the second hot area network and connected.
The present embodiment is by detecting currently accessible multiple focuses;Receive described pair that user triggers in display interface First Wi-Fi module link order in Wi-Fi module, first Wi-Fi module is connected to corresponding focus;It is determined that with One Wi-Fi module connects the frequency range of focus, and the second Wi-Fi module in double Wi-Fi modules is connected to can currently connect Enter the focus of other frequency ranges in focus.By the way that with upper type, the present embodiment mobile terminal can be supported to connect the focus of different frequency range Network, so that the characteristics of combining the hot spot networks of different frequency range, while mobile terminal Wi-Fi network speed is ensured, improves movement The stability of terminal Wi-Fi network, mobile terminal Wi-Fi unstable situation when focus signal is obstructed by barrier is avoided, Improve being tested with dictyosome for user.
In addition, the present invention also provides a kind of mobile terminal.
Mobile terminal of the present invention includes double Wi-Fi modules;The mobile terminal also includes processor, memory and is stored in And can be by the focus linker of the computing device, wherein the focus linker is by the processing on the memory When device performs, following steps are realized:
Detect currently accessible multiple focuses;
User's first Wi-Fi module link order in double Wi-Fi modules that display interface triggers is received, by described in First Wi-Fi module is connected to corresponding focus;
It is determined that be connected the frequency range of focus with the first Wi-Fi module, and by the 2nd Wi-Fi moulds in double Wi-Fi modules Block is connected to the focus of other frequency ranges in currently accessible focus.
Further, the mobile terminal includes first antenna and the second antenna, the first antenna and the first Wi- Fi module relations, second antenna associate with second Wi-Fi module, the currently accessible multiple focuses of the detection Include before step:
First Wi-Fi module and the second Wi-Fi module are scanned by corresponding first antenna and the second antenna, Obtain currently accessible multiple focuses.
Further, reception user first Wi-Fi module in double Wi-Fi modules that display interface triggers connects The step of connecing instruction, first Wi-Fi module is connected into corresponding focus also includes before:
Can access corresponding to first Wi-Fi module and the second Wi-Fi module is shown respectively in the display interface Focus.
Further, it is described to determine to be connected the frequency range of focus with the first Wi-Fi module, and by double Wi-Fi modules In the second Wi-Fi module the step of being connected to the focus of other frequency ranges in currently accessible focus also include:
Corresponding to being connected in first Wi-Fi module during focus, determine that first Wi-Fi module connects focus Frequency range, be defined as the first frequency range;
By the focus in currently accessible focus corresponding to second Wi-Fi module with the first frequency range similar frequency bands Filtering, obtain the focus of the second frequency range;
By the second Wi-Fi module currently accessible frequency range of focus second corresponding with second Wi-Fi module Focus connects.
Further, it is described by second Wi-Fi module currently accessible heat corresponding with second Wi-Fi module The step of focus connection of the second frequency range of point, includes:
Generate the hotspot list of the second frequency range;
Second Wi-Fi module is connected with focus in the hotspot list of the second frequency range.
Further, it is described by second Wi-Fi module with focus is connected in the list of the second frequency range focus the step of Including:
Determine the quality of each focus in the list of the second frequency range focus;
Second Wi-Fi module is connected to the focus that quality in the list of the second frequency range focus is more than predetermined threshold value.
Further, include in the list for determining the second frequency range focus the step of the quality of each focus:
Determine the signal intensity of each focus, negotiated speed and the number based on each focus in the list of the second frequency range focus According to transmitting-receiving success rate;
The second frequency range heat is determined according to the signal intensity, the negotiated speed and the data transmit-receive success rate The network quality of each focus in the list of point.
Wherein, the specific embodiment of mobile terminal of the present invention and each embodiment of above-mentioned hotspot connection method are essentially identical, This is not repeated.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with focus linker, when the focus linker is executed by processor, realize hotspot connection method described above The step of.
Wherein, the specific embodiment of computer-readable recording medium of the present invention and each embodiment base of above-mentioned hotspot connection method This is identical, and therefore not to repeat here.
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 system 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 system 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 system.
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 to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of hotspot connection method, it is characterised in that the hotspot connection method is applied to mobile terminal, the mobile terminal Including double Wi-Fi modules, the hotspot connection method comprises the following steps:
Detect currently accessible multiple focuses;
User's first Wi-Fi module link order in double Wi-Fi modules that display interface triggers is received, by described first Wi-Fi module is connected to corresponding focus;
It is determined that being connected the frequency range of focus with the first Wi-Fi module, and the second Wi-Fi module in double Wi-Fi modules is connected It is connected to the focus of other frequency ranges in currently accessible focus.
2. hotspot connection method as claimed in claim 1, it is characterised in that the mobile terminal includes first antenna and second Antenna, the first antenna associate with first Wi-Fi module, and second antenna associates with second Wi-Fi module, Described the step of detecting currently accessible multiple focuses, includes:
First Wi-Fi module and the second Wi-Fi module are scanned by corresponding first antenna and the second antenna, are obtained Currently accessible multiple focuses.
3. hotspot connection method as claimed in claim 2, it is characterised in that the institute for receiving user and being triggered in display interface The first Wi-Fi module link order in double Wi-Fi modules is stated, first Wi-Fi module is connected to the step of corresponding focus Also include before rapid:
The accessible focus corresponding to first Wi-Fi module and the second Wi-Fi module is shown respectively in the display interface.
4. hotspot connection method as claimed in claim 1, it is characterised in that the determination is connected with the first Wi-Fi module The frequency range of focus, and the second Wi-Fi module in double Wi-Fi modules is connected to other frequency ranges in currently accessible focus The step of focus, also includes:
Corresponding to being connected in first Wi-Fi module during focus, determine that first Wi-Fi module connects the frequency of focus Section, is defined as the first frequency range;
By the focus mistake in currently accessible focus corresponding to second Wi-Fi module with the first frequency range similar frequency bands Filter, obtain the focus of the second frequency range;
By the focus of the second Wi-Fi module currently accessible frequency range of focus second corresponding with second Wi-Fi module Connection.
5. hotspot connection method as claimed in claim 4, it is characterised in that it is described by second Wi-Fi module with it is described The step of focus connection of the currently accessible frequency range of focus second corresponding to second Wi-Fi module, includes:
Generate the hotspot list of the second frequency range;
Second Wi-Fi module is connected with focus in the hotspot list of the second frequency range.
6. hotspot connection method as claimed in claim 5, it is characterised in that described by second Wi-Fi module and second The step of focus connects in the list of frequency range focus includes:
Determine the quality of each focus in the list of the second frequency range focus;
Second Wi-Fi module is connected to the focus that quality in the list of the second frequency range focus is more than predetermined threshold value.
7. hotspot connection method as claimed in claim 6, it is characterised in that the list for determining the second frequency range focus In each focus quality the step of include:
Determine that the signal intensity of each focus in the list of the second frequency range focus, negotiated speed and the data based on each focus are received Send out success rate;
The second frequency range focus is determined according to the signal intensity, the negotiated speed and the data transmit-receive success rate The network quality of each focus in list.
8. a kind of mobile terminal, it is characterised in that the mobile terminal includes double Wi-Fi modules;The mobile terminal also includes Processor, memory and it is stored on the memory and can be by the focus linker of the computing device, wherein described When focus linker is by the computing device, following steps are realized:
Detect currently accessible multiple focuses;
User's first Wi-Fi module link order in double Wi-Fi modules that display interface triggers is received, by described first Wi-Fi module is connected to corresponding focus;
It is determined that being connected the frequency range of focus with the first Wi-Fi module, and the second Wi-Fi module in double Wi-Fi modules is connected It is connected to the focus of other frequency ranges in currently accessible focus.
9. mobile terminal as claimed in claim 8, it is characterised in that the mobile terminal includes first antenna and second day Line, the first antenna associate with first Wi-Fi module, and second antenna associates with second Wi-Fi module, institute Stating the step of detecting currently accessible multiple focuses includes:
First Wi-Fi module and the second Wi-Fi module are scanned by corresponding first antenna and the second antenna, are obtained Currently accessible multiple focuses.
10. a kind of computer-readable recording medium, it is characterised in that focus company is stored with the computer-readable recording medium Program is connect, the focus linker realizes following steps when being executed by processor:
Detect currently accessible multiple focuses;
User's first Wi-Fi module link order in double Wi-Fi modules that display interface triggers is received, by described first Wi-Fi module is connected to corresponding focus;
It is determined that being connected the frequency range of focus with the first Wi-Fi module, and the second Wi-Fi module in double Wi-Fi modules is connected It is connected to the focus of other frequency ranges in currently accessible focus.
CN201710915412.1A 2017-09-29 2017-09-29 Hotspot connection method, mobile terminal and computer-readable recording medium Pending CN107770842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710915412.1A CN107770842A (en) 2017-09-29 2017-09-29 Hotspot connection method, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710915412.1A CN107770842A (en) 2017-09-29 2017-09-29 Hotspot connection method, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107770842A true CN107770842A (en) 2018-03-06

Family

ID=61267837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710915412.1A Pending CN107770842A (en) 2017-09-29 2017-09-29 Hotspot connection method, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107770842A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401938A (en) * 2019-08-16 2019-11-01 Oppo广东移动通信有限公司 Wireless Fidelity Wi-Fi connection control method and Related product
CN110913450A (en) * 2019-11-28 2020-03-24 宇龙计算机通信科技(深圳)有限公司 Control method and device for mobile hotspot, mobile terminal and storage medium
WO2021031853A1 (en) * 2019-08-21 2021-02-25 Oppo广东移动通信有限公司 Wireless fidelity (wi-fi) access point selection method and related apparatus
WO2021213320A1 (en) * 2020-04-20 2021-10-28 中兴通讯股份有限公司 Wifi hotspot management method, electronic device, and storage medium
EP3993509A4 (en) * 2019-08-19 2022-08-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network connection control method and related product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547743A (en) * 2012-01-10 2012-07-04 华为终端有限公司 Data transmission system and method
CN104579610A (en) * 2013-10-14 2015-04-29 网件公司 Systems and methods for simultaneously using multiple wlan modules operating in different wireless bands
CN104980200A (en) * 2014-04-10 2015-10-14 智邦科技股份有限公司 Communication device
CN106131877A (en) * 2016-08-11 2016-11-16 广州视源电子科技股份有限公司 WiFi communication processing device, method and system
CN106572510A (en) * 2016-10-31 2017-04-19 青岛海信电器股份有限公司 Channel selection method and intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547743A (en) * 2012-01-10 2012-07-04 华为终端有限公司 Data transmission system and method
CN104579610A (en) * 2013-10-14 2015-04-29 网件公司 Systems and methods for simultaneously using multiple wlan modules operating in different wireless bands
CN104980200A (en) * 2014-04-10 2015-10-14 智邦科技股份有限公司 Communication device
CN106131877A (en) * 2016-08-11 2016-11-16 广州视源电子科技股份有限公司 WiFi communication processing device, method and system
CN106572510A (en) * 2016-10-31 2017-04-19 青岛海信电器股份有限公司 Channel selection method and intelligent terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401938A (en) * 2019-08-16 2019-11-01 Oppo广东移动通信有限公司 Wireless Fidelity Wi-Fi connection control method and Related product
WO2021031793A1 (en) * 2019-08-16 2021-02-25 Oppo广东移动通信有限公司 Wireless high-fidelity wi-fi connection control method and related product
US11812486B2 (en) 2019-08-16 2023-11-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Wi-Fi connection control method and related products
EP3993509A4 (en) * 2019-08-19 2022-08-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network connection control method and related product
US12089145B2 (en) 2019-08-19 2024-09-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network connection control method and related products
WO2021031853A1 (en) * 2019-08-21 2021-02-25 Oppo广东移动通信有限公司 Wireless fidelity (wi-fi) access point selection method and related apparatus
CN110913450A (en) * 2019-11-28 2020-03-24 宇龙计算机通信科技(深圳)有限公司 Control method and device for mobile hotspot, mobile terminal and storage medium
WO2021213320A1 (en) * 2020-04-20 2021-10-28 中兴通讯股份有限公司 Wifi hotspot management method, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN107770841A (en) Hotspot connection method, mobile terminal and computer-readable recording medium
CN107770842A (en) Hotspot connection method, mobile terminal and computer-readable recording medium
CN107635263A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107635248A (en) Network accelerating method, 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
CN107787006A (en) Hotspot network quality detection method, mobile terminal and storage medium
CN107527200A (en) A kind of payment management method, mobile terminal and computer-readable recording medium
CN107580359A (en) Hotspot sharing method, mobile terminal and computer-readable recording medium
CN107613489A (en) A kind of wireless charging method, hotspot equipment, terminal and storage medium
CN107635234A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium
CN108307432A (en) WiFi control methods, mobile terminal and computer readable storage medium
CN107122817A (en) Processing method and Quick Response Code terminal based on Quick Response Code
CN107248072A (en) Barcode scanning method of payment, mobile terminal and computer-readable recording medium
CN107818459A (en) Red packet sending method, terminal and storage medium based on augmented reality
CN107423238A (en) A kind of method, apparatus and computer-readable recording medium of screen prjection connection
CN107249183A (en) Electrically connect method, mobile terminal and computer-readable medium
CN108307433A (en) Hotspot sharing method, mobile terminal and computer readable storage medium
CN107172605A (en) A kind of Emmergency call method, mobile terminal and computer-readable recording medium
CN107635232A (en) A kind of network share method, terminal and computer-readable recording medium
CN107613130A (en) A kind of application management method, mobile terminal and computer-readable recording medium
CN108540639A (en) Display processing method, equipment and the computer of Mosaic screen can storage mediums
CN107360558A (en) Emergency call control method, communication terminal and computer-readable recording medium
CN107708224A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107708190A (en) Wi Fi control methods, mobile terminal and computer-readable recording medium

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

Application publication date: 20180306

RJ01 Rejection of invention patent application after publication