[go: up one dir, main page]

CN105450865A - Mobile terminal and method thereof for realizing Wi-Fi management - Google Patents

Mobile terminal and method thereof for realizing Wi-Fi management Download PDF

Info

Publication number
CN105450865A
CN105450865A CN201510863659.4A CN201510863659A CN105450865A CN 105450865 A CN105450865 A CN 105450865A CN 201510863659 A CN201510863659 A CN 201510863659A CN 105450865 A CN105450865 A CN 105450865A
Authority
CN
China
Prior art keywords
rssi
mobile terminal
geo
module
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.)
Pending
Application number
CN201510863659.4A
Other languages
Chinese (zh)
Inventor
陶冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510863659.4A priority Critical patent/CN105450865A/en
Publication of CN105450865A publication Critical patent/CN105450865A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a mobile terminal and a method thereof for realizing Wi-Fi management. The mobile terminal comprises a detection module, an acquisition module, a determination module and a processing module. The detection module is used for sending a first acquisition notification to the acquisition module when detecting that a mobile terminal which the detection module belongs to accesses a certain access point (AP) for the first time, and sending an opening notification to the processing module when detecting that the mobile terminal which the detection module belongs to enters a determined geographical fence region again. The acquisition module is used for receiving the first acquisition notification and acquiring first position information of the mobile terminal which the acquisition module belongs to and a first received signal strength indicator (RSSI) of the AP at a first position. The determination module is used for determining the geographical fence region according to the acquired first position information and the first RSSI. The processing module is used for receiving the opening notification, enabling a Wi-Fi switch and accessing the AP corresponding to the entered geographical fence region. According to the method, the function of enabling and disabling Wi-Fi automatically is realized, so that user loss is prevented, and user experience is enhanced.

Description

Mobile terminal and method for realizing Wi-Fi management
Technical Field
The invention relates to an intelligent terminal technology, in particular to a mobile terminal and a method for realizing Wi-Fi management of the mobile terminal.
Background
Along with the rapid development of the electronic industry, the intelligent degree of the mobile terminal is higher and higher. Mobile terminal research and development companies are also focusing more on the intellectualization of the functions of mobile terminals and more on the humanized design of mobile terminals.
Under the rapid development of mobile terminal technology, the use of mobile terminals and wireless fidelity (Wi-Fi) is more extensive, and the intelligent management of Wi-Fi also becomes a part of convenience in life of users.
Whether a Wi-Fi function configuration item (or a switch) is turned on or off in a mobile terminal or not in the process that a current user uses Wi-Fi needs to be manually set according to the needs of the user, so that the following problems exist: firstly, in the standby process of the mobile terminal, the loss of the electric energy of the mobile terminal can be caused because a user forgets to turn off the Wi-Fi; secondly, when the mobile terminal uses data traffic to surf the internet and moves to an available Wi-Fi network environment, if the user forgets to turn on the Wi-Fi switch, a large amount of data traffic loss is caused in the Wi-Fi network environment. Both the above two problems cause certain economic loss to users, and the user experience is not good.
Disclosure of Invention
In order to solve the technical problems, the invention provides a mobile terminal and a method for realizing Wi-Fi management thereof, which can automatically close or start a Wi-Fi function, thereby avoiding user loss and enhancing user experience.
In order to achieve the object of the present invention, the present invention provides a mobile terminal comprising: the device comprises a detection module, an acquisition module, a determination module and a processing module; wherein,
the detection module is used for sending a first acquisition notice to the acquisition module when detecting that the mobile terminal of the detection module is accessed to a certain access point AP for the first time; when detecting that the mobile terminal to which the mobile terminal belongs enters the determined geo-fence area again, sending a starting notice to a processing module;
an obtaining module, configured to receive a first obtaining notification, and obtain first location information of a mobile terminal to which the obtaining module belongs and a first Received Signal Strength Indicator (RSSI) value of the AP at a first location;
a determining module, configured to determine a geo-fenced area according to the obtained first location information and the first RSSI;
and the processing module is used for receiving the opening notification, opening the Wi-Fi switch and accessing the AP corresponding to the entered geo-fence area.
Further, the detection module is further configured to start the intelligent control Wi-Fi function when detecting that the user selects to start a preset intelligent control Wi-Fi configuration item.
Further, the obtaining module is further configured to obtain a first geo-fenced area corresponding to the AP, where the first geo-fenced area is set by a user as needed;
the detection module is further used for sending a starting notice to the processing module when the mobile terminal to which the detection module belongs is detected to enter the first geo-fence area set by the user; when detecting that the mobile terminal to which the mobile terminal belongs leaves the first geo-fenced area, sending a closing notification to the processing module;
the processing module is further used for receiving a starting notice and starting the Wi-Fi switch; and receiving a closing notification, and closing the Wi-Fi switch.
Further, the mobile terminal further comprises a storage module, configured to correspondingly store the determined geo-fenced area and the AP; or,
and correspondingly storing the first geo-fence area set by the user and the AP.
Further, the mobile terminal further comprises an update module, configured to: after the mobile terminal to which the mobile terminal belongs accesses the AP again, second position information of the mobile terminal to which the mobile terminal belongs and a second RSSI (received signal strength indicator) of the AP at a second position are acquired at intervals of preset time length;
determining whether to re-determine a geo-fenced area based on the obtained second RSSI and the first RSSI; the method comprises the following steps:
calculating a difference between the second RSSI and the first RSSI;
and when the calculated difference value between the second RSSI and the first RSSI is greater than or equal to a preset threshold value, re-determining the geo-fence area according to the second RSSI and the second position information.
Further, the determination module determines a geo-fenced area, comprising: obtaining a first minimum RSSI of a boundary of the AP coverage area at the first position; taking a first position corresponding to the obtained first position information as a center of a circle, and taking an area contained by a circle with a radius of a difference value between the obtained first RSSI and the first minimum RSSI as the geofenced area; or,
the update module re-determines the geo-fenced area, including: obtaining a second minimum RSSI of a boundary of the AP coverage area at the second location; and taking a second position corresponding to the obtained second position information as a center of a circle, and taking an area contained by the circle with the radius of the difference value between the obtained second RSSI and the second minimum RSSI as a re-determined geo-fence area.
Further, the detection module is further configured to send a second acquisition notification to the acquisition module when detecting that the mobile terminal to which the detection module belongs leaves the geo-fenced area;
the acquisition module is further configured to receive a second acquisition notification and acquire a third RSSI of the current location of the AP;
the processing module is further configured to determine whether the obtained third RSSI is less than a preset indication threshold; when the obtained third RSSI is judged to be smaller than the preset threshold value, judging whether the RSSI of other APs in the current position is larger than or equal to the preset indication threshold value; and when the RSSI of no other AP at the current position is judged to be larger than or equal to the preset indication threshold value, closing the Wi-Fi switch.
The invention also provides a method for realizing Wi-Fi management by the mobile terminal, which comprises the following steps:
when detecting that a mobile terminal is accessed to an AP for the first time, acquiring first position information of the mobile terminal and a first Received Signal Strength Indication (RSSI) value of the AP at a first position;
determining a geo-fenced area according to the obtained first location information and the first RSSI;
and when the mobile terminal is detected to enter the determined geo-fenced area again, starting the Wi-Fi switch and accessing the AP corresponding to the entered geo-fenced area.
Further, the method also comprises the following steps:
setting an intelligent control Wi-Fi configuration item;
and when detecting that the user selects to start the intelligent control Wi-Fi configuration item, starting the intelligent control Wi-Fi function.
Further, the method further comprises: a user sets a first geo-fenced area corresponding to the AP according to needs;
turning on the Wi-Fi switch when the mobile terminal is detected to enter the first geo-fenced area set by a user;
turning off the Wi-Fi switch when the mobile terminal is detected to leave the first geo-fenced area.
Further, the method also includes, after: correspondingly storing the determined geo-fence area and the AP; or,
and correspondingly storing the first geo-fence area set by the user and the AP.
Further, after the mobile terminal accesses the AP again, the method further includes: acquiring second position information of the mobile terminal and second RSSI (received signal strength indicator) of the AP at a second position at intervals of preset duration;
determining whether to re-determine a geo-fenced area based on the obtained second RSSI and the first RSSI; the method comprises the following steps:
calculating a difference between the second RSSI and the first RSSI;
and when the calculated difference value between the second RSSI and the first RSSI is greater than or equal to a preset threshold value, re-determining the geo-fence area according to the second RSSI and the second position information.
Further, the determining the geo-fenced area comprises: obtaining a first minimum RSSI of a boundary of the AP coverage area at the first position; taking a first position corresponding to the obtained first position information as a center of a circle, and taking an area contained by a circle with a radius of a difference value between the obtained first RSSI and the first minimum RSSI as the geofenced area;
the re-determining the geo-fenced area includes: obtaining a second minimum RSSI of a boundary of the AP coverage area at the second location; and taking a second position corresponding to the obtained second position information as a center of a circle, and taking an area contained by the circle with the radius of the difference value between the obtained second RSSI and the second minimum RSSI as a re-determined geo-fence area.
Further, when it is detected that the mobile terminal leaves the geo-fenced area, the method further includes:
acquiring a third RSSI of the current position of the AP and judging whether the acquired third RSSI is smaller than a preset indication threshold value or not;
when the obtained third RSSI is judged to be smaller than the preset threshold value, judging whether the RSSI of other APs in the current position is larger than or equal to the preset indication threshold value;
and when the RSSI of no other AP at the current position is judged to be larger than or equal to the preset indication threshold value, closing the Wi-Fi switch.
The technical scheme of the invention comprises the following steps: the device comprises a detection module, an acquisition module, a determination module and a processing module; the mobile terminal comprises a detection module, an acquisition module and a processing module, wherein the detection module is used for sending a first acquisition notice to the acquisition module when detecting that the mobile terminal to which the detection module belongs firstly accesses a certain Access Point (AP); when detecting that the mobile terminal to which the mobile terminal belongs enters the determined geo-fence area again, sending a starting notice to a processing module; an obtaining module, configured to receive a first obtaining notification, and obtain first location information of a mobile terminal to which the obtaining module belongs and a first Received Signal Strength Indicator (RSSI) value of the AP at a first location; a determining module, configured to determine a geo-fenced area according to the obtained first location information and the first RSSI; and the processing module is used for receiving the opening notification, opening the Wi-Fi switch and accessing the AP corresponding to the entered geo-fence area. The technical scheme of the invention realizes the automatic closing or connection of the Wi-Fi function, thereby avoiding the loss of users and enhancing the user experience.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a schematic diagram of a communication system supporting communication between mobile terminals in accordance with the present invention;
fig. 3 is a schematic structural diagram of the mobile terminal of the present invention;
FIG. 4 is a flowchart of a method for implementing Wi-Fi management by a mobile terminal according to the present invention;
FIG. 5 is a schematic diagram of the smart control Wi-Fi button of the present invention;
FIG. 6 is a schematic view of a geo-fenced area of the present invention;
FIG. 7 is a flowchart of an embodiment of a method for implementing Wi-Fi management by a mobile terminal according to the present invention.
Detailed Description
The technical solution of the present invention will be described in more detail with reference to the accompanying drawings and examples.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a digital broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), a data broadcasting system of forward link media (MediaFLO), a terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
Fig. 3 is a schematic structural diagram of the mobile terminal of the present invention, as shown in fig. 3, including: a detection module 30, an acquisition module 31, a determination module 32 and a processing module 33. Wherein,
a detection module 30, configured to send a first acquisition notification to an acquisition module 31 when detecting that a mobile terminal to which the mobile terminal belongs first accesses a certain Access Point (AP); when detecting that the mobile terminal to which the mobile terminal belongs enters the determined geo-fenced area again, sending an opening notification to the processing module 33.
Further, the detection module 30 is further configured to start the intelligent control Wi-Fi function when it is detected that the user selects to start a preset intelligent control Wi-Fi configuration item.
Further, the detecting module 30 is further configured to send an opening notification to the processing module 33 when it is detected that the mobile terminal to which the mobile terminal belongs enters the first geo-fenced area set by the user; when detecting that the mobile terminal to which it belongs leaves the first geo-fenced area, it sends a close notification to the processing module 33.
Further, the detecting module 30 is further configured to send a second acquisition notification to the acquiring module 31 when it is detected that the mobile terminal to which the mobile terminal belongs leaves the geo-fenced area.
An obtaining module 31, configured to receive the first obtaining notification, and obtain first location information of the mobile terminal to which the mobile terminal belongs and a first Received Signal Strength Indicator (RSSI) value of the AP at the first location.
Further, the obtaining module 31 is further configured to obtain a first geo-fenced area corresponding to the AP, where the first geo-fenced area is set by the user as needed.
Further, the obtaining module 31 is further configured to receive the second obtaining notification, and obtain a third RSSI of the current location of the AP.
A determining module 32, configured to determine a geo-fenced area according to the obtained first location information and the first RSSI.
Wherein the determination module 32 determines the geo-fenced area, including: obtaining a first minimum RSSI of a boundary of the AP coverage area at a first location; and taking the first position corresponding to the obtained first position information as a center of a circle, and taking the difference value between the obtained first RSSI and the first minimum RSSI as a radius of the circle to contain an area as a geo-fence area.
And the processing module 33 is configured to receive the start notification, start the Wi-Fi switch, and access the AP corresponding to the entered geo-fenced area.
Further, the processing module 33 is further configured to receive a close notification to close the Wi-Fi switch.
Further, the processing module 33 is further configured to determine whether the obtained third RSSI is smaller than a preset indication threshold; when the obtained third RSSI is judged to be smaller than the preset threshold value, judging whether the RSSI of other APs in the current position is larger than or equal to the preset indication threshold value; and when the RSSI of no other AP at the current position is judged to be larger than or equal to the preset indication threshold value, closing the Wi-Fi switch.
Further, the mobile terminal further includes a storage module 34, configured to correspondingly store the determined geo-fenced area and the AP.
Further, the storage module 34 is further configured to correspondingly store the first geo-fenced area set by the user and the AP.
Further, the storage module 34 is further configured to delete the stored AP and the geofenced area corresponding to the AP when it is detected that the user cancels the AP access.
Further, the mobile terminal further comprises an updating module 35 configured to: after the mobile terminal of the mobile terminal is accessed to the AP again, second position information of the mobile terminal and a second RSSI of the AP at a second position are obtained at intervals of preset duration;
determining whether to re-determine the geo-fenced area according to the obtained second RSSI and the first RSSI; the method comprises the following steps:
calculating a difference between the second RSSI and the first RSSI;
and when the calculated difference value of the second RSSI and the first RSSI is larger than or equal to a preset threshold value, re-determining the geo-fence area according to the second RSSI and the second position information.
Wherein the update module 35 re-determines the geo-fenced area, including: obtaining a second minimum RSSI for a boundary of the AP coverage area at a second location; and taking a second position corresponding to the obtained second position information as a center of a circle, and taking an area contained by the circle with the difference value of the obtained second RSSI and the second minimum RSSI as a radius as a re-determined geo-fence area.
In a preferred embodiment, the mobile terminal in this embodiment includes: the method comprises the following steps: a detection module 30, an acquisition module 31, a determination module 32, a processing module 33, a storage module 34 and an update module 35. Wherein,
a detection module 30, configured to send a first acquisition notification to an acquisition module 31 when detecting that a mobile terminal to which the mobile terminal belongs first accesses a certain Access Point (AP); when detecting that the mobile terminal to which the mobile terminal belongs enters the determined geo-fenced area again, sending an opening notification to the processing module 33.
Further, the detection module 30 is further configured to start the intelligent control Wi-Fi function when it is detected that the user selects to start a preset intelligent control Wi-Fi configuration item.
Further, the detecting module 30 is further configured to send an opening notification to the processing module 33 when it is detected that the mobile terminal to which the mobile terminal belongs enters the first geo-fenced area set by the user; when detecting that the mobile terminal to which it belongs leaves the first geo-fenced area, it sends a close notification to the processing module 33.
Further, the detecting module 30 is further configured to send a second acquisition notification to the acquiring module 31 when it is detected that the mobile terminal to which the mobile terminal belongs leaves the geo-fenced area.
An obtaining module 31, configured to receive the first obtaining notification, and obtain first location information of the mobile terminal to which the mobile terminal belongs and a first Received Signal Strength Indicator (RSSI) value of the AP at the first location.
Further, the obtaining module 31 is further configured to obtain a first geo-fenced area corresponding to the AP, where the first geo-fenced area is set by the user as needed.
Further, the obtaining module 31 is further configured to receive the second obtaining notification, and obtain a third RSSI of the current location of the AP.
A determining module 32, configured to determine a geo-fenced area according to the obtained first location information and the first RSSI.
Wherein the determination module 32 determines the geo-fenced area, including: obtaining a first minimum RSSI of a boundary of the AP coverage area at a first location; and taking the first position corresponding to the obtained first position information as a center of a circle, and taking the difference value between the obtained first RSSI and the first minimum RSSI as a radius of the circle to contain an area as a geo-fence area.
And the processing module 33 is configured to receive the start notification, start the Wi-Fi switch, and access the AP corresponding to the entered geo-fenced area.
Further, the processing module 33 is further configured to receive a close notification to close the Wi-Fi switch.
Further, the processing module 33 is further configured to determine whether the obtained third RSSI is smaller than a preset indication threshold; when the obtained third RSSI is judged to be smaller than the preset threshold value, judging whether the RSSI of other APs in the current position is larger than or equal to the preset indication threshold value; and when the RSSI of no other AP at the current position is judged to be larger than or equal to the preset indication threshold value, closing the Wi-Fi switch.
And a storage module 34, configured to correspondingly store the determined geo-fenced area and the AP.
Further, the storage module 34 is further configured to correspondingly store the first geo-fenced area set by the user and the AP.
Further, the storage module 34 is further configured to delete the stored AP and the geofenced area corresponding to the AP when it is detected that the user cancels the AP access.
An update module 35 configured to: after the mobile terminal of the mobile terminal is accessed to the AP again, second position information of the mobile terminal and a second RSSI of the AP at a second position are obtained at intervals of preset duration;
determining whether to re-determine the geo-fenced area according to the obtained second RSSI and the first RSSI; the method comprises the following steps:
calculating a difference between the second RSSI and the first RSSI;
and when the calculated difference value of the second RSSI and the first RSSI is larger than or equal to a preset threshold value, re-determining the geo-fence area according to the second RSSI and the second position information.
Wherein the update module 35 re-determines the geo-fenced area, including: obtaining a second minimum RSSI for a boundary of the AP coverage area at a second location; and taking a second position corresponding to the obtained second position information as a center of a circle, and taking an area contained by the circle with the difference value of the obtained second RSSI and the second minimum RSSI as a radius as a re-determined geo-fence area.
Fig. 4 is a flowchart of a method for implementing Wi-Fi management by a mobile terminal according to the present invention, as shown in fig. 4, including:
step 401: when detecting that a mobile terminal first accesses a certain Access Point (AP), first location information of the mobile terminal and a first received signal strength indication value (RSSI) of the AP at a first location are acquired.
The mobile terminal may obtain the first location information of itself through communication with the base station, or obtain the first location information of itself through a map application or a GPS system built in itself.
It should be noted that the following use of RSSI is emphasized in the present invention, and how to obtain RSSI of the AP at the first position belongs to the conventional technical means known to those skilled in the art, and is not described herein again, and is not intended to limit the present invention.
The first access of the mobile terminal to a certain AP in the present invention is consistent with the first access of the mobile terminal to a certain AP in the prior art, and the specific implementation thereof is not used to limit the present invention, and is not described herein again.
Further, the method also comprises the following steps:
setting an intelligent control Wi-Fi configuration item;
and when detecting that the user selects to start the intelligent control Wi-Fi configuration item, starting the intelligent control Wi-Fi function.
The setting of the intelligent control Wi-Fi configuration item is shown in fig. 5, the intelligent control Wi-Fi configuration item can be added to a setting column in the system setting of the mobile terminal, the intelligent control Wi-Fi configuration item is in a closing state by default, and when a user clicks the intelligent control Wi-Fi configuration item, the intelligent control Wi-Fi button is selected to be started, so that the mobile terminal system starts an intelligent control Wi-Fi function according to the selection of the user.
It should be noted that how to set the smart control Wi-Fi configuration items and start the smart control Wi-Fi function belongs to the conventional technical means known to those skilled in the art, and the description thereof is omitted here for the sake of brevity.
Step 402: determining a geo-fenced area from the obtained first location information and the first RSSI.
The method specifically comprises the following steps: obtaining a first minimum RSSI of a boundary of the AP coverage area at a first location; and taking the first position corresponding to the obtained first position information as a center of a circle, and taking the difference value between the obtained first RSSI and the first minimum RSSI as a radius of the circle to contain an area as a geo-fence area.
It should be noted that how to obtain the first minimum RSSI of the boundary of the coverage area of the AP at the first location belongs to the conventional technical means known to those skilled in the art, and the description is not repeated herein, and is not intended to limit the present invention.
As shown in fig. 6, which is a schematic view of a geo-fenced area of the present invention, location 1, i.e., a first location, is a location where a mobile terminal is located, location 2 is a location where an AP is located, a circle can be obtained by taking location 1 as a center of circle and taking RSSI of the AP at location 1 as a radius, and area 1 covered by the circle is the determined geo-fenced area. The area 2 covered by the AP signal can be determined by the location 2, generally, the coverage area of the AP is an area where a device such as a mobile terminal can receive-90 dbm, that is, the AP location is determined, and the area covered by the signal is also determined, if the device such as the mobile terminal leaves the area covered by the signal of the AP once, the device such as the mobile terminal cannot search for the AP, and thus cannot connect to the AP.
Further, the method then comprises: and correspondingly storing the determined geo-fence area and the AP. Further, the method also includes, after: and when the fact that the user cancels the AP access is detected, deleting the stored AP and the geo-fence area corresponding to the AP.
Step 403: and when the mobile terminal is detected to enter the determined geo-fenced area again, starting the Wi-Fi switch and accessing the AP corresponding to the entered geo-fenced area.
Whether to enter a certain area (the determined geo-fenced area in the present invention) can be determined by whether the system of the mobile terminal reports the broadcast.
Further, after the mobile terminal accesses the AP again, the method further includes: acquiring second position information of the mobile terminal and second RSSI (received signal strength indicator) of the AP at a second position at intervals of preset duration;
determining whether to re-determine the geo-fenced area according to the obtained second RSSI and the first RSSI; the method comprises the following steps:
calculating a difference between the second RSSI and the first RSSI;
and when the calculated difference value of the second RSSI and the first RSSI is larger than or equal to a preset threshold value, re-determining the geo-fence area according to the second RSSI and the second position information. The mobile terminal may obtain the second location information of itself through communication with the base station, or obtain the second location information of itself through a map application or a GPS system built in itself.
Wherein re-determining the geo-fenced area comprises:
obtaining a second minimum RSSI for a boundary of the AP coverage area at a second location;
and taking a second position corresponding to the obtained second position information as a center of a circle, and taking an area contained by the circle with the difference value of the obtained second RSSI and the second minimum RSSI as a radius as a re-determined geo-fence area.
Further, when it is detected that the mobile terminal leaves the geo-fenced area, the method further includes:
acquiring a third RSSI of the current position of the AP and judging whether the acquired third RSSI is smaller than a preset indication threshold value or not;
when the obtained third RSSI is judged to be smaller than the preset threshold value, judging whether the RSSI of other APs in the current position is larger than or equal to the preset indication threshold value;
and when the RSSI of no other AP at the current position is judged to be larger than or equal to the preset indication threshold value, closing the Wi-Fi switch.
Further, when it is determined that the RSSI of other APs in the current location is greater than or equal to the preset indication threshold, the method further includes: acquiring and displaying all APs of which the RSSI of the current position is greater than or equal to a preset indication threshold;
judging whether the obtained APs have non-first-access APs or not; when judging that the obtained APs have the APs which are not accessed for the first time, accessing the APs which are not accessed for the first time and have the maximum RSSI and taking the geo-fence area corresponding to the AP which is not accessed for the first time and has the maximum RSSI as a new geo-fence area;
when judging that all the obtained APs have no non-first-time accessed AP, acquiring and displaying the AP with the RSSI (received signal strength indicator) being greater than or equal to a preset threshold value for a user to select the AP needing to be accessed;
after accessing the AP selected by the user, the process proceeds to step 401.
Whether to leave a certain area (the geo-fenced area determined in the present invention) can be determined by whether the system of the mobile terminal reports the broadcast.
Further, when it is detected that the mobile terminal re-enters the determined geo-fenced area, the method further includes: detecting whether the mobile terminal can access to the AP corresponding to the geo-fence area in real time;
when detecting that the mobile terminal can not access the AP corresponding to the geo-fence area, recording the times of accessing the AP;
and when the times of accessing the AP which are recorded in the first preset time length are greater than or equal to a first preset time threshold value, closing the Wi-Fi switch. Or,
when it is detected that the mobile terminal re-enters the determined geo-fenced area, the method further includes:
recording the failure times of the mobile terminal connecting the AP corresponding to the geo-fence area;
and when the failure times of the mobile terminal to connect with the AP corresponding to the geo-fence area, which are recorded in the second preset time length, are greater than or equal to a second preset time threshold value, closing the Wi-Fi switch.
The first preset time, the second preset time, the first preset time threshold and the second preset time threshold can be set by a system of the mobile terminal according to actual conditions, or the first preset time, the second preset time, the first preset time threshold and the second preset time threshold can be set by a user.
The first preset time length and the second preset time length may be equal or different. For example, if the first preset time period and the second preset time period are both set to be 10 minutes, the first preset time period may also be set to be 10 minutes, and the second preset time period may also be 5 minutes; the first preset time threshold and the second preset time threshold may be equal to or different from each other, for example, the first preset time threshold and the second preset time threshold may be both set to 10 times, or the first preset time threshold may be set to 10 times, and the second preset time threshold may be set to 13 times.
Further, the method further comprises: and the user sets a first geo-fenced area corresponding to the AP according to needs. Here, an interactive interface can be provided for a user to set the geo-fenced area. The method specifically comprises the following steps:
and displaying an area in the provided interactive interface, wherein the user can reduce the area or enlarge the area and display the reduced or enlarged area in real time until the reduced or enlarged area is taken as the first geo-fence area after the user selects and confirms.
Further, the method further comprises: when the mobile terminal is detected to enter a first geo-fenced area set by a user, starting a Wi-Fi switch;
the Wi-Fi switch is turned off when the mobile terminal is detected to leave the first geo-fenced area. For example, a user sets a first geo-fenced area corresponding to the AP of the user as a leisure area (e.g., a living room), and when the mobile terminal enters the leisure area, the Wi-Fi switch is automatically turned on, so that loss of data traffic is never avoided; when the mobile terminal leaves the leisure area (such as a bedroom), the Wi-Fi switch is automatically turned off, so that the electric quantity is saved. Further, the method also includes, after: and correspondingly storing the determined first geo-fenced area and the AP.
In the method, the geographic fence area is set, and when the mobile terminal is detected to enter the area, the Wi-Fi function is automatically started, so that the automatic connection of the AP is realized, the data flow is saved for a user, and the user experience is enhanced; the Wi-Fi function is automatically closed when the mobile terminal is detected to be incapable of being connected with the AP, so that the electric quantity is saved.
Fig. 7 is a flowchart of an embodiment of a method for implementing Wi-Fi management by a mobile terminal according to the present invention, as shown in fig. 7, including:
step 701: and setting an intelligent control Wi-Fi configuration item.
Step 702: and when detecting that the user selects to start the intelligent control Wi-Fi configuration item, starting the intelligent control Wi-Fi function.
Step 703: whether the mobile terminal accesses a certain Access Point (AP) for the first time is judged. When the mobile terminal is judged to be accessed to the AP for the first time, the process proceeds to step 704; otherwise, the flow is ended.
The first access of the mobile terminal to a certain AP in the present invention is consistent with the first access of the mobile terminal to a certain AP in the prior art, and the specific implementation thereof is not used to limit the present invention, and is not described herein again.
Step 704: first location information of the mobile terminal and a first received signal strength indication value (RSSI) of the AP at a first location are obtained.
The mobile terminal may obtain the first location information of itself through communication with the base station, or obtain the first location information of itself through a map application or a GPS system built in itself.
It should be noted that the following use of RSSI is emphasized in the present invention, and how to obtain RSSI of the AP at the first position belongs to the conventional technical means known to those skilled in the art, and is not described herein again, and is not intended to limit the present invention.
Step 705: determining a geo-fenced area from the obtained first location information and the first RSSI.
The method specifically comprises the following steps: obtaining a first minimum RSSI of a boundary of the AP coverage area at a first location; and taking the first position corresponding to the obtained first position information as a center of a circle, and taking the difference value between the obtained first RSSI and the first minimum RSSI as a radius of the circle to contain an area as a geo-fence area.
Step 706: and correspondingly storing the determined geo-fence area and the AP.
Step 707: and when the mobile terminal is detected to enter the determined geo-fenced area again, starting the Wi-Fi switch and accessing the AP corresponding to the entered geo-fenced area.
Further, after the mobile terminal accesses the AP again, the method further includes: acquiring second position information of the mobile terminal and second RSSI (received signal strength indicator) of the AP at a second position at intervals of preset duration;
determining whether to re-determine the geo-fenced area according to the obtained second RSSI and the first RSSI; the method comprises the following steps:
calculating a difference between the second RSSI and the first RSSI;
and when the calculated difference value of the second RSSI and the first RSSI is larger than or equal to a preset threshold value, re-determining the geo-fence area according to the second RSSI and the second position information.
Wherein re-determining the geo-fenced area comprises:
obtaining a second minimum RSSI for a boundary of the AP coverage area at a second location;
and taking a second position corresponding to the obtained second position information as a center of a circle, and taking an area contained by the circle with the difference value of the obtained second RSSI and the second minimum RSSI as a radius as a re-determined geo-fence area.
Step 708: and when the mobile terminal is detected to leave the geo-fenced area, acquiring a third RSSI of the current position of the AP.
Step 709: and judging whether the obtained third RSSI is smaller than a preset indication threshold value. When the obtained third RSSI is judged to be smaller than the preset threshold, step 710 is performed; otherwise, the flow is ended.
Step 710: and judging whether the RSSI of other APs in the current position is greater than or equal to a preset indication threshold value. When the RSSI of no other AP at the current position is judged to be larger than or equal to the preset indication threshold value, the step 711 is carried out; otherwise, go to step 712.
Step 711: and closing the Wi-Fi switch.
Step 712: and carrying out corresponding operation according to the selection of the user.
The method specifically comprises the following steps: acquiring and displaying all APs of which the RSSI of the current position is greater than or equal to a preset indication threshold;
judging whether the obtained APs have non-first-access APs or not; when judging that the obtained APs have the APs which are not accessed for the first time, accessing the APs which are not accessed for the first time and have the maximum RSSI and taking the geo-fence area corresponding to the AP which is not accessed for the first time and has the maximum RSSI as a new geo-fence area;
when judging that all the obtained APs have no non-first-time accessed AP, acquiring and displaying the AP with the RSSI (received signal strength indicator) being greater than or equal to a preset threshold value for a user to select the AP needing to be accessed;
after accessing the AP selected by the user, the process proceeds to step 704.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (14)

1. A mobile terminal, comprising: the device comprises a detection module, an acquisition module, a determination module and a processing module; wherein,
the detection module is used for sending a first acquisition notice to the acquisition module when detecting that the mobile terminal of the detection module is accessed to a certain access point AP for the first time; when detecting that the mobile terminal to which the mobile terminal belongs enters the determined geo-fence area again, sending a starting notice to a processing module;
an obtaining module, configured to receive a first obtaining notification, and obtain first location information of a mobile terminal to which the obtaining module belongs and a first Received Signal Strength Indicator (RSSI) value of the AP at a first location;
a determining module, configured to determine a geo-fenced area according to the obtained first location information and the first RSSI;
and the processing module is used for receiving the opening notification, opening the Wi-Fi switch and accessing the AP corresponding to the entered geo-fence area.
2. The mobile terminal of claim 1, wherein the detection module is further configured to turn on a smart control Wi-Fi function when detecting that a user selects to start a preset smart control Wi-Fi configuration item.
3. The mobile terminal of claim 1, wherein the obtaining module is further configured to obtain a first geo-fenced area corresponding to the AP that is set by a user as needed;
the detection module is further used for sending a starting notice to the processing module when the mobile terminal to which the detection module belongs is detected to enter the first geo-fence area set by the user; when detecting that the mobile terminal to which the mobile terminal belongs leaves the first geo-fenced area, sending a closing notification to the processing module;
the processing module is further used for receiving a starting notice and starting the Wi-Fi switch; and receiving a closing notification, and closing the Wi-Fi switch.
4. The mobile terminal of claim 1 or 3, wherein the mobile terminal further comprises a storage module, configured to correspondingly store the determined geo-fenced area and the AP; or,
and correspondingly storing the first geo-fence area set by the user and the AP point.
5. The mobile terminal of claim 1, further comprising an update module configured to: after the mobile terminal to which the mobile terminal belongs accesses the AP again, second position information of the mobile terminal to which the mobile terminal belongs and a second RSSI (received signal strength indicator) of the AP at a second position are acquired at intervals of preset time length;
determining whether to re-determine a geo-fenced area based on the obtained second RSSI and the first RSSI; the method comprises the following steps:
calculating a difference between the second RSSI and the first RSSI;
and when the calculated difference value between the second RSSI and the first RSSI is greater than or equal to a preset threshold value, re-determining the geo-fence area according to the second RSSI and the second position information.
6. The mobile terminal of claim 1 or 5, wherein the determining module determines a geo-fenced area, comprising: obtaining a first minimum RSSI of a boundary of the AP coverage area at the first position; taking a first position corresponding to the obtained first position information as a center of a circle, and taking an area contained by a circle with a radius of a difference value between the obtained first RSSI and the first minimum RSSI as the geofenced area; or,
the update module re-determines the geo-fenced area, including: obtaining a second minimum RSSI of a boundary of the AP coverage area at the second location; and taking a second position corresponding to the obtained second position information as a center of a circle, and taking an area contained by the circle with the radius of the difference value between the obtained second RSSI and the second minimum RSSI as a re-determined geo-fence area.
7. The mobile terminal according to claim 1, wherein the detecting module is further configured to send a second acquisition notification to the acquiring module when detecting that the mobile terminal to which the mobile terminal belongs leaves the geo-fenced area;
the acquisition module is further configured to receive a second acquisition notification and acquire a third RSSI of the current location of the AP;
the processing module is further configured to determine whether the obtained third RSSI is less than a preset indication threshold; when the obtained third RSSI is judged to be smaller than the preset threshold value, judging whether the RSSI of other APs in the current position is larger than or equal to the preset indication threshold value; and when the RSSI of no other AP at the current position is judged to be larger than or equal to the preset indication threshold value, closing the Wi-Fi switch.
8. A method for realizing Wi-Fi management by a mobile terminal is characterized by comprising the following steps:
when detecting that a mobile terminal is accessed to an AP for the first time, acquiring first position information of the mobile terminal and a first Received Signal Strength Indication (RSSI) value of the AP at a first position;
determining a geo-fenced area according to the obtained first location information and the first RSSI;
and when the mobile terminal is detected to enter the determined geo-fenced area again, starting the Wi-Fi switch and accessing the AP corresponding to the entered geo-fenced area.
9. The method of claim 8, further comprising, prior to the method:
setting an intelligent control Wi-Fi configuration item;
and when detecting that the user selects to start the intelligent control Wi-Fi configuration item, starting the intelligent control Wi-Fi function.
10. The method of claim 8, further comprising: a user sets a first geo-fenced area corresponding to the AP according to needs;
turning on the Wi-Fi switch when the mobile terminal is detected to enter the first geo-fenced area set by a user;
turning off the Wi-Fi switch when the mobile terminal is detected to leave the first geo-fenced area.
11. The method according to claim 8 or 10, characterized in that the method is followed by: correspondingly storing the determined geo-fence area and the AP; or,
and correspondingly storing the first geo-fence area set by the user and the AP.
12. The method of claim 8, wherein after the mobile terminal re-accesses the AP, the method further comprises: acquiring second position information of the mobile terminal and second RSSI (received signal strength indicator) of the AP at a second position at intervals of preset duration;
determining whether to re-determine a geo-fenced area based on the obtained second RSSI and the first RSSI; the method comprises the following steps:
calculating a difference between the second RSSI and the first RSSI;
and when the calculated difference value between the second RSSI and the first RSSI is greater than or equal to a preset threshold value, re-determining the geo-fence area according to the second RSSI and the second position information.
13. The method of claim 8 or 12, wherein the determining the geo-fenced area comprises: obtaining a first minimum RSSI of a boundary of the AP coverage area at the first position; taking a first position corresponding to the obtained first position information as a center of a circle, and taking an area contained by a circle with a radius of a difference value between the obtained first RSSI and the first minimum RSSI as the geofenced area;
the re-determining the geo-fenced area includes: obtaining a second minimum RSSI of a boundary of the AP coverage area at the second location; and taking a second position corresponding to the obtained second position information as a center of a circle, and taking an area contained by the circle with the radius of the difference value between the obtained second RSSI and the second minimum RSSI as a re-determined geo-fence area.
14. The method of claim 8, wherein when the mobile terminal is detected to leave the geo-fenced area, the method further comprises:
acquiring a third RSSI of the current position of the AP and judging whether the acquired third RSSI is smaller than a preset indication threshold value or not;
when the obtained third RSSI is judged to be smaller than the preset threshold value, judging whether the RSSI of other APs in the current position is larger than or equal to the preset indication threshold value;
and when the RSSI of no other AP at the current position is judged to be larger than or equal to the preset indication threshold value, closing the Wi-Fi switch.
CN201510863659.4A 2015-12-01 2015-12-01 Mobile terminal and method thereof for realizing Wi-Fi management Pending CN105450865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510863659.4A CN105450865A (en) 2015-12-01 2015-12-01 Mobile terminal and method thereof for realizing Wi-Fi management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510863659.4A CN105450865A (en) 2015-12-01 2015-12-01 Mobile terminal and method thereof for realizing Wi-Fi management

Publications (1)

Publication Number Publication Date
CN105450865A true CN105450865A (en) 2016-03-30

Family

ID=55560617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510863659.4A Pending CN105450865A (en) 2015-12-01 2015-12-01 Mobile terminal and method thereof for realizing Wi-Fi management

Country Status (1)

Country Link
CN (1) CN105450865A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107305358A (en) * 2016-04-22 2017-10-31 E.G.O.电气设备制造股份有限公司 Method for controlling a cooking appliance and cooking appliance
CN109121090A (en) * 2018-08-31 2019-01-01 浙江口碑网络技术有限公司 Shop fence method for building up and device
WO2019056254A1 (en) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 Wireless network control method for smart terminal and wireless network control system
CN111148025A (en) * 2019-03-14 2020-05-12 广东小天才科技有限公司 Wearable device positioning method and wearable device
CN112929947A (en) * 2019-12-06 2021-06-08 佛山市云米电器科技有限公司 Wi-Fi heat map generation method, movable household device and storage medium
CN113840351A (en) * 2021-09-26 2021-12-24 北京紫光展锐通信技术有限公司 Data processing method, device and equipment
CN115065996A (en) * 2021-12-14 2022-09-16 荣耀终端有限公司 Method, terminal and communication system for generating electronic fence
CN117425184A (en) * 2023-12-18 2024-01-19 美智纵横科技有限责任公司 Network connection method, device, readable storage medium and movable platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036340A (en) * 2009-09-25 2011-04-27 Lg电子株式会社 Mobile terminal and method of managing and performing data communication using the same
CN104066150A (en) * 2013-03-20 2014-09-24 华为终端有限公司 Method and device for accessing WiFi network
CN104968027A (en) * 2015-05-29 2015-10-07 努比亚技术有限公司 Wi-Fi control method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036340A (en) * 2009-09-25 2011-04-27 Lg电子株式会社 Mobile terminal and method of managing and performing data communication using the same
CN104066150A (en) * 2013-03-20 2014-09-24 华为终端有限公司 Method and device for accessing WiFi network
CN104968027A (en) * 2015-05-29 2015-10-07 努比亚技术有限公司 Wi-Fi control method and apparatus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107305358A (en) * 2016-04-22 2017-10-31 E.G.O.电气设备制造股份有限公司 Method for controlling a cooking appliance and cooking appliance
WO2019056254A1 (en) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 Wireless network control method for smart terminal and wireless network control system
CN109121090A (en) * 2018-08-31 2019-01-01 浙江口碑网络技术有限公司 Shop fence method for building up and device
CN109121090B (en) * 2018-08-31 2020-06-16 浙江口碑网络技术有限公司 Shop electronic fence establishing method and device
CN111148025A (en) * 2019-03-14 2020-05-12 广东小天才科技有限公司 Wearable device positioning method and wearable device
CN112929947A (en) * 2019-12-06 2021-06-08 佛山市云米电器科技有限公司 Wi-Fi heat map generation method, movable household device and storage medium
CN113840351A (en) * 2021-09-26 2021-12-24 北京紫光展锐通信技术有限公司 Data processing method, device and equipment
CN115065996A (en) * 2021-12-14 2022-09-16 荣耀终端有限公司 Method, terminal and communication system for generating electronic fence
CN117425184A (en) * 2023-12-18 2024-01-19 美智纵横科技有限责任公司 Network connection method, device, readable storage medium and movable platform
CN117425184B (en) * 2023-12-18 2024-03-26 美智纵横科技有限责任公司 Network connection method, device, readable storage medium and movable platform

Similar Documents

Publication Publication Date Title
CN105188098B (en) Network switching device and network switching method of mobile terminal
CN106304037B (en) Virtual SIM card management method and device
CN105450865A (en) Mobile terminal and method thereof for realizing Wi-Fi management
CN106302651B (en) Social picture sharing method and terminal with social picture sharing system
CN105260083A (en) Mobile terminal and method for realizing split screens
CN105721691A (en) Mobile terminal and method for controlling flight mode thereof
CN104881223A (en) Method and device for achieving application operation
CN105353947A (en) Mobile terminal and application display content controlling method
CN105791541B (en) Screenshot method and mobile terminal
CN105353346A (en) Mobile terminal and hot spot positioning method thereof
CN105072279B (en) A kind of back-up device based on mobile terminal and method
CN105126339B (en) A kind of game control device and method
CN104951229A (en) Screen capturing method and device
CN106455009B (en) Network searching device and method
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN106507418B (en) Cell reselection method and device based on signal strength and mobile terminal
CN105261054A (en) Device and method for compositing audio GIF image
CN105187663B (en) Automatically the method and terminal conversed
CN105260096B (en) A kind of method and mobile terminal controlling user's operation
CN106791149A (en) A kind of method of mobile terminal and control screen
CN106488035A (en) A kind of mobile terminal and control method
CN105094598A (en) Device and method for processing operational objects
CN105357188B (en) A kind of method that realizing WIFI connections, server and mobile terminal
CN105224177B (en) A kind of mobile terminal and application icon redraw method
CN105162967B (en) A kind of apparatus and method searching for focus

Legal Events

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

Application publication date: 20160330

RJ01 Rejection of invention patent application after publication