Summary of the invention
The technical problem that the present invention will solve provides a kind of implementation method of WLAN authentication, can be user-friendly.
The invention provides a kind of implementation method of WLAN authentication, comprising: send WLAN Account Request note by terminal; Determine WLAN account's answer short message, from WLAN account's answer short message, extract the WLAN username and password; Finish the WLAN authentication according to the WLAN username and password that extracts.
Further, this method also comprises step: the WLAN username and password is stored in terminal is used for next WLAN authentication; And, read the WLAN username and password from terminal, if read success, then finish the WLAN authentication by the WLAN username and password that reads; Otherwise, be used for the WLAN authentication by note application WLAN username and password.
Wherein, the step of above-mentioned definite WLAN account's answer short message comprises: whether the transmission number of judging the note that described terminal receives is predetermined service number, if determine that then described note is WLAN account's answer short message.
WLAN automatic authentication method of the present invention by the transmission of client triggering WLAN Account Request note, is determined WLAN account's answer short message automatically, and is therefrom extracted the WLAN username and password, realizes the WLAN authentication automatically.Obtain WLAN password and for example mode comparison of the page of hand filling with existing by the manual note of user, user of the present invention need not to input any WLAN number of the account and password, can realize the business experience of unaware, and is convenient for users to use.
Another technical problem that the present invention will solve provides a kind of communication terminal.
The invention provides a kind of communication terminal, comprising: note sends mould and determines, and is used to send WLAN Account Request note; Information extraction modules is used to receive note, determines WLAN account's answer short message, extracts the WLAN username and password from WLAN account's answer short message, sends the WLAN username and password; Authentication module is used to receive the WLAN username and password from information extraction modules, finishes the WLAN authentication according to the WLAN username and password.
Further, this communication terminal also comprises: information storage module is used to receive the WLAN username and password from information extraction modules, storage WLAN username and password.Authentication module also is used for obtaining the WLAN username and password from described information storage module, finishes the WLAN authentication.
Further, this communication terminal also comprises: the password modified module is used to send the WLAN password and revises note.
Further, above-mentioned information extraction modules comprises: reply determining unit, be used to receive note, determine by the transmission number of note whether note is WLAN account's answer short message; When this note is WLAN account's answer short message, send this note; Account's extraction unit is used to receive the note from replying determining unit, extracts the WLAN username and password according to predetermined format from this note.
Communication terminal of the present invention sends WLAN Account Request note by SMS transmission module, determines by the information extraction mould and determines WLAN account's answer short message automatically, and therefrom extract the WLAN username and password, realizes the WLAN authentication automatically by authentication module.Obtain WLAN password and for example mode comparison of the page of hand filling with existing by the manual note of user, user of the present invention need not to input any WLAN number of the account and password, can realize the business experience of unaware, and is convenient for users to use.
Embodiment
With reference to the accompanying drawings the present invention is described more fully, exemplary embodiment of the present invention wherein is described.In the accompanying drawings, identical label is represented identical or similar assembly or element.
Basic thought of the present invention is that the client that is positioned at user terminal sends WLAN Account Request note by user terminal, extracts WLAN username and password information automatically from the WLAN account's answer short message that receives, and finishes the WLAN authentication.
Fig. 1 illustrates the system configuration schematic diagram that the present invention uses.As shown in Figure 1, terminal 11 sends WLAN Account Request note, note is through BTS (base station)/BSC (Base StationController, base station controller), MSC (Mobile Switching Center, mobile switching centre), sms center 12, Short Message Service Gateway 13 arrive SMS business hall 14.14 pairs of notes of SMS business hall are carried out format conversion, send to BOSS (Billing Operating SupportSystems, the charging OSS) system 15 and WLAN AAA (Authentication, Authorization, Accounting, authentication, mandate, charging) server 16.The WLAN aaa server distributes the WLAN username and password for the user, and WLAN account's answer short message that will comprise the WLAN username and password then sends to terminal 11.BOSS system 15 is used for user's the authority of opening an account is judged, if BOSS judges that the user possesses the authority of opening an account, then triggers WLAN AAA and opens account for the user, otherwise, the request of opening an account of refusing user's.
The terminal hardware form of above-mentioned terminal 11 can be data card (containing the UIM card)+PC (containing the WLAN module) or mobile phone (containing the WLAN module); The software forms of user terminal is for installing client software of the present invention.Data card can be CDMA data card, GSM data card, TD-SCDMA data card etc.Mobile phone can be CDMA mobile phone, GSM mobile handset, TD-SCDMA mobile phone etc.
In system schema, mobile network system and wlan system still keep the legacy network framework constant.Original authentication mechanism and flow process are adopted in the authentication of mobile network system and WLAN, and difference is authentication username and the password of WLAN, is triggered automatically by client software, obtains by short message channel, is user-friendly to and business experience.
Fig. 2 illustrates the flow chart of an embodiment of the implementation method of WLAN automated validation of the present invention.
As shown in Figure 2, instep 202, send WLAN Account Request note by terminal.WLAN Account Request note comprises predetermined short message content, sends to predetermined service number.
Instep 204, determine WLAN account's answer short message, from WLAN account's answer short message, extract the WLAN username and password.Client to the note that receives is judged for example judge whether the transmission number of note is predetermined service number, if determine that then this note is WLAN account's answer short message.After definite this note is WLAN account's answer short message, from note, extract the WLAN username and password according to predetermined rule.
Instep 206, finish the WLAN authentication according to the WLAN username and password.Client is carried out the WLAN verification process according to the WLAN username and password that extracts.
Fig. 3 illustrates the flow chart of another embodiment of the implementation method of WLAN automated validation of the present invention.This flow process clicks WLAN function of surfing the Net key by the user or menu starts.
As shown in Figure 3, instep 302, click startup client software module by the user.
Instep 304, client software module invokes endpoint registration table, the WLAN username and password of last stored in the reading terminals registration table.
Instep 306, whether reading in the determiningstep 304 be successful, if success then continues execution instep 310, otherwise, send note and carry out WLAN Account Request flow process (step 308).
Instep 310, initiate the WLAN identifying procedure, carry username and password in the flow process.
Instep 312, judge whether the WLAN authentication is passed through, if pass through, then continues execution instep 316, otherwise the prompting user authentication failure returns failure cause (step 314).
Instep 316, if authentication success, but prompting user WLAN connects online.
Instep 318, send note and carry out WLAN Account Request flow process, this flow process can be referring to following flow process shown in Figure 4.
Instep 320, the username and password that obtains is stored in the endpoint registration table, be used for next WLAN and connect.
In the above-described embodiments, obtain password for next visited WLAN in each the connection, avoided the processing requirements to the IT system real-time, the password to the user has carried out effectively maintaining secrecy simultaneously, and need not user's participation.
Fig. 4 illustrates WLAN Account Request flow chart of the present invention.
As shown in Figure 4, in step 402, client software triggers mobile phone and sends application WLAN password.
In step 404, terminal sends WLAN Account Request note, and short message content is " KTCW ", and the called number that note sends is the client of operator service number.Short Message Service Gateway is properly routed to SMS business hall to note by the route of this customer service number of configuration.
In step 406, SMS business hall is analyzed short message content and is triggered this flow process for " KTCW ", SMS business hall becomes web service form to note SMPP format conversion, send to the BOSS system, request is opened the WLAN account for the user, carry user's MDN number in the message, and require with the WLAN account name of this number as the user.
In step 408, BOSS judges whether the user possesses the authority of opening an account.
In step 410, BOSS determines that the user possesses the authority of opening an account, and then triggers WLAN AAA and opens account for the user.
In step 412, WLAN AAA sends to SMS business hall to user WLAN password.
In step 414, SMS business hall conversion WEB Service form is a note SMPP form, and carries WLAN account name and the encrypted message of having opened, gives user terminal by the Short Message Service Gateway transmitting short message.
In step 416, after terminal is received note, provide WLAN username and password information to client software.
In the above in the embodiment flow process of describing in conjunction with Fig. 4, with user's MDN number as user name.Those skilled in the art will appreciate that method of the present invention is not limited to this, for example can be by WLAN AAA distributing user name and password.
Fig. 5 illustrates WLAN password modification process figure of the present invention.
As shown in Figure 5, in step 502, client software triggers mobile phone and sends application WLAN password.
In step 504, terminal sends the WLAN password and revises note.Short message content is " XGCW ", and the called number that note sends is the client of operator service number.Short Message Service Gateway is properly routed to SMS business hall to note by the route of this customer service number of configuration.
In step 506, SMS business hall is analyzed short message content and is triggered this flow process for " XGCW ", and SMS business hall becomes web service form to note SMPP format conversion, sends to the WLANAAA request and revises password.
In step 508, WLAN AAA generates new password and is handed down to SMS business hall.
In step 510, SMS business hall conversion WEB Service form is a note SMPP form, and carries the WLAN encrypted message of having revised, gives user terminal by the Short Message Service Gateway transmitting short message.
In step 512, after terminal is received note, provide the WLAN encrypted message to client software.
Introduce a kind of specific implementation of network element interface of the present invention below.
Interface between SMS business hall and the WLAN aaa server is realized by Web Service.Web Service called the employing soap protocol.Use the POST order in the HTTP request header that carrying SOAP calls.This interface definition and message semantic definition are shown in table 1, table 2 and table 3.
Following table 1 is that the WLAN user cipher upgrades the interface operable definition:
Table 1
Following table 2 is that the WLAN user cipher is revised the update request parameter, and WLanUserPasswordUpdateRequest comprises following information:
Table 2
Following table 3 is that the WLAN user cipher upgrades response message, and WLanUserPasswordUpdateResponse comprises following information:
Table 3
WLAN automatic authentication method of the present invention by the transmission of client triggering WLAN Account Request note, is determined WLAN account's answer short message automatically, and is therefrom extracted the WLAN username and password, realizes the WLAN authentication automatically.Obtain WLAN password and for example mode comparison of the page of hand filling with existing by the manual note of user, user of the present invention need not to input any WLAN number of the account and password, can realize the business experience of unaware, and is convenient for users to use.In addition, the network rebuilding of the present invention is simple, utilizes existing SMS business hall system to realize, only needs to realize that at communication terminal relative client software get final product, and cost is low, is convenient to popularization.
Fig. 6 illustrates the block diagram of an embodiment of communication terminal of the present invention.This communication terminal has wireless data card and WLAN communication module.As shown in Figure 6, this communication equipment comprisesSMS transmission module 61,information extraction modules 62 and authentication module 63.Wherein,SMS transmission module 61 is used to send WLAN Account Request note.WLAN Account Request note comprises predetermined content, and for example " KTCW " sends to the service number of regulation.Information extraction modules 62 is used to receive note, determines whether the note that receives is WLAN account's answer short message; When definite this note is WLAN account's answer short message, therefrom extract the WLAN username and password, send the WLAN username and password to authentication module 63.Whetherinformation extraction modules 62 can be that the service number of being scheduled to determines whether the answer short message into WLAN account according to the transmission number of note.The WLAN username and password thatauthentication module 63 receives frominformation extraction modules 62 is finished the WLAN authentication according to the WLAN username and password.
Fig. 7 illustrates the block diagram of another embodiment of communication terminal of the present invention.As shown in Figure 7, this communication equipment comprisesSMS transmission module 61,information extraction modules 62,authentication module 73,information storage module 74 and password modified module 75.Wherein, the description ofSMS transmission module 61,information extraction modules 62 can be described referring to the correspondence of last Fig. 6.Optionallyinformation storage module 74 is used to receive the WLAN username and password frominformation extraction modules 62, and storage WLAN username and password is used for authentication nexttime.Authentication module 73 also is used for obtaining the WLAN username and password frominformation storage module 74, finishes the WLAN authentication.Optionally password modifiedmodule 75 is used to send WLAN password modification note.The WLAN password is revised note and is comprised predetermined content, sends to specific service number.
According to an embodiment of communication terminal of the present invention, information extraction modules comprises replys determining unit and account's extraction unit.Wherein, reply determining unit and receive note, determine by the transmission number of note whether note is WLAN account's answer short message; When this note is WLAN account's answer short message, this note is sent to account's extraction unit.Account's extraction unit is used to receive the note from replying determining unit, extracts the WLAN username and password according to predetermined format from note.
Communication terminal of the present invention sends WLAN Account Request note by SMS transmission module, determines WLAN account's answer short message automatically by information extraction modules, and therefrom extracts the WLAN username and password, realizes the WLAN authentication automatically by authentication module.Obtain WLAN password and for example mode comparison of the page of hand filling with existing by the manual note of user, user of the present invention need not to input any WLAN number of the account and password, can realize the business experience of unaware, and is convenient for users to use.
Description of the invention provides for example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the various embodiment that have various modifications that the present invention's design is suitable for special-purpose.