CN103945377B - It is a kind of for manually and automatically connecting the method and terminal of Wireless LAN - Google Patents
It is a kind of for manually and automatically connecting the method and terminal of Wireless LAN Download PDFInfo
- Publication number
- CN103945377B CN103945377B CN201310019364.XA CN201310019364A CN103945377B CN 103945377 B CN103945377 B CN 103945377B CN 201310019364 A CN201310019364 A CN 201310019364A CN 103945377 B CN103945377 B CN 103945377B
- Authority
- CN
- China
- Prior art keywords
- connection
- wlan
- application module
- initiator
- manually
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
Abstract
The present invention provides a kind of for manually and automatically connecting the method and terminal of Wireless LAN, this method is applied to the terminal including connection application module, automatic connection application module and connection processing module manually, and method includes: automatic connection application module or connection application module initiation WLAN (WLAN) connection manually;Connection processing module and WLAN establish connection, and record the initiator information for initiating WLAN connection;After successful connection, initiates the automatic connection application module of WLAN connection or connection application module initiates network (WEB) certification manually.Method of the invention efficiently avoids connecting WLAN mode automatically in web authentication mode and triggering connection WLAN mode carries out web authentication simultaneously manually.
Description
Technical field
The present invention relates to the communications fields, more particularly, to a kind of for manually and automatically connecting Wireless LAN
Method and terminal.
Background technique
Currently, popularizing with smart phone, user is increasing to the use demand of data service, develops in operator
Huge pressure also is brought to 2/3G network while data service, operator is in order to reduce this pressure, big model at home
Enclose the pressure for assuming wlan network to reduce 2/3G network.
In order to mitigate the data pressure of Cellular Networks, China Mobile has promoted a kind of for connecting the soft of wlan network early period
Part, entitled " with E row ", this software is triggered manually by user, connects wlan network.In order to improve user experience, China is moved
A kind of dynamic terminal for having also been proposed automatic connection wlan network, the terminal are a kind of according to certain decision condition (pinpointing, on demand)
The device of automatic connection WLAN, this implementation are automatic connection type.
Since the authentication mode of wlan network is divided into two kinds, respectively SIM is authenticated and web authentication, when user connects China
When moving wlan network, and using web authentication mode, this process is divided into two steps, step 1: terminal connects WLAN net first
Network carries out authenticating and charging using Web mode again after successful connection.Problem is appeared in when connecting wlan network success, bottom
Layer can report the message of successful connection, and at this moment, the device of triggering connection and automatic connection WLAN can all receive this message manually,
Two schemes all can thereby result in conflict, cause user that can not successfully use wlan network using web authentication process is executed.Cause
This needs one kind that can manually and automatically connect wlan network, avoid connecting automatically in the case of web authentication mode WLAN mode with
Triggering connection WLAN mode carries out the method and terminal of web authentication simultaneously manually.
Summary of the invention
To solve technological deficiency described above, the present invention provides a kind of for manually and automatically connecting Wireless LAN
Method and terminal, to avoid connected automatically in web authentication mode WLAN mode and manually triggering connect WLAN mode
Web authentication is carried out simultaneously.
To achieve the above object, the present invention takes following technical scheme:
A method of for manually and automatically connecting Wireless LAN, be applied to include manually connection application module,
Automatic connection application module and the terminal for connecting processing module, this method comprises:
Automatic connection application module or manually connection application module initiation WLAN (WLAN) connection;
Connection processing module and WLAN establish connection, and record the initiator information for initiating WLAN connection;
After successful connection, initiates the automatic connection application module of WLAN connection or connection application module initiates network manually
(WEB) it authenticates.
Preferably, it after successful connection, initiates the automatic connection application module of WLAN connection or connection application module is sent out manually
Play WEB certification, comprising:
Processing module is connected after successful connection, is being sent to automatic connection application module and connection application module manually
Initiator information is carried in successful connection message;
Automatic connection application module and manual connection application module judge the initiator that initiator information indicates whether for this
Module, if so, initiating WEB certification.
Preferably, initiator information is the identification information for indicating to initiate the initiator of WLAN connection.
Preferably, it after successful connection, initiates the automatic connection application module of WLAN connection or connection application module is sent out manually
Play WEB certification, comprising:
Connection processing module detects whether the mark letter that there is the initiator for indicating to initiate WLAN connection after successful connection
Breath, and if it exists, then by successful connection message modification at the identifiable message of initiator for initiating WLAN connection, and will be modified
Successful connection message is sent to automatic connection application module and manually connection application module;
Automatically connection application module and manual connection application module judge whether to can recognize modified successful connection message,
If can recognize, WEB certification is initiated.
A kind of terminal, comprising:
Processing module is connected, for establishing connection with WLAN (WLAN) and recording the initiator for initiating WLAN and connecting
Information;
Automatic connection application module, including the first initiation unit and the first authentication unit, the first initiation unit is for initiating
WLAN connection, the first authentication unit are used to initiate network (WEB) certification after successful connection;
Connection application module manually, including the second initiation unit and the second authentication unit, the second initiation unit is for initiating
WLAN connection, the second authentication unit are used to initiate network (WEB) certification after successful connection.
Preferably, connection processing module includes:
Transmission unit, for the successful connection for initiating the initiator information of WLAN connection will to be carried after successful connection
Message is sent to automatic connection application module and manually connection application module.
Preferably, initiator of first authentication unit for judging that the initiator information for initiating WLAN connection indicates whether is
This module, if so, initiating network (WEB) certification;
Second authentication unit, for judging the initiator that indicates whether of initiator information for initiating WLAN connection for this mould
Block, if so, initiating network (WEB) certification.
Preferably, initiator information is the identification information for indicating to initiate the initiator of WLAN connection.
Preferably, connection processing module includes:
Detection unit, the mark for after successful connection, detecting whether to have the initiator for indicating to initiate WLAN connection
Information;
Message modification unit, for will connect when detecting the identification information for indicating to initiate the initiator of WLAN connection
Success message is modified as initiating the identifiable information and sending of initiator of WLAN connection to the first authentication unit and the second certification
Unit.
Preferably, the first authentication unit and the second authentication unit are for judging whether to can recognize that modified successful connection disappears
Breath initiates WEB certification if can recognize.
The present invention is due to taking the above-mentioned technical solution comprising following advantages: in web authentication mode,
It can accurately determine and manually or automatically connect wlan network, avoid when carrying out web authentication after connecting WLAN success, connect automatically
It connects WLAN mode and triggering connection WLAN mode carries out web authentication simultaneously manually.
Detailed description of the invention
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, the present invention
Exemplary embodiment and its explanation be used to explain the present invention, be not construed as limiting the invention;In the accompanying drawings:
Fig. 1 is in the prior art for manually and automatically connecting the functional block diagram of WLAN;
Fig. 2 is the functional block diagram of the terminal of one embodiment according to the present invention;
Fig. 3 is the functional block diagram of the terminal of another embodiment according to the present invention;
Fig. 4 is the flow chart of method according to the present invention;
Fig. 5 is the flow chart of the method for one embodiment according to the present invention;And
Fig. 6 is the flow chart of the method for another embodiment according to the present invention.
Specific embodiment
In order to which technical solution of the present invention is more clearly understood, the present invention is done in the following with reference to the drawings and specific embodiments
It is further elaborated on.It should be noted that in the absence of conflict, it is various in the embodiment and embodiment in the application
Mode can be combined with each other.
The present invention provides a kind of method for manually and automatically connecting Wireless LAN, is applied to include connection manually
Application module, automatic connection application module and the terminal for connecting processing module, as shown in figure 4, this method may include:
Automatic connection application module or manually connection application module initiation WLAN (WLAN) connection;
Connection processing module and WLAN establish connection, and record the initiator information for initiating WLAN connection;
After successful connection, initiates the automatic connection application module of WLAN connection or connection application module initiates network manually
(WEB) it authenticates.
Fig. 5 is the flow chart of the method for one embodiment according to the present invention, as shown in figure 5, method of the invention can be with
Include:
Automatic connection application module or manually connection application module initiation WLAN (WLAN) connection;
Connection processing module and WLAN establish connection, and record the initiator information for initiating WLAN connection;
Processing module is connected after successful connection, is being sent to automatic connection application module and connection application module manually
Initiator information is carried in successful connection message;
Automatic connection application module and manual connection application module judge the initiator that initiator information indicates whether for this
Module, if so, initiating WEB certification.
Fig. 6 is the flow chart of the method for another embodiment according to the present invention, as shown in fig. 6, this method may include:
Automatic connection application module or manually connection application module initiation WLAN (WLAN) connection;
Connection processing module and WLAN establish connection, and record the initiator information for initiating WLAN connection, initiator information
It is the identification information for indicating to initiate the initiator of WLAN connection;
Connection processing module detects whether the mark letter that there is the initiator for indicating to initiate WLAN connection after successful connection
Breath, and if it exists, then by successful connection message modification at the identifiable message of initiator for initiating WLAN connection, and will be modified
Successful connection message is sent to automatic connection application module and manually connection application module;
Authentication unit in automatic connection application module and manually connection application module judges whether after can recognize the modification
Successful connection message, if can recognize, initiate WEB certification.
Wherein, the modification of original successful connection message included, but are not limited to modify message name, increase or delete and disappears
Cease the modes such as parameter.
The present invention also provides a kind of for manually and automatically connecting the terminal of WLAN, and Fig. 2 is a reality according to the present invention
The functional block diagram of the terminal of example is applied, as shown in Fig. 2, the terminal may include:
Processing module is connected, for establishing connection with WLAN (WLAN) and recording the initiator for initiating WLAN and connecting
Information;
Automatic connection application module, including the first initiation unit and the first authentication unit, wherein the first initiation unit is used for
WLAN connection is initiated, the first authentication unit is used to initiate network (WEB) certification after successful connection;
Connection application module manually, including the second initiation unit and the second authentication unit, wherein the second initiation unit is used for
WLAN connection is initiated, the second authentication unit is used to initiate network (WEB) certification after successful connection.
Selectively, connection processing module may include:
Transmission unit, for the successful connection for initiating the initiator information of WLAN connection will to be carried after successful connection
Message is sent to the authentication module in automatic connection application module and manually connection application module.
Selectively, the first authentication unit can be used for judging initiating the hair that the initiator information of WLAN connection indicates whether
Playing side is this module, if so, initiating network (WEB) certification;Second authentication unit can be used for judging initiating WLAN connection
The initiator that initiator information indicates whether is this module, if so, initiating network (WEB) certification.
Fig. 3 is the functional block diagram of the terminal of another embodiment according to the present invention, as shown in figure 3, selectively, initiating
Square information can be the identification information for indicating to initiate the initiator of WLAN connection, and connection processing module may include detection unit,
Detection unit is used for after successful connection, detects whether the identification information that there is the initiator for indicating to initiate WLAN connection;Connection
Processing module can also include message modification unit, for detecting the identification information for indicating the initiator of initiation WLAN connection
When, by successful connection message modification at initiate WLAN connection the identifiable information and sending of initiator to the first authentication unit with
Second authentication unit.
Selectively, the first authentication unit and the second authentication unit can be used for judging whether can recognize modified connection
Success message initiates WEB certification if can recognize.
Embodiment described above is only presently preferred embodiments of the present invention, is not intended to limit the scope of the present invention, this
The technical staff in field can deliberately carry out various modifications to the present invention and modification is without departing from the spirit and scope of the present invention.This
Sample, if these modifications and changes of the present invention is within the scope of the claims of the present invention and its equivalent technology, then this hair
It is bright to be also intended to encompass including these modifications and variations.
Claims (7)
1. a kind of method for manually and automatically connecting Wireless LAN is applied to including connection application module manually, certainly
Dynamic connection application module and the terminal for connecting processing module, which comprises
The automatic connection application module or manually connection application module are initiated WLAN (WLAN) and are connected;
The connection processing module and WLAN establish connection, and record the initiator information for initiating WLAN connection;
After successful connection, initiates the automatic connection application module of WLAN connection or connection application module initiates network (WEB) manually
Certification;
Wherein, it after the successful connection, initiates the automatic connection application module of WLAN connection or connection application module is initiated manually
WEB certification, comprising:
The connection processing module is being sent to the automatic connection application module and the manual connection is answered after successful connection
The initiator information is carried in the successful connection message of module;
The automatic connection application module and the manual connection application module judge the initiator that the initiator information indicates
It whether is this module, if so, initiating WEB certification.
2. the method according to claim 1, wherein
The initiator information is the identification information for indicating to initiate the initiator of WLAN connection.
3. according to the method described in claim 2, it is characterized in that,
After the successful connection, initiates the automatic connection application module of WLAN connection or connection application module initiation WEB recognizes manually
Card, comprising:
The connection processing module detects whether that there are the marks of the initiator for indicating to initiate WLAN connection after successful connection
Know information, and if it exists, then by successful connection message modification at the identifiable message of initiator for initiating WLAN connection, and will
Modified successful connection message is sent to the automatic connection application module and the manual connection application module;
The automatic connection application module and the manual connection application module judge whether to can recognize the modified connection
Success message initiates WEB certification if can recognize.
4. a kind of terminal, comprising:
Processing module is connected, for establishing connection with WLAN (WLAN) and recording the initiator's letter initiating WLAN and connecting
Breath;
Automatic connection application module, including the first initiation unit and the first authentication unit, the first initiation unit is for initiating
WLAN connection, first authentication unit are used for after successful connection, are initiated network (WEB) according to the initiator information and are recognized
Card;
Connection application module manually, including the second initiation unit and the second authentication unit, the second initiation unit is for initiating
WLAN connection, second authentication unit are used for after successful connection, are initiated network (WEB) according to the initiator information and are recognized
Card;
Wherein, the connection processing module includes:
Transmission unit, for the successful connection of the initiator information for initiating WLAN connection will to be carried after successful connection
Message is sent to the automatic connection application module and the manual connection application module;
First authentication unit, for judging the initiator that the initiator information for initiating WLAN connection indicates whether for originally
Module, if so, initiating network (WEB) certification;
Second authentication unit, for judging whether the initiator that the initiator information for initiating WLAN connection indicates is this
Module, if so, initiating network (WEB) certification.
5. terminal according to claim 4, which is characterized in that the initiator information is the hair for indicating to initiate WLAN connection
Play the identification information of side.
6. terminal according to claim 5, which is characterized in that the connection processing module includes:
Detection unit, for after successful connection, detecting whether that there are the marks of the initiator for indicating to initiate WLAN connection
Information;
Message modification unit, for will connect when detecting the identification information of the initiator for indicating to initiate WLAN connection
Success message be modified as it is described initiate WLAN connection the identifiable information and sending of initiator to first authentication unit with
Second authentication unit.
7. terminal according to claim 6, which is characterized in that
First authentication unit and second authentication unit are for judging whether to can recognize the modified successful connection
Message initiates WEB certification if can recognize.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310019364.XA CN103945377B (en) | 2013-01-18 | 2013-01-18 | It is a kind of for manually and automatically connecting the method and terminal of Wireless LAN |
PCT/CN2013/079645 WO2013182145A1 (en) | 2013-01-18 | 2013-07-19 | Wireless local area network connection method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310019364.XA CN103945377B (en) | 2013-01-18 | 2013-01-18 | It is a kind of for manually and automatically connecting the method and terminal of Wireless LAN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103945377A CN103945377A (en) | 2014-07-23 |
CN103945377B true CN103945377B (en) | 2019-02-05 |
Family
ID=49711415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310019364.XA Active CN103945377B (en) | 2013-01-18 | 2013-01-18 | It is a kind of for manually and automatically connecting the method and terminal of Wireless LAN |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103945377B (en) |
WO (1) | WO2013182145A1 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2003247428A1 (en) * | 2002-05-28 | 2003-12-12 | Zte San Diego, Inc. | Interworking mechanism between cdma2000 and wlan |
CN101060701B (en) * | 2006-04-17 | 2012-01-04 | 北京三星通信技术研究有限公司 | Communication network reelecting method |
CN101374295B (en) * | 2007-08-21 | 2012-11-07 | 华为技术有限公司 | Method and terminal for selecting access network |
-
2013
- 2013-01-18 CN CN201310019364.XA patent/CN103945377B/en active Active
- 2013-07-19 WO PCT/CN2013/079645 patent/WO2013182145A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2013182145A1 (en) | 2013-12-12 |
CN103945377A (en) | 2014-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016107502A1 (en) | Wifi connection method for mobile terminal and wifi connection system | |
WO2017078143A1 (en) | User device, base station, method for establishing connection, and method for acquiring context information | |
CN104363666B (en) | The method and apparatus being wirelessly connected are established with external equipment in the electronic device | |
CN105263193B (en) | The WIFI connection methods of mobile terminal and system | |
US9949116B2 (en) | Method and apparatus for establishing SSID-based connection between terminal device and gateway device | |
CN107529124A (en) | A kind of wireless direct-connected method for building up, device and system | |
CN105764159B (en) | Network connection method, system and terminal thereof | |
CN105636230B (en) | A kind of method and apparatus for implementing to listen to before session | |
WO2016134587A1 (en) | Wifi connection verification method, wifi hotspot device and terminal | |
CN103607706B (en) | NFC-technology based conversation method, NFC terminal and far-end server | |
CN102026224A (en) | Method and system for processing network switch and gateway equipment thereof | |
CN104113931A (en) | Method for enabling mobile terminal equipment to quickly log in public WIFI hot spot | |
CN101895964A (en) | Mobile station and method for scanning service group identification code by mobile station | |
US20170041790A1 (en) | Communication apparatus, method for controlling the same, and non-transitory computer-readable storage medium | |
CN105594292A (en) | Method for establishing network connection by means of WPS, and mobile Wi-Fi device | |
CN103945377B (en) | It is a kind of for manually and automatically connecting the method and terminal of Wireless LAN | |
CN103517373A (en) | Network access method and device | |
CN105704705A (en) | Method for switching terminals with shared eSIM information, terminal and server | |
CN105025548B (en) | A kind of the connection control method and device of SIM card | |
CN104427497B (en) | Verification method, mobile phone and the mobile phone of mobile phone verify system | |
CN105791066B (en) | Control method for sending information and device | |
CN106850925A (en) | The synchronous method of a kind of mobile unit and cellphone directory based on WiFi | |
CN107454599B (en) | Method for detecting terminal access pseudo base station and related product | |
CN107864487B (en) | Method for detecting terminal call and related product | |
CN103188223B (en) | Authentication method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |