CN106412951A - Mobile terminal and WIFI connecting method - Google Patents
Mobile terminal and WIFI connecting method Download PDFInfo
- Publication number
- CN106412951A CN106412951A CN201610803073.3A CN201610803073A CN106412951A CN 106412951 A CN106412951 A CN 106412951A CN 201610803073 A CN201610803073 A CN 201610803073A CN 106412951 A CN106412951 A CN 106412951A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- connection mode
- parameter
- connection
- wifi
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000005540 biological transmission Effects 0.000 claims description 19
- 238000000605 extraction Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 34
- 238000010295 mobile communication Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 238000005192 partition Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed are a mobile terminal and a WIFI connecting method. The mobile terminal comprises: a judgment unit, used for judging, when Wireless Fidelity (WIFI) connection is performed on the mobile terminal and an Access Point (AP) device according to a first connecting mode, whether the mobile terminal acquires a first operation of a user for the first connecting mode, and send a first notification message to a connecting unit when the mobile terminal acquires the first operation; and the connecting unit, used for performing WIFI connection on the mobile terminal and the AP device according to a second connecting mode after receiving the first notification message.
Description
Technical Field
The invention relates to a data communication technology, in particular to a mobile terminal and a WIFI connection method.
Background
Wireless local area network (WIFI) is a short-range Wireless communication technology proposed by the Wireless Ethernet Compliance Association (WECA), and can transmit radio signals within a range of 100 meters. WIFI typically operates at a frequency of 2.4Ghz and can support data transmission speeds up to 11 Mbps. By utilizing the WIFI technology, a user can access the Internet through the user terminal supporting the WIFI. Therefore, WIFI is widely used in restaurants, homes, and offices.
In addition, WIFI also supports point-to-point (P2P) connection, which enables WIFI 2P connection to be established between WIFI-enabled user terminals, and data transmission can be performed using WIFI P2P connection.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
in the existing WIFI connection method, after a mobile terminal establishes a WIFI connection with an Access Point (AP) device, even if a user does not perform a data transmission operation during the WIFI connection process, many applications in the mobile terminal may pass through other data connections at the background, which wastes a lot of data traffic for the user.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide a mobile terminal and a WIFI connection method, which can set a connection mode between the mobile terminal and an AP device according to a user operation, thereby effectively saving data traffic for the user and improving user experience.
The technical scheme of the embodiment of the invention is realized as follows:
an embodiment of the present invention provides a mobile terminal, including:
the device comprises a judging unit, a connection unit and a processing unit, wherein the judging unit is used for judging whether a mobile terminal acquires a first operation of a user for a first connection mode when the mobile terminal and an AP device carry out WIFI connection according to the first connection mode, and sending a first notification message to the connection unit when the mobile terminal acquires the first operation;
and the connection unit is used for performing WIFI connection between the mobile terminal and the AP equipment according to a second connection mode after receiving the first notification message.
In the above embodiment, the determining unit is further configured to determine, when the mobile terminal and the AP device perform WIFI connection according to the second connection mode, whether the mobile terminal acquires a second operation for the second connection mode, and when the mobile terminal acquires the second operation, send a second notification message to the connecting unit;
the connection unit is further configured to, after receiving the second notification message, perform WIFI connection between the mobile terminal and the AP device according to the first connection mode.
In the above embodiment, the first connection mode is a connection mode that allows the mobile terminal to perform data transmission with the AP device; the second connection mode is a connection mode for prohibiting the mobile terminal from carrying out data transmission with the AP equipment.
In the above embodiment, the determining unit includes:
an extraction subunit, configured to extract a first operation parameter of the first operation; wherein the first operation parameter includes at least one of a time parameter, a pressure parameter and a position parameter of the first operation acting on the mobile terminal, and the first operation parameter is sent to the judging subunit;
the judging subunit is configured to judge that the mobile terminal acquires the first operation when the first operation parameter meets a first preset condition.
In the above embodiment, the extracting subunit is further configured to extract a second operation parameter of the second operation; wherein the second operation parameter includes at least one of a time parameter, a pressure parameter and a position parameter of the second operation acting on the mobile terminal, and the second operation parameter is sent to the judging subunit;
the judging subunit is further configured to judge that the mobile terminal obtains the second operation when the second operation parameter meets a second preset condition.
The embodiment of the invention also provides a WIFI connection method, which comprises the following steps:
when a mobile terminal and AP equipment carry out WIFI connection according to a first connection mode, judging whether the mobile terminal obtains first operation of a user for the first connection mode;
and when the mobile terminal acquires the first operation, carrying out WIFI connection on the mobile terminal and the AP equipment according to a second connection mode.
In the above embodiment, the method further comprises:
when the mobile terminal and the AP equipment are connected in a WIFI mode according to the second connection mode, judging whether the mobile terminal acquires second operation aiming at the second connection mode;
and when the mobile terminal acquires the second operation, carrying out WIFI connection on the mobile terminal and the AP equipment according to the first connection mode.
In the above embodiment, the first connection mode is a connection mode that allows the mobile terminal to perform data transmission with the AP device; the second connection mode is a connection mode for prohibiting the mobile terminal from carrying out data transmission with the AP equipment.
In the above embodiment, the determining whether the mobile terminal obtains the first operation of the user for the first connection mode includes:
extracting a first operation parameter of the first operation; wherein the first operation parameter comprises at least one of a time parameter, a pressure parameter and a position parameter of the mobile terminal acted by the first operation;
and when the first operation parameter meets a first preset condition, judging that the mobile terminal acquires the first operation.
In the above embodiment, the determining whether the mobile terminal acquires the second operation for the second connection mode includes:
extracting a second operation parameter of the second operation; wherein the second operation parameter comprises at least one of a time parameter, a pressure parameter and a position parameter of the second operation acting on the mobile terminal;
and when the second operation parameter meets a second preset condition, judging that the mobile terminal acquires the second operation.
Therefore, in the technical scheme of the embodiment of the invention, when the mobile terminal and the AP equipment perform WIFI connection according to the first connection mode, whether the mobile terminal acquires the first operation of the user for the first connection mode can be judged, and when the mobile terminal acquires the first operation, the mobile terminal and the AP equipment can perform WIFI connection according to the second connection mode. That is to say, in the technical solution of the embodiment of the present invention, when the mobile terminal and the AP device perform the WIFI connection according to the first connection mode, if the mobile terminal obtains the first operation for the first connection mode, the mobile terminal and the AP device perform the WIFI connection according to the second connection mode. Unlike the prior art, when the mobile terminal and the AP device perform the WIFI connection according to the first connection mode, the mobile terminal does not determine whether to acquire the first operation at that time for the first connection, and when the mobile terminal and the AP device do not disconnect the WIFI connection, the mobile terminal and the AP device always perform the WIFI connection according to the first connection mode. Therefore, compared with the prior art, the mobile terminal and the WIFI connection method provided by the embodiment of the invention can set the connection mode of the mobile terminal and the AP equipment according to the operation of the user, thereby effectively saving data traffic for the user and improving the user experience; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal 100 for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal 100 shown in FIG. 1;
fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to a second embodiment of the present invention;
fig. 5 is a schematic flow chart of a first implementation of the WIFI connection method in the embodiment of the present invention;
fig. 6 is a flowchart of an implementation method for determining whether a mobile terminal acquires a first operation in the embodiment of the present invention;
fig. 7 is a schematic flowchart of a second implementation process of the WIFI connection method in the embodiment of the present invention;
fig. 8 is a flowchart of an implementation method for determining whether the mobile terminal acquires the second operation in the embodiment of the present invention.
Detailed Description
It should be understood that the embodiments described herein are only for explaining the technical solutions of the present invention, and are not intended to limit the scope of the present invention.
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 Personal Digital Assistant (PDA), a PAD computer (PAD), a Portable Multimedia Player (PMP), a navigation device, and the like.
Fig. 1 is a schematic hardware structure of a mobile terminal 100 for implementing various embodiments of the present invention, and as shown in fig. 1, the mobile terminal 100 may include: a wireless communication unit 110, a user input unit 120, a sensing unit 130, an output unit 140, a memory 150, an interface unit 160, a controller 170, and a power supply unit 180, etc. Fig. 1 illustrates the mobile terminal 100 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. The elements of the mobile terminal 100 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 110 may include: at least one of a mobile communication module 111, a wireless internet module 112, and a short-range communication module 113.
The mobile communication module 111 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 112 supports wireless internet access of the mobile terminal 100. The wireless internet module 112 may be internally or externally coupled to the terminal. The wireless internet access technology referred to by the wireless internet module 112 may include Wireless Local Area Network (WLAN), wireless compatibility authentication (Wi-Fi), wireless broadband (Wibro), worldwide interoperability for microwave access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.
The short-range communication module 113 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 the like.
The user input unit 120 may generate key input data to control various operations of the mobile terminal 100 according to a command input by a user. The user input unit 120 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 a change in resistance, pressure, capacitance, etc. due to being touched), a jog wheel, a jog stick, etc. In particular, when the touch pad is superimposed on the display unit 141 in the form of a layer, a touch screen may be formed.
The sensing unit 130 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 130 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 130 can detect whether the power supply unit 180 supplies power or whether the interface unit 160 is coupled with an external device.
The interface unit 160 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 typical example is a Universal Serial Bus (USB) 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 interface unit 160 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 100 and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 160 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 100. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal 100 is accurately mounted on the cradle.
The output unit 140 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 140 may include a display unit 141, an audio output module 142, and the like.
The display unit 141 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 141 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 141 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, or the like.
Meanwhile, when the display unit 141 and the touch pad are stacked on each other in the form of layers to form a touch screen, the display unit 141 may function as an input device and an output device. The display unit 141 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, mobile terminal 100 may include two or more display units (or other display devices), for example, mobile terminal 100 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 142 may convert audio data received by the wireless communication unit 110 or stored in the memory 150 into an audio signal and output as sound when the mobile terminal 100 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 142 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 142 may include a speaker, a buzzer, and the like.
The memory 150 may store software programs or the like for processing and controlling operations performed by the controller 170, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 150 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 150 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, etc. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 150 through a network connection.
The controller 170 generally controls the overall operation of the mobile terminal 100. For example, the controller 170 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 170 may include a multimedia module 171 for reproducing or playing back multimedia data, and the multimedia module 171 may be constructed within the controller 170 or may be constructed separately from the controller 170. The controller 170 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 180 receives external power or internal power and provides appropriate power required to operate the respective elements and components under the control of the controller 170.
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 170. 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 memory 150 and executed by controller 170.
Up to this point, the mobile terminal 100 has been described in terms of its functions. Hereinafter, the slide-type mobile terminal 100 among various types of mobile terminals 100, such as the folder-type, bar-type, swing-type, slide-type mobile terminal 100, etc., will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal 100, and is not limited to the slide type mobile terminal 100.
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 the mobile terminal 100 according to the present invention is capable of operating 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 275.
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 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 BS270 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.
The mobile communication module 112 of the wireless communication unit 110 in the mobile terminal accesses the mobile communication network based on the necessary data (including the user identification information and the authentication information) of the mobile communication network (such as the mobile communication network of 2G/3G/4G, etc.) built in the mobile terminal, so as to transmit the mobile communication data (including the uplink mobile communication data and the downlink mobile communication data) for the services of web browsing, network multimedia playing, etc. of the mobile terminal user.
The wireless internet module 113 of the wireless communication unit 110 implements a function of a wireless hotspot by operating a related protocol function of the wireless hotspot, the wireless hotspot supports access by a plurality of mobile terminals (any mobile terminal other than the mobile terminal), transmits mobile communication data (including uplink mobile communication data and downlink mobile communication data) for mobile terminal user's services such as web browsing, network multimedia playing, etc. by multiplexing the mobile communication connection between the mobile communication module 112 and the mobile communication network, since the mobile terminal essentially multiplexes the mobile communication connection between the mobile terminal and the communication network for transmitting mobile communication data, the traffic of mobile communication data consumed by the mobile terminal is charged to the communication tariff of the mobile terminal by a charging entity on the side of the communication network, thereby consuming the data traffic of the mobile communication data included in the communication tariff contracted for use by the mobile terminal.
Based on the above hardware structure of the mobile terminal 100 and the communication system, various embodiments of the method of the present invention are proposed.
Fig. 3 is a schematic diagram of a composition structure of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 3, the mobile terminal includes: a determination unit 301 and a connection unit 302; wherein,
the determining unit 301 is configured to determine whether the mobile terminal obtains a first operation of the user for the first connection mode when the mobile terminal and the AP device perform WIFI connection according to the first connection mode, and send a first notification message to the connecting unit 302 when the mobile terminal obtains the first operation.
In a specific embodiment of the present invention, when the mobile terminal and the AP device perform WIFI connection according to a first connection mode, the determining unit 301 may determine whether the mobile terminal obtains a first operation of a user for the first connection mode; when the mobile terminal acquires the first operation, the determining unit 301 may send a first notification message to the connecting unit 302.
And the connection unit 302 is configured to, after receiving the first notification message, perform WIFI connection between the mobile terminal and the AP device according to a second connection mode.
In a specific embodiment of the present invention, after acquiring the first notification message, the connection unit 302 may perform WIFI connection on the AP device according to a second connection mode. The first connection mode is a connection mode allowing the mobile terminal and the AP equipment to carry out data transmission; and the second connection mode is a connection mode for prohibiting the mobile terminal from carrying out data transmission with the AP equipment.
Preferably, in the embodiment of the present invention, the determining unit 301 is further configured to determine, when the mobile terminal and the AP device perform the WIFI connection according to the second connection mode, whether the mobile terminal acquires a second operation for the second connection mode, and when the mobile terminal acquires the second operation, send a second notification message to the connecting unit 302.
In a specific embodiment of the present invention, when the mobile terminal and the AP device perform WIFI connection according to a second connection mode, the determining unit 301 may determine whether the mobile terminal obtains a second operation of the user for the second connection mode; when the mobile terminal acquires the second operation, a second notification message is sent to the connection unit 302.
The connection unit 302 is further configured to, after receiving the second notification message, perform WIFI connection between the mobile terminal and the AP device according to the first connection mode.
In a specific embodiment of the present invention, when the mobile terminal obtains the second operation, the connection unit may perform WIFI connection on the AP device according to the first connection mode. The first connection mode is a connection mode allowing the mobile terminal and the AP equipment to carry out data transmission; and the second connection mode is a connection mode for prohibiting the mobile terminal from carrying out data transmission with the AP equipment.
In the technical scheme of the embodiment of the invention, when the mobile terminal and the AP equipment carry out WIFI connection according to the first connection mode, if the mobile terminal acquires the first operation aiming at the first connection mode, the mobile terminal and the AP equipment carry out WIFI connection according to the second connection mode. Unlike the prior art, when the mobile terminal and the AP device perform the WIFI connection according to the first connection mode, the mobile terminal does not determine whether to acquire the first operation at that time for the first connection, and when the mobile terminal and the AP device do not disconnect the WIFI connection, the mobile terminal and the AP device always perform the WIFI connection according to the first connection mode. Therefore, compared with the prior art, the mobile terminal provided by the embodiment of the invention can set the connection mode of the mobile terminal and the AP equipment according to the operation of the user, thereby effectively saving data traffic for the user and improving the user experience; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
Fig. 4 is a schematic diagram of a composition structure of a mobile terminal according to a second embodiment of the present invention, and as shown in fig. 4, the determining unit 301 includes: an extraction subunit 3011 and a determination subunit 3012; wherein,
an extraction subunit 3011, configured to extract a first operation parameter of the first operation; the first operation parameter includes at least one of a time parameter, a pressure parameter, and a position parameter of the first operation acting on the mobile terminal, and the first operation parameter is sent to the determining subunit 3012.
In a specific embodiment of the present invention, when the mobile terminal and the AP device perform WIFI connection according to a first connection mode, the extracting subunit 3011 may first extract a first operation parameter of a first operation of the user for the first connection mode; the first operation parameter includes at least one of a time parameter, a pressure parameter, and a position parameter of the first operation acting on the mobile terminal, and the first operation parameter is sent to the determining subunit 3012.
And the determining subunit 3012 is configured to determine that the mobile terminal acquires the first operation when the first operation parameter meets a first preset condition.
In the specific embodiment of the present invention, when the first operation parameter satisfies the first preset condition, the determining subunit 3012 may determine that the mobile terminal obtains the first operation; when the first operation parameter does not satisfy the first preset condition, the determining subunit 3012 may determine that the mobile terminal has not acquired the first operation. The first preset condition may be: the time parameter of the first operation acting on the mobile terminal is greater than a first time threshold value; or the pressure parameter acted on the mobile terminal by the first operation is larger than the first pressure threshold value; alternatively, the first operation acts on the location parameter of the mobile terminal in the first area.
In a specific embodiment of the present invention, the extracting subunit 3011 is further configured to extract a second operation parameter of a second operation; wherein the second operation parameter includes at least one of a time parameter, a pressure parameter, and a position parameter of the second operation acting on the mobile terminal, and the second operation parameter is sent to the determining subunit 3012;
in a specific embodiment of the present invention, when the mobile terminal and the AP device perform WIFI connection according to a second connection mode, the extracting subunit 3011 may also extract a second operation parameter of a second operation of the user for the second connection mode; wherein the second operation parameter includes at least one of a time parameter, a pressure parameter and a location parameter of the second operation acting on the mobile terminal.
The determining subunit 3012 is further configured to determine that the mobile terminal obtains the second operation when the second operation parameter meets a second preset condition.
In a specific embodiment of the present invention, the determining subunit 3012 may further determine whether the second operation parameter meets a second preset condition, and when the second operation parameter meets the second preset condition, determine that the mobile terminal obtains the second operation; and when the second operation parameter does not meet the second preset condition, judging that the mobile terminal does not acquire the second operation. Wherein, the second preset condition may be: the time parameter of the second operation acting on the mobile terminal is greater than a second time threshold; or the pressure parameter acted on the mobile terminal by the second operation is larger than the second pressure threshold value; alternatively, the second operation acts on the location parameter of the mobile terminal in the second area.
In practical applications, the determining unit 301 and the connecting unit 302 can be implemented by a Central Processing Unit (CPU), a microprocessor unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like located in the mobile terminal.
In the technical scheme of the embodiment of the invention, when the mobile terminal and the AP equipment carry out WIFI connection according to the first connection mode, if the mobile terminal acquires the first operation aiming at the first connection mode, the mobile terminal and the AP equipment carry out WIFI connection according to the second connection mode. Unlike the prior art, when the mobile terminal and the AP device perform the WIFI connection according to the first connection mode, the mobile terminal does not determine whether to acquire the first operation at that time for the first connection, and when the mobile terminal and the AP device do not disconnect the WIFI connection, the mobile terminal and the AP device always perform the WIFI connection according to the first connection mode. Therefore, compared with the prior art, the mobile terminal provided by the embodiment of the invention can set the connection mode of the mobile terminal and the AP equipment according to the operation of the user, thereby effectively saving data traffic for the user and improving the user experience; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
Fig. 5 is a schematic flowchart of a first implementation process of the WIFI connection method in the embodiment of the present invention, and as shown in fig. 5, the method for performing WIFI connection between the mobile terminal and the AP device may include the following steps:
step 501, when the mobile terminal and the AP device perform WIFI connection according to a first connection mode, determining whether the mobile terminal obtains a first operation of a user for the first connection mode.
In the specific embodiment of the invention, when the mobile terminal and the AP device perform WIFI connection according to the first connection mode, it may be determined whether the mobile terminal obtains a first operation of a user for the first connection mode; when the mobile terminal acquires the first operation, executing step 502; and when the mobile terminal does not acquire the first operation, returning to execute the step 501.
Fig. 6 is a flowchart of an implementation method for determining whether the mobile terminal acquires the first operation in the embodiment of the present invention, and as shown in fig. 6, the method for determining whether the mobile terminal acquires the first operation may include the following steps:
step 501a, extracting a first operation parameter of a first operation.
In the specific embodiment of the present invention, when the mobile terminal and the AP device perform WIFI connection according to the first connection mode, the mobile terminal may first extract a first operation parameter of a first operation of a user for the first connection mode; wherein the first operation parameter comprises at least one of a time parameter, a pressure parameter and a location parameter of the mobile terminal acted on by the first operation.
Step 501b, judging that the first operating parameter meets a first preset condition; if yes, go to step 501 c; otherwise, step 501d is performed.
In this step, the mobile terminal may determine whether the first operation parameter meets a first preset condition, and may execute step 501c when the first operation parameter meets the first preset condition; when the first operating parameter does not satisfy the first preset condition, step 501d is executed. The first preset condition may be: the time parameter of the first operation acting on the mobile terminal is greater than a first time threshold value; or the pressure parameter acted on the mobile terminal by the first operation is larger than the first pressure threshold value; alternatively, the first operation acts on the location parameter of the mobile terminal in the first area.
And step 501c, judging that the mobile terminal acquires the first operation.
In the specific embodiment of the present invention, when the first operation satisfies the first preset condition, it is determined that the mobile terminal acquires the first operation.
And step 501d, judging that the mobile terminal does not acquire the first operation.
In the specific embodiment of the present invention, when the first operation does not satisfy the first preset condition, it is determined that the mobile terminal does not acquire the first operation.
According to the above steps, through the steps 501a to 501d, when the mobile terminal and the AP device perform the WIFI connection according to the first connection mode, it can be determined whether the mobile terminal obtains the first operation of the user for the first connection mode, and when the mobile terminal obtains the first operation, the mobile terminal and the AP device can perform the WIFI connection according to the second connection mode.
And 502, when the mobile terminal acquires the first operation, carrying out WIFI connection on the mobile terminal and the AP equipment according to a second connection mode.
In the specific embodiment of the present invention, when the mobile terminal obtains the first operation, the AP device may perform WIFI connection according to the second connection mode. The first connection mode is a connection mode allowing the mobile terminal and the AP equipment to carry out data transmission; and the second connection mode is a connection mode for prohibiting the mobile terminal from carrying out data transmission with the AP equipment.
In the technical scheme of the embodiment of the invention, when the mobile terminal and the AP equipment carry out WIFI connection according to the first connection mode, if the mobile terminal acquires the first operation aiming at the first connection mode, the mobile terminal and the AP equipment carry out WIFI connection according to the second connection mode. Unlike the prior art, when the mobile terminal and the AP device perform the WIFI connection according to the first connection mode, the mobile terminal does not determine whether to acquire the first operation at that time for the first connection, and when the mobile terminal and the AP device do not disconnect the WIFI connection, the mobile terminal and the AP device always perform the WIFI connection according to the first connection mode. Therefore, compared with the prior art, the WIFI connection method provided by the embodiment of the invention can set the connection mode of the mobile terminal and the AP equipment according to the operation of the user, thereby effectively saving data traffic for the user and improving the user experience; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
Fig. 7 is a schematic flow chart of a second implementation of the WIFI connection method in the embodiment of the present invention, and as shown in fig. 7, the method for performing WIFI connection between the mobile terminal and the AP device may include the following steps:
and 701, when the mobile terminal and the AP equipment are connected in a WIFI mode according to the second connection mode, judging whether the mobile terminal acquires second operation aiming at the second connection mode.
In the specific embodiment of the invention, when the mobile terminal and the AP device perform the WIFI connection according to the second connection mode, it may be determined whether the mobile terminal obtains a second operation of the user for the second connection mode; when the mobile terminal acquires the second operation, executing step 702; and when the mobile terminal does not acquire the second operation, returning to execute the step 701.
Fig. 8 is a flowchart of an implementation method for determining whether the mobile terminal acquires the second operation in the embodiment of the present invention, and as shown in fig. 8, the method for determining whether the mobile terminal acquires the second operation may include the following steps:
and 701a, extracting a second operation parameter of the second operation.
In the specific embodiment of the present invention, when the mobile terminal and the AP device perform the WIFI connection according to the second connection mode, the mobile terminal may first extract a second operation parameter of a second operation of the user for the second connection mode; wherein the second operation parameter includes at least one of a time parameter, a pressure parameter and a location parameter of the second operation acting on the mobile terminal.
Step 701b, judging that the second operating parameter meets a second preset condition; if yes, go to step 701 c; otherwise, step 701d is performed.
In this step, the mobile terminal may determine whether the second operation parameter satisfies a second preset condition, and may execute step 701c when the second operation parameter satisfies the second preset condition; when the second operation parameter does not satisfy the second preset condition, step 701d is executed. Wherein, the second preset condition may be: the time parameter of the second operation acting on the mobile terminal is greater than a second time threshold; or the pressure parameter acted on the mobile terminal by the second operation is larger than the second pressure threshold value; alternatively, the second operation acts on the location parameter of the mobile terminal in the second area.
And 701c, judging that the mobile terminal acquires the second operation.
In the specific embodiment of the present invention, when the second operation satisfies the second preset condition, it is determined that the mobile terminal acquires the second operation.
And step 701d, judging that the mobile terminal does not acquire the second operation.
In a specific embodiment of the present invention, when the second operation does not satisfy the second preset condition, it is determined that the mobile terminal does not acquire the second operation.
According to the above steps, through the steps 701a to 701d, when the mobile terminal and the AP device perform the WIFI connection according to the second connection mode, it can be determined whether the mobile terminal obtains the second operation of the user for the second connection mode, and when the mobile terminal obtains the second operation, the mobile terminal and the AP device can perform the WIFI connection according to the first connection mode.
And 702, when the mobile terminal acquires the second operation, carrying out WIFI connection on the mobile terminal and the AP equipment according to the first connection mode.
In the specific embodiment of the present invention, when the mobile terminal obtains the second operation, the AP device may perform WIFI connection according to the first connection mode. The first connection mode is a connection mode allowing the mobile terminal and the AP equipment to carry out data transmission; and the second connection mode is a connection mode for prohibiting the mobile terminal from carrying out data transmission with the AP equipment.
In the technical scheme of the embodiment of the invention, when the mobile terminal and the AP equipment carry out WIFI connection according to the first connection mode, if the mobile terminal acquires the first operation aiming at the first connection mode, the mobile terminal and the AP equipment carry out WIFI connection according to the second connection mode. Unlike the prior art, when the mobile terminal and the AP device perform the WIFI connection according to the first connection mode, the mobile terminal does not determine whether to acquire the first operation at that time for the first connection, and when the mobile terminal and the AP device do not disconnect the WIFI connection, the mobile terminal and the AP device always perform the WIFI connection according to the first connection mode. Therefore, compared with the prior art, the WIFI connection method provided by the embodiment of the invention can set the connection mode of the mobile terminal and the AP equipment according to the operation of the user, thereby effectively saving data traffic for the user and improving the user experience; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. 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.
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.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. A mobile terminal, characterized in that the mobile terminal comprises:
the device comprises a judging unit, a connection unit and a processing unit, wherein the judging unit is used for judging whether a mobile terminal acquires a first operation of a user for a first connection mode when the mobile terminal and an Access Point (AP) device carry out wireless local area network (WIFI) connection according to the first connection mode, and sending a first notification message to the connection unit when the mobile terminal acquires the first operation;
and the connection unit is used for performing WIFI connection between the mobile terminal and the AP equipment according to a second connection mode after receiving the first notification message.
2. The mobile terminal according to claim 1, wherein the determining unit is further configured to determine whether the mobile terminal obtains a second operation for the second connection mode when the mobile terminal and the AP device perform WIFI connection according to the second connection mode, and send a second notification message to the connecting unit when the mobile terminal obtains the second operation;
the connection unit is further configured to, after receiving the second notification message, perform WIFI connection between the mobile terminal and the AP device according to the first connection mode.
3. The mobile terminal according to claim 1 or 2, wherein the first connection mode is a connection mode allowing the mobile terminal to perform data transmission with the AP device; the second connection mode is a connection mode for prohibiting the mobile terminal from carrying out data transmission with the AP equipment.
4. The mobile terminal according to claim 1, wherein the judging unit comprises:
an extraction subunit, configured to extract a first operation parameter of the first operation; wherein the first operation parameter includes at least one of a time parameter, a pressure parameter and a position parameter of the first operation acting on the mobile terminal, and the first operation parameter is sent to the judging subunit;
the judging subunit is configured to judge that the mobile terminal acquires the first operation when the first operation parameter meets a first preset condition.
5. The mobile terminal according to claim 2, wherein the extracting subunit is further configured to extract a second operation parameter of the second operation; wherein the second operation parameter includes at least one of a time parameter, a pressure parameter and a position parameter of the second operation acting on the mobile terminal, and the second operation parameter is sent to the judging subunit;
the judging subunit is further configured to judge that the mobile terminal obtains the second operation when the second operation parameter meets a second preset condition.
6. A WIFI connection method, the method comprising:
when a mobile terminal and AP equipment carry out WIFI connection according to a first connection mode, judging whether the mobile terminal obtains first operation of a user for the first connection mode;
and when the mobile terminal acquires the first operation, carrying out WIFI connection on the mobile terminal and the AP equipment according to a second connection mode.
7. The method of claim 6, further comprising:
when the mobile terminal and the AP equipment are connected in a WIFI mode according to the second connection mode, judging whether the mobile terminal acquires second operation aiming at the second connection mode;
and when the mobile terminal acquires the second operation, carrying out WIFI connection on the mobile terminal and the AP equipment according to the first connection mode.
8. The method according to claim 6 or 7, wherein the first connection mode is a connection mode allowing the mobile terminal to perform data transmission with the AP device; the second connection mode is a connection mode for prohibiting the mobile terminal from carrying out data transmission with the AP equipment.
9. The method according to claim 6, wherein the determining whether the mobile terminal obtains the first operation of the user for the first connection mode includes:
extracting a first operation parameter of the first operation; wherein the first operation parameter comprises at least one of a time parameter, a pressure parameter and a position parameter of the mobile terminal acted by the first operation;
and when the first operation parameter meets a first preset condition, judging that the mobile terminal acquires the first operation.
10. The method according to claim 7, wherein the determining whether the mobile terminal obtains the second operation for the second connection mode includes:
extracting a second operation parameter of the second operation; wherein the second operation parameter comprises at least one of a time parameter, a pressure parameter and a position parameter of the second operation acting on the mobile terminal;
and when the second operation parameter meets a second preset condition, judging that the mobile terminal acquires the second operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803073.3A CN106412951A (en) | 2016-09-05 | 2016-09-05 | Mobile terminal and WIFI connecting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803073.3A CN106412951A (en) | 2016-09-05 | 2016-09-05 | Mobile terminal and WIFI connecting method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106412951A true CN106412951A (en) | 2017-02-15 |
Family
ID=57998812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610803073.3A Pending CN106412951A (en) | 2016-09-05 | 2016-09-05 | Mobile terminal and WIFI connecting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106412951A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110075635A1 (en) * | 2009-09-25 | 2011-03-31 | Ryu Sungjoon | Mobile terminal and method of managing and performing data communication using the same |
CN104967573A (en) * | 2015-06-04 | 2015-10-07 | 努比亚技术有限公司 | Data traffic monitoring method and terminal |
CN105100450A (en) * | 2015-06-30 | 2015-11-25 | 努比亚技术有限公司 | Method and device for intelligent terminal to control network rate |
-
2016
- 2016-09-05 CN CN201610803073.3A patent/CN106412951A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110075635A1 (en) * | 2009-09-25 | 2011-03-31 | Ryu Sungjoon | Mobile terminal and method of managing and performing data communication using the same |
CN104967573A (en) * | 2015-06-04 | 2015-10-07 | 努比亚技术有限公司 | Data traffic monitoring method and terminal |
CN105100450A (en) * | 2015-06-30 | 2015-11-25 | 努比亚技术有限公司 | Method and device for intelligent terminal to control network rate |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106654424A (en) | Charging method and terminal | |
CN105657767A (en) | Method for controlling voice switching and mobile terminal | |
CN106131285B (en) | Call method and terminal | |
CN106792609A (en) | A kind of method of calling of mobile terminal and emergency numbers | |
CN106506795A (en) | A kind of mobile terminal and image processing method | |
CN106791017A (en) | A kind of terminal and photographic method | |
CN106028090A (en) | Mobile terminal and video recording method thereof | |
CN106791567B (en) | Switching method and terminal | |
CN106020706A (en) | Touch operation processing method and mobile terminal | |
CN106792878B (en) | Method and device for monitoring data flow | |
CN106020677A (en) | Information processing method and mobile terminal | |
CN105162967B (en) | A kind of apparatus and method searching for focus | |
CN107690178B (en) | Method for reducing power consumption, mobile terminal and computer readable storage medium | |
CN105657181B (en) | Data backup method and device | |
CN106875960A (en) | The player method and mobile terminal of a kind of audio file | |
CN105094636B (en) | A kind of control method and device of application view browsing | |
CN106254643B (en) | Mobile terminal and picture processing method | |
CN106383871A (en) | Mobile terminal and search method of application | |
CN107092504A (en) | A kind of mobile terminal and its upgrade method | |
CN106791188B (en) | Unlocking method and mobile terminal | |
CN107196756B (en) | WIFI password generation method and mobile terminal | |
CN106412951A (en) | Mobile terminal and WIFI connecting method | |
CN106412857B (en) | Method and device for sending multimedia message | |
CN106658655A (en) | Wi-Fi access method and terminal | |
CN106507436A (en) | A kind of band width control method and terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |