CN104968027B - Wi-Fi control method and device - Google Patents
Wi-Fi control method and device Download PDFInfo
- Publication number
- CN104968027B CN104968027B CN201510288437.4A CN201510288437A CN104968027B CN 104968027 B CN104968027 B CN 104968027B CN 201510288437 A CN201510288437 A CN 201510288437A CN 104968027 B CN104968027 B CN 104968027B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- network
- positional information
- current
- predeterminable area
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of Wi Fi control method, described Wi Fi control method comprises the following steps: when the screen detecting mobile terminal is lighted, obtain the positional information that described mobile terminal is current, and according to acquired positional information judge current location whether in predeterminable area, described predeterminable area is attachable Wi Fi network's coverage area;The most then open the Wi Fi of described mobile terminal, and set up the connection of described mobile terminal and described attachable Wi Fi network.The present invention also provides for a kind of Wi Fi and controls device.The invention enables mobile terminal when entering the Wi Fi signal cover preset, it is possible to open Wi Fi in time and set up Wi Fi connection, the effective loss reducing paying flow.
Description
Technical field
The present invention relates to wireless network control field, particularly relate to a kind of Wi-Fi control method and device.
Background technology
At present, along with communication technology and the fast development of terminal technology, mobile phone, smart phone, pen
Remember this computer, PDA (personal digital assistant), PAD (panel computer), PMP (put by portable multimedia broadcasting
Device) etc. the use of mobile terminal more and more extensive.Wi-Fi (Wireless Fidelity) technology, is that current use is the widest
A kind of wireless network transmission technology, cable network signal is converted into wireless signal, connects for mobile terminal
Receive.Mobile terminal just can not be surfed the Net by the network of mobile UNICOM having Wi-Fi wireless signal when,
Eliminate traffic fee.During the use of existing mobile terminal, usually can enter into available Wi-Fi
In signal cover, or when entering in the Wi-Fi signal cover pre-saved, fail and
Shi Kaiqi Wi-Fi and use flow online of mourning in silence, thus cause the loss of a large amount of paying flow.Therefore, exist
When mobile terminal enters in available Wi-Fi range of signal, it is impossible to open Wi-Fi in time and be also connected to institute
The problem stating Wi-Fi network, problems demand inventor in this respect solves.
Summary of the invention
Present invention is primarily targeted at a kind of Wi-Fi control method of proposition, it is intended to solve to enter at mobile terminal
When entering in available Wi-Fi range of signal, it is impossible to open Wi-Fi in time and be connected to described Wi-Fi net
The problem of network.
For achieving the above object, a kind of Wi-Fi control method that the present invention provides, described Wi-Fi controlling party
Method comprises the following steps:
When the screen detecting mobile terminal is lighted, obtain the positional information that described mobile terminal is current,
And according to acquired positional information judge current location whether in predeterminable area, described predeterminable area is
Attachable Wi-Fi network overlay area;
The most then open the Wi-Fi of described mobile terminal, and set up described mobile terminal and be connected with described
The connection of Wi-Fi network.
Preferably, the Wi-Fi of the described mobile terminal of described unlatching, and set up described mobile terminal with described can
After the step of the connection of the Wi-Fi network connected, also include:
When detecting described Wi-Fi and disconnecting, obtain the positional information that described mobile terminal is current, and
Judge that current location is whether in described predeterminable area according to acquired positional information;
If it is not, then close described Wi-Fi.
Preferably, described when detecting described Wi-Fi and disconnecting, obtain described mobile terminal current
Positional information, and judge current location step whether in predeterminable area according to acquired positional information
Including:
When the Wi-Fi detecting mobile terminal disconnects, record the turn-off time of described Wi-Fi;
When being more than or equal to the second time threshold preset described turn-off time, obtain described mobile terminal
Current positional information, and judge that current location is whether in predeterminable area according to acquired positional information.
Preferably, described when the screen detecting mobile terminal is lighted, obtain described mobile terminal current
Positional information, and judge current location step whether in predeterminable area according to acquired positional information
Suddenly include:
When the screen detecting mobile terminal is lighted, record the lighting time of described screen;
When described lighting time is more than or equal to the very first time threshold value preset, obtain described mobile terminal
Current positional information, and judge that current location is whether in predeterminable area according to acquired positional information.
Preferably, described when the screen detecting mobile terminal is lighted, obtain described mobile terminal current
Positional information, and judge current location step whether in predeterminable area according to acquired positional information
Before Zhou, also include:
Scanning can connect Wi-Fi network, and sets up described mobile terminal and the described Wi-Fi network that is connected
Connect;
Obtain the positional information that described mobile terminal is current, according to acquired positional information determine described can
Connecting Wi-Fi network overlay area, using described overlay area, to connect Wi-Fi network corresponding as described
Predeterminable area also preserves.
Additionally, for achieving the above object, the present invention also provides for a kind of Wi-Fi and controls device, described Wi-Fi
Control device to include:
Judge module, for when the screen detecting mobile terminal is lighted, obtains described mobile terminal and works as
Before positional information, and according to acquired positional information judge current location whether in predeterminable area,
Described predeterminable area is attachable Wi-Fi network overlay area;
Control module, if for current location in predeterminable area, then opening the Wi-Fi of described mobile terminal,
And set up the connection of described mobile terminal and described attachable Wi-Fi network.
Preferably, described judge module, it is additionally operable to when detecting described Wi-Fi and disconnecting, obtains institute
State the positional information that mobile terminal is current, and judge that whether current location exists according to acquired positional information
In described predeterminable area;
Described control module, if being additionally operable to current location not in predeterminable area, then closes described Wi-Fi.
Preferably, described judge module includes timing unit and judging unit;
Described timing unit, for when the Wi-Fi detecting mobile terminal disconnects, record is described
The turn-off time of Wi-Fi;
Described judging unit, is used for when being more than or equal to the second time threshold preset described turn-off time,
Obtain the positional information that described mobile terminal is current, and judge current location according to acquired positional information
Whether in predeterminable area.
Preferably, described timing unit, it is additionally operable to when the screen detecting mobile terminal is lighted, record
The lighting time of described screen;
Described judging unit, is additionally operable in described lighting time more than or equal to the very first time threshold value preset
Time, obtain the positional information that described mobile terminal is current, and judge according to acquired positional information current
Whether position is in predeterminable area.
Preferably, described Wi-Fi control device also includes link block and memory module;
Described link block, is used for scanning and can connect Wi-Fi network, and sets up described mobile terminal with described
The connection of Wi-Fi network can be connected;
Described memory module, for obtaining the positional information that described mobile terminal is current, according to acquired
Positional information can connect Wi-Fi network overlay area described in determining, is connected as described described overlay area
Connect predeterminable area corresponding to Wi-Fi network and preserve.
By mobile terminal, the present invention is detecting that mobile terminal is in default Wi-Fi signal cover
Time interior, automatically turn on Wi-Fi and set up Wi-Fi connection so that mobile terminal is entering the Wi-Fi preset
During signal cover, it is possible to open Wi-Fi in time and set up Wi-Fi connection, effectively reducing stream of paying
The loss of amount.
Accompanying drawing explanation
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of the first embodiment of Wi-Fi control method of the present invention;
Fig. 4 is the schematic flow sheet of the preferred embodiment of step S10 in Fig. 3;
Fig. 5 is the schematic flow sheet of the second embodiment of Wi-Fi control method of the present invention;
Fig. 6 is the schematic flow sheet of the preferred embodiment of step S30 in Fig. 5;
Fig. 7 is the high-level schematic functional block diagram that Wi-Fi of the present invention controls the first embodiment of device;
Fig. 8 is the high-level schematic functional block diagram that Wi-Fi of the present invention controls the second embodiment of device;
Fig. 9 is the high-level schematic functional block diagram of judge module 10 preferred embodiment in Fig. 8;
Figure 10 is the high-level schematic functional block diagram that Wi-Fi of the present invention controls the 3rd embodiment of device.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further
Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description
In, use the suffix of such as " module ", " parts " or " unit " for representing element only for being conducive to this
The explanation of invention, itself does not has specific meaning.Therefore, " module " can mixedly make with " parts "
With.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include
(individual digital helps for such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA
Reason), PAD (panel computer), PMP (portable media player), the mobile end of guider etc.
The fixed terminal of end and such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile whole
End.However, it will be understood by those skilled in the art that, in addition to being used in particular for the element of mobile purpose,
Structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block
120, user input unit 130, sensing unit 140, output unit 150, memorizer 160, connect
Mouth unit 170, controller 180 and power subsystem 190 etc..Fig. 1 shows have various assembly
Mobile terminal, it should be understood that be not required for implementing all assemblies illustrated.Can be alternatively real
Execute more or less of assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and nothing
Radio communication between line communication system or network.Such as, wireless communication unit can include that broadcast connects
Receive module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and
At least one in positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receive broadcast singal and/
Or broadcast related information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast control services
Device can be to generate and send generation before broadcast singal and/or the server of broadcast related information or reception
Broadcast singal and/or broadcast related information and send it to the server of terminal.Broadcast singal is permissible
Including TV broadcast singal, radio signals, data broadcasting signal etc..And, broadcast singal can
To farther include the broadcast singal combined with TV or radio signals.Broadcast related information can also
There is provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, and such as, it can be with digital multimedia
The broadcast electronic program guides (EPG) of (DMB), the electronic service of digital video broadcast-handheld (DVB-H)
The form of guide (ESG) etc. and exist.Broadcast reception module 111 can be various types of by using
Broadcast system receives signal broadcast.Especially, broadcast reception module 111 can be by using the most matchmakers
Body Broadcasting-Terrestrial (DMB-T), DMB-satellite (DMB-S), DVB-hand-held
(DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting comprehensive
The digit broadcasting system of service (ISDB-T) etc. receives digital broadcasting.Broadcast reception module 111 can be by structure
Make the various broadcast systems for being adapted to provide for broadcast singal and above-mentioned digit broadcasting system.Connect via broadcast
Receive broadcast singal that module 111 receives and/or broadcast related information can be stored in memorizer 160 (or its
The storage medium of its type) in.
Mobile communication module 112 send radio signals to base station (such as, access point, node B etc.),
In exterior terminal and server at least one and/or receive from it radio signal.Such radio
Signal can include voice call signal, video calling signal or according to text and/or Multimedia Message
The various types of data sent and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internal
Or externally it is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include
WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access),
HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some of short-range communication technology are shown
Example includes bluetoothTM, RF identification (RFID), Infrared Data Association (I rDA), ultra broadband (UWB),
Purple honeybeeTMEtc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Position
The typical case of information module is GPS (global positioning system).According to current technology, GPS module 115
Calculate from the range information of three or more satellites and correct time information and for the information calculated
Application triangulation, thus according to longitude, latitude and highly accurately calculating three-dimensional current location information.
Currently, for calculating method three satellites of use of position and temporal information and by using other one
Position that the correction of satellite calculates and the error of temporal information.Additionally, GPS module 115 can be passed through
Continuous plus current location information calculates velocity information in real time.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can wrap
Include camera 121 and mike 122, camera 121 in Video Capture pattern or image capture mode by
Static images or the view data of video that image capture apparatus obtains process.Picture frame after process
May be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memorizer
It is transmitted in 160 (or other storage mediums) or via wireless communication unit 110, can be according to movement
The structure of terminal provides two or more cameras 121.Mike 122 can be at telephone calling model, record
Pattern, speech recognition mode etc. operational mode receives sound (voice data), and energy via mike
Enough is voice data by such acoustic processing.Audio frequency (voice) data after process can be at telephone relation mould
Be converted to can be sent to the form of mobile communication base station via mobile communication module 112 in the case of formula defeated
Go out.Mike 122 can be implemented various types of noise elimination (or suppression) algorithm and exist to eliminate (or suppression)
The noise produced during receiving and send audio signal or interference.
It is mobile to control that user input unit 130 can generate key input data according to the order of user's input
The various operations of terminal.User input unit 130 allows user to input various types of information, and can
With include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure,
The sensitive component of the change of electric capacity etc.), roller, rocking bar etc..Especially, when touch pad is with the shape of layer
When formula is superimposed upon on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, the beating of mobile terminal 100
Open or close closed state), the position of mobile terminal 100, user for mobile terminal 100 contact (that is, touch
Touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and side
To etc., and generate the order or signal being used for controlling the operation of mobile terminal 100.Such as, movement is worked as
When terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense this sliding-type phone and be
Open or close.It addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include proximity transducer 141
By combining touch screen below, this is described.
Interface unit 170 is used as at least one external device (ED) and is connected connecing of can passing through with mobile terminal 100
Mouthful.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery
Charger) port, wired or wireless FPDP, memory card port, for connect there is identification module
The port of device, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identify
Module can be to store for verifying that user uses the various information of mobile terminal 100 and can include using
Family identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..
It addition, have identification module device (hereinafter referred to as " identify device ") can to take the form of smart card, because of
This, identify that device can be connected with mobile terminal 100 via port or other attachment means.Interface unit
170 may be used for reception from the input (such as, data message, electric power etc.) of external device (ED) and will connect
One or more elements that the input received is transferred in mobile terminal 100 or may be used for mobile eventually
Data are transmitted between end and external device (ED).
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing
The path of mobile terminal 100 or can serve as is provided to allow from base electric power by it defeated from base
The various command signals entered are transferred to the path of mobile terminal by it.From the various order letters of base input
Number or electric power may serve as identify mobile terminal whether be accurately fitted within the signal on base.Output
Unit 150 be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal,
Video signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151,
Dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile whole
End 100 is when being in telephone calling model, and display unit 151 can show and converse or (such as, other communicate
Text messaging, multimedia file download etc.) relevant user interface (U I) or graphic user interface
(GU I).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151
Can show capture image and/or the image of reception, illustrate video or image and the UI of correlation function or
GUI etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time,
Display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal
Show device (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display,
At least one in flexible display, three-dimensional (3D) display etc..Some in these display are permissible
Being configured to transparence watch from outside with permission user, this is properly termed as transparent display, the most thoroughly
Bright display can for example, TOLED (transparent organic light emitting diode) display etc..Think according to specific
The embodiment wanted, mobile terminal 100 can include two or more display units (or other display dress
Put), such as, mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).
Touch screen can be used for detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive pattern, call mode,
Time under the isotypes such as logging mode, speech recognition mode, broadcast reception mode, by wireless communication unit 110
Receive or in memorizer 160 storage voice data transducing audio signal and be output as sound.
And, dio Output Modules 152 can provide the sound relevant to the specific function of mobile terminal 100 execution
Frequency output (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can
To include speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typical case
Event can include calling receptions, message sink, key signals input, touch input etc..Except sound
Outside frequency or video frequency output, alarm unit 153 can provide output with notification event in a different manner
Occur.Such as, alarm unit 153 can provide output with the form of vibration, when receiving calling, disappearing
When breath or some other entrance communication (incoming communication), alarm unit 153 can provide
Sense of touch output (that is, vibration) is to notify to user.By provide such sense of touch export, even if with
When the mobile phone at family is in the pocket of user, user also is able to identify the generation of various event.Alert
Declaration form unit 153 can also provide sending out of notification event via display unit 151 or dio Output Modules 152
Raw output.
Memorizer 160 can store the process performed by controller 180 and control the software program etc. of operation
Deng, or can temporarily store oneself through output maybe will export data (such as, telephone directory, message,
Still image, video etc.).And, memorizer 160 can store and be applied to touch screen about when touch
Time the vibration of various modes of output and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium include flash memory,
Hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access store
Device (RAM), static random-access memory (SRAM), read only memory (ROM), electric erasable can
Program read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic
Dish, CD etc..And, mobile terminal 100 can be connected execution memorizer 160 with by network
The network storage device cooperation of storage function.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and language
Control that sound call, data communication, video calling etc. are relevant and process.It addition, controller 180 can
To include the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 is permissible
Structure is in controller 180, or it is so structured that separates with controller 180.Controller 180 is permissible
Perform pattern recognition process, draw input with the handwriting input that will perform on the touchscreen or picture and identify
For character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides
Operate the suitable electric power needed for each element and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any group
The computer-readable medium closed is implemented.Implementing for hardware, embodiment described herein can pass through
Use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device
(DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, control
Device processed, microcontroller, microprocessor, it is designed to perform in the electronic unit of function described herein
At least one is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implement, the embodiment of such as process or function can with allow perform at least one function or
The single software module of operation is implemented.Software code can be write by with any suitable programming language
Software application (or program) implement, software code can be stored in memorizer 160 and by controlling
Device 180 processed performs.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe
Various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc.
In slide type mobile terminal as example.Therefore, the present invention can be applied to any kind of mobile whole
End, and it is not limited to slide type mobile terminal.
Mobile terminal 100 may be constructed such that utilization is via frame or packet transmission data as shown in Figure 1
The most wired and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, by communication system
The air interface that system uses includes that such as frequency division multiple access (FDMA), time division multiple acess (TDMA), code division are many
Location (CDMA) and UMTS (UMTS) (especially, Long Term Evolution (LTE)), the whole world are moved
Dynamic communication system (GSM) etc..As non-limiting example, explained below relates to cdma communication system
System, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station
(BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280MSC 280 are constructed
For forming interface with Public Switched Telephony Network (PSTN) 290.MSC 280 be also structured to can be through
The BSC 275 being couple to base station 270 by back haul link forms interface.If back haul link can be according to Ganji
Any one in the interface known constructs, and described interface includes such as E 1/T1, ATM, IP, PPP,
Frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 is permissible
Including multiple BSC275.
Each BS 270 can service one or more subregion (or region), by multidirectional antenna or point to specific
Each subregion that the antenna in direction covers is radially away from BS 270.Or, each subregion can by with
Two or more antennas in diversity reception cover.Each BS 270 may be constructed such that the multiple frequencies of support
Distribute, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS 270 can also be referred to as
Base station transceiver subsystem (BTS) or other equivalent terms.In this case, term " base station "
May be used for broadly representing single BSC 275 and at least one BS 270.Base station can also be referred to as "
Cellular station ".Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system operation by broadcsting transmitter (BT) 295
Mobile terminal 100.Broadcast reception module 111 is arranged at mobile terminal 100 as shown in Figure 1
The broadcast singal sent by BT 295 with reception.In fig. 2 it is shown that several global positioning systems (GPS)
Satellite 300.Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, but it is understood that, it is possible to use any number
Purpose satellite obtains useful location information.GPS module 115 is generally configured to as shown in Figure 1
The location information wanted with acquisition is coordinated with satellite 300.Substitute GPS tracking technique or follow the tracks of at GPS
Outside technology, it is possible to use other technology of the position of mobile terminal can be followed the tracks of.It addition, at least one
Gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS 270 receives from various mobile terminals 100
Reverse link signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.
Each reverse link signal that certain base station 270 receives is processed in specific BS 270.Obtain
Data are forwarded to the BSC 275 being correlated with.BSC provides call resource distribution and includes between BS 270
The mobile management function of the coordination of soft switching process.The data received also are routed to MSC by BSC 275
280, it provides the extra route service for forming interface with PSTN 290.Similarly, PSTN
290 form interface with MSC 280, MSC Yu BSC 275 forms interface, and BSC 275 is corresponding
Ground controls BS270 so that forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, Wi-Fi control method of the present invention is proposed each
Individual embodiment.
Schematic flow sheet with reference to the first embodiment that Fig. 3, Fig. 3 are Wi-Fi control method of the present invention.
In the present embodiment, described Wi-Fi control method includes:
Step S10, when the screen detecting mobile terminal is lighted, obtains the position that described mobile terminal is current
Confidence cease, and according to acquired positional information judge current location whether in predeterminable area, described pre-
If region is attachable Wi-Fi network overlay area;
When the screen detecting mobile terminal is lighted, mobile terminal described in described acquisition for mobile terminal is current
Positional information, and judge that current location is whether in predeterminable area according to acquired positional information.Institute
State mobile terminal to obtain when described screen bright screen by monitoring the state putting out screen bright screen of described screen
Take the positional information that described mobile terminal is current;Or, can monitor for controlling what described screen was lighted
Control signal, when listening to described control signal, obtains the positional information that described mobile terminal is current.
Described mobile terminal can be detected by such as GPS location technology or to get described mobile terminal current
Positional information.Described predeterminable area, can be the signal coverage areas of the available Wi-Fi pre-saved.Institute
State the signal coverage areas that predeterminable area can be an available Wi-Fi;Or, it is also possible to it is multiple available
The combination in multiple regions of the signal composition of Wi-Fi.Described predeterminable area, it is also possible to be pre-save can
With the positional information of Wi-Fi, and the signal of the described available Wi-Fi obtained according to described position calculation covers
Region.
Schematic flow sheet with reference to the preferred embodiment that Fig. 4, Fig. 4 are described step S10.
Step S101, when the screen detecting mobile terminal is lighted, records the lighting time of described screen;
Step S102, when described lighting time is more than or equal to the very first time threshold value preset, obtains institute
State the positional information that mobile terminal is current, and judge that whether current location exists according to acquired positional information
In predeterminable area.
Described mobile terminal, when the screen detecting mobile terminal is lighted, records when lighting of described screen
Between;Described mobile terminal, when described lighting time is more than or equal to the very first time threshold value preset, obtains
The positional information that described mobile terminal is current, and whether judge current location according to acquired positional information
In predeterminable area.When described lighting time is less than the very first time threshold value preset, by mobile whole
The screen of end is in the judgement of bright screen state for time, and that can effectively avoid in the mobile terminal short time is bright
Obtain the current positional information of mobile terminal during screen and carry out the process judged, thus reducing power supply electricity
The loss of amount.
Such as: when user only needs to have a look at current time, user provides based on described mobile terminal
Physical button triggers the instruction that screen is lighted, and mobile terminal lights screen, described shifting according to described instruction
Dynamic terminal, when detecting described screen and lighting, starts timing, and after 2 seconds, user is based on described mobile terminal
The button provided triggers the instruction that screen extinguishes, and mobile terminal has extinguished screen according to described instruction, moves
2 seconds lighting times of dynamic terminal judges screen are less than default very first time threshold value 3 seconds, do not perform to obtain
Take mobile terminal current location information and operation afterwards, can effectively reduce the loss of electric quantity of power supply.
Further, when the screen detecting mobile terminal is lighted, when lighting of described screen is recorded
Between;When described lighting time is more than or equal to the very first time threshold value preset, described mobile terminal passes through
Bottom layer driving scans all channels, and search Wi-Fi network obtains Search Results;Described mobile terminal is according to institute
State Search Results, determine in described Search Results, if containing available with what described mobile terminal preserved
The Wi-Fi network identical for SSID (Service Set Identifier, service set) of Wi-Fi network;
If the SSID containing the available Wi-Fi network preserved with described mobile terminal is identical in described Search Results
Wi-Fi network, then obtain current location information, and judge that current location is according to acquired positional information
No in predeterminable area;If described Search Results does not contains the available Wi-Fi preserved with described mobile terminal
The Wi-Fi network identical for SSID of network, does not the most perform obtain current location information and carry out the step judged
Suddenly.By scanning Wi-Fi network and carrying out the process judged, can effectively avoid can not in current location
By the process further positioned during Wi-Fi network and judge, it is effectively reduced the damage of electric quantity of power supply
Consumption.
Step S20, the most then open the Wi-Fi of described mobile terminal, and set up described mobile terminal with
The connection of described attachable Wi-Fi network.
If described mobile terminal current location is in predeterminable area, described mobile terminal opens Wi-Fi, and builds
Vertical Wi-Fi connects;If described mobile terminal current location is not in predeterminable area, described mobile terminal is permissible
Execution step S10, or the state being turned on and off of described mobile terminal Wi-Fi can also be obtained,
Described Wi-Fi closes described Wi-Fi when being in opening, hold when described Wi-Fi is closed
Row step S10.Preferably, described mobile terminal opens Wi-Fi, and scans Wi-Fi network;Judgement is swept
Retouch the Wi-Fi whether containing the available Wi-Fi network information match preserved with described mobile terminal in result
Network;If containing the available Wi-Fi network information phase preserved with described mobile terminal in described scanning result
The Wi-Fi network joined, then extract the network information of described Wi-Fi network, and build according to the described network information
Vertical Wi-Fi is connected to;If described scanning result does not contains the available Wi-Fi preserved with described mobile terminal
The Wi-Fi network that the network information matches, then rescan Wi-Fi network.
By mobile terminal, the present embodiment is detecting that mobile terminal is in default Wi-Fi signal and covers model
When enclosing interior, automatically turn on Wi-Fi and set up Wi-Fi connection so that mobile terminal is entering the Wi-Fi preset
During signal cover, it is possible to open Wi-Fi in time and set up Wi-Fi connection, effectively reducing stream of paying
The loss of amount.
Schematic flow sheet with reference to the second embodiment that Fig. 5, Fig. 5 are Wi-Fi control method of the present invention.Base
In the second embodiment of above-mentioned Wi-Fi control method, after the step of described step S20, also include:
Step S30, when detecting described Wi-Fi and disconnecting, obtains the position that described mobile terminal is current
Confidence ceases, and judges that current location is whether in described predeterminable area according to acquired positional information;
Described mobile terminal, when detecting described Wi-Fi network and disconnecting, obtains described mobile terminal and works as
Front positional information, and judge that current location is whether in predeterminable area according to acquired positional information.
Schematic flow sheet with reference to the preferred embodiment that Fig. 6, Fig. 6 are described step S30.
Step S301, when the Wi-Fi detecting mobile terminal disconnects, records described Wi-Fi's
Turn-off time;
Step S302, when being more than or equal to the second time threshold preset described turn-off time, obtains institute
State the positional information that mobile terminal is current, and judge that whether current location exists according to acquired positional information
In predeterminable area.
Described mobile terminal is when detecting Wi-Fi network and disconnecting, when recording the disconnection of described Wi-Fi
Between, when being more than or equal to the second time threshold preset described turn-off time, obtain described mobile terminal
Current positional information, and judge that current location is whether in predeterminable area according to acquired positional information.
Described second Preset Time can be according to the covering model of the translational speed of described terminal and described Wi-Fi network
Enclosing and determine, such as: the signal coverage distance of Wi-Fi network is 100 meters, the average speed of mobile terminal is
1 meter per second, it is determined that described first Preset Time is 100 seconds.In described turn-off time more than or equal to pre-
If the second time threshold time, the judgement of the turn-off time by mobile terminal is disconnected, Ke Yiyou
Imitate avoids when the Wi-Fi detecting mobile terminal disconnects, and persistently obtains current location and judges
Process, reduce electric quantity of power supply consumption, it is ensured that mobile terminal, after leaving described predeterminable area, enters
Row location and the operation judged.
Further, when the Wi-Fi detecting mobile terminal disconnects, described Wi-Fi is recorded
Turn-off time;When being more than or equal to the second time threshold preset described turn-off time, described movement
The Wi-Fi network of terminal scanning adnexa, and determine whether scanning result contains and preserve with described mobile terminal
The Wi-Fi network identical for SSID of available Wi-Fi network;If containing with described in described scanning result
The Wi-Fi network identical for SSID of the available Wi-Fi network that mobile terminal preserves, then obtain current location
Information, and judge that current location is whether in predeterminable area according to acquired positional information;Sweep described in if
Retouch the Wi-Fi identical for SSID not containing the available Wi-Fi network preserved with described mobile terminal in result
Network, does not the most perform obtain current location information and carry out the step judged.By scanning Wi-Fi network also
Carry out the process judged, can effectively avoid in current location without carrying out during available Wi-Fi network further
Location and the process of judgement, be effectively reduced the loss of electric quantity of power supply.
Step S40, if it is not, then close described Wi-Fi.
If current location is not in described predeterminable area, then close described Wi-Fi;If current location is being preset
In region, then scan Wi-Fi network, and determine whether scanning result contains and preserve with described mobile terminal
The Wi-Fi network identical for SSID of available Wi-Fi network;If containing with described in described scanning result
The Wi-Fi network identical for SSID of the available Wi-Fi network that mobile terminal preserves, then according to described movement
The Wi-Fi network information that terminal preserves is set up and is connected;If described scanning result not containing mobile whole with described
The Wi-Fi network identical for SSID of the available Wi-Fi network that end preserves, then continue to scan on Wi-Fi network.
By mobile terminal, the present embodiment is detecting that mobile terminal is in default Wi-Fi signal and covers model
When enclosing interior, automatically turn on Wi-Fi and set up Wi-Fi connection so that mobile terminal is entering the Wi-Fi preset
During signal cover, it is possible to open Wi-Fi in time and set up Wi-Fi connection, effectively reducing stream of paying
The loss of amount, the judgement of the turn-off time by disconnecting mobile terminal simultaneously, can effectively keep away
Exempt from when the Wi-Fi detecting mobile terminal disconnects, persistently obtain the mistake that current location carries out judging
Journey, reduces the consumption of electric quantity of power supply, it is ensured that mobile terminal is after leaving described predeterminable area, and it is fixed to carry out
Position and the operation judged.
Schematic flow sheet with reference to the 3rd embodiment that Fig. 7, Fig. 7 are Wi-Fi control method of the present invention.Base
In the second embodiment of above-mentioned Wi-Fi control method, before the step of described step S10, also include:
Step S11, scanning can connect Wi-Fi network, and set up described mobile terminal and be connected with described
The connection of Wi-Fi network;
The Wi-Fi physical button connected can be provided, for user based on described physics by described mobile terminal
Button triggers described Wi-Fi link order;Or, it is also possible to provided Wi-Fi to connect by described mobile terminal
Shortcut icon, for user based on described shortcut icon trigger described Wi-Fi link order;Or, also
The Wi-Fi membrane keyboard connected can be provided by described mobile terminal, touch described membrane keyboard detecting user
Time trigger described Wi-Fi link order.Can be when detecting Wi-Fi link order, described mobile terminal
Scanning can connect Wi-Fi network.The process of scanning Wi-Fi network, preferably can be by described mobile whole
End bottom layer driving scans all channels, using the Wi-Fi network that scans as scanning result output display, and
Inputting interface is provided to determine Wi-Fi network to be connected based on described inputting interface for user and input correspondence
The network information.The described network information include but not limited to the SSID of described Wi-Fi network, key information,
Channel etc..
Step S12, obtains the positional information that described mobile terminal is current, true according to acquired positional information
Wi-Fi network overlay area can be connected described in fixed, described overlay area is connected Wi-Fi as described
Predeterminable area that network is corresponding also preserves.
The positional information that mobile terminal described in described acquisition for mobile terminal is current, according to acquired position letter
Breath can connect Wi-Fi network overlay area described in determining, is connected as described described overlay area
Predeterminable area that Wi-Fi network is corresponding also preserves.Can be according to the described network letter connecting Wi-Fi network
Breath determines the described coverage distance that can connect Wi-Fi network, according to described coverage distance and acquired position
Information draws the described overlay area that can connect Wi-Fi network.
By mobile terminal, the present embodiment is detecting that mobile terminal is in default Wi-Fi signal and covers model
When enclosing interior, automatically turn on Wi-Fi and set up Wi-Fi connection so that mobile terminal is entering the Wi-Fi preset
During signal cover, it is possible to open Wi-Fi in time and set up Wi-Fi connection, effectively reducing stream of paying
The loss of amount.
The present invention further provides a kind of Wi-Fi and control device.
It is the schematic flow sheet that Wi-Fi of the present invention controls the first embodiment of device with reference to Fig. 8, Fig. 8.
The present embodiment one Wi-Fi controls device, and described Wi-Fi controls device and includes: judge module 10
Level control module 20;
Described judge module 10, for when the screen detecting mobile terminal is lighted, obtains described movement
The positional information that terminal is current, and judge that whether current location is in preset areas according to acquired positional information
In territory, described predeterminable area is attachable Wi-Fi network overlay area;
When the screen detecting mobile terminal is lighted, mobile terminal described in described acquisition for mobile terminal is current
Positional information, and judge that current location is whether in predeterminable area according to acquired positional information.Institute
State mobile terminal to obtain when described screen bright screen by monitoring the state putting out screen bright screen of described screen
Take the positional information that described mobile terminal is current;Or, can monitor for controlling what described screen was lighted
Control signal, when listening to described control signal, obtains the positional information that described mobile terminal is current.
Described mobile terminal can be detected by such as GPS location technology or to get described mobile terminal current
Positional information.Described predeterminable area, can be the signal coverage areas of the available Wi-Fi pre-saved.Institute
State the signal coverage areas that predeterminable area can be an available Wi-Fi;Or, it is also possible to it is multiple available
The combination in multiple regions of the signal composition of Wi-Fi.Described predeterminable area, it is also possible to be pre-save can
With the positional information of Wi-Fi, and the signal of the described available Wi-Fi obtained according to described position calculation covers
Region.
Schematic flow sheet with reference to the preferred embodiment that Fig. 9, Fig. 9 are described judgement mould.Described judge module
10 include timing unit 11 and judging unit 12;
Described timing unit 11, for when the screen detecting mobile terminal is lighted, records described screen
Lighting time;
Described judging unit 12, for the very first time threshold value being more than or equal to preset in described lighting time
Time, obtain the positional information that described mobile terminal is current, and judge according to acquired positional information current
Whether position is in predeterminable area.
Described mobile terminal, when the screen detecting mobile terminal is lighted, records when lighting of described screen
Between;Described mobile terminal, when described lighting time is more than or equal to the very first time threshold value preset, obtains
The positional information that described mobile terminal is current, and whether judge current location according to acquired positional information
In predeterminable area.When described lighting time is less than the very first time threshold value preset, by mobile whole
The screen of end is in the judgement of bright screen state for time, and that can effectively avoid in the mobile terminal short time is bright
Obtain the current positional information of mobile terminal during screen and carry out the process judged, thus reducing power supply electricity
The loss of amount.
Such as: when user only needs to have a look at current time, user provides based on described mobile terminal
Physical button triggers the instruction that screen is lighted, and mobile terminal lights screen, described shifting according to described instruction
Dynamic terminal, when detecting described screen and lighting, starts timing, and after 2 seconds, user is based on described mobile terminal
The button provided triggers the instruction that screen extinguishes, and mobile terminal has extinguished screen according to described instruction, moves
2 seconds lighting times of dynamic terminal judges screen are less than default very first time threshold value 3 seconds, do not perform to obtain
Take mobile terminal current location information and operation afterwards, can effectively reduce the loss of electric quantity of power supply.
Further, when the screen detecting mobile terminal is lighted, when lighting of described screen is recorded
Between;When described lighting time is more than or equal to the very first time threshold value preset, described mobile terminal passes through
Bottom layer driving scans all channels, and search Wi-Fi network obtains Search Results;Described mobile terminal is according to institute
State Search Results, determine in described Search Results, if containing available with what described mobile terminal preserved
The Wi-Fi network identical for SSID of Wi-Fi network;If containing mobile whole with described in described Search Results
The Wi-Fi network identical for SSID of the available Wi-Fi network that end preserves, then obtain current location information,
And judge that current location is whether in predeterminable area according to acquired positional information;If described Search Results
In do not contain the Wi-Fi network identical for SSID of the available Wi-Fi network preserved with described mobile terminal,
The most do not perform obtain current location information and carry out the step judged.By scanning Wi-Fi network and sentencing
Disconnected process, is further positioned when can effectively avoid in current location without available Wi-Fi network
And the process judged, it is effectively reduced the loss of electric quantity of power supply.
Described control module 20, if for current location in predeterminable area, then opening described mobile terminal
Wi-Fi, and set up the connection of described mobile terminal and described attachable Wi-Fi network.
If described mobile terminal current location is in predeterminable area, described mobile terminal opens Wi-Fi, and builds
Vertical Wi-Fi connects;If described mobile terminal current location is not in predeterminable area, described mobile terminal is permissible
Execution step S10, or the state being turned on and off of described mobile terminal Wi-Fi can also be obtained,
Described Wi-Fi closes described Wi-Fi when being in opening, hold when described Wi-Fi is closed
Row step S10.Preferably, described mobile terminal opens Wi-Fi, and scans Wi-Fi network;Judgement is swept
Retouch the Wi-Fi whether containing the available Wi-Fi network information match preserved with described mobile terminal in result
Network;If containing the available Wi-Fi network information phase preserved with described mobile terminal in described scanning result
The Wi-Fi network joined, then extract the network information of described Wi-Fi network, and build according to the described network information
Vertical Wi-Fi is connected to;If described scanning result does not contains the available Wi-Fi preserved with described mobile terminal
The Wi-Fi network that the network information matches, then rescan Wi-Fi network.
By mobile terminal, the present embodiment is detecting that mobile terminal is in default Wi-Fi signal and covers model
When enclosing interior, automatically turn on Wi-Fi and set up Wi-Fi connection so that mobile terminal is entering the Wi-Fi preset
During signal cover, it is possible to open Wi-Fi in time and set up Wi-Fi connection, effectively reducing stream of paying
The loss of amount.
Further, described judge module 10, it is additionally operable to when detecting described Wi-Fi and disconnecting,
Obtain the positional information that described mobile terminal is current, and judge current location according to acquired positional information
Whether in described predeterminable area;
Described mobile terminal, when detecting described Wi-Fi network and disconnecting, obtains described mobile terminal and works as
Front positional information, and judge that current location is whether in predeterminable area according to acquired positional information.
Described judge module 10 includes timing unit 11 and judging unit 12;
Described timing unit 11, is additionally operable to when the Wi-Fi detecting mobile terminal disconnects, record
The turn-off time of described Wi-Fi;
Described judging unit 12, is additionally operable in described turn-off time more than or equal to the second time threshold preset
During value, obtain the positional information that described mobile terminal is current, and judge to work as according to acquired positional information
Whether front position is in predeterminable area.
Described mobile terminal is when detecting Wi-Fi network and disconnecting, when recording the disconnection of described Wi-Fi
Between, when being more than or equal to the second time threshold preset described turn-off time, obtain described mobile terminal
Current positional information, and judge that current location is whether in predeterminable area according to acquired positional information.
Described second Preset Time can be according to the covering model of the translational speed of described terminal and described Wi-Fi network
Enclosing and determine, such as: the signal coverage distance of Wi-Fi network is 100 meters, the average speed of mobile terminal is
1 meter per second, it is determined that described first Preset Time is 100 seconds.In described turn-off time more than or equal to pre-
If the second time threshold time, the judgement of the turn-off time by mobile terminal is disconnected, Ke Yiyou
Imitate avoids when the Wi-Fi detecting mobile terminal disconnects, and persistently obtains current location and judges
Process, reduce electric quantity of power supply consumption, it is ensured that mobile terminal, after leaving described predeterminable area, enters
Row location and the operation judged.
Further, when the Wi-Fi detecting mobile terminal disconnects, described Wi-Fi is recorded
Turn-off time;When being more than or equal to the second time threshold preset described turn-off time, described movement
The Wi-Fi network of terminal scanning adnexa, and determine whether scanning result contains and preserve with described mobile terminal
The Wi-Fi network identical for SSID of available Wi-Fi network;If containing with described in described scanning result
The Wi-Fi network identical for SSID of the available Wi-Fi network that mobile terminal preserves, then obtain current location
Information, and judge that current location is whether in predeterminable area according to acquired positional information;Sweep described in if
Retouch the Wi-Fi identical for SSID not containing the available Wi-Fi network preserved with described mobile terminal in result
Network, does not the most perform obtain current location information and carry out the step judged.By scanning Wi-Fi network also
Carry out the process judged, can effectively avoid in current location without carrying out during available Wi-Fi network further
Location and the process of judgement, be effectively reduced the loss of electric quantity of power supply.
Described control module 20, if being additionally operable to current location not in predeterminable area, then closes described Wi-Fi.
If current location is not in described predeterminable area, then close described Wi-Fi;If current location is being preset
In region, then scan Wi-Fi network, and determine whether scanning result contains and preserve with described mobile terminal
The Wi-Fi network identical for SSID of available Wi-Fi network;If containing with described in described scanning result
The Wi-Fi network identical for SSID of the available Wi-Fi network that mobile terminal preserves, then according to described movement
The Wi-Fi network information that terminal preserves is set up and is connected;If described scanning result not containing mobile whole with described
The Wi-Fi network identical for SSID of the available Wi-Fi network that end preserves, then continue to scan on Wi-Fi network.
By mobile terminal, the present embodiment is detecting that mobile terminal is in default Wi-Fi signal and covers model
When enclosing interior, automatically turn on Wi-Fi and set up Wi-Fi connection so that mobile terminal is entering the Wi-Fi preset
During signal cover, it is possible to open Wi-Fi in time and set up Wi-Fi connection, effectively reducing stream of paying
The loss of amount, the judgement of the turn-off time by disconnecting mobile terminal simultaneously, can effectively keep away
Exempt from when the Wi-Fi detecting mobile terminal disconnects, persistently obtain the mistake that current location carries out judging
Journey, reduces the consumption of electric quantity of power supply, it is ensured that mobile terminal is after leaving described predeterminable area, and it is fixed to carry out
Position and the operation judged.
It is the functional module signal that Wi-Fi of the present invention controls the 3rd embodiment of device with reference to Figure 10, Figure 10
Figure.The second embodiment based on above-mentioned Wi-Fi control method, described Wi-Fi controls device and also includes connecting
Module 30 and memory module 40;
Described link block 30, is used for scanning and can connect Wi-Fi network, and set up described mobile terminal with
The described connection connecting Wi-Fi network;
The Wi-Fi physical button connected can be provided, for user based on described physics by described mobile terminal
Button triggers described Wi-Fi link order;Or, it is also possible to provided Wi-Fi to connect by described mobile terminal
Shortcut icon, for user based on described shortcut icon trigger described Wi-Fi link order;Or, also
The Wi-Fi membrane keyboard connected can be provided by described mobile terminal, touch described membrane keyboard detecting user
Time trigger described Wi-Fi link order.Can be when detecting Wi-Fi link order, described mobile terminal
Scanning can connect Wi-Fi network.The process of scanning Wi-Fi network, preferably can be by described mobile whole
End bottom layer driving scans all channels, using the Wi-Fi network that scans as scanning result output display, and
Inputting interface is provided to determine Wi-Fi network to be connected based on described inputting interface for user and input correspondence
The network information.The described network information include but not limited to the SSID of described Wi-Fi network, key information,
Channel etc..
Described memory module 40, for obtaining the positional information that described mobile terminal is current, according to acquired
Positional information determine and described can connect Wi-Fi network overlay area, using described overlay area as described can
Connect predeterminable area corresponding to Wi-Fi network and preserve.
The positional information that mobile terminal described in described acquisition for mobile terminal is current, according to acquired position letter
Breath can connect Wi-Fi network overlay area described in determining, is connected as described described overlay area
Predeterminable area that Wi-Fi network is corresponding also preserves.Can be according to the described network letter connecting Wi-Fi network
Breath determines the described coverage distance that can connect Wi-Fi network, according to described coverage distance and acquired position
Information draws the described overlay area that can connect Wi-Fi network.
By mobile terminal, the present embodiment is detecting that mobile terminal is in default Wi-Fi signal and covers model
When enclosing interior, automatically turn on Wi-Fi and set up Wi-Fi connection so that mobile terminal is entering the Wi-Fi preset
During signal cover, it is possible to open Wi-Fi in time and set up Wi-Fi connection, effectively reducing stream of paying
The loss of amount.
It should be noted that in this article, term " include ", " comprising " or its any other variant
Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or
Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also
Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction
Under condition, statement " including ... " key element limited, it is not excluded that include this key element process,
Method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned
Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical
Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's
The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product
Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light
Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service
Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. a Wi-Fi control method, it is characterised in that described Wi-Fi control method includes following step
Rapid:
Determine the coverage distance that can connect Wi-Fi network, current according to described coverage distance and mobile terminal
Positional information can connect Wi-Fi network overlay area described in determining, is connected as described described overlay area
Connect predeterminable area corresponding to Wi-Fi network and preserve;
When the screen detecting mobile terminal is lighted, scan all channels to determine whether containing with described
The identical Wi-Fi network of available Wi-Fi network that mobile terminal preserves;
If having, then obtain the positional information that described mobile terminal is current, and according to acquired positional information
Judge that current location is whether in predeterminable area;
The most then open the Wi-Fi of described mobile terminal, and set up described mobile terminal and be connected with described
The connection of Wi-Fi network.
2. Wi-Fi control method as claimed in claim 1, it is characterised in that the described shifting of described unlatching
The Wi-Fi of dynamic terminal, and set up the step of described mobile terminal and the connection of described attachable Wi-Fi network
After Zhou, also include:
When detecting described Wi-Fi and disconnecting, obtain the positional information that described mobile terminal is current, and
Judge that current location is whether in described predeterminable area according to acquired positional information;
If it is not, then close described Wi-Fi.
3. Wi-Fi control method as claimed in claim 2, it is characterised in that described detecting
State Wi-Fi when disconnecting, obtain the positional information that described mobile terminal is current, and according to acquired position
Confidence breath judges that current location step whether in predeterminable area includes:
When the Wi-Fi detecting mobile terminal disconnects, record the turn-off time of described Wi-Fi;
When being more than or equal to the second time threshold preset described turn-off time, obtain described mobile terminal
Current positional information, and judge that current location is whether in predeterminable area according to acquired positional information.
4. Wi-Fi control method as claimed in claim 1, it is characterised in that described detecting shifting
When the screen of dynamic terminal is lighted, obtain the positional information that described mobile terminal is current, and according to acquired
Positional information judges that current location step whether in predeterminable area includes:
When the screen detecting mobile terminal is lighted, record the lighting time of described screen;
When described lighting time is more than or equal to the very first time threshold value preset, obtain described mobile terminal
Current positional information, and judge that current location is whether in predeterminable area according to acquired positional information.
5. the Wi-Fi control method as described in any one of Claims 1-4, it is characterised in that described
When the screen detecting mobile terminal is lighted, obtain the positional information that described mobile terminal is current, and root
Before judging current location step whether in predeterminable area according to acquired positional information, also include:
Scanning can connect Wi-Fi network, and sets up described mobile terminal and the described Wi-Fi network that is connected
Connect.
6. a Wi-Fi controls device, it is characterised in that described Wi-Fi controls device and includes:
Memory module, for determining the coverage distance that can connect Wi-Fi network, according to described coverage distance and
The current positional information of mobile terminal determines described can connect Wi-Fi network overlay area, by the described area of coverage
Territory connects predeterminable area corresponding to Wi-Fi network as described and preserve;
Judge module, for when the screen detecting mobile terminal is lighted, scans all channels to determine
Whether contain the Wi-Fi network identical with the available Wi-Fi network that described mobile terminal preserves;If having, then
Obtain the positional information that described mobile terminal is current, and judge current location according to acquired positional information
Whether in predeterminable area;
Control module, if for current location in predeterminable area, then opening the Wi-Fi of described mobile terminal,
And set up the connection of described mobile terminal and described attachable Wi-Fi network.
7. Wi-Fi as claimed in claim 6 controls device, it is characterised in that described judge module,
It is additionally operable to, when detecting described Wi-Fi and disconnecting, obtain the positional information that described mobile terminal is current,
And judge that current location is whether in described predeterminable area according to acquired positional information;
Described control module, if being additionally operable to current location not in predeterminable area, then closes described Wi-Fi.
8. Wi-Fi as claimed in claim 7 controls device, it is characterised in that described judge module bag
Include timing unit and judging unit;
Described timing unit, for when the Wi-Fi detecting mobile terminal disconnects, record is described
The turn-off time of Wi-Fi;
Described judging unit, is used for when being more than or equal to the second time threshold preset described turn-off time,
Obtain the positional information that described mobile terminal is current, and judge current location according to acquired positional information
Whether in predeterminable area.
9. Wi-Fi as claimed in claim 8 controls device, it is characterised in that described timing unit,
It is additionally operable to, when the screen detecting mobile terminal is lighted, record the lighting time of described screen;
Described judging unit, is additionally operable in described lighting time more than or equal to the very first time threshold value preset
Time, obtain the positional information that described mobile terminal is current, and judge according to acquired positional information current
Whether position is in predeterminable area.
10. the Wi-Fi as described in any one of claim 6 to 9 controls device, it is characterised in that described
Wi-Fi controls device and also includes link block and memory module;
Described link block, is used for scanning and can connect Wi-Fi network, and sets up described mobile terminal with described
The connection of Wi-Fi network can be connected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510288437.4A CN104968027B (en) | 2015-05-29 | 2015-05-29 | Wi-Fi control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510288437.4A CN104968027B (en) | 2015-05-29 | 2015-05-29 | Wi-Fi control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104968027A CN104968027A (en) | 2015-10-07 |
CN104968027B true CN104968027B (en) | 2016-10-26 |
Family
ID=54221944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510288437.4A Active CN104968027B (en) | 2015-05-29 | 2015-05-29 | Wi-Fi control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104968027B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105828410A (en) * | 2015-11-30 | 2016-08-03 | 维沃移动通信有限公司 | Method for displaying information of wireless local area network and mobile terminal |
CN105450865A (en) * | 2015-12-01 | 2016-03-30 | 努比亚技术有限公司 | Mobile terminal and method thereof for realizing Wi-Fi management |
CN105553705A (en) * | 2015-12-10 | 2016-05-04 | 广东小天才科技有限公司 | Method and system for detecting abnormity of mobile terminal WIFI switch |
CN105871841A (en) * | 2016-03-31 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and device for logging in target equipment and generating login information |
CN106060898A (en) * | 2016-07-19 | 2016-10-26 | 珠海市魅族科技有限公司 | WIFI connection control method and terminal |
CN106951828B (en) * | 2017-02-22 | 2020-02-21 | 清华大学 | Urban area function attribute identification method based on satellite images and network |
CN109195204B (en) * | 2018-11-12 | 2021-02-12 | Oppo广东移动通信有限公司 | Wireless network access method and device, computer readable medium and communication terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915192B (en) * | 2012-09-20 | 2016-04-06 | 东莞宇龙通信科技有限公司 | The method of adjustment standby time of screen and communication terminal |
CN102946586A (en) * | 2012-11-08 | 2013-02-27 | 中兴通讯股份有限公司 | Access network information notification, access method and device based on position information |
CN104244371A (en) * | 2013-06-09 | 2014-12-24 | 中兴通讯股份有限公司 | Method and system for starting WIFI module |
CN104394510A (en) * | 2013-12-21 | 2015-03-04 | 滁州惠智科技服务有限公司 | Traffic saving method for mobile terminal |
CN104394513A (en) * | 2014-12-18 | 2015-03-04 | 中科创达软件股份有限公司 | Control method and device for mobile terminal to access wireless network |
-
2015
- 2015-05-29 CN CN201510288437.4A patent/CN104968027B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104968027A (en) | 2015-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104968027B (en) | Wi-Fi control method and device | |
CN105188101B (en) | network switching device and method | |
CN104980588B (en) | A kind of method and apparatus for detecting mobile terminal state | |
CN105979098A (en) | Screen management method of double-sided screen and terminal | |
CN105306631B (en) | A kind of antenna and mobile terminal | |
CN104981030B (en) | network connection control method and device | |
CN106231587B (en) | The data service switching method and switching device of mobile terminal | |
CN106155695A (en) | The removing control device and method of background application | |
CN106304037A (en) | The management method of virtual SIM card and device | |
CN105357367B (en) | Recognition by pressing keys device and method based on pressure sensor | |
CN106413013A (en) | Network switching method and device, and mobile terminal | |
CN105872948A (en) | Virtual SIM (Subscriber Identity Module) card realization device and method | |
CN106304086A (en) | Pseudo-base station recognition methods and device | |
CN106302651A (en) | The social sharing method of picture and there is the terminal of picture social activity share system | |
CN105915718A (en) | Device and method for voice playing | |
CN106302824A (en) | wireless WiFi control method, device and mobile terminal | |
CN106412316A (en) | Media resource playing control device and method | |
CN106162651A (en) | A kind of method and apparatus identifying pseudo-base station | |
CN106095464A (en) | A kind of method and device of the seamless operation of application program | |
CN105100408B (en) | A kind of method and apparatus controlling mobile terminal | |
CN106876892A (en) | A kind of antenna and mobile terminal | |
CN106484534A (en) | Control method for the mobile terminal of displaying and control device | |
CN106507418A (en) | A kind of based on the residence reselecting of signal intensity, device and mobile terminal | |
CN105939425A (en) | Device and method for dynamic monitoring of screen | |
CN106125898A (en) | The method and device of screen rotation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |