CN104968027A - Wi-Fi control method and apparatus - Google Patents
Wi-Fi control method and apparatus Download PDFInfo
- Publication number
- CN104968027A CN104968027A CN201510288437.4A CN201510288437A CN104968027A CN 104968027 A CN104968027 A CN 104968027A CN 201510288437 A CN201510288437 A CN 201510288437A CN 104968027 A CN104968027 A CN 104968027A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- positional information
- network
- predeterminable area
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a Wi-Fi control method. The Wi-Fi control method comprises the following steps of acquiring the current position information of a mobile terminal when the screen of the mobile terminal is detected to be lightened and judging whether the current position is within a preset zone according to the acquired position information, wherein, the preset zone is a connectable Wi-Fi network coverage zone; starting the Wi-Fi of the mobile terminal and establishing connection of the mobile terminal and the connectable Wi-Fi network if the current position is in the preset zone. The invention further provides a Wi-Fi control apparatus. By means of the control method and the control apparatus, the Wi-Fi can be started in time and Wi-Fi connection can be established in a timely manner when the mobile terminal enters the preset Wi-Fi signal coverage range. The paying traffic loss can be effectively reduced.
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 the fast development of the communication technology and terminal technology, the use of the mobile terminals such as mobile phone, smart phone, notebook computer, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player) is more and more extensive.Wi-Fi (Wireless Fidelity) technology, is use the widest a kind of wireless network transmission technology now, converts cable network signal to wireless signal, receive for mobile terminal.Mobile terminal just can not be surfed the Net by the network of mobile UNICOM when there being Wi-Fi wireless signal, eliminates traffic fee.In the use procedure of existing mobile terminal; usually can entering in available Wi-Fi signal cover; or when entering in the Wi-Fi signal cover of preserving in advance, failing to open Wi-Fi in time and use traffic online of mourning in silence, thus causing the loss of a large amount of paying flow.Therefore, when mobile terminal enters in available Wi-Fi range of signal, can not open Wi-Fi in time and be connected to the problem of described Wi-Fi network, problems demand inventor in this respect solves.
Summary of the invention
Main purpose of the present invention is to propose a kind of Wi-Fi control method, is intended to solve when mobile terminal enters in available Wi-Fi range of signal, can not open Wi-Fi in time and be connected to the problem of described Wi-Fi network.
For achieving the above object, a kind of Wi-Fi control method provided by the invention, 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 judge current location whether in predeterminable area according to obtained positional information, described predeterminable area is attachable Wi-Fi network overlay area;
If so, then open the Wi-Fi of described mobile terminal, and set up the connection of described mobile terminal and described attachable Wi-Fi network.
Preferably, the Wi-Fi of the described mobile terminal of described unlatching, and after setting up the step of the connection of described mobile terminal and described attachable Wi-Fi network, also comprise:
When detecting described Wi-Fi and disconnecting, obtain the positional information that described mobile terminal is current, and judge current location whether in described predeterminable area according to obtained positional information;
If not, then described Wi-Fi is closed.
Preferably, describedly obtain when detecting described Wi-Fi and disconnecting the positional information that described mobile terminal is current, and judge that the step of current location whether in predeterminable area comprises according to obtained positional information:
When the Wi-Fi detecting mobile terminal disconnects, record the opening time of described Wi-Fi;
When being more than or equal to the second default time threshold described opening time, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information.
Preferably, when the described screen detecting mobile terminal is lighted, obtain the positional information that described mobile terminal is current, and judge that the step of current location whether in predeterminable area comprises according to obtained positional information:
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 default very first time threshold value, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information.
Preferably, when the described screen detecting mobile terminal is lighted, obtain the positional information that described mobile terminal is current, and before judging the step of current location whether in predeterminable area according to obtained positional information, also comprise:
Scanning can connect Wi-Fi network, and sets up described mobile terminal and the described connection being connected Wi-Fi network;
Obtain the positional information that described mobile terminal is current, Wi-Fi network overlay area can be connected described in determining according to obtained positional information, described overlay area is connected predeterminable area corresponding to Wi-Fi network as described and preserve.
In addition, for achieving the above object, the present invention also provides a kind of Wi-Fi control device, and described Wi-Fi control device comprises:
Judge module, during for lighting at the screen detecting mobile terminal, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information, described predeterminable area is attachable Wi-Fi network overlay area;
Control module, if for current location in predeterminable area, then opens the Wi-Fi of described mobile terminal, and sets up the connection of described mobile terminal and described attachable Wi-Fi network.
Preferably, described judge module, also for when detecting described Wi-Fi and disconnecting, obtains the positional information that described mobile terminal is current, and judges current location whether in described predeterminable area according to obtained positional information;
Described control module, if also for current location not in predeterminable area, then close described Wi-Fi.
Preferably, described judge module comprises timing unit and judging unit;
Described timing unit, during for disconnecting at the Wi-Fi detecting mobile terminal, records the opening time of described Wi-Fi;
Described judging unit, for when being more than or equal to the second default time threshold described opening time, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
Preferably, described timing unit, time also for lighting at the screen detecting mobile terminal, records the lighting time of described screen;
Described judging unit, time also for being more than or equal to default very first time threshold value in described lighting time, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
Preferably, described Wi-Fi control device also comprises link block and memory module;
Described link block, can connect Wi-Fi network for scanning, and set up described mobile terminal and the described connection being connected Wi-Fi network;
Described memory module, for obtaining the current positional information of described mobile terminal, can connect Wi-Fi network overlay area described in determining, described overlay area is connected predeterminable area corresponding to Wi-Fi network as described and preserve according to obtained positional information.
The present invention by mobile terminal when detecting that mobile terminal is in default Wi-Fi signal cover, automatic unlatching Wi-Fi also sets up Wi-Fi connection, make mobile terminal when entering default Wi-Fi signal cover, Wi-Fi can be opened in time and set up Wi-Fi and connect, the effective loss reducing paying flow.
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 of the first embodiment of Wi-Fi control device of the present invention;
Fig. 8 is the high-level schematic functional block diagram of the second embodiment of Wi-Fi control device of the present invention;
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 of the 3rd embodiment of Wi-Fi control device of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desktop computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied 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 comprise wireless communication unit 110, A/V (audio/video) input unit 120, user input unit 130, sensing cell 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less 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 the radio communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO
@) the digit broadcasting system receiving digital broadcast of Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in memory 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise 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 modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth
tM, radio-frequency (RF) identification (RFID), Infrared Data Association (I rDA), ultra broadband (UWB), purple honeybee
tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (global positioning system).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating location and temporal information uses three satellites and by the error of the position that uses an other satellite correction calculation to go out and temporal information.In addition, GPS module 115 can carry out computational speed information by Continuous plus current location information in real time.
A/V input unit 120 is for audio reception or vision signal.A/V input unit 120 can comprise camera 121 and microphone 122, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memory 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 121 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of audio signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power subsystem 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 141 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other jockey.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, audio signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with 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 the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input unit and output device.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin-film transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific execution mode wanted, mobile terminal 100 can comprise two or more display units (or other display unit), such as, mobile terminal can comprise 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 and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in memory 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loud speaker, buzzer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incoming communication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Memory 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, memory 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of audio signal.
Memory 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type memory (such as, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 181 for reproducing (or playback) multi-medium data, and multi-media module 181 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power subsystem 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various execution mode described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, execution mode described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such execution mode can be implemented in controller 180.For implement software, the execution mode of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memory 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to the communication system that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA), code division multiple access (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280MSC 280 and be constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC 280 is also constructed to form interface with the BSC 275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E 1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC275.
Each BS 270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS 270.Or each subregion can by two or more antenna covers for diversity reception.Each BS 270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS 270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC 275 and at least one BS 270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT 295.In fig. 2, several global positioning system (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but be understandable that, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless communication system, BS 270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S 270.The data obtained are forwarded to relevant BSC 275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS 270.The data received also are routed to MSC280 by BSC 275, and it is provided for the extra route service forming interface with PSTN 290.Similarly, PSTN290 and MSC 280 forms interface, and MSC and BSC 275 forms interface, and BSC 275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of Wi-Fi control method of the present invention is proposed.
With reference to the schematic flow sheet that Fig. 3, Fig. 3 are the first embodiment of Wi-Fi control method of the present invention.
In the present embodiment, described Wi-Fi control method comprises:
Step S10, when the screen detecting mobile terminal is lighted, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information, described predeterminable area is attachable Wi-Fi network overlay area;
When the screen detecting mobile terminal is lighted, the positional information that described in described acquisition for mobile terminal, mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information.Described mobile terminal by the state putting out screen bright screen of the described screen of monitoring, can obtain the current positional information of described mobile terminal when described screen bright screen; Or, the control signal lighted for controlling described screen can being monitored, when listening to described control signal, obtaining the positional information that described mobile terminal is current.Described mobile terminal can be detected by such as GPS location technology or be got the current positional information of described mobile terminal.Described predeterminable area can be the signal coverage areas of the available Wi-Fi preserved in advance.Described predeterminable area can be the signal coverage areas of an available Wi-Fi; Or, also can be the combination in multiple regions of the signal composition of multiple available Wi-Fi.Described predeterminable area can also be the positional information of the available Wi-Fi preserved in advance, and the signal coverage areas of the described available Wi-Fi obtained according to described position calculation.
With reference to the schematic flow sheet that Fig. 4, Fig. 4 are the preferred embodiment of 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 default very first time threshold value, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
Described mobile terminal, when the screen detecting mobile terminal is lighted, records the lighting time of described screen; Described mobile terminal, when described lighting time is more than or equal to default very first time threshold value, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.When described lighting time is less than default very first time threshold value, by being in the judgement of bright screen state for time to the screen of mobile terminal, effectively can avoid obtaining the current positional information of mobile terminal in the bright screen process of mobile terminal short time and carry out the process that judges, thus reducing the loss of electric quantity of power supply.
Such as: when user only needs to have a look at current time, user triggers based on the physical button that described mobile terminal provides the instruction that screen lights, mobile terminal is according to described instruction point bright screen curtain, described mobile terminal is when detecting described screen and lighting, start timing, after 2 seconds, user triggers the instruction of screen extinguishing based on the button that described mobile terminal provides, mobile terminal has extinguished screen according to described instruction, mobile terminal judges that 2 seconds lighting times of screen are less than default very first time threshold value 3 seconds, then do not perform obtain mobile terminal current location information and operation afterwards, effectively can reduce the loss of electric quantity of power supply.
Further, when the screen detecting mobile terminal is lighted, the lighting time of described screen is recorded; When described lighting time is more than or equal to default very first time threshold value, described mobile terminal scans all channels by bottom layer driving, and search Wi-Fi network obtains Search Results; Described mobile terminal, according to described Search Results, is determined in described Search Results, whether contains the Wi-Fi network that the SSID (Service Set Identifier, service set) of the available Wi-Fi network of preserving with described mobile terminal is identical; If containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described Search Results, then obtain current location information, and judge current location whether in predeterminable area according to obtained positional information; If not containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described Search Results, then do not perform and obtain current location information and carry out the step that judges.By the process that scanning Wi-Fi network carrying out judges, can effectively to avoid in current location, without the process of further locating during available Wi-Fi network and judge, effectively decreasing the loss of electric quantity of power supply.
Step S20, if so, then opens the Wi-Fi of described mobile terminal, and sets 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 sets up Wi-Fi connection; If described mobile terminal current location is not in predeterminable area, described mobile terminal can perform step S10, or also can obtain the unlatching of described mobile terminal Wi-Fi or the state of closedown, close described Wi-Fi when described Wi-Fi is in opening, perform step S10 when described Wi-Fi is in closed condition.Preferably, described mobile terminal opens Wi-Fi, and scans Wi-Fi network; Judge the Wi-Fi network whether containing the available Wi-Fi network information match preserved with described mobile terminal in scanning result; If the Wi-Fi network containing the available Wi-Fi network information match preserved with described mobile terminal in described scanning result, then extract the network information of described Wi-Fi network, and set up Wi-Fi according to the described network information and be connected to; If do not contain the Wi-Fi network of the available Wi-Fi network information match preserved with described mobile terminal in described scanning result, then rescan Wi-Fi network.
The present embodiment by mobile terminal when detecting that mobile terminal is in default Wi-Fi signal cover, automatic unlatching Wi-Fi also sets up Wi-Fi connection, make mobile terminal when entering default Wi-Fi signal cover, Wi-Fi can be opened in time and set up Wi-Fi and connect, the effective loss reducing paying flow.
It is the schematic flow sheet of the second embodiment of Wi-Fi control method of the present invention with reference to figure 5, Fig. 5.Based on the second embodiment of above-mentioned Wi-Fi control method, after the step of described step S20, also comprise:
Step S30, when detecting described Wi-Fi and disconnecting, obtains the positional information that described mobile terminal is current, and judges current location whether in described predeterminable area according to obtained positional information;
Described mobile terminal, when detecting described Wi-Fi network and disconnecting, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
With reference to the schematic flow sheet that figure 6, Fig. 6 is the preferred embodiment of described step S30.
Step S301, when the Wi-Fi detecting mobile terminal disconnects, records the opening time of described Wi-Fi;
Step S302, when being more than or equal to the second default time threshold described opening time, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
Described mobile terminal is when detecting Wi-Fi network and disconnecting, record the opening time of described Wi-Fi, when being more than or equal to the second default time threshold described opening time, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information.Described second Preset Time can be determined according to the coverage of the translational speed of described terminal and described Wi-Fi network, such as: the quorum sensing inhibitor distance of Wi-Fi network is 100 meters, the average speed of mobile terminal is 1 meter per second, then determine that described first Preset Time is 100 seconds.When being more than or equal to the second default time threshold described opening time, by the judgement of opening time disconnected mobile terminal, can effectively avoid when the Wi-Fi detecting mobile terminal disconnects, continue the process that acquisition current location carries out judging, reduce the consumption of electric quantity of power supply, guarantee that mobile terminal is after leaving described predeterminable area, the operation positioning and judge.
Further, when the Wi-Fi detecting mobile terminal disconnects, the opening time of described Wi-Fi is recorded; When being more than or equal to the second default time threshold described opening time, the Wi-Fi network of described mobile scanning terminal annex, and whether determine in scanning result containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved; If containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described scanning result, then obtain current location information, and judge current location whether in predeterminable area according to obtained positional information; If not containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described scanning result, then do not perform and obtain current location information and carry out the step that judges.By the process that scanning Wi-Fi network carrying out judges, can effectively to avoid in current location, without the process of further locating during available Wi-Fi network and judge, effectively decreasing the loss of electric quantity of power supply.
Step S40, if not, then closes described Wi-Fi.
If current location not in described predeterminable area, then closes described Wi-Fi; If current location is in predeterminable area, then scan Wi-Fi network, and whether determine in scanning result containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved; If containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described scanning result, then connect according to the Wi-Fi network information that described mobile terminal is preserved; If not containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described scanning result, then continue scanning Wi-Fi network.
The present embodiment by mobile terminal when detecting that mobile terminal is in default Wi-Fi signal cover, automatic unlatching Wi-Fi also sets up Wi-Fi connection, make mobile terminal when entering default Wi-Fi signal cover, Wi-Fi can be opened in time and set up Wi-Fi and connect, the loss of effective minimizing paying flow, the judgement of opening time simultaneously by disconnecting mobile terminal, can effectively avoid when the Wi-Fi detecting mobile terminal disconnects, continue the process that acquisition current location carries out judging, reduce the consumption of electric quantity of power supply, guarantee that mobile terminal is after leaving described predeterminable area, the operation positioning and judge.
It is the schematic flow sheet of the 3rd embodiment of Wi-Fi control method of the present invention with reference to figure 7, Fig. 7.Based on the second embodiment of above-mentioned Wi-Fi control method, before the step of described step S10, also comprise:
Step S11, scanning can connect Wi-Fi network, and sets up described mobile terminal and the described connection being connected Wi-Fi network;
The physical button that Wi-Fi can be provided to connect by described mobile terminal, triggers described Wi-Fi link order for user based on described physical button; Or the shortcut icon that also Wi-Fi can be provided to connect by described mobile terminal, triggers described Wi-Fi link order for user based on described shortcut icon; Or the membrane keyboard that also Wi-Fi can be provided to connect by described mobile terminal, triggers described Wi-Fi link order detecting when user touches described membrane keyboard.Can when detecting Wi-Fi link order, described mobile scanning terminal can connect Wi-Fi network.The process of scanning Wi-Fi network, preferably can scan all channels by described mobile terminal bottom layer driving, 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 for user based on described inputting interface and the network information corresponding to input.The described network information includes but not limited to the SSID, key information, channel etc. of described Wi-Fi network.
Step S12, obtains the positional information that described mobile terminal is current, can connect Wi-Fi network overlay area, described overlay area is connected predeterminable area corresponding to Wi-Fi network as described and preserve according to obtained positional information described in determining.
The positional information that described in described acquisition for mobile terminal, mobile terminal is current, can connect Wi-Fi network overlay area described in determining, described overlay area is connected predeterminable area corresponding to Wi-Fi network as described and preserve according to obtained positional information.The described coverage distance that can connect Wi-Fi network can be determined according to the described network information connecting Wi-Fi network, draw the described overlay area that can connect Wi-Fi network according to described coverage distance and the positional information that obtains.
The present embodiment by mobile terminal when detecting that mobile terminal is in default Wi-Fi signal cover, automatic unlatching Wi-Fi also sets up Wi-Fi connection, make mobile terminal when entering default Wi-Fi signal cover, Wi-Fi can be opened in time and set up Wi-Fi and connect, the effective loss reducing paying flow.
The present invention further provides a kind of Wi-Fi control device.
With reference to the schematic flow sheet that Fig. 8, Fig. 8 are the first embodiment of Wi-Fi control device of the present invention.
A kind of Wi-Fi control device of the present embodiment, described Wi-Fi control device comprises: judge module 10 grades of control modules 20;
Described judge module 10, during for lighting at the screen detecting mobile terminal, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information, described predeterminable area is attachable Wi-Fi network overlay area;
When the screen detecting mobile terminal is lighted, the positional information that described in described acquisition for mobile terminal, mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information.Described mobile terminal by the state putting out screen bright screen of the described screen of monitoring, can obtain the current positional information of described mobile terminal when described screen bright screen; Or, the control signal lighted for controlling described screen can being monitored, when listening to described control signal, obtaining the positional information that described mobile terminal is current.Described mobile terminal can be detected by such as GPS location technology or be got the current positional information of described mobile terminal.Described predeterminable area can be the signal coverage areas of the available Wi-Fi preserved in advance.Described predeterminable area can be the signal coverage areas of an available Wi-Fi; Or, also can be the combination in multiple regions of the signal composition of multiple available Wi-Fi.Described predeterminable area can also be the positional information of the available Wi-Fi preserved in advance, and the signal coverage areas of the described available Wi-Fi obtained according to described position calculation.
With reference to the schematic flow sheet that Fig. 9, Fig. 9 are the preferred embodiment of described judgement mould.Described judge module 10 comprises timing unit 11 and judging unit 12;
Described timing unit 11, during for lighting at the screen detecting mobile terminal, records the lighting time of described screen;
Described judging unit 12, during for being more than or equal to default very first time threshold value in described lighting time, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
Described mobile terminal, when the screen detecting mobile terminal is lighted, records the lighting time of described screen; Described mobile terminal, when described lighting time is more than or equal to default very first time threshold value, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.When described lighting time is less than default very first time threshold value, by being in the judgement of bright screen state for time to the screen of mobile terminal, effectively can avoid obtaining the current positional information of mobile terminal in the bright screen process of mobile terminal short time and carry out the process that judges, thus reducing the loss of electric quantity of power supply.
Such as: when user only needs to have a look at current time, user triggers based on the physical button that described mobile terminal provides the instruction that screen lights, mobile terminal is according to described instruction point bright screen curtain, described mobile terminal is when detecting described screen and lighting, start timing, after 2 seconds, user triggers the instruction of screen extinguishing based on the button that described mobile terminal provides, mobile terminal has extinguished screen according to described instruction, mobile terminal judges that 2 seconds lighting times of screen are less than default very first time threshold value 3 seconds, then do not perform obtain mobile terminal current location information and operation afterwards, effectively can reduce the loss of electric quantity of power supply.
Further, when the screen detecting mobile terminal is lighted, the lighting time of described screen is recorded; When described lighting time is more than or equal to default very first time threshold value, described mobile terminal scans all channels by bottom layer driving, and search Wi-Fi network obtains Search Results; Whether described mobile terminal, according to described Search Results, is determined in described Search Results, containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved; If containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described Search Results, then obtain current location information, and judge current location whether in predeterminable area according to obtained positional information; If not containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described Search Results, then do not perform and obtain current location information and carry out the step that judges.By the process that scanning Wi-Fi network carrying out judges, can effectively to avoid in current location, without the process of further locating during available Wi-Fi network and judge, effectively decreasing the loss of electric quantity of power supply.
Described control module 20, if for current location in predeterminable area, then opens the Wi-Fi of described mobile terminal, and sets 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 sets up Wi-Fi connection; If described mobile terminal current location is not in predeterminable area, described mobile terminal can perform step S10, or also can obtain the unlatching of described mobile terminal Wi-Fi or the state of closedown, close described Wi-Fi when described Wi-Fi is in opening, perform step S10 when described Wi-Fi is in closed condition.Preferably, described mobile terminal opens Wi-Fi, and scans Wi-Fi network; Judge the Wi-Fi network whether containing the available Wi-Fi network information match preserved with described mobile terminal in scanning result; If the Wi-Fi network containing the available Wi-Fi network information match preserved with described mobile terminal in described scanning result, then extract the network information of described Wi-Fi network, and set up Wi-Fi according to the described network information and be connected to; If do not contain the Wi-Fi network of the available Wi-Fi network information match preserved with described mobile terminal in described scanning result, then rescan Wi-Fi network.
The present embodiment by mobile terminal when detecting that mobile terminal is in default Wi-Fi signal cover, automatic unlatching Wi-Fi also sets up Wi-Fi connection, make mobile terminal when entering default Wi-Fi signal cover, Wi-Fi can be opened in time and set up Wi-Fi and connect, the effective loss reducing paying flow.
Further, described judge module 10, also for when detecting described Wi-Fi and disconnecting, obtains the positional information that described mobile terminal is current, and judges current location whether in described predeterminable area according to obtained positional information;
Described mobile terminal, when detecting described Wi-Fi network and disconnecting, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
Described judge module 10 comprises timing unit 11 and judging unit 12;
Described timing unit 11, time also for disconnecting at the Wi-Fi detecting mobile terminal, records the opening time of described Wi-Fi;
Described judging unit 12, also for when being more than or equal to the second default time threshold described opening time, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
Described mobile terminal is when detecting Wi-Fi network and disconnecting, record the opening time of described Wi-Fi, when being more than or equal to the second default time threshold described opening time, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information.Described second Preset Time can be determined according to the coverage of the translational speed of described terminal and described Wi-Fi network, such as: the quorum sensing inhibitor distance of Wi-Fi network is 100 meters, the average speed of mobile terminal is 1 meter per second, then determine that described first Preset Time is 100 seconds.When being more than or equal to the second default time threshold described opening time, by the judgement of opening time disconnected mobile terminal, can effectively avoid when the Wi-Fi detecting mobile terminal disconnects, continue the process that acquisition current location carries out judging, reduce the consumption of electric quantity of power supply, guarantee that mobile terminal is after leaving described predeterminable area, the operation positioning and judge.
Further, when the Wi-Fi detecting mobile terminal disconnects, the opening time of described Wi-Fi is recorded; When being more than or equal to the second default time threshold described opening time, the Wi-Fi network of described mobile scanning terminal annex, and whether determine in scanning result containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved; If containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described scanning result, then obtain current location information, and judge current location whether in predeterminable area according to obtained positional information; If not containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described scanning result, then do not perform and obtain current location information and carry out the step that judges.By the process that scanning Wi-Fi network carrying out judges, can effectively to avoid in current location, without the process of further locating during available Wi-Fi network and judge, effectively decreasing the loss of electric quantity of power supply.
Described control module 20, if also for current location not in predeterminable area, then close described Wi-Fi.
If current location not in described predeterminable area, then closes described Wi-Fi; If current location is in predeterminable area, then scan Wi-Fi network, and whether determine in scanning result containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved; If containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described scanning result, then connect according to the Wi-Fi network information that described mobile terminal is preserved; If not containing the Wi-Fi network identical with the SSID of the available Wi-Fi network that described mobile terminal is preserved in described scanning result, then continue scanning Wi-Fi network.
The present embodiment by mobile terminal when detecting that mobile terminal is in default Wi-Fi signal cover, automatic unlatching Wi-Fi also sets up Wi-Fi connection, make mobile terminal when entering default Wi-Fi signal cover, Wi-Fi can be opened in time and set up Wi-Fi and connect, the loss of effective minimizing paying flow, the judgement of opening time simultaneously by disconnecting mobile terminal, can effectively avoid when the Wi-Fi detecting mobile terminal disconnects, continue the process that acquisition current location carries out judging, reduce the consumption of electric quantity of power supply, guarantee that mobile terminal is after leaving described predeterminable area, the operation positioning and judge.
With reference to the high-level schematic functional block diagram that Figure 10, Figure 10 are the 3rd embodiment of Wi-Fi control device of the present invention.Based on the second embodiment of above-mentioned Wi-Fi control method, described Wi-Fi control device also comprises link block 30 and memory module 40;
Described link block 30, can connect Wi-Fi network for scanning, and set up described mobile terminal and the described connection being connected Wi-Fi network;
The physical button that Wi-Fi can be provided to connect by described mobile terminal, triggers described Wi-Fi link order for user based on described physical button; Or the shortcut icon that also Wi-Fi can be provided to connect by described mobile terminal, triggers described Wi-Fi link order for user based on described shortcut icon; Or the membrane keyboard that also Wi-Fi can be provided to connect by described mobile terminal, triggers described Wi-Fi link order detecting when user touches described membrane keyboard.Can when detecting Wi-Fi link order, described mobile scanning terminal can connect Wi-Fi network.The process of scanning Wi-Fi network, preferably can scan all channels by described mobile terminal bottom layer driving, 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 for user based on described inputting interface and the network information corresponding to input.The described network information includes but not limited to the SSID, key information, channel etc. of described Wi-Fi network.
Described memory module 40, for obtaining the current positional information of described mobile terminal, Wi-Fi network overlay area can be connected described in determining according to obtained positional information, described overlay area is connected predeterminable area corresponding to Wi-Fi network as described and preserve.
The positional information that described in described acquisition for mobile terminal, mobile terminal is current, can connect Wi-Fi network overlay area described in determining, described overlay area is connected predeterminable area corresponding to Wi-Fi network as described and preserve according to obtained positional information.The described coverage distance that can connect Wi-Fi network can be determined according to the described network information connecting Wi-Fi network, draw the described overlay area that can connect Wi-Fi network according to described coverage distance and the positional information that obtains.
The present embodiment by mobile terminal when detecting that mobile terminal is in default Wi-Fi signal cover, automatic unlatching Wi-Fi also sets up Wi-Fi connection, make mobile terminal when entering default Wi-Fi signal cover, Wi-Fi can be opened in time and set up Wi-Fi and connect, the effective loss reducing paying flow.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is 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 can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. a Wi-Fi control method, is characterized in that, 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 judge current location whether in predeterminable area according to obtained positional information, described predeterminable area is attachable Wi-Fi network overlay area;
If so, then open the Wi-Fi of described mobile terminal, and set up the connection of described mobile terminal and described attachable Wi-Fi network.
2. Wi-Fi control method as claimed in claim 1, is characterized in that, the Wi-Fi of the described mobile terminal of described unlatching, and after setting up the step of the connection of described mobile terminal and described attachable Wi-Fi network, also comprises:
When detecting described Wi-Fi and disconnecting, obtain the positional information that described mobile terminal is current, and judge current location whether in described predeterminable area according to obtained positional information;
If not, then described Wi-Fi is closed.
3. Wi-Fi control method as claimed in claim 2, it is characterized in that, describedly obtain when detecting described Wi-Fi and disconnecting the positional information that described mobile terminal is current, and judge that the step of current location whether in predeterminable area comprises according to obtained positional information:
When the Wi-Fi detecting mobile terminal disconnects, record the opening time of described Wi-Fi;
When being more than or equal to the second default time threshold described opening time, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information.
4. Wi-Fi control method as claimed in claim 1, it is characterized in that, when the described screen detecting mobile terminal is lighted, obtain the positional information that described mobile terminal is current, and judge that the step of current location whether in predeterminable area comprises according to obtained positional information:
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 default very first time threshold value, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information.
5. the Wi-Fi control method as described in any one of Claims 1-4, it is characterized in that, when the described screen detecting mobile terminal is lighted, obtain the positional information that described mobile terminal is current, and before judging the step of current location whether in predeterminable area according to obtained positional information, also comprise:
Scanning can connect Wi-Fi network, and sets up described mobile terminal and the described connection being connected Wi-Fi network;
Obtain the positional information that described mobile terminal is current, Wi-Fi network overlay area can be connected described in determining according to obtained positional information, described overlay area is connected predeterminable area corresponding to Wi-Fi network as described and preserve.
6. a Wi-Fi control device, is characterized in that, described Wi-Fi control device comprises:
Judge module, during for lighting at the screen detecting mobile terminal, obtain the positional information that described mobile terminal is current, and judge current location whether in predeterminable area according to obtained positional information, described predeterminable area is attachable Wi-Fi network overlay area;
Control module, if for current location in predeterminable area, then opens the Wi-Fi of described mobile terminal, and sets up the connection of described mobile terminal and described attachable Wi-Fi network.
7. Wi-Fi control device as claimed in claim 6, it is characterized in that, described judge module, also for when detecting described Wi-Fi and disconnecting, obtain the positional information that described mobile terminal is current, and judge current location whether in described predeterminable area according to obtained positional information;
Described control module, if also for current location not in predeterminable area, then close described Wi-Fi.
8. Wi-Fi control device as claimed in claim 7, it is characterized in that, described judge module comprises timing unit and judging unit;
Described timing unit, during for disconnecting at the Wi-Fi detecting mobile terminal, records the opening time of described Wi-Fi;
Described judging unit, for when being more than or equal to the second default time threshold described opening time, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
9. Wi-Fi control device as claimed in claim 8, is characterized in that, described timing unit, time also for lighting at the screen detecting mobile terminal, recording the lighting time of described screen;
Described judging unit, time also for being more than or equal to default very first time threshold value in described lighting time, obtains the positional information that described mobile terminal is current, and judges current location whether in predeterminable area according to obtained positional information.
10. the Wi-Fi control device as described in any one of claim 6 to 9, is characterized in that, described Wi-Fi control device also comprises link block and memory module;
Described link block, can connect Wi-Fi network for scanning, and set up described mobile terminal and the described connection being connected Wi-Fi network;
Described memory module, for obtaining the current positional information of described mobile terminal, can connect Wi-Fi network overlay area described in determining, described overlay area is connected predeterminable area corresponding to Wi-Fi network as described and preserve according to obtained positional information.
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 true CN104968027A (en) | 2015-10-07 |
CN104968027B 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) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 WIFI switch of mobile terminal |
CN105828410A (en) * | 2015-11-30 | 2016-08-03 | 维沃移动通信有限公司 | Method for displaying information of wireless local area network and mobile terminal |
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 |
CN106951828A (en) * | 2017-02-22 | 2017-07-14 | 清华大学 | A kind of recognition methods of the urban area functional attributes based on satellite image and network |
CN109195204A (en) * | 2018-11-12 | 2019-01-11 | Oppo广东移动通信有限公司 | Wireless network access method and device, computer-readable medium, communication terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915192A (en) * | 2012-09-20 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method for adjusting 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
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915192A (en) * | 2012-09-20 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method for adjusting 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 |
Cited By (8)
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 WIFI switch of mobile terminal |
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 |
CN106951828A (en) * | 2017-02-22 | 2017-07-14 | 清华大学 | A kind of recognition methods of the urban area functional attributes based on satellite image and network |
CN106951828B (en) * | 2017-02-22 | 2020-02-21 | 清华大学 | Urban area function attribute identification method based on satellite images and network |
CN109195204A (en) * | 2018-11-12 | 2019-01-11 | Oppo广东移动通信有限公司 | Wireless network access method and device, computer-readable medium, communication terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104968027B (en) | 2016-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105188101A (en) | Network switching device and method | |
CN105163355A (en) | Method and device for switching networks of mobile terminal | |
CN104967810A (en) | Call mode conversion method and terminal device | |
CN104954553A (en) | Mobile terminal split-screen display method and device | |
CN105188098A (en) | Mobile terminal network switching apparatus and network switching method | |
CN104968027A (en) | Wi-Fi control method and apparatus | |
CN105101317A (en) | Network switching device and method | |
CN104768198A (en) | Mobile terminal and intelligent switching method and device for terminal network of mobile terminal | |
CN104796956A (en) | Mobile terminal network switching method and mobile terminal | |
CN104717361A (en) | Mobile terminal and intelligent scene mode adjusting method based on same | |
CN104639759A (en) | Anti-forgetting reminding method and device for mobile terminal | |
CN105187521A (en) | Service processing device and method | |
CN104968033A (en) | Terminal network processing method and apparatus | |
CN104660820A (en) | Implementation method of management mode of mobile terminal and mobile terminal | |
CN104731480A (en) | Image display method and device based on touch screen | |
CN104850799A (en) | Mobile terminal and method of hiding data in mobile terminal | |
CN106304086A (en) | Pseudo-base station recognition methods and device | |
CN104981030A (en) | Network connection control method and device | |
CN104918064A (en) | Rapid video play method and device of mobile terminal | |
CN104935044A (en) | Charging method and charging device | |
CN104915215A (en) | Icon recommending device and method | |
CN104993180A (en) | Terminal charging method and device | |
CN105100416A (en) | Event reminding method and wearable device | |
CN104821990A (en) | Intelligent terminal power-off alarm clock realization method and intelligent terminal | |
CN105101325A (en) | Speech switching method, terminal, server and system |
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 |